:root {
    --dark: #111111;
    --muted: #666;
    --border: #e6e6e6;
    --light: #f7f7f7;
}

body {
    margin: 0;
    color: var(--dark);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.top-strip {
    padding: 8px 0;
    color: #fff;
    background: #111;
    font-size: 12px;
}

.store-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.navbar {
    min-height: 76px;
}

.navbar-nav .nav-link {
    margin: 0 8px;
    color: #222;
    font-size: 13px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -9px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #e63946;
    font-size: 10px;
}

.hero-section {
    min-height: 550px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
        url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=80')
        center/cover no-repeat;
}

.hero-content {
    max-width: 620px;
}

.hero-content span {
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-content h1 {
    margin: 18px 0;
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 900;
}

.section-padding,
.category-page,
.product-detail-page,
.cart-page,
.checkout-page,
.order-success-page {
    padding: 70px 0;
}

.section-padding {
    padding: 55px 0;
}

.section-heading {
    margin-bottom: 26px;
}

.empty-products {
    background: #fff;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

.category-card {
    display: block;
    text-align: center;
}

.category-card img {
    display: block;
    width: 100%;
    height: 230px;
    aspect-ratio: auto;
    border-radius: 2px;
    object-fit: cover;
    background: #f2f2f2;
}

.category-card h3 {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 700;
}

.product-card {
    height: 100%;
    background: #fff;
}

.product-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-card:hover img {
    transform: scale(1.04);
}

.discount-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 8px;
    color: #fff;
    background: #111;
    font-size: 11px;
}

.product-info {
    padding: 14px 3px;
}

.product-brand {
    color: #8b6f47;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-info h3 {
    margin: 6px 0 10px;
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price del {
    color: #888;
    font-size: 13px;
}

.product-main-image img {
    width: 100%;
    max-height: 760px;
    object-fit: cover;
}

.product-detail-brand {
    color: #8b6f47;
    font-weight: 800;
    text-transform: uppercase;
}

.product-detail-info h1 {
    margin: 12px 0;
    font-size: 32px;
    font-weight: 700;
}

.detail-price {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
}

.detail-price strong {
    font-size: 28px;
}

.detail-price del {
    color: #777;
}

.detail-price span {
    color: #d35400;
    font-weight: 700;
}

.quantity-field {
    width: 110px;
}

.add-cart-btn {
    width: 100%;
    max-width: 420px;
    min-height: 54px;
    border-radius: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.empty-products,
.empty-cart {
    padding: 70px 20px;
    border: 1px solid var(--border);
    text-align: center;
}

.empty-cart i {
    margin-bottom: 20px;
    font-size: 50px;
}

.cart-item {
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    gap: 22px;
    border: 1px solid var(--border);
}

.cart-item > img {
    width: 130px;
    height: 165px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 18px;
}

.cart-item-info span,
.cart-item-info strong {
    display: block;
    margin-bottom: 6px;
}

.cart-summary,
.checkout-card {
    padding: 25px;
    border: 1px solid var(--border);
    background: #fff;
}

.cart-summary {
    position: sticky;
    top: 100px;
}

.cart-summary h3,
.checkout-card h3 {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 800;
}

.cart-summary > div {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
}

.summary-total {
    margin: 10px 0 20px;
    border-top: 1px solid var(--border);
    font-size: 18px;
}

.payment-option {
    padding: 18px;
    display: flex;
    gap: 12px;
    border: 1px solid var(--border);
}

.payment-option span,
.payment-option small {
    display: block;
}

.payment-option small {
    margin-top: 4px;
    color: var(--muted);
}

.order-success-card {
    max-width: 650px;
    margin: 0 auto;
    padding: 60px 30px;
    border: 1px solid var(--border);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #198754;
    font-size: 36px;
}

.store-footer {
    color: #ddd;
    background: #111;
}

.store-footer a {
    margin-bottom: 9px;
    display: block;
    color: #aaa;
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid #333;
    text-align: center;
    color: #999;
}

@media (max-width: 767px) {
    .top-strip span:last-child {
        display: none;
    }

    .hero-section {
        min-height: 430px;
    }

    .cart-item {
        align-items: flex-start;
    }

    .cart-item > img {
        width: 90px;
        height: 120px;
    }
}

.product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #ececec;
    background: #fff;
    transition: box-shadow .25s ease, transform .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.product-image {
    min-height: 360px;
}

.product-image img {
    display: block;
    width: 100%;
    height: 360px;
    aspect-ratio: auto;
    object-fit: cover;
}

.product-info {
    min-height: 125px;
    padding: 16px;
}
/* =====================================
   STARPLAZA CATEGORY DROPDOWN
===================================== */

.store-navbar {
    position: relative;
    z-index: 1050;
    min-height: 78px;
    overflow: visible !important;
}

.store-navbar .container,
.store-navbar .navbar-collapse {
    overflow: visible !important;
}

.store-category-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.store-dropdown {
    position: relative;
}

.store-category-link {
    position: relative;
    padding: 29px 16px !important;
    color: #171717 !important;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.store-category-link > i {
    font-size: 10px;
    transition: transform .2s ease;
}

.store-category-link::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 18px;
    left: 16px;
    height: 2px;
    background: #111;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.store-dropdown:hover > .store-category-link::after {
    transform: scaleX(1);
}

.store-dropdown:hover > .store-category-link > i {
    transform: rotate(180deg);
}

.store-dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    z-index: 9999;

    width: max-content;
    min-width: 270px;
    max-width: 760px;
    padding: 24px;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    border: 1px solid #e9e9e9;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .14);

    transform: translate(-50%, 12px);
    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
}

.store-dropdown:hover > .store-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* First menu should not go outside screen */
.store-dropdown:first-child > .store-dropdown-menu {
    left: 0;
    transform: translate(0, 12px);
}

.store-dropdown:first-child:hover > .store-dropdown-menu {
    transform: translate(0, 0);
}

/* Last menu should not go outside screen */
.store-dropdown:last-child > .store-dropdown-menu {
    right: 0;
    left: auto;
    transform: translate(0, 12px);
}

.store-dropdown:last-child:hover > .store-dropdown-menu {
    transform: translate(0, 0);
}

.dropdown-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 28px;
}

.dropdown-column {
    min-width: 150px;
}

.dropdown-category-title {
    display: block;
    margin-bottom: 10px;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.dropdown-category-title:hover {
    color: #92703d;
}

.dropdown-child-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-child-list li {
    margin-bottom: 8px;
}

.dropdown-child-list a {
    display: block;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.dropdown-child-list a:hover {
    color: #111;
    transform: translateX(2px);
}

.dropdown-shop-all {
    margin-top: 20px;
    padding-top: 15px;
    display: block;
    border-top: 1px solid #ededed;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Hide all desktop dropdowns by default forcefully */
@media (min-width: 992px) {
    .store-dropdown-menu {
        display: block !important;
    }
}

/* Mobile */
@media (max-width: 991.98px) {
    .store-category-menu {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .store-dropdown {
        position: relative;
        width: 100%;
        border-bottom: 1px solid #ededed;
    }

    .store-category-link {
        padding: 14px 5px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .store-category-link::after {
        display: none;
    }

    .store-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 18px;

        display: none !important;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;

        border: 0;
        border-left: 3px solid #111;
        box-shadow: none;
        background: #f8f8f8;
        transform: none !important;
    }

    .store-dropdown.mobile-open > .store-dropdown-menu {
        display: block !important;
    }

    .dropdown-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dropdown-child-list a {
        white-space: normal;
    }

    .header-actions {
        padding: 15px 0;
    }
}
