* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*padding-bottom: 50px;*/
    font-family: "Inter", sans-serif;
    background-color: #fcfbf7 !important;
    overflow-x: hidden;

}

label{
        color: #6f7c8d !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;

}

p {
    font-family: "Inter", sans-serif;
}

.main-header {
    width: 100%;
    height: 80px;
    background: #fff;
    color: #8B6E38;
    border-bottom: 1px solid #8B6E38;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: auto;
    width: 158px;
    display: block;
}

.header-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f7f4ee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B6E38;
    font-size: 22px;
}

.brand-text {
    padding: 10px 0px;
}

.brand-text h1 {

    font-size: 20px;
    font-family: "Playfair Display", serif;


    /* font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; */
    font-weight: 800;
    color: #8B6E38;
    letter-spacing: 1px;
    /*margin-top: 20px;*/
    /* line-height: 1.7; */
}

.brand-text p {
    font-size: 10px;
    color: #768294;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;

    /* font-family: Arial, sans-serif; */
}

.gold-rate-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    background-color: rgba(180, 140, 72, 0.05);
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #B48C48;
    transition: all 0.3s ease;
}

.gold-label {
    font-size: 9px;
    font-weight: 800;
    color: #8D6D33;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
    font-family: "Inter", sans-serif;
}

.gold-rate-input {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.rupee {
    font-size: 14px;
    color: #8B6E38;
    font-weight: bold;
}

.gold-rate-input input {
    width: 80px;
    border: none;
    border-bottom: 1px dashed #d6b97d;
    background: transparent;
    text-align: right;
    font-size: 16px;
    color: #8B6E38;
    font-weight: bold;
    outline: none;
}

.gram {
    font-size: 14px;
    color: #8B6E38;
    font-weight: bold;
}

@media (max-width:768px) {
    .main-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        height: auto;
        gap: 12px;
    }

    .header-left {
        flex: 1;
        gap: 12px;
        align-items: center;
    }

    .logo-circle {
        width: 42px;
        height: 42px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .brand-text h1 {
        font-size: 17px;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }

    .brand-text p {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .gold-rate-box {
        width: 123px;
        padding: 8px 10px;
        border-radius: 14px;
        align-items: flex-end;
    }

    .gold-label {
        font-size: 9px;
        line-height: 1.3;
        text-align: right;
    }

    .gold-rate-input {
        gap: 4px;
    }

    .gold-rate-input input {
        width: 55px;
        font-size: 15px;
    }

    .rupee,
    .gram {
        font-size: 13px;
    }
}

@media (max-width:425px) {
    .gold-rate-box {
        width: 145px;
    }
}


/* ====================================next====================== */

.cvd-wrapper {
    width: 100%;
    padding: 10px;
}

.cvd-card {
    width: 100%;
    max-width: 900px;
    margin: auto;
    background: white;
    border: 1px solid #e3e8ef;
    border-radius: 20px;
    /*padding: 23px;*/
    padding: 12px 23px;
}

.cvd-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cvd-title-wrap {
    display: flex;
    gap: 14px;
}

.diamond-icon img {
    /*font-size: 26px;*/
    color: #4f46e5;
}

.cvd-title-wrap h2 {
    /*font-size: 18px;*/
    font-size: 15px;   
    font-weight: 700;
    color: #111827;
    font-family: "Playfair Display", serif;

}

.cvd-title-wrap p {
    margin-top: 3px;
    margin-bottom: 0px;
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
}

.cvd-title-wrap p span {
    color: #4F46E5;
    font-weight: 600;
}

.cvd-badge {
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 1px;
    color: #B48C48;
    text-transform: uppercase;
    background: rgba(180, 140, 72, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 800;
    align-self: flex-start;
}

.divider {
    height: 1px;
    background: #edf2f7;
    /*margin: 20px 0;*/
      margin: 13px 0;
}


.diamond-bottom-section {
    width: 100%;
    padding: 0;
}

.diamond-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.diamond-input-card {
   
}
.diamond-input-card-div{
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 10px 16px; 
}

.forcolor {
    background: #fff;
    border: none;
}

.diamond-input-card label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: oklch(0.704 0.04 256.788);
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: "Inter", sans-serif;

    text-transform: uppercase;
}

.diamond-input-card input {
    width: 100%;
    height: 32px;
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    /* background: #f8fafc; */
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    outline: none;
}

.diamond-input-card input:focus {
    border: 1px solid #B48C48;
}

.diamond-price-wrap {
    display: flex;
    flex-direction: column;
}

.diamond-note {
    /* margin-top: 10px; */
    font-size: 10px;
    line-height: 1.7;
    color: #768294;
    font-weight: 500;
    max-width: 100%;
}

.diamond-divider {
    margin: 4px 0 8px;
    border-top: 1px dashed #e2e8f0;
}

.diamond-btn-wrap {
    display: flex;
    justify-content: center;
    padding-top: 0 10px;
}

.add-diamond-btn {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 3px 16px;

    background: rgba(180, 140, 72, 0.05);
    border: 1px solid rgba(180, 140, 72, 0.25);

    border-radius: 12px;

    font-size: 12px;
    font-weight: 700;
    color: #8B6E38;

    cursor: pointer;
    transition: all 0.2s ease;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}



.add-diamond-btn span {
    font-size: 20px;
    font-weight: 400;
}

.add-diamond-btn:hover {
    background: #faf7f2;
}

@media (max-width: 768px) {
    .diamond-grid {
        grid-template-columns: 1fr;
    }

    .diamond-note {
        font-size: 12px;
    }

    .add-diamond-btn {
        width: 100%;
        justify-content: center;
    }
}

.second-diamond-box {
    display: none;
}





@media (max-width: 768px) {
    .cvd-wrapper {
        padding: 12px;
    }

    .cvd-card {
        padding: 20px;
        border-radius: 16px;
    }

    .cvd-header {
        flex-direction: row;
        gap: 14px;
        align-items: flex-start;
    }

    .cvd-title-wrap {
        gap: 10px;
    }

    .diamond-icon img {
        width: 20px;
        height: 20px;
    }

    .cvd-title-wrap h2 {
        font-size: 18px;
        line-height: 1.3;
    }

    .cvd-title-wrap p {
        font-size: 12px;
        margin-top: 6px;
        line-height: 1.5;
    }

    .cvd-badge {
        font-size: 14px;
        padding: 5px 10px;
    }

    .divider {
        margin: 16px 0;
    }

    .diamond-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        align-items: start;
    }

    .diamond-input-card {
        padding: 14px;
        min-height: auto;
        border-radius: 14px;
    }

    .diamond-input-card label {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .diamond-input-card input {
        height: 42px;
        font-size: 13px;
        padding: 0 12px;
        border-radius: 10px;
    }

    .diamond-note {
        font-size: 12px;
        line-height: 1.5;
        margin-top: 8px;
    }

    .diamond-divider {
        margin: 18px 0 8px;
    }

    .diamond-btn-wrap {
        padding-top: 8px;
    }

    .add-diamond-btn {
        width: 100%;
        justify-content: center;
        height: 44px;
        font-size: 13px;
        border-radius: 12px;
        font-family: "Inter", sans-serif;
    }

    .add-diamond-btn span {
        font-size: 18px;
    }


    .second-diamond-title {
        letter-spacing: 0.5px !important;
        font-size: 11px !important;
    }
}





.second-diamond-header {
    width: 100%;
    height: 42px;
    background: #faf8f4;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;
    margin: 20px 0;
}

.second-diamond-title {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9A6D22;
}

.second-diamond-title svg {
    width: 14px;
    height: 14px;
}

.remove-btn {
    background: transparent;
    border: none;
    color: #ff0000;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

/* ========================next 2 ====================== */
.solitaire-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    margin-top: 18px;
}

.solitaire-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.solitaire-title {
    font-size: 14px;
    font-weight: 700;
    color: oklch(0.359 0.144 278.697);
}

.solitaire-title svg {
    margin-bottom: -12px;
}

.svg1 svg {
    margin-top: -10px !important;
}

.choose-size-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 8px 12px;

    background-color: #eef2ff;
    border: 1px solid rgba(165, 180, 252, 0.6);
    border-radius: 8px;

    font-size: 11px;
    font-weight: 700;
    color: #4338ca;

    cursor: pointer;
    outline: none;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

    transition: all 0.15s ease;
}

.choose-size-btn:hover {
    background-color: #e0e7ff;
    transform: scale(1.01);
}

.choose-size-btn:focus {
    outline: none;
}

.solitaire-divider {
    height: 1px;
    background: #e2e8f0;
    margin-bottom: 18px;
}

.main-price-input {
    border: 1px solid #dbe3f0;
    border-radius: 10px;
    transition: 0.2s ease;
}

#solitairePriceInput {
    color: #1e40af;
    font-weight: 600;
    border: none;
    outline: none;
    background: transparent;
}

.main-price-input:focus-within {
    border-color: #d97706;
}

.main-price-input:focus-within #solitairePriceInput {
    color: #d97706;
}

/* ============================auto btn css======================== */
#solitairePriceInput.manual-price {
    color: #d97706;
    border-color: #d97706;
}

.price-label-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-label-wrap label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #768294;
}

#autoPriceBtn {
    display: none;
    font-size: 13px;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
}

/* ==========================
   MAIN SOLITAIRE SECTION
========================== */



.solitaire1 label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #768294;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;

}

.main-solitaire-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.main-solitaire-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #768294;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;


}

.main-solitaire-field input,
.main-price-input {
    width: 100%;
    height: 35px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    font-size: 13px;
    background: white;
}

.main-solitaire-field input {
    padding: 0 14px;
    outline: none;
}

.main-price-input {
    display: flex;
    align-items: center;
    padding: 0 14px;
}

.main-price-input span {
    color: #768294;
    margin-right: 8px;
}

.main-price-input input {
    border: none;
    outline: none;
    height: 100%;
    width: 100%;
    padding: 0;
    background: transparent;
}

.main-solitaire-field input:focus,
.main-price-input:focus-within {
    border-color: #6366f1;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.add-solitaire-btn,
.add-cluster-btn {
    flex: 1;
    height: 35px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: "Inter", sans-serif;


}

.add-solitaire-btn {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4338ca;
}

.add-cluster-btn {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #059669;
}

@media (max-width: 768px) {

    .add-solitaire-btn,
    .add-cluster-btn {
        height: 46px;
        font-size: 14px;
        padding: 12px 16px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {

    .add-solitaire-btn,
    .add-cluster-btn {
        height: 42px;
        font-size: 12px;
        padding: 12px 14px;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .main-solitaire-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }
}




.pj-solitaire-wrap {
    width: 100%;
    padding: 16px 24px;
    background: #ffffff;
}

.pj-shape-label,
.pj-clarity-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #8796B5;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pj-shape-dropdown {
    width: 100%;
    /*height: 45px;*/
    height: 32px;
      border-radius: 9px;
    font-size: 13px;
    border: 1px solid #D8DEE9;
    /*border-radius: 14px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: #fff;
}

.pj-shape-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pj-shape-icon {
    font-size: 16px;
    color: #C4A6FF;
}

.pj-shape-text {
    font-size: 14px;
    font-weight: 600;
    color: #1F2A44;
}

.pj-shape-arrow {
    display: flex;
    align-items: center;
}

.pj-section-divider {

    margin: 24px 0;
}

.pj-clarity-grid {
    display: flex;
    gap: 16px;
}

.pj-clarity-btn {
    width: 50%;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #D8DEE9;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #49658D;
    cursor: pointer;
}

.pj-clarity-active {
    border: 2px solid #B98532;
    color: #A87424;
}

.pj-clarity-section {
    position: relative;
}

.fixed-msg {
    position: absolute;
    top: -8px;
    right: 0;
    background: #eef0ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: none;
}

@media (max-width: 768px) {
    .pj-solitaire-wrap {
        padding: 15px;
    }

    .pj-clarity-grid {
        flex-direction: row;
    }

    .pj-clarity-btn {
        width: 100%;
        font-size: 11px;

    }

    .pj-shape-dropdown {
        height: 52px;
    }
}

@media (max-width: 320px) {
    .weight-top span {
        font-size: 12px !important;
    }
}

.pj-shape-dropdown.active {
    border: 2px solid #B98532;
    background: rgba(180, 140, 72, 0.05);
}

.pj-shape-dropdown.active .pj-shape-text {
    color: #A87424;
    background: rgba(164, 122, 49, 0.153);

}

.pj-shape-options {
    display: none;
    border: 1px solid #020B2A;

    background: #fff;
    max-height: 320px;
    overflow-y: auto;
}

.pj-shape-options div {
    padding: 6px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1F2A44;
    cursor: pointer;
}

.pj-shape-options div:hover {
    background: #1E67D2;
    color: #fff;
}

/* =====================solidatory btn==================== */


.solitaire-box {
    background: #f7f8fd;
    border: 1px solid #d9def2;
    border-radius: 18px;
    padding: 12px 23px;
    margin-top: 5px;
}

.solitaire-box .solitaire-header {
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    background-color: rgba(238, 242, 255, 0.6);
}

.solitaire-header h4 {
    font-size: 12px;
    margin-bottom: 0px;
    color: #3730A3;

}

.solitaire-box .solitaire-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #312E81;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;

}



@media (max-width: 480px) {
    .solitaire-box .solitaire-title {
        font-size: 14px;
        gap: 5px;
        line-height: 1.3;
    }
}

@media (max-width: 320px) {
    .solitaire-box .solitaire-title {
        font-size: 10px;
        gap: 4px;
    }
}

.solitaire-box .solitaire-remove-btn {
    background: transparent;
    border: none;
    color: #ff0000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.solitaire-box .solitaire-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.solitaire-box .solitaire-field-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #768294;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.solitaire-box .solitaire-shape-select {
    width: 100%;
    /*height: 48px;*/
     height: 32px;
      border-radius: 9px;
    font-size: 13px;
    border: 1px solid #d6d9e6;
    /*border-radius: 12px;*/
    padding: 0 14px;
    /*font-size: 14px;*/
    font-weight: 600;
    background: #fff;
    color: #111827;
    outline: none;
}

.solitaire-box .solitaire-size-input,
.solitaire-box .solitaire-weight-input,
.solitaire-box .solitaire-price-input {
    width: 100%;
    /*height: 48px;*/
     height: 32px;
      border-radius: 9px;
    font-size: 13px;
    border: 1px solid #d6d9e6;
    /*border-radius: 12px;*/
    padding: 0 14px;
    /*font-size: 14px;*/
    background: #fff;
    color: #111827;
    outline: none;
}

.solitaire-box .solitaire-size-input,
.solitaire-box .solitaire-weight-input {
    font-weight: 600;
}

.solitaire-box .solitaire-price-input {
    font-weight: 700;
}


.solitaire-box .solitaire-shape-select:focus,
.solitaire-box .solitaire-size-input:focus,
.solitaire-box .solitaire-weight-input:focus,
.solitaire-box .solitaire-price-input:focus {
    border-color: #4338ca;
}

@media (max-width: 768px) {
    .solitaire-box .solitaire-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .solitaire-box .solitaire-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============cluster btn=========================== */

.cluster-box {
    background: #f7fffb;
    border: 1px solid #cfeedd;
    border-radius: 18px;
    padding: 16px 18px;
    margin-top: 20px;
}

.cluster-header {
    border: 1px dashed #1f2937;
    border-radius: 12px;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;

}

.cluster-header h4 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #047857;
    display: flex;
    align-items: center;
    gap: 8px;
}


.cluster-header .remove-btn {
    background: transparent;
    border: none;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.cluster-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.cluster-grid>div:first-child {
    flex: 1;
}

.cluster-grid label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #768294;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
}


.cluster-grid input {
    width: 100%;
    max-width: 470px;
    /*height: 48px;*/
    height: 32px;
      border-radius: 9px;
    font-size: 13px;
    border: 1px solid #1f2937;
    /*border-radius: 12px;*/
    padding: 0 14px;
    /*font-size: 13px;*/
    font-weight: 600;
    color: #111827;
    background: #fff;
    outline: none;
}


.cluster-grid strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #059669;
    line-height: 1;
}

.cluster-grid .price-box {
    text-align: right;
    min-width: 180px;
}

@media (max-width: 768px) {


    .cluster-grid .price-box {
        text-align: left;
    }

    .cluster-grid input {
        max-width: 100%;
        height: 35px;
    }

    .cluster-header {
        padding: 5px 16px;
    }

    .cluster-header h4 {
        font-size: 10px;

    }

    .cluster-grid strong {
        font-size: 12px;


    }

    .cluster-header .remove-btn {
        font-size: 12px;
    }

    .solitaire-box .solitaire-shape-select {
        height: 35px;
    }

    .solitaire-box .solitaire-size-input,
    .solitaire-box .solitaire-weight-input,
    .solitaire-box .solitaire-price-input {
        height: 35px;
    }

    .solitaire-box .solitaire-remove-btn {
        font-size: 12px;
    }
}

/* ===================last========================== */
.stones-card {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 12px 30px;
    margin: 0 auto;
}

.stones-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stones-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stones-title h2 {
    font-family: "Playfair Display", serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.add-stone-btn {
    height: 32px;
    padding: 0 18px;
    border: 1px solid #e4d4b5;
    border-radius: 20px;
    background: #faf8f3;
    color: #a97725;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.4px;
}

.stones-divider {
    margin: 13px 0;
    border-top: 1px solid #edf2f7;
}

.stones-text {
    font-size: 13px;
    line-height: 1.8;
    color: #768294;
    font-style: italic;
    margin: 0;
    max-width: 880px;
}

.stones-text {
    font-size: 12px;
    color: #768294;
    font-style: italic;
    margin: 0;
    padding: 0;
    max-height: 100px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stones-text.hide {
    max-height: 0;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

@media (max-width: 768px) {
    .stones-card {
        padding: 20px;
        border-radius: 16px;
    }

    .stones-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .stones-title h2 {
        font-size: 18px;
    }


}

/* =====================last section add btn======================== */
.gemstone-box {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 20px;
    margin: 10px;
    /* margin-top: 12px 28px; */
}

.gemstone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.gemstone-header h4 {
    font-size: 11px;
    font-weight: 700;
    color: oklch(0.704 0.04 256.788);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.remove-gem {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #768294;
}

.gemstone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.forcolor select {
    color: #1e293b;
    font-weight: 700;
}

.forcolor select option {
    color: #1e293b;
}

.gem-input label {
    font-family: 'Inter', sans-serif;
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.gem-input input,
.gem-input select {
    width: 100%;
    height: 38px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 12px;
    background: white;
    outline: none;
}

@media(max-width:768px) {
    .gemstone-grid {
        grid-template-columns: 1fr;
    }
}


.pj-shape-options div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

.shape-icon {
    display: inline-flex;
    width: 18px;
    font-size: 14px;
    color: #c8b6ff;
}

.center-diamond {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 50px;
    color: #b9a7ff;

    border: none;
    background: transparent;
}

/* ==========================blackbtn========================== */
.summary-btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.summary-btn {
    width: 900px;
    max-width: 100%;
    /*height: 52px;*/
    height: 45px;
    font-family: "Inter", sans-serif;

    background: #020B2A;
    border: none;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

    transition: all 0.25s ease;
}

.summary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}



.cvd-wrapper {
    width: 100%;
    padding: 15px;
    display: block;
}

.tab-btn {
    cursor: pointer;
}

.tochangecolor {
    color: black;
}

#summaryDiamondSize {
    color: black;
    font-size: 18px;
}

.discount-text {
    color: #059669;
    font-weight: 600;
}

#diamondDiscountAmount,
#makingDiscountAmount {
    color: #059669;
    font-weight: 600;
    font-size: 14px
}



/* =========================================modal============================== */

.size-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.size-modal-box {
    width: 500px;
    height: 700px;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.size-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px 10px;
    border-bottom: 1px solid #ece7df;
}

.size-modal-left {
    display: flex;
    gap: 16px;
}

.size-icon-box {
    width: 38px;
    height: 38px;
    background: #f4efe6;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.size-modal-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1c2233;
    font-family: "Playfair Display", serif;

}

.size-modal-header p {
    font-size: 10px;
    color: #9d7b3b;
    font-weight: 700;
    margin-top: 4px;
}

/* Modal only */
#sizeModalOverlay #centerDiamond img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
}

/* Keep the input/dropdown icon small */
#selectedShapeIcon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#diameterText {
    font-weight: 700;
    font-size: 12px;
}

.size-close-btn {
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: #768294;
}

.size-modal-body {
    padding: 32px;
    height: 650px;
    overflow-y: auto;
    padding-bottom: 181px;
    /* important */

}

.preview-board {
    position: relative;
    width: 100%;
    height: 250px;
    border: 1px solid #e8dbc5;
    border-radius: 28px;
    background: #fcfaf6;
    overflow: hidden;
}

.preview-board::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #e1ceab9e 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    opacity: 1;
}

.preview-board::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent 49.8%, #ece4d8 49.8%, #ece4d8 50.2%, transparent 50.2%),
        linear-gradient(to bottom, transparent 49.8%, #ece4d8 49.8%, #ece4d8 50.2%, transparent 50.2%);
    pointer-events: none;
}

.shape-badge {
    position: absolute;
    top: 18px;
    left: 22px;
    z-index: 5;
    background: #ffffff;
    border: 1px solid #e2d8c5;
    border-radius: 14px;
    padding: 8px 20px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7c8ba5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.shape-badge span {
    color: #9d7b3b;
}

.center-diamond {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.center-diamond img,
.center-diamond svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.diameter-badge {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #e2d8c5;
    border-radius: 16px;
    padding: 8px 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.forspan span:first-child {
    color: #768294;
    font-size: 10px;
}

.scale-box {
    width: 435px;
    height: 38px;
    border: 1px solid #d6c8b2;
    border-radius: 14px;
    background: #f8f6f2;
    position: relative;
    overflow: visible;
}

.scale-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    position: relative;
}

.tick {
    width: 1px;
    height: 18px;
    background: #cfc4b1;
    position: relative;
    margin: 0;
}

.tick.major {
    height: 24px;
    background: #9a8b72;
    width: auto;
    font-size: 10px;
    font-weight: 700;
    color: #526b97;
    background: transparent;
    display: flex;
    align-items: flex-end;
}

.scale-marker {
    position: absolute;
    top: 8px;
    left: 0;
    z-index: 20;
    left: 155px;

}

.scale-marker .dot {
    width: 10px;
    height: 10px;
    background: #8c6a2d;
    border-radius: 50%;
}

.scale-marker-label {
    position: absolute;

    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #8c6a2d;
    color: white;
    font-size: 7px;
    font-weight: bold;
    padding: 3px 5px;
    border-radius: 5px;
    white-space: nowrap;
}

.selected-size-box {
    text-align: center;
    margin-top: 40px;
}

.selected-size-box p {
    color: #9d7b3b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: -10px !important;
}

.selected-size-value {
    margin-top: 10px;
}

.selected-size-value span {
    font-size: 30px;
    font-weight: 700;
    color: #162038;
}

.selected-size-value small {
    font-size: 14px;
    color: #7483a2;
}

.divider {
    height: 1px;
    background: #edf1f5;
    /*margin: 30px 0;*/
    margin: 11px 0;
}

.dashed {
    border-top: 1px dashed #d9e2ea;
    background: none;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-family: "Inter", sans-serif;

    font-weight: 700;
}

#sizeSlider {
    width: 100%;
    margin-top: 20px;
    accent-color: #9d7b3b;
}

.calibration-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.size-modal-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 24px 28px;
    border-top: 1px solid #ece7df;
    display: flex;
    gap: 16px;
    background: white;
    z-index: 30;
}



.cancel-btn,
.select-btn {
    flex: 1;
    height: 37px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 12px;
    font-family: "Inter", sans-serif;

}

.cancel-btn {
    border: 1px solid #d7dde5;
    background: white;
}

.select-btn {
    background: #9d7b3b;
    color: white;
    border: none;

}













/* .mm-scale-wrap {

    font-family: Arial, sans-serif;
} */

.scale-header {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8d9bb3;
    margin-bottom: 12px;
}

.scale-header span:last-child {
    color: #8b6a2f;
}

/* ================= TABLET ================= */
@media (max-width: 768px) {


    .size-modal-box {
        width: 92%;
        height: 90vh;
        border-radius: 24px;
    }

    .size-modal-header {
        padding: 20px;
    }

    .size-modal-left {
        gap: 12px;
    }

    .size-modal-header h2 {
        font-size: 16px;
    }

    .size-modal-header p {
        font-size: 11px;
    }

    .size-modal-body {
        padding: 20px;
        padding-bottom: 80px !important;
        height: calc(90vh - 80px);
    }

    .preview-board {
        height: 220px;
        border-radius: 22px;
    }

    .shape-badge {
        padding: 10px 16px;
        font-size: 10px;
    }

    .center-diamond {
        width: 38px;
        height: 38px;
    }

    .diameter-badge {
        padding: 10px 18px;
        border-radius: 14px;
        bottom: 12px;
    }

    .selected-size-value span {
        font-size: 28px;
    }

    .selected-size-value small {
        font-size: 18px;
    }

    .range-labels {
        font-size: 12px;
    }

    .scale-box {
        width: 100%;
        height: 36px;
    }

    .scale-header {
        font-size: 9px;
    }

    .size-modal-footer {
        padding: 18px 20px;
        gap: 12px;
        z-index: 20;
    }

    .cancel-btn,
    .select-btn {
        height: 44px;
        border-radius: 14px;
        font-size: 14px;
    }
}


/* ================= MOBILE ================= */
@media (max-width: 480px) {
    .size-modal-box {
        width: 92%;
        height: 91vh;
        border-radius: 18px;
    }

    .size-modal-header {
        padding: 16px;
    }

    .size-icon-box {
        width: 32px;
        height: 32px;
    }

    .size-modal-header h2 {
        font-size: 14px;
        line-height: 1.3;
    }

    .size-modal-header p {
        font-size: 10px;
    }

    .size-close-btn {
        font-size: 22px;
    }

    .size-modal-body {
        padding: 16px;
        padding-bottom: 55px;
    }

    .preview-board {
        height: 180px;
        border-radius: 18px;
    }

    .shape-badge {
        top: 12px;
        left: 12px;
        padding: 8px 12px;
        font-size: 9px;
    }

    .center-diamond {
        width: 30px;
        height: 30px;
    }

    .diameter-badge {
        bottom: -0px;
        padding: 8px 14px;
        border-radius: 12px;
    }

    .diameter-badge span {
        font-size: 11px !important;
    }

    .selected-size-box {
        margin-top: 25px;
    }

    .selected-size-value span {
        font-size: 24px;
    }

    .selected-size-value small {
        font-size: 16px;
    }

    .divider {
        margin: 20px 0;
    }

    .range-labels {
        font-size: 10px;
        flex-direction: column;
        gap: 8px;
    }

    #sizeSlider {
        margin-top: 14px;
    }

    .mm-scale-wrap {
        padding: 6px 8px;
    }

    .scale-header {
        font-size: 8px;
        margin-bottom: 8px;
    }

    .scale-box {
        width: 100%;
        height: 32px;
        border-radius: 10px;
    }

    .tick {
        height: 14px;
    }

    .tick.major {
        height: 18px;
        font-size: 8px;
    }

    .scale-marker .dot {
        width: 8px;
        height: 8px;
    }

    .scale-marker-label {
        font-size: 7px;
        padding: 2px 4px;
    }

    .size-modal-footer {
        padding: 14px 16px;
        gap: 10px;
    }

    .cancel-btn,
    .select-btn {
        height: 37px;
        border-radius: 12px;
        font-size: 12px;
    }
}

.category-box {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
}

.category-box label {
    display: block;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 1px;
    color: #8D6D33;
    /*margin-bottom: 16px;*/
    margin-bottom: 8px;
    font-family: "Inter", sans-serif;

    text-transform: uppercase;
}

.custom-select {
    position: relative;
}

.custom-select select {
    width: 100%;
    /*height: 45px;*/
    height: 32px;
    padding: 0 50px 0 20px;
    /*font-size: 15px;*/
    font-size: 13px;
    font-weight: 550;
    color: #1d1d1d;
    background: #fff;
    border: 1px solid #d8dde5;
    /*border-radius: 16px;*/
     border-radius: 9px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select select:focus {
    border-color: #c58a2b;
    box-shadow: 0 0 0 2px rgba(197, 138, 43, 0.15);
}

.custom-select::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #6f7b91;
    border-bottom: 2px solid #6f7b91;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}



@media (max-width: 1024px) {
    .custom-select {
        width: 100%;
        position: relative;
    }

    .custom-select select {
        width: 100%;
        max-width: 100%;
    }

    .custom-select select option {
        width: 100%;
        max-width: 100%;
    }
}



@media (max-width: 768px) {
    .category-box label {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .custom-select select {
        height: 48px;
        padding: 0 42px 0 16px;
        font-size: 14px;
        border-radius: 14px;
    }

    .custom-select::after {
        right: 18px;
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 480px) {
    .custom-select select {
        height: 42px;
        padding: 0 38px 0 14px;
        font-size: 13px;
        border-radius: 12px;
    }

    .category-box label {
        font-size: 9px;
        margin-bottom: 10px;
    }
}


.cvd-wrapper {
    width: 100%;
    /*padding: 20px;*/
     padding: 10px;
}



.diamond-section {
    width: 100%;
    /*padding: 10px;*/
    padding: 0px 10px 10px 10px;
}

.section-title {
    font-size: 10px;
    font-weight: 700;
    color: #8D6D33;
    letter-spacing: 1px;
    margin-bottom: 8px;
    /*margin-bottom: 20px;*/
    font-family: "Inter", sans-serif;

}

.diamond-options {
    display: flex;
    gap: 20px;
    /*margin-bottom: 22px;*/
    margin-bottom: 9px;
}

.diamond-card {
    flex: 1;
    min-height: 55px;
    /*border: 2px solid #d9dee7;*/
    /*border-radius: 18px;*/
    border: 1.5px solid #d9dee7;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
    /* background: #fff; */
}

.diamond-icon {
    /*font-size: 24px;*/
    /*margin-bottom: 10px;*/
    margin-bottom: 2px;
}

.diamond-card span {
    font-size: 14px;
    font-weight: 600;
    color: #617086;
    font-family: "Inter", sans-serif;

}

.diamond-card.natural.active {
    background-color: rgba(180, 140, 72, 0.05);
    transform: none;
    transform-origin: 50% 50% 0px;
    border-color: #8B6E38;
}

.diamond-card.natural.active span,
.diamond-card.natural.active .diamond-icon {
    color: #8B6E38;
}

.diamond-card.cvd.active {
    border-color: #4d4bff;
    background-color: rgba(238, 242, 255, 0.5);
    transform: none;
    transform-origin: 50% 50% 0px;
}

.diamond-card.cvd.active span,
.diamond-card.cvd.active .diamond-icon {
    color: #4d4bff;
}

.diamond-note {
        width: 100%;
    padding: 6px;
     border-radius: 16px; 
     display: flex; 
     align-items: flex-start; 
     gap: 14px; 
    transition: 0.3s ease;
    /* padding: 11px; */
    font-weight: 500;
}

.diamond-note.natural-note {
    background: #fdf8eb;
    border: 1px solid #edd88f;
}

.diamond-note.natural-note h5 {
    color: #8B6E38;
    margin-bottom: 0px
}

.diamond-note.cvd-note {
    background: #f5f6ff;
    border: 1px solid #c9d0ff;
}

.diamond-note.cvd-note h5 {
    color: #4d4bff;
    margin-bottom: 0px;
}

.note-icon {
    font-size: 20px;
}

.natural-note .note-icon {
    color: #D97706;
}

.cvd-note .note-icon {
    color: #4F46E5;
}

.note-text h5 {
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 1px;
    font-family: "Inter", sans-serif;

}

.note-text p {
    font-size: 12px;
    margin-bottom: 0px;
    color: #1e2a3b;
    font-family: "Inter", sans-serif;

}

@media (max-width: 768px) {
    .diamond-section {
        padding: 20px;
    }

    .diamond-card {
        min-height: 90px;
    }

    .diamond-card span {
        font-size: 15px;
    }

    .note-text p {
        font-size: 14px;
    }
}


@media (max-width: 480px) {
    .diamond-options {
        flex-direction: row;
    }

    .diamond-card {
        width: 100%;
    }

    .diamond-note {
        padding: 15px;
    }

    .note-text h5 {
        font-size: 10px;
    }

    .note-text p {
        font-size: 12px;
    }
}


@media (max-width: 320px) {
    .gold-card h3 {
        font-size: 10px !important;
    }

    .gold-card p {
        font-size: 10px !important;
    }

    .gold-options {
        gap: 8px !important;
    }

    .weight-top {
        display: flex;
        gap: 6px !important;
    }

    .weight-top span {
        padding: 3px !important;
    }

    .weight-top label {
        font-size: 11px;
    }

    .summary-btn {
        font-size: 10px !important;
    }

    .add-stone-btn {
        font-size: 9px;
    }

}

@media (max-width: 425px) {
    .summary-btn {
        font-size: 10px !important;
    }

    .add-stone-btn {
        font-size: 10px !important;
    }

}


.metal-section {
    width: 100%;
    max-width: 900px;
    /*margin: 25px auto 0px;*/
    margin: 15px auto 0px;
    padding: 20px;
    border: 1px solid #dfe5ef;
    border-radius: 20px;
    background: #fff;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Playfair Display", serif;

}

.step-icon {
    color: #b8863b;
    font-size: 14px;
}

.section-header h2 {
    font-size: 15px;
    margin-bottom: 0px;
    font-weight: 800;
    color: #14213d;
    font-family: "Playfair Display", serif;

}

.divider {
    height: 1px;
    background: #eceff5;
    margin: 18px 0;
}

.section-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #8a9ab7;
    /*margin-bottom: 18px;*/
    margin-bottom: 8px;
    /* letter-spacing: 1px; */
    font-family: "Inter", sans-serif;

}

.gold-options {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.gold-card {
    flex: 1;
    /*min-height: 65px;*/
    min-height: 50px;
    border: 1.5px solid #dce3ee;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease;
    background: #f8fafc;

}

.gold-card p {
    margin-bottom: 0px;
    font-size: 12px;
    font-weight: 700;


}


.gold-card h3 {
    font-size: 12px;
    font-weight: 700;
    color: #32496a;
    /*margin-bottom: 6px;*/
    margin-bottom: 3px;
}


.gold-card.active {
    background-color: rgba(180, 140, 72, 0.05);
    transform: none;
    transform-origin: 50% 50% 0px;
    border-color: #8B6E38;
}

.gold-card.active h3,
.gold-card.active p {
    color: #b8863b;
}

.weight-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-bottom: 14px;*/
     margin-bottom: 5px;
}

.weight-top label {
    font-size: 10px;
    font-weight: 700;
    color: #8a9ab7;
}


.gold-card.active h3,
.gold-card.active p {
    color: #b8863b;
}

.weight-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-bottom: 14px;*/
    margin-bottom: 5px;
    font-family: "Inter", sans-serif;

}

.weight-top label {
    font-size: 10px;
    font-weight: 700;
    color: #8a9ab7;
}

.weight-top span {
    background: #f4f7fb;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #1c2d4a;
}

.weight-input {
    width: 100%;
    height: 32px;
      border-radius: 9px;
    font-size: 13px;
    border: 1px solid #dce3ee;
    /*border-radius: 14px;*/
    padding: 0 18px;
    /*font-size: 15px;*/
    outline: none;
    color: #020B2A;
    background: #f8fafc;
}

.weight-input:focus {
    border-color: #b8863b;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 26px;
    }

    .gold-options {
        flex-wrap: wrap;
    }



    .gold-card h3 {
        font-size: 16px;
        font-weight: 700;

    }

    .gold-card {
        padding: 10px 10px 10px;
    }

    .gold-card p {
        font-size: 16px;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .metal-section {
        padding: 20px;
    }

    .section-header {
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
    }

    .gold-card h3 {
        font-size: 12px;
        font-weight: 700;
    }

    .gold-card p {
        font-size: 12px;
        font-weight: 700;
    }

    */ .gold-card {
        width: 100%;
    }

    .weight-input {
        font-size: 15px;
        height: 39px;
    }

    .cvd-header {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

    .diamond-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 320px) {
    .diamond-card span {
        font-size: 15px;
        text-align: center;
    }

    .diamond-card {
        padding: 10px;
    }
}

/* =============================black btn-modal============================= */
.summary-modal .modal-dialog {
    max-width: 1200px;
    margin: 1.75rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.summary-modal .modal-content {
    width: 95%;
    margin: auto;
    max-height: 90vh;
    border-radius: 28px;
    border: none;
    overflow: hidden;
}

.summary-modal .summary-modal-inner {
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

.summary-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.summary-close {
    border: none;
    background: none;
    font-size: 22px;
}

.summary-category {
    background-color: #fcfbf7;

    border: 1px solid #e8d8b8;
    /* background-color: #e8d8b82a; */
    border-radius: 16px;
    padding: 10px 20px;
    margin-bottom: 23px;
    font-size: 12px;
    color: #8B6E38;
    font-weight: 600;
}

#summaryCategory {
    color: black;
    font-weight: 700;

}

.summary-body-wrap {
    display: flex;
    gap: 40px;
}

.summary-left {
    flex: 2;
}

.summary-right {
    flex: 1;
    border: 1px solid #e8d8b8;
    border-radius: 30px;
    padding: 30px;
    /* background-color: #e8d8b82a; */
    background-color: #fcfbf7;

}

.summary-block {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
}

.summary-block h4 {
    font-size: 14px;
}

.summary-top {
    display: flex;
    justify-content: space-between;
}

.summary-top span {
    color: #768294;
    font-size: 14px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.forsize p {
    font-size: 17px;
    margin-bottom: 0px;
    color: #475569;
}

.forsize small {
    color: #768294;
}

.summary-top h4 {
    font-size: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.total-line {
    border-top: 1px dashed #d8dde7;
    margin-top: 12px;
}

.grand-total-box {
    border: 1px solid #e8d8b8;
    border-radius: 22px;
    padding: 14px;
    margin-bottom: 20px;
    background: #fff;
}

.grand-total-box span {
    color: #768294;
    font-size: 10px;
    font-family: "Inter", sans-serif;

}

.grand-total-box h2 {
    font-size: 30px;
}

.summary-note {
    font-size: 10px;
    color: #8a94a8;
    margin-bottom: 25px;
    font-weight: 500;
    font-style: italic;
}

.discount-text {
    font-size: 12px;
    color: #059669;
    padding-left: 10px;
    margin-top: -18px;
    font-weight: 800 !important;
}

#discountBtn {
    transition: all 0.3s ease;
}

#makingDiscountAmount {
    font-size: 12px;
    color: #059669;
}

/* ===================discount-msg-on-modal-top========== */
.discount-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    padding: 6px 12px;
    font-size: 9px;
    font-weight: 700;
    border: 1px solid #059669;
    color: #059669;
    background: #ECFDF5;
    border-radius: 6px;
}

/* ========================= */
.gold-btn,
.dark-btn,
.green-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    font-family: "Inter", sans-serif;

}

.gold-btn {
    background: #c79a43;
    color: #fff;
}

.dark-btn {
    background: #071633;
    color: #fff;
}

.green-btn {
    background: #22c55e;
    color: #fff;
}


@media (max-width: 768px) {
    .summary-header h2 {
        font-size: 18px !important;
    }

    .summary-category {
        font-size: 13px !important;
    }

    .summary-block h4,
    .summary-top h4 {
        font-size: 15px !important;
    }

    .summary-top span {
        font-size: 12px !important;
    }

    .forsize p {
        font-size: 14px !important;
    }

    .forsize small {
        font-size: 12px !important;
    }

    .summary-row p,
    .summary-row strong {
        font-size: 13px !important;
    }

    .grand-total-box span {
        font-size: 12px;
    }

    .grand-total-box h2 {
        font-size: 24px !important;
    }

    .summary-note {
        font-size: 12px !important;
    }

    .discount-text,
    #makingDiscountAmount {
        font-size: 11px !important;
    }

    .discount-badge {
        font-size: 10px !important;
    }

    .gold-btn,
    .dark-btn,
    .green-btn {
        font-size: 14px !important;
    }


    .summary-modal .summary-body-wrap {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }




}

@media screen and (max-width: 425px) {
    .summary-modal .summary-body-wrap {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .summary-modal .summary-left,
    .summary-modal .summary-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .summary-modal .summary-right {
        margin-top: 15px !important;
        padding: 16px !important;
    }
}

#savedAmountBox {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #d8dde7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#savedAmountBox p {
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    margin: 0;
}

#savedAmountBox strong {
    color: #059669;
    font-size: 14px;
    font-weight: 700;
}

#diamondDiscountRow {
    margin: 0 !important;
    min-height: auto !important;
}

#diamondDiscountRow p,
#diamondDiscountRow strong {
    margin: 0 !important;
    line-height: 1.2 !important;
}


#diamondSummaryBlock .total-line {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    font-size: 14px;
}

/* ============final pay===================== */
.pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 22, 51, 0.75);
    display: none;
    z-index: 9999;
    padding: 20px;
}

.pdf-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-modal-box {
    width: 100%;
    max-width: 860px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}


.preview-tag {
    background: rgba(199, 154, 67, 0.12);
    color: #f5c15d;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}


.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #071633;

}

.pdf-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.download-btn {
    font-family: "Inter", sans-serif;

    background: #c99610;

    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;

    cursor: pointer;
}

.pdf-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24spx;
    cursor: pointer;
    line-height: 1;
}

.pdf-preview-body {
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    overflow-x: hidden;
}



#pdfSlip {
    width: 794px;
    margin: auto;
    background: white;
    padding: 20px;
    box-sizing: border-box;
}

.pdf-slip-inner {

    min-height: auto;
}


.pdf-brand {
    text-align: center;
    margin-bottom: 10px;
}

.pdf-brand h1 {
    font-size: 22px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-family: "Playfair Display", serif;
}

.pdf-brand p {
    font-size: 12px;
    color: #64748B;
}


.pdf-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 10px 0;
}

.pdf-title {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #c79a43;
    letter-spacing: 1px;
    font-family: "Playfair Display", serif;

    border-top: 1px solid #E2E8F0;

}

.pdf-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 8px;
}

.pdf-meta span {
    font-size: 12px;
    color: #768294;
    font-weight: 500;
}

.gold-karat-info {
    margin: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
}

/* 
.pdf-meta strong {
    color: #1E293B;
    font-weight: 700;
} */

.summary-block {
    padding: 14px 0;
    border-bottom: 1px solid #E2E8F0;
}

.summary-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.summary-top h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}

.summary-top span {
    color: #768294;
    font-size: 10px;
    font-weight: 500;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4px 0;
    font-family: "Inter", sans-serif;

}

.summary-row p {
    font-size: 14px;
    font-weight: 400;
    color: #475569;
    margin: 0;
}

.summary-row small {
    display: block;
    font-size: 10.5px;
    font-style: italic;
    color: #768294;
    margin-top: 2px;
    font-family: "Inter", sans-serif;

}

.summary-row strong {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.extra-diamond-row {
    /*padding-left: 18px;*/
}

.extra-diamond-row p {
    font-size: 14px;
    color: #475569;
}

.total-line {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #CBD5E1;
}

.total-line p,
.total-line strong {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}

.discount-text,
#diamondDiscountAmount,
#makingDiscountAmount,
#savedAmount {
    color: #059669 !important;
    font-size: 12px !important;
    font-weight: 400;
}

.pdf-grand-total-box {
    margin-top: 10px;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    border-radius: 14px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-grand-left {
    font-size: 16px;
    font-weight: 800;
    color: #071633;
    letter-spacing: -0.3px;
}

.pdf-grand-right {
    font-size: 18px;
    font-weight: 500;
    color: #071633;
}

.pdf-footer-note {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 10px;
    font-style: italic;
    color: #768294;
    font-weight: 500;
    font-family: "Inter", sans-serif;

}

.pdf-terms {
    text-align: center;
    margin-bottom: 3px;
    margin-top: 3px;
    font-family: "Inter", sans-serif;
    padding-top: 3px;
    page-break-inside: auto;
    break-inside: auto;
}

.pdf-terms h4,
.pdf-terms .terms-heading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000000;
    margin-bottom: 5px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.pdf-terms p {
    margin: 3px 0;
    font-size: 12px;
    color: #768294;
    line-height: 1.3;
}

.pdf-terms p strong {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000000;
    display: block;
    margin-bottom: 15px;
}

.pdf-brand-line {
    text-align: center;
    font-size: 22px;
    font-style: italic;
    color: #C79A43;
    font-weight: 500;
    margin-top: 20px;
    font-family: "Playfair Display", serif;

}

.pdf-footer-group {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
}

.pdf-footer-group * {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
}

@media(max-width:768px) {
    .pdf-modal-box {
        max-width: 95%;
    }

    .pdf-preview-body {
        padding: 24px;
    }

    #pdfSlip {
        width: 100%;
        padding: 25px;
    }

    .pdf-brand h1 {
        font-size: 22px !important;
    }

    .pdf-title {
        font-size: 20px;
    }

    .pdf-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pdf-grand-total-box {
        padding: 20px;
    }

    .pdf-grand-left {
        font-size: 17px;
    }

    .pdf-grand-right {
        font-size: 21px;
    }
}

@media(max-width:425px) {
    .pdf-modal {
        padding: 0;
    }



    .pdf-modal-box {
        max-width: 95%;
    }

    .pdf-modal-header {
        padding: 14px;

    }

    .preview-tag {
        font-size: 12px;
    }

    .download-btn {
        width: 100%;
        font-size: 11px;
    }

    .pdf-preview-body {
        padding: 18px;
    }

    #pdfSlip {
        padding: 18px;
        border-width: 2px;
    }

    .pdf-brand h1 {
        font-size: 24px;
    }

    .pdf-title {
        font-size: 18px;
    }

    .summary-row p,
    .summary-row strong {
        font-size: 13px;
    }

    .pdf-grand-total-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px;
    }

    .pdf-grand-left {
        font-size: 15px !important;
    }

    .pdf-grand-right {
        font-size: 15px !important;
    }

    .pdf-footer-note {
        font-size: 12px;
        margin-top: 30px;
        margin-bottom: 35px;
        font-family: "Inter", sans-serif;

    }

    .pdf-terms h4 {
        font-size: 15px;
    }

    .pdf-terms p {
        font-size: 12px;
    }

    .pdf-brand-line {
        font-size: 18px;
    }
}


/* ==================watsap popup===================== */


.ws-share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.ws-share-popup.active {
    display: flex;
}

.ws-share-box {
    width: 450px;
    background: #fcfbf7;
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.ws-popup-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    background: #fff8e7;
    color: #d97706;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ws-share-box h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ws-share-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 30px;
}

.ws-dark-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 14px;
    background: #16233b;
    color: #fff;
    font-size: 12px;
    margin-bottom: 15px;
    cursor: pointer;
}

.ws-green-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 14px;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    margin-bottom: 15px;
    cursor: pointer;
}

.ws-green-btn img {
    width: 18px;
    margin-right: 8px;
}

.ws-back-btn {
    border: none;
    background: transparent;
    color: #768294;
    font-size: 16px;
    cursor: pointer;
}

.forbold b {
    color: #B48C48;

}

@media (max-width: 768px) {
    .ws-share-popup {
        padding: 20px;
        align-items: center;
        justify-content: center;
    }

    .ws-share-box {
        width: 100%;
        max-width: 450px;
        padding: 35px 28px;
        border-radius: 24px;
        margin: 0 auto;
    }

    .ws-share-box h2 {
        font-size: 22px;
    }
}

@media (max-width: 425px) {
    .ws-share-popup {
        padding: 15px;
        align-items: center;
        justify-content: center;
    }

    .ws-share-box {
        width: 100%;
        max-width: 360px;
        padding: 25px 20px;
        border-radius: 22px;
        margin: 0 auto;
    }

    .ws-popup-icon {
        width: 58px;
        height: 58px;
        font-size: 26px;
        margin-bottom: 15px;
    }

    .ws-share-box h2 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .ws-share-box p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .ws-dark-btn,
    .ws-green-btn {
        padding: 14px;
        font-size: 14px;
        border-radius: 12px;
    }

    .ws-green-btn img {
        width: 16px;
        margin-right: 6px;
    }

    .ws-back-btn {
        font-size: 14px;
        margin-top: 8px;
    }
}

@media (max-width: 360px) {
    .ws-share-box {
        max-width: 320px;
        padding: 20px 16px;
    }

    .ws-share-box h2 {
        font-size: 18px;
    }

    .ws-share-box p {
        font-size: 13px;
    }
}




.pdf-grand-total-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 18px 24px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pdf-grand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.pdf-saved-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 14px;
    border-top: 1px dashed #E2E8F0;
}

.pdf-grand-left,
.pdf-grand-right {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    font-family: "Inter", sans-serif;
}

.pdf-saved-left,
.pdf-saved-right {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
}

.pdf-footer-group,
.pdf-brand-text,
.pdf-grand-total-box,
.pdf-footer-note,
.pdf-terms {
    page-break-inside: auto !important;
    break-inside: auto !important;
}






/* =============================extra=========================== */
/* .summary-block {
    break-inside: avoid;
    page-break-inside: avoid;
}

.pdf-grand-total-box {
    break-inside: avoid;
    page-break-inside: avoid;
}

.pdf-footer-note {
    break-inside: avoid;
    page-break-inside: avoid;
}

.pdf-terms {
    break-inside: avoid;
    page-break-inside: avoid;
}

.pdf-footer-group {
    break-inside: avoid;
    page-break-inside: avoid;
} */

.pdf-footer-group {
    page-break-inside: avoid;
    break-inside: avoid;
}
.diamond-note-para{
    font-weight: 500;
    font-size: 10px;
    line-height: 1.7;
    color: #768294;
}
.cutp{
  font-size: 11px !important;
}