/* Functional storefront pieces on top of the Unimart jewellery skin. */

.storefront-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-heading, #111);
    text-decoration: none;
    line-height: 1;
}

.storefront-brand img {
    display: block;
    width: auto;
    height: 96px;
}

.storefront-brand-name {
    display: block;
    max-width: 9rem;
    color: inherit;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.15;
}

.storefront-brand--menu img {
    height: 80px;
}

.storefront-brand--footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
}

.storefront-brand--footer img {
    height: 120px;
}

.storefront-brand--footer .storefront-brand-name {
    max-width: none;
    font-size: 1.35rem;
}

.storefront-social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.storefront-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--color-gray-300, #c1c1c1);
    border-radius: 999px;
    color: var(--color-heading, #111);
    background: var(--color-white, #fff);
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
}

.storefront-social a:hover,
.storefront-social a:focus-visible {
    border-color: var(--color-heading, #111);
    color: var(--color-white, #fff);
    background: var(--color-heading, #111);
}

.storefront-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-body, #737373);
    font-size: 14px;
}

.shop-crumb a {
    color: inherit;
    text-decoration: none;
}

.shop-crumb a:hover {
    color: var(--color-primary, #215ada);
}

.shop-chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.shop-chip {
    flex: 0 0 auto;
    padding: 0.2rem 0.65rem;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    background: #fff;
    color: var(--color-heading, #111);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.shop-chip.active,
.shop-chip:hover {
    border-color: var(--color-primary, #215ada);
    background: var(--color-primary, #215ada);
    color: #fff;
}

.storefront-nav a {
    color: var(--color-heading, #111);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.storefront-nav a.active,
.storefront-nav a:hover {
    color: var(--color-primary, #215ada);
}

.locale-switch {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.locale-switch form {
    display: inline-flex;
    margin: 0;
}

.locale-switch button {
    appearance: none;
    margin: 0;
    padding: 0.1rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--color-gray-500, #555);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
}

.locale-switch button.is-active {
    color: var(--color-heading, #111);
    box-shadow: inset 0 -1.5px 0 currentColor;
}

.locale-switch button:hover,
.locale-switch button:focus-visible {
    color: var(--color-primary, #215ada);
    outline: none;
}

.locale-switch-sep {
    width: 1px;
    height: 12px;
    margin: 0 0.6rem;
    background: var(--color-gray-300, #c1c1c1);
}

.popup-mobile-menu .locale-switch {
    margin-top: 0.85rem;
}

.storefront-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.storefront-tools .content p,
.storefront-tools .content span {
    margin: 0;
    line-height: 1.2;
}

.storefront-tools .content p {
    font-size: 12px;
}

.storefront-tools .content span {
    font-size: 11px;
}

.rbt-header .header-space-between {
    padding-left: 16px;
    padding-right: 16px;
}

.rbt-header-wrapper-one .rbt-header-middle-one {
    min-height: 64px;
}

.rbt-header-campaign.rbt-topbar-bg-two {
    background-color: #111;
    background-image: none;
}

.campaign-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin: 0;
    min-height: 0;
    padding: 0.4rem 0.75rem;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.campaign-line .announce-shop {
    background: none;
    border: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    padding: 0;
    cursor: pointer;
}

.campaign-line .announce-shop.dropdown-toggle::after {
    margin-left: 0.35em;
    vertical-align: 0.15em;
    border-top-color: currentColor;
}

.shop-switcher-menu {
    --bs-dropdown-bg: #fff;
    --bs-dropdown-color: #111;
    position: fixed;
    z-index: 80;
    width: min(20rem, calc(100vw - 1.5rem));
    margin: 0;
    padding: 0.7rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    text-align: left;
    color: #111;
}

.shop-results {
    max-height: 16rem;
    overflow: auto;
    margin-top: 0.5rem;
}

.shop-result {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    border-radius: 0.5rem;
    padding: 0.45rem 0.55rem;
    color: #111;
}

.shop-result:hover,
.shop-result.is-active {
    background: #eff1f4;
}

.shop-switcher-note {
    font-size: 0.75rem;
    color: #555;
    padding: 0.35rem 0.4rem 0;
}

.popup-mobile-menu .mainmenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popup-mobile-menu .mainmenu a {
    display: block;
    padding: 0.75rem 0;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f3f3f3;
}

.storefront-page {
    padding-bottom: 3rem;
}

.storefront-page .panel,
.panel {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.panel.p-0,
.panel.account-nav {
    padding: 0;
}

.rbt-btn-border {
    background: transparent;
    color: var(--color-heading, #111);
    box-shadow: inset 0 0 0 1px currentColor;
}

.rbt-btn.w-100,
.btn-gold.w-100 {
    width: 100%;
}

.btn-gold,
.storefront-page .btn-gold {
    background: var(--color-primary, #215ada);
    border: 0;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}

.btn-gold:hover,
.btn-gold:focus {
    background: #111;
    color: #fff;
}

.btn-line {
    background: #fff;
    color: #111;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-weight: 600;
}

.btn-line:hover,
.btn-line:focus {
    background: #111;
    border-color: #111;
    color: #fff;
}

.price-table td {
    padding: 0.4rem 0;
}

.price-table tr:last-child td {
    border-top: 1px solid #eee;
    font-weight: 700;
    padding-top: 0.7rem;
}

.choice {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 1rem;
    background: #fff;
    height: 100%;
}

.choice:has(input:checked) {
    border-color: var(--color-primary, #215ada);
    box-shadow: inset 0 0 0 1px var(--color-primary, #215ada);
}

.account-identity {
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.account-mark {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.account-nav a {
    display: block;
    padding: 0.7rem 1rem;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #f4f4f4;
}

.account-nav a:last-child {
    border-bottom: 0;
}

.account-nav a.active,
.account-nav a:hover {
    background: #eff1f4;
    color: var(--color-primary, #215ada);
}

.address-book-head {
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid #eee;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.address-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 1.15rem;
}

.address-card + .address-card {
    border-top: 1px solid #eee;
}

.address-card-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.address-card-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.2rem;
}

.address-card-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.address-card-actions form {
    display: inline-flex;
    margin: 0;
}

.address-card-actions .btn {
    display: inline-flex;
    align-items: center;
    min-height: 2.15rem;
    padding: 0.35rem 0.95rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #111;
    white-space: nowrap;
}

.address-card-actions .address-remove {
    color: #9b2c2c;
    border-color: #e7c4c4;
}

.badge-soft,
.badge.bg-primary-transparent {
    background: #e7e9ec;
    color: #215ada;
}

.badge.bg-success-transparent {
    background: #e5fae5;
    color: #1d7a3a;
}

.badge.bg-warning-transparent {
    background: #fff6dc;
    color: #8a5a12;
}

.badge.bg-danger-transparent {
    background: #ffedeb;
    color: #9b2c2c;
}

.plan-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.finder-wrap {
    position: relative;
    z-index: 2;
    margin-top: -1.25rem;
}

.finder-card {
    background: #fff;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.finder-card .form-label {
    margin-bottom: 0.35rem;
    font-size: 13px;
}

.finder-card .input-group > .form-control,
.finder-card .input-group > .btn-gold {
    height: 40px;
    min-height: 40px;
}

.finder-card .input-group > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.finder-card .input-group > .btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.1rem;
    font-size: 14px;
    line-height: 1;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.rbt-product-banner.rbt-product-banner-style-four.rbt-banner-four-var-three .rbt-content-section .rbt-banner-title,
.rbt-banner-title.rbt-banner-title-lg {
    font-size: clamp(26px, 2.5vw, 40px);
    line-height: 1.15;
}

.rbt-jwellery-hero-activation-1 > .rbt-swiper-arrow.rbt-arrow-left {
    left: 6px;
}

.rbt-banner-subtitle-two.h4,
.rbt-product-banner .rbt-banner-subtitle-two {
    font-size: 14px;
    line-height: 1.3;
}

.rbt-component-section-title .rbt-title,
.rbt-inf-box-title {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.25;
}

.rbt-toolbar .rbt-toolbar-label {
    font-size: 11px;
}

.rate-card {
    background: #fff;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.rate-card strong {
    display: block;
    font-size: clamp(20px, 2vw, 26px);
}

.rate-card span {
    color: #737373;
}

.legal h2 {
    margin: 2rem 0 0.75rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eee;
}

.legal > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.legal p,
.legal li {
    line-height: 1.7;
}

@media (min-width: 1400px) {
    .rbt-header .header-space-between {
        padding-left: 32px;
        padding-right: 32px;
    }

    .storefront-brand img {
        height: 104px;
    }

    .storefront-brand--footer img {
        height: 128px;
    }
}

@media (max-width: 991.98px) {
    body.rbt-header-sticky {
        padding-bottom: 4.5rem;
    }

    .campaign-line,
    .campaign-line .announce-shop {
        font-size: 12px;
    }

    .storefront-brand img,
    .storefront-brand--menu img {
        height: 72px;
    }

    .storefront-brand--footer img {
        height: 96px;
    }

    .storefront-brand-name {
        font-size: 1.05rem;
    }
}

@media (max-width: 575.98px) {
    .campaign-line {
        padding: 0.35rem 0.6rem;
        text-align: center;
    }

    .storefront-brand img,
    .storefront-brand--menu img {
        height: 64px;
    }

    .storefront-brand-name {
        max-width: 7.2rem;
        font-size: 0.95rem;
    }

    .finder-wrap {
        margin-top: 0.75rem;
    }

    .rbt-product-banner.rbt-product-banner-style-four.rbt-banner-four-var-three .rbt-content-section .rbt-banner-title,
    .rbt-banner-title.rbt-banner-title-lg {
        font-size: 24px;
    }
}

@media (max-width: 767.98px) {
    .address-card {
        flex-direction: column;
        align-items: stretch;
    }

    .address-card-actions {
        justify-content: flex-start;
    }
}

/* Unimart sizes buttons and fields at 50px / 18px. Keep storefront controls compact. */
body .rbt-btn,
body a.rbt-btn,
body button.rbt-btn {
    box-sizing: border-box;
    height: 36px;
    min-height: 0;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 36px;
}

body .rbt-btn.rbt-btn-sm,
body .rbt-btn.rbt-btn-md,
body .rbt-btn.rbt-square-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 32px;
}

body .rbt-btn.rbt-btn-border {
    line-height: 34px;
}

body input[type="text"],
body input[type="email"],
body input[type="password"],
body input[type="search"],
body input[type="tel"],
body input[type="number"],
body input[type="date"],
body select,
body .form-control,
body .form-select {
    box-sizing: border-box;
    height: 36px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

body select,
body .form-select {
    padding-right: 28px;
    background-position: right 8px center;
    background-size: 12px 10px;
}

body textarea,
body textarea.form-control {
    height: auto;
    min-height: 5.5rem;
    padding: 8px 10px;
}

body input[type="file"],
body input[type="file"].form-control {
    height: auto;
    min-height: 36px;
    padding: 6px 10px;
    line-height: 1.4;
}

.shop-filters .form-label,
.storefront-page .form-label {
    margin-bottom: 0.25rem;
    font-size: 13px;
    font-weight: 600;
}

.shop-filters .rbt-title {
    margin-bottom: 0.75rem;
    font-size: 16px;
}

.piece-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f6f6f6;
}

.piece-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
}

.product-gallery-main,
.product-gallery-thumb {
    display: block;
    overflow: hidden;
    background: #f6f6f6;
    border: 0;
}

.product-gallery-main img,
.product-gallery-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.home-jewellery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.home-jewellery-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 280px;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: #1a1a1a;
}

.home-jewellery-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.home-jewellery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.home-jewellery-card .rbt-btn {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
}

@media (min-width: 768px) {
    .home-jewellery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .home-jewellery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

