/* Shared store layout — header, nav, footer */
.store-body {
    --store-ui-grey: #969696;
    --store-custom-green: #97C12D;
    --store-shop-orange: #E9C137;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    color: #111;
}

.btn-store-grey,
.btn-dark.btn-store-grey {
    background-color: var(--store-ui-grey);
    border-color: var(--store-ui-grey);
    color: #fff;
}
.btn-store-grey:hover,
.btn-store-grey:focus,
.btn-dark.btn-store-grey:hover,
.btn-dark.btn-store-grey:focus {
    background-color: #808080;
    border-color: #808080;
    color: #fff;
}

.store-header {
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.store-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 991px) {
    /* Row 1: menu + logo + actions, Row 2: search (avoids logo/search overlap) */
    .store-header .store-header__inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem 0.6rem;
    }

    .store-header .store-header__menu {
        position: static;
        transform: none;
        order: 1;
        flex: 0 0 auto;
    }

    .store-header .store-header__logo {
        order: 2;
        flex: 1 1 auto;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .store-header .store-header__actions {
        position: static;
        transform: none;
        order: 3;
        margin-left: 0;
    }

    .store-header .store-header__search {
        order: 4;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
    }

    .store-header .store-header__search input {
        font-size: 16px;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }
}

.store-header__logo {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.14em;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
}

.store-header__logo:hover {
    color: #111;
}

.store-header__logo-img {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
}

.store-header__menu {
    color: #111;
    padding: 0;
    text-decoration: none;
}

.store-header__search {
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.store-header__search input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 0.45rem 2.5rem 0.45rem 0.85rem;
    font-size: 0.85rem;
    background: #fafafa;
}

.store-header__search input:focus {
    outline: none;
    border-color: #bbb;
    background: #fff;
}

.store-header__search button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border: none;
    background: none;
    padding: 0 0.75rem;
    color: #111;
    cursor: pointer;
}

.store-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 0;
}

.store-header__login {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #111;
    text-decoration: none;
}

.store-header__login:hover {
    color: #e85d04;
}

.store-header__icon {
    color: #111;
    font-size: 1.1rem;
    position: relative;
    text-decoration: none;
    line-height: 1;
}

.store-header__icon:hover {
    color: #e85d04;
}

.store-header__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #e85d04;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.qty-stepper__btn {
    border: none;
    background: #f5f5f5;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.qty-stepper__btn:hover { background: #eee; }

.qty-stepper__input {
    width: 3rem !important;
    text-align: center;
    border: none !important;
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.25rem !important;
    -moz-appearance: textfield;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.store-nav {
    border-bottom: 1px solid #eee;
    background: #fff;
    position: relative;
    z-index: 1025;
    overflow: visible;
}

.store-nav__wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.store-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 2.25rem;
    justify-content: center;
}

.store-nav__item {
    position: relative;
    margin: 0;
    padding: 0;
}

.store-nav__item.has-mega:hover .store-mega,
.store-nav__item.has-mega:focus-within .store-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.store-nav__item.is-nav-first .store-mega {
    left: 0;
    transform: translate(0, 6px);
}

.store-nav__item.is-nav-first.has-mega:hover .store-mega,
.store-nav__item.is-nav-first.has-mega:focus-within .store-mega {
    transform: translate(0, 0);
}

.store-nav__item.is-nav-last .store-mega {
    left: auto;
    right: 0;
    transform: translate(0, 6px);
}

.store-nav__item.is-nav-last.has-mega:hover .store-mega,
.store-nav__item.is-nav-last.has-mega:focus-within .store-mega {
    transform: translate(0, 0);
}

.store-nav__item.has-mega:hover .store-nav__caret,
.store-nav__item.has-mega:focus-within .store-nav__caret {
    transform: rotate(180deg);
}

.store-nav__trigger {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.7rem 0;
    white-space: nowrap;
}

.store-nav__trigger:hover {
    color: #4b5563;
}

.store-nav__caret {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.store-mega {
    position: absolute;
    left: 50%;
    top: 100%;
    padding-top: 0.35rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1050;
}

.store-mega__panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
    padding: 1.35rem 1.5rem 1.5rem;
    min-width: min(220px, 92vw);
    max-width: min(960px, 96vw);
    width: max-content;
}

.store-mega__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.25rem 2rem;
}

.store-mega__heading {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.65rem;
    text-decoration: none;
}

.store-mega__heading:hover {
    color: #111;
    text-decoration: underline;
}

.store-mega__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.store-mega__links li {
    margin: 0 0 0.4rem;
}

.store-mega__links a {
    color: #666;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.35;
}

.store-mega__links a:hover {
    color: #111;
}

.store-mega__view-all {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid #f0f0f0;
}

.store-mega__view-all a {
    font-weight: 600;
    color: #111;
}

/* Legacy flat nav links (fallback) */
.store-nav__list > li > a:not(.store-nav__trigger) {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    display: inline-block;
    padding: 0.7rem 0;
}

.store-mobile-nav__group {
    border-bottom: 1px solid #f0f0f0;
}

.store-mobile-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
    background: none;
    padding: 0.85rem 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #222;
    text-align: left;
}

.store-mobile-nav__sub {
    padding: 0 0 0.75rem 0.5rem;
}

.store-mobile-nav__sub a {
    display: block;
    padding: 0.45rem 0;
    font-weight: 500;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
}

.store-mobile-nav__col-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111;
    margin-top: 0.5rem;
    padding: 0.35rem 0 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.store-mobile-nav {
    margin: 0;
    padding: 0;
}

.store-mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    min-height: 44px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.store-mobile-nav a:hover {
    color: #e85d04;
}

.star-picker { display: inline-flex; gap: 0.15rem; }
.star-picker__btn {
    border: none; background: none; padding: 0;
    font-size: 1.35rem; line-height: 1; color: #ddd; cursor: pointer;
}
.star-picker__btn.is-active,
.star-picker__btn.is-hover { color: #f5a623; }

.store-footer {
    background: #1a1f2c;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* Hide empty footer shell on home (content omitted in Blade) */
body.page-landing .store-footer {
    display: none !important;
}

.store-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1.75rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
}

.store-footer__name {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    letter-spacing: 0.02em;
}

.store-footer__address {
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
}

.store-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.store-footer__link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.store-footer__link:hover {
    color: #fff;
}

.store-footer__meta {
    text-align: right;
    color: rgba(255, 255, 255, 0.65);
}

.store-footer__sites a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.store-footer__sites a:hover {
    text-decoration: underline;
}

.store-footer__sep {
    margin: 0 0.35rem;
    color: rgba(255, 255, 255, 0.45);
}

.store-legal-bar {
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    padding: 0.65rem 1rem;
    margin-top: auto;
}

body.page-landing .store-legal-bar {
    margin-top: 0;
}

.store-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: center;
}

.store-legal-links a {
    color: #374151;
    text-decoration: none;
}

.store-legal-links a:hover {
    color: #111;
    text-decoration: underline;
}

.store-legal-links span {
    color: #9ca3af;
}

.store-footer .store-legal-links {
    justify-content: flex-end;
    margin-bottom: 0.65rem;
}

.store-footer .store-legal-links a {
    color: rgba(255, 255, 255, 0.78);
}

.store-footer .store-legal-links a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    /* Footer is desktop-only (hidden via Bootstrap d-none d-lg-block) */
    .store-footer {
        display: none !important;
    }
}


/* SweetAlert2 — store theme */
.store-swal-popup {
    border-radius: 14px !important;
    padding: 1.25rem 1.25rem 1rem !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18) !important;
}
.store-swal-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
}
.store-swal-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important;
    color: #555 !important;
}
.store-swal-confirm {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 0.55rem 1.35rem !important;
}

/* Mobile bottom navigation */
.store-bottom-nav {
    display: none;
}

@media (max-width: 991.98px) {
    .store-body {
        padding-bottom: 56px;
    }

    .store-bottom-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        height: 56px;
        background: #fff;
        border-top: 1px solid #e8e8e8;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    }

    .store-bottom-nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        text-decoration: none;
        color: #777;
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .store-bottom-nav__item i {
        font-size: 1.2rem;
        line-height: 1;
    }

    .store-bottom-nav__item.is-active {
        color: #111;
    }

    .store-bottom-nav__item--customize {
        color: var(--store-ui-grey);
        font-weight: 800;
    }

    .store-bottom-nav__item--customize span {
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .store-bottom-nav__item--customize.is-active {
        color: var(--store-ui-grey);
    }
}

/* Wishlist + share over product image */
.product-image-actions {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.product-wishlist-heart {
    position: static;
}

.product-wishlist-heart__btn,
.product-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    padding: 0;
    cursor: pointer;
}

.product-wishlist-heart__btn:hover {
    color: #c0392b;
    background: #fff;
}

.product-share-btn:hover {
    color: #0d6efd;
    background: #fff;
}

.product-wishlist-heart__btn i,
.product-share-btn i {
    font-size: 1.15rem;
}

.product-gallery__canvas,
.custom-editor__canvas {
    position: relative;
}

/* Landing MEN | Customize | WOMEN strip */
.bw-gender-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 0 0 clamp(0.65rem, 1.8vh, 1rem);
    flex-shrink: 0;
}

.bw-gender-strip__link {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-decoration: none;
    color: #111;
}

.bw-gender-strip__customize {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.bw-gender-strip__customize:hover {
    color: #fff;
    background: #333;
}

.bw-gender-strip__customize i {
    font-size: 1.05rem;
}

/* Mobile sticky CTAs — customise product page */
@media (max-width: 991.98px) {
    .product-sticky-cta__cart {
        background: #97C12D !important;
        color: #fff !important;
    }
    .product-sticky-cta__buy {
        background: #E9C137 !important;
        color: #1a1a1a !important;
    }
}

/* Order list product preview */
.order-card-product {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.order-card-product__img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f3f3;
    flex-shrink: 0;
}

.order-card-product__name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
}

.order-card-product__meta {
    font-size: 0.78rem;
    color: #777;
}

.review-card__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.review-card__photos img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}
