/* =========================================================
   ELYSÉES – VODIČ ZA VELIČINE NAKITA
========================================================= */

.sw-size-guide {
    width: 100%;
    margin: 0;
    padding: 70px 0 90px;
    color: #1a1a1a;
    box-sizing: border-box;
}

.sw-size-guide *,
.sw-size-guide *::before,
.sw-size-guide *::after {
    box-sizing: border-box;
}

/* =========================================================
   HERO
========================================================= */

.sw-size-guide__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.55fr);
    align-items: stretch;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-bottom: 90px;
    overflow: hidden;
    background: #f5f2ee;
}

.sw-size-guide__hero-media {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.sw-size-guide__hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
}

.sw-size-guide__hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 65px 60px;
    text-align: left;
}

.sw-size-guide__hero-content h1 {
    max-width: 520px;
    margin: 0 0 24px;
    color: #111;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 400;
    line-height: 1.08;
}

.sw-size-guide__lead {
    max-width: 500px;
    margin: 0;
    color: #606060;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
}

/* =========================================================
   NAVIGACIJA U HERO SEKCIJI
========================================================= */

.sw-size-guide__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 32px;
}

.sw-size-guide__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 125px;
    padding: 13px 22px;
    border: 1px solid #d9d3ce;
    background: #fff;
    color: #1a1a1a;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.sw-size-guide__nav a:hover,
.sw-size-guide__nav a:focus-visible {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
}

/* =========================================================
   GLAVNE SEKCIJE
========================================================= */

.sw-size-guide__section {
    width: calc(100% - 80px);
    max-width: 1500px;
    margin: 0 auto 100px;
    scroll-margin-top: 130px;
}

.sw-size-guide__heading {
    display: block;
    margin-bottom: 42px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e1dd;
}

.sw-size-guide__heading h2 {
    margin: 0;
    color: #111;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
}

/* =========================================================
   KARTICE ZA MJERENJE PRSTENA
========================================================= */

.sw-size-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 30px;
    margin-bottom: 48px;
}

.sw-size-guide__card {
    display: grid;
    grid-template-rows:
        360px
        auto
        1fr
        auto;
    align-content: start;
    min-height: 100%;
    padding: 40px;
    border: 1px solid #e4dfdb;
    background: #fbfaf9;
}

.sw-size-guide__illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 360px;
    margin: 0;
    overflow: hidden;
}

.sw-size-guide__illustration img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 100%;
    object-fit: contain;
}

.sw-size-guide__card h3 {
    min-height: 42px;
    margin: 28px 0 18px;
    color: #111;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.3;
}

.sw-size-guide__card p,
.sw-size-guide__content p {
    margin: 0 0 18px;
    color: #555;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.sw-size-guide__note {
    align-self: end;
    width: 100%;
    margin-top: 25px !important;
    padding-top: 19px;
    border-top: 1px solid #ded9d5;
    color: #777 !important;
    font-size: 14px !important;
}

/* =========================================================
   SADRŽAJ I LISTE
========================================================= */

.sw-size-guide__content {
    max-width: 980px;
    margin-bottom: 40px;
}

.sw-size-guide__list {
    margin: 22px 0 0;
    padding-left: 22px;
}

.sw-size-guide__list li {
    margin-bottom: 11px;
    color: #555;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

/* =========================================================
   TABLICE
========================================================= */

.sw-size-guide__table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e1dcd8;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.sw-size-guide__table {
    width: 100%;
    min-width: 680px;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.sw-size-guide__table caption {
    caption-side: top;
    padding: 23px 26px;
    border-bottom: 1px solid #e1dcd8;
    background: #f5f2ef;
    color: #111;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

.sw-size-guide__table th,
.sw-size-guide__table td {
    padding: 17px 24px;
    border: 0;
    border-right: 1px solid #ece8e5;
    border-bottom: 1px solid #ece8e5;
    color: #333;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    vertical-align: middle;
}

.sw-size-guide__table th:last-child,
.sw-size-guide__table td:last-child {
    border-right: 0;
}

.sw-size-guide__table tbody tr:last-child td {
    border-bottom: 0;
}

.sw-size-guide__table thead th {
    background: #faf8f6;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.sw-size-guide__table tbody tr:hover {
    background: #fcfbfa;
}

/* =========================================================
   OSOBNI STYLING SAVJET – ORIGINALNI SHOP BY LOOK DIZAJN
========================================================= */

.sbl-advice {
    position: relative;
    width: calc(100% - 80px);
    max-width: 1420px;
    margin: 0 auto;
    padding:
        clamp(48px, 5vw, 78px)
        clamp(24px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid rgba(199, 165, 104, 0.32);
    background: linear-gradient(
        135deg,
        #171512 0%,
        #252019 100%
    );
    text-align: center;
    color: #fff;
    box-shadow: 0 28px 70px rgba(38, 29, 21, 0.16);
}

.sbl-advice::before {
    content: "";
    position: absolute;
    top: -190px;
    right: -130px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(199, 165, 104, 0.18);
    border-radius: 50%;
    pointer-events: none;
}

.sbl-advice::after {
    content: "";
    position: absolute;
    bottom: -160px;
    left: -120px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(199, 165, 104, 0.11);
    border-radius: 50%;
    pointer-events: none;
}

.sbl-advice-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
}

.sbl-advice-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 17px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c7a568;
}

.sbl-advice-kicker::before,
.sbl-advice-kicker::after {
    content: "";
    width: 38px;
    height: 1px;
    background: rgba(199, 165, 104, 0.65);
}

.sbl-advice-title {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4vw, 62px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: #fff;
}

.sbl-advice-text {
    max-width: 780px;
    margin: 0 auto 31px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.76);
}

.sbl-advice-actions {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sbl-advice-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 14px 25px;
    border: 1px solid #fff;
    background: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #171512;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.sbl-advice-button--primary {
    border-color: #fff;
    background: #fff;
    color: #171512;
}

.sbl-advice-button:hover,
.sbl-advice-button:focus-visible {
    border-color: #e8a6b5;
    background: #e8a6b5;
    color: #171512;
    transform: translateY(-2px);
}

.sbl-advice-arrow {
    font-size: 18px;
    line-height: 1;
    font-weight: 300;
}

.sbl-advice-email {
    margin: 23px 0 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.58);
    word-break: break-word;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
    .sw-size-guide__hero {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(340px, 0.85fr);
    }

    .sw-size-guide__hero-content {
        padding: 50px 38px;
    }

    .sw-size-guide__hero-content h1 {
        font-size: clamp(40px, 5vw, 56px);
    }

    .sw-size-guide__section,
    .sbl-advice {
        width: calc(100% - 50px);
    }
}

/* =========================================================
   MOBITEL
========================================================= */

@media (max-width: 767px) {
    .sw-size-guide {
        padding: 30px 0 60px;
    }

    .sw-size-guide__hero {
        grid-template-columns: 1fr;
        margin-bottom: 65px;
    }

    .sw-size-guide__hero-media,
    .sw-size-guide__hero-media img {
        min-height: 280px;
    }

    .sw-size-guide__hero-media img {
        object-position: center;
    }

    .sw-size-guide__hero-content {
        padding: 36px 22px 42px;
    }

    .sw-size-guide__hero-content h1 {
        max-width: none;
        margin-bottom: 18px;
        font-size: clamp(38px, 12vw, 50px);
    }

    .sw-size-guide__lead {
        font-size: 15px;
        line-height: 1.7;
    }

    .sw-size-guide__nav {
        gap: 8px;
        margin-top: 26px;
    }

    .sw-size-guide__nav a {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 12px 13px;
        font-size: 12px;
    }

    .sw-size-guide__section,
    .sbl-advice {
        width: calc(100% - 36px);
    }

    .sw-size-guide__section {
        margin-bottom: 72px;
        scroll-margin-top: 90px;
    }

    .sw-size-guide__heading {
        margin-bottom: 28px;
        padding-bottom: 18px;
    }

    .sw-size-guide__heading h2 {
        font-size: 32px;
    }

    .sw-size-guide__grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 30px;
    }

    .sw-size-guide__card {
        grid-template-rows:
            250px
            auto
            auto
            auto;
        padding: 27px 22px;
    }

    .sw-size-guide__illustration {
        height: 250px;
    }

    .sw-size-guide__card h3 {
        min-height: 0;
        margin-top: 24px;
        font-size: 24px;
    }

    .sw-size-guide__card p,
    .sw-size-guide__content p,
    .sw-size-guide__list li {
        font-size: 15px;
    }

    .sw-size-guide__table {
        min-width: 620px;
    }

    .sw-size-guide__table caption {
        padding: 19px;
        font-size: 21px;
    }

    .sw-size-guide__table th,
    .sw-size-guide__table td {
        padding: 14px 16px;
        white-space: nowrap;
    }

    .sbl-advice {
        padding: 44px 20px;
    }

    .sbl-advice-title {
        font-size: 38px;
    }

    .sbl-advice-text {
        margin-bottom: 26px;
        font-size: 15px;
        line-height: 1.62;
    }

    .sbl-advice-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sbl-advice-button {
        width: 100%;
        min-height: 54px;
        padding: 14px 18px;
    }
}

/* =========================================================
   VRLO MALI MOBITELI
========================================================= */

@media (max-width: 420px) {
    .sw-size-guide__hero-media,
    .sw-size-guide__hero-media img {
        min-height: 240px;
    }

    .sw-size-guide__nav a {
        flex-basis: 100%;
    }

    .sw-size-guide__heading h2 {
        font-size: 29px;
    }

    .sbl-advice-title {
        font-size: 34px;
    }
}

/* =========================================================
   SMANJENO KRETANJE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .sw-size-guide__nav a,
    .sbl-advice-button {
        transition: none;
    }
}