/* =========================================
   ÀÀGÓ.NG GLOBAL STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #111111;
}

img {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* =========================================
   NAVBAR
========================================= */

/* =========================================
   BRAND LOGO
========================================= */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.logo img {
    width: 160px;
    height: auto;
    display: block;
}

.navbar {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1000;
}

.announcement-bar {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 7%;
    background: #176533;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.2px;
}

.announcement-bar i {
    font-size: 14px;
}

#announcementText {
    transition: opacity 0.3s ease;
    display: inline-block;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar nav a {
    text-decoration: none;
    color: #111111;
    font-size: 14px;
    transition: color 0.2s ease;
}

.navbar nav a:hover {
    color: #176533;
}

.navbar nav a.active,
.account-link.active,
.cart.active {
    color: #176533;
    font-weight: 700;
}

.account-link,
.cart,
.cart-link {
    text-decoration: none;
    color: #111111;
    white-space: nowrap;
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.account-link i,
.cart i,
.cart-link i {
    font-size: 19px;
    line-height: 1;
}

.account-link svg,
.cart svg,
.cart-link svg {
    width: 19px;
    height: 19px;
    display: block;
}

.cart .cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50%;
    background: #176533;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    display: none;
    box-sizing: border-box;
    z-index: 2;
}

.account-link:hover,
.cart:hover,
.cart-link:hover {
    color: #176533;
}

/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #176533;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    font-size: 20px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #176533;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 80px 7%;
    color: #ffffff;
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.56) 45%,
            rgba(0, 0, 0, 0.22) 100%
        ),
        url("../images/hero-mascot.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-layers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero-layer.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 7%;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #8dc63f;
}

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

/* =========================================
   HERO TEXT POSITION
========================================= */

.hero-content {
    max-width: 520px;
    transition:
        transform 0.6s ease,
        margin-left 0.6s ease,
        margin-right 0.6s ease;
}

.hero.text-left {
    justify-content: flex-start;
}

.hero.text-left .hero-content {
    margin-left: 0;
    margin-right: auto;
}

.hero.text-right {
    justify-content: flex-end;
}

.hero.text-right .hero-content {
    margin-left: auto;
    margin-right: 0;
}

.small-text {
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 65px;
    line-height: 1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
}

/* =========================================
   ÀÀGÓ.NG HERO BRAND BUTTONS
========================================= */

.hero-btn {
    background: #8dc63f;
    color: #000000;
    border: 2px solid #8dc63f;
}

.hero-btn:hover {
    background: #176533;
    color: #ffffff;
    border-color: #176533;
}

/* =========================================
   HERO SLIDE 2 BRAND COLORS
========================================= */

.hero.slide-two {
    color: #176533;
}

.hero.slide-two .hero-btn {
    background: #176533;
    color: #ffffff;
    border-color: #176533;
}

.hero.slide-two .hero-btn:hover {
    background: #8dc63f;
    color: #000000;
    border-color: #8dc63f;
}

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

@media (max-width: 1024px) {
    .hero {
        min-height: 560px;
        padding: 70px 6%;
    }

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

    .hero-content h1 {
        font-size: 52px;
        line-height: 1.05;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.6;
    }
}

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

@media (max-width: 768px) {
    .hero {
        min-height: 620px;
        padding: 70px 24px 90px;
        background-position: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 42px;
        line-height: 1.05;
    }

    .hero-content p {
        max-width: 420px;
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-content .small-text {
        font-size: 11px;
        letter-spacing: 1.2px;
    }

    .hero-btn {
        padding: 13px 24px;
        font-size: 13px;
    }

    .hero.text-left {
        justify-content: flex-start;
    }

    .hero.text-right {
        justify-content: flex-start;
    }

    .hero.text-right .hero-content {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-dots {
        left: 24px;
        bottom: 25px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .hero {
        min-height: 600px;
        padding: 60px 20px 85px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 14px;
        max-width: 330px;
    }

    .hero-btn {
        padding: 12px 21px;
        font-size: 12px;
    }

    .hero-dots {
        left: 20px;
        bottom: 22px;
    }
}

/* =========================================
   HOME BRANDS
========================================= */

.brands {
    padding: 90px 7%;
    text-align: center;
}

.brands h2 {
    margin-bottom: 40px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-card {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #176533;
    font-weight: bold;
    letter-spacing: 2px;
    border: 1px solid #e5e5e5;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.brand-card:hover {
    background: #176533;
    color: #ffffff;
    border-color: #176533;
    transform: translateY(-2px);
}

/* =========================================
   PRODUCTS
========================================= */

.products {
    padding: 80px 7%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header a {
    color: #176533;
    font-weight: bold;
    text-decoration: none;
}

.section-header a:hover {
    color: #8dc63f;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(23, 101, 51, 0.12);
}

.product-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.product-info {
    padding: 20px;
    background: white;
}

.brand {
    color: #176533;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 700;
}

.product-info h3 {
    margin-bottom: 14px;
    font-size: 19px;
}

.price {
    font-weight: bold;
    font-size: 20px;
    color: #176533;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price::before {
    content: "";
}

.product-info button {
    width: 100%;
    padding: 13px;
    border: none;
    background: #176533;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.product-info button:hover {
    background: #8dc63f;
    color: #000000;
}

/* =========================================
   PRODUCT CARD: RATING + DISCOUNT BADGES
========================================= */

.shop-product-media,
.product-card > a.product-image-link,
.product-card > a {
    position: relative;
    display: block;
    overflow: hidden;
}

.shop-product-media {
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
}

.shop-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #176533;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.product-rating i {
    font-size: 13px;
    color: #f5a623;
}

.product-rating i.fa-regular {
    color: #d1d1d1;
}

.product-rating .rating-count {
    margin-left: 4px;
    font-size: 12px;
    color: #888888;
    font-weight: 600;
}

.product-price-wrap {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.product-price-wrap .price {
    margin-bottom: 0;
}

.product-price-wrap .price {
    margin-bottom: 0;
}

.product-price-wrap .product-price {
    margin-bottom: 0;
}

.original-price {
    font-size: 14px;
    color: #9b9b9b;
    text-decoration: line-through;
    font-weight: 600;
}

.product-info .product-rating {
    margin-bottom: 12px;
}

/* =========================================
   CTA
========================================= */

.cta {
    padding: 100px 7%;
    text-align: center;
    background: #176533;
    color: white;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
}

.cta .btn {
    background: #8dc63f;
    color: #000000;
}

.cta .btn:hover {
    background: #ffffff;
    color: #176533;
}

/* =========================================
   TRACK ORDER CTA
========================================= */

.track-order-cta {
    padding: 70px 7%;
    text-align: center;
    background: #f5f5f5;
}

.track-order-cta h2 {
    margin-bottom: 12px;
}

.track-order-cta p {
    margin-bottom: 25px;
    color: #666;
}

.track-order-cta a {
    display: inline-block;
    padding: 14px 25px;
    background: #176533;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.track-order-cta a:hover {
    background: #8dc63f;
    color: #000000;
}

/* =========================================
   FOOTER
========================================= */

footer {
    padding: 40px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #eeeeee;
}

footer .logo img {
    width: 120px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #111;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #176533;
}

/* =========================================
   SHOP PAGE
========================================= */

/* =========================================================
   SHOP HEADER — ÀÀGÓ.NG PREMIUM
========================================================= */

.shop-header {
    width: 100%;
    box-sizing: border-box;

    padding: 100px 7% 70px;

    text-align: center;

    background-image:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.72),
            rgba(23, 101, 51, 0.78)
        ),
        url("../images/hero/shop-header.jpg");

    background-size: cover;
    background-position: center;

    position: relative;
    overflow: hidden;
}

.shop-header h1 {
    font-size: 55px;
    margin-bottom: 15px;
    color: #ffffff;
}

.shop-header h3 {
    color: #8dc63f;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 500;
}

.shop-container {
    padding: 60px 7%;
}

/* SHOP CONTROLS */

.shop-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.shop-controls input,
.shop-controls select {
    padding: 15px;
    border: 1px solid #ddd;
    background: white;
    font-size: 14px;
}

.shop-controls input:focus,
.shop-controls select:focus {
    outline: none;
    border-color: #176533;
}

.shop-controls input {
    flex: 1;
}

/* SHOP PRODUCTS */

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.shop-product {
    background: #f7f7f7;
}

.shop-product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    display: block;
}

.shop-product-info {
    padding: 20px;
    background: white;
}

.shop-product-info {
    padding: 20px;
    background: white;
    min-height: 185px;
    display: flex;
    flex-direction: column;
}

.shop-product-info h3 {
    margin-bottom: 12px;
    min-height: 44px;
}

.product-gender-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: #6d4fc8;
    background: #f3f0ff;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
    align-self: flex-start;
}

.product-info .product-gender-tag {
    margin-top: -4px;
}

.product-card .btn:disabled,
.shop-product button:disabled {
    background: #c9c9c9;
    cursor: not-allowed;
    opacity: 0.85;
}

.product-card .btn:disabled,
.shop-product button:disabled {
    margin-top: auto;
}

.shop-product-info .price {
    margin-bottom: 15px;
}

.shop-product-info button {
    margin-top: auto;
}

.shop-product-info h3 {
    margin-bottom: 12px;
}

.shop-product-info button {
    width: 100%;
    padding: 14px;
    border: none;
    background: #176533;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.shop-product-info button:hover {
    background: #8dc63f;
    color: #000000;
}

/* =========================================
   PRODUCT PAGE
========================================= */

.product-page {
    max-width: 1100px;
    margin: 80px auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.product-image {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.product-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.product-details {
    padding: 20px;
}

.product-brand {
    color: #176533;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 6px;
}

.product-gender-badge {
    display: inline-block;
    background: #f3f0ff;
    color: #6d4fc8;
    font-size: 11px;
    font-weight: bold;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.product-details h1 {
    font-size: 42px;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.15;
}

.product-price {
    color: #176533;
    font-size: 28px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.2;
}

.product-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.quantity {
    margin-top: 5px;
    margin-bottom: 28px;
}

.quantity label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 15px;
}

.quantity input {
    width: 80px;
    height: 48px;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    text-align: center;
}

.quantity input:focus {
    outline: none;
    border-color: #176533;
}

.add-cart-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    background: #176533;
    color: white;
    margin-bottom: 20px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.add-cart-btn:hover {
    background: #8dc63f;
    color: #000000;
}

.back-shop {
    display: inline-block;
    text-decoration: none;
    color: #176533;
    font-weight: bold;
}

.back-shop:hover {
    color: #8dc63f;
}

/* =========================================
   PRODUCT VARIANTS
========================================= */

.product-variants {
    margin-top: 25px;
    margin-bottom: 24px;
}

.product-variants .variant-group {
    width: 100%;
}

.product-variants label {
    display: block;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
}

/* VARIANT SELECT */

.product-variants select {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.product-variants select:hover {
    border-color: #176533;
}

.product-variants select:focus {
    outline: none;
    border-color: #8dc63f;
    box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.15);
}

/* =========================================
   VARIANT DETAILS
========================================= */

.product-variants .variant-details {
    padding: 15px 17px;
    margin-top: 2px;
    margin-bottom: 0;

    background: #f8f8f8;
    border: 1px solid #eeeeee;
    border-left: 4px solid #8dc63f;
    border-radius: 7px;
}

.product-variants .variant-details p {
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.5;
    color: #555555;
}

.product-variants .variant-details p:last-child {
    margin-bottom: 0;
}

.product-variants .variant-details p:first-child {
    color: #111111;
    font-weight: 700;
}

/* =========================================
   SPACE BEFORE QUANTITY
========================================= */

.product-variants + .quantity-selector,
.product-variants ~ .quantity-selector {
    margin-top: 24px;
}

/* =========================================
   CART PAGE
========================================= */

.cart-page {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

.cart-header {
    text-align: center;
    margin-bottom: 50px;
}

.cart-header p {
    color: #176533;
    letter-spacing: 2px;
    font-size: 14px;
}

.cart-header h1 {
    font-size: 42px;
    margin-top: 10px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #fff;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.cart-item-info img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 10px;
    flex-shrink: 0;
}

.cart-item-info h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.cart-item-info p {
    font-weight: bold;
}

.cart-item-color {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    background: #f3f3f3;
    border-radius: 20px;
    text-transform: capitalize;
}

.cart-item-color::before {
    content: "Colour: ";
    font-weight: 400;
    color: #999;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-quantity button {
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.cart-quantity button:hover {
    background: #176533;
    color: #ffffff;
    border-color: #176533;
}

.cart-quantity span {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

.cart-subtotal {
    font-weight: bold;
    white-space: nowrap;
}

.remove-item {
    border: none;
    background: none;
    color: #c00;
    cursor: pointer;
    font-size: 14px;
    padding: 8px;
}

.remove-item:hover {
    text-decoration: underline;
}

.cart-summary {
    max-width: 450px;
    margin: 50px 0 0 auto;
    padding: 30px;
    border: 1px solid #ddd;
    background: #fff;
}

.cart-summary h2 {
    margin-bottom: 25px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    margin-bottom: 25px;
}

.cart-total strong {
    color: #176533;
    font-size: 22px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #176533;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.checkout-btn:hover {
    background: #8dc63f;
    color: #000000;
}

.continue-shopping {
    display: block;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
    color: #176533;
    font-weight: bold;
}

.continue-shopping:hover {
    color: #8dc63f;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
    border: 1px solid #eee;
}

.shop-empty {
    text-align: center;
    padding: 60px 20px;
    border: 1px solid #eee;
    margin: 30px auto;
    max-width: 600px;
}

.shop-empty p {
    margin: 0;
    color: #555;
    font-size: 16px;
}

.empty-cart h2 {
    margin-bottom: 10px;
}

.empty-cart p {
    margin-bottom: 25px;
}

.empty-cart a {
    display: inline-block;
    padding: 14px 25px;
    background: #176533;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.empty-cart a:hover {
    background: #8dc63f;
    color: #000000;
}

/* =========================================
   CHECKOUT PAGE
========================================= */

.checkout-page {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 50px;
}

.checkout-header p {
    color: #176533;
    letter-spacing: 2px;
    font-size: 14px;
}

.checkout-header h1 {
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.checkout-header span {
    font-size: 15px;
    color: #555;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.checkout-form,
.checkout-summary {
    padding: 30px;
    border: 1px solid #ddd;
}

.checkout-form h2,
.checkout-summary h2 {
    margin-bottom: 25px;
}

.checkout-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
    font-family: inherit;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
    outline: none;
    border-color: #176533;
}

.checkout-form textarea {
    resize: vertical;
}

.place-order-btn {
    width: 100%;
    padding: 16px;
    border: none;
    background: #176533;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.place-order-btn:hover {
    background: #8dc63f;
    color: #000000;
}

.shipping-note {
    padding: 15px;
    background: #f5f5f5;
    margin-bottom: 25px;
    line-height: 1.5;
}

.shipping-note strong {
    color: #176533;
    margin-left: 5px;
}

.shipping-note p {
    margin-top: 5px;
    font-size: 14px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.checkout-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-item-info img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 5px;
}

.checkout-item-info h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.checkout-item-info p {
    font-size: 14px;
}

.checkout-subtotal,
.checkout-shipping,
.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-subtotal {
    margin-top: 25px;
}

.checkout-shipping {
    margin-top: 15px;
    color: #555;
}

.checkout-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #176533;
    font-size: 20px;
}

.checkout-total strong {
    color: #176533;
}

.coupon-box {
    margin-top: 25px;
    padding: 18px;
    border: 1px dashed #c9c9c9;
    border-radius: 12px;
    background: #fafafa;
}

.coupon-box label {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.coupon-row {
    display: flex;
    gap: 8px;
}

.coupon-row input {
    flex: 1;
    text-transform: uppercase;
}

.coupon-row button {
    width: auto;
    padding: 0 18px;
}

.coupon-message {
    font-size: 13px;
    margin-top: 8px;
    min-height: 1em;
}

.coupon-success {
    color: #176533;
}

.coupon-error {
    color: #b3261e;
}

.checkout-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    color: #176533;
    font-weight: 700;
}

.checkout-shipping small {
    font-size: 12px;
    color: #777;
}

.empty-checkout {
    text-align: center;
    padding: 40px 10px;
}

.empty-checkout p {
    margin: 10px 0 20px;
}

.empty-checkout a {
    display: inline-block;
    padding: 12px 20px;
    background: #176533;
    color: white;
    text-decoration: none;
}

.empty-checkout a:hover {
    background: #8dc63f;
    color: #000000;
}

/* =========================================
   TRACK ORDER PAGE
========================================= */

.tracking-page {
    min-height: 75vh;
    padding: 70px 20px;
    background: #f7f7f7;
}

.tracking-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.tracking-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.tracking-card h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.2;
}

.tracking-card .subtitle {
    color: #666;
    margin: 0 0 30px;
    line-height: 1.6;
}

.tracking-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tracking-form input {
    flex: 1;
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid #ddd;
    border-radius: 9px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.tracking-form input:focus {
    border-color: #176533;
}

.tracking-form button {
    padding: 15px 22px;
    border: none;
    border-radius: 9px;
    background: #176533;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.tracking-form button:hover {
    background: #8dc63f;
    color: #000000;
}

.tracking-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message {
    padding: 14px;
    border-radius: 9px;
    margin-bottom: 20px;
    display: none;
    line-height: 1.5;
    font-size: 14px;
}

.message.error {
    display: block;
    background: #fdeaea;
    color: #a00000;
}

.message.info {
    display: block;
    background: #eef4ff;
    color: #174ea6;
}

.order-result {
    display: none;
}

.order-header {
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 28px;
}

.order-number {
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.order-number strong {
    color: #111;
}

#displayOrderId {
    color: #176533;
    font-size: 17px;
    word-break: break-word;
}

.status-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

.timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 15px;
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #e2e2e2;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
}

.timeline-item.completed .timeline-icon,
.timeline-item.current .timeline-icon {
    background: #176533;
    color: #fff;
}

.timeline-item.cancelled .timeline-icon {
    background: #b00020;
    color: #fff;
}

.timeline-line {
    position: absolute;
    left: 16px;
    top: 34px;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.timeline-item.completed .timeline-line {
    background: #176533;
}

.timeline-content {
    padding-top: 2px;
}

.timeline-content h3 {
    margin: 3px 0 5px;
    font-size: 16px;
}

.timeline-content p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.payment-status {
    margin-top: 30px;
    padding: 18px;
    background: #f7f7f7;
    border-radius: 10px;
}

.payment-status strong {
    display: block;
    margin-bottom: 6px;
}

#paymentText {
    color: #555;
    font-size: 14px;
}

.track-again {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: 1px solid #176533;
    border-radius: 9px;
    background: #fff;
    color: #176533;
    cursor: pointer;
    font-weight: 700;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.track-again:hover {
    background: #176533;
    color: #ffffff;
}

/* =========================================
   BRANDS PAGE
========================================= */

.brands-page-header {
    width: 100%;
    box-sizing: border-box;

    padding: 100px 7% 70px;

    text-align: center;

    background-image:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.72),
            rgba(23, 101, 51, 0.78)
        ),
        url("../images/hero/style.jpg");

    background-size: cover;
    background-position: center;

    position: relative;
    overflow: hidden;
}


.brands-page-header p {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: bold;
}

.brands-page-header h1 {
    font-size: 55px;
    line-height: 1.1;
    margin-bottom: 15px;
    
    
}

.brands-page-header span {
    display: block;
    color: #8dc63f;
    font-size: 15px;
    line-height: 1.6;
}

.brands-page {
    padding: 70px 7%;
}

.brands-page-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.brands-page-card {
    min-height: 250px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.brands-page-card:hover {
    transform: translateY(-4px);
    border-color: #176533;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.brands-page-logo {
    color: #176533;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.brands-page-card p {
    max-width: 280px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.brands-page-card a {
    display: inline-block;
    padding: 12px 22px;
    background: #176533;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.brands-page-card a:hover {
    background: #8dc63f;
    color: #000000;
    opacity: 0.9;
}

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

@media (max-width: 1000px) {
    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        gap: 18px;
    }

    .navbar nav a {
        font-size: 13px;
    }

    .hero {
        padding: 70px 5%;
    }

    .products,
    .brands,
    .shop-container,
    .brands-page {
        padding-left: 5%;
        padding-right: 5%;
    }

    .product-grid,
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-page {
        gap: 40px;
        padding: 25px;
    }

    .brands-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    /* NAVBAR */

    .navbar {
        min-height: 70px;
        padding: 0 20px;
    }

    .logo img {
        width: 104px;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid #eeeeee;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        padding: 10px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navbar nav.mobile-open {
        display: flex;
    }

    .navbar nav a {
        display: block;
        padding: 16px 5px;
        border-bottom: 1px solid #eeeeee;
        font-size: 15px;
    }

    .navbar nav a:last-child {
        border-bottom: none;
    }

    /* HERO */

    .hero {
        min-height: 550px;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero p {
        font-size: 16px;
    }

    /* HOME BRANDS */

    .brands {
        padding: 60px 20px;
    }

    .brand-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* PRODUCTS */

    .products {
        padding: 60px 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 320px;
    }

    /* SECTION HEADER */

    .section-header {
        align-items: flex-start;
        gap: 15px;
    }

    /* SHOP */

    .shop-header {
        padding: 70px 20px 50px;
    }

    .shop-header h1 {
        font-size: 40px;
    }

    .shop-container {
        padding: 40px 20px;
    }

    .shop-controls {
        flex-direction: column;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-product .shop-product-media {
        aspect-ratio: 1 / 1;
    }

    /* PRODUCT PAGE */

    .product-page {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px auto;
        padding: 20px;
    }

    .product-details {
        padding: 5px;
    }

    .product-details h1 {
        font-size: 30px;
    }

    .product-price {
        font-size: 24px;
    }

    /* CART */

    .cart-page {
        margin: 40px auto;
        padding: 15px;
    }

    .cart-header {
        margin-bottom: 35px;
    }

    .cart-header h1 {
        font-size: 34px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cart-item-info {
        gap: 12px;
    }

    .cart-item-info img {
        width: 75px;
        height: 75px;
    }

    .cart-summary {
        margin-top: 30px;
        padding: 20px;
    }

    /* CHECKOUT */

    .checkout-page {
        margin: 40px auto;
        padding: 15px;
    }

    .checkout-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-header {
        margin-bottom: 35px;
    }

    .checkout-header h1 {
        font-size: 32px;
    }

    .checkout-form,
    .checkout-summary {
        padding: 20px;
    }

    /* TRACK ORDER */

    .tracking-page {
        padding: 45px 15px;
    }

    .tracking-card {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .tracking-card h1 {
        font-size: 28px;
    }

    .tracking-form {
        flex-direction: column;
    }

    .tracking-form input,
    .tracking-form button {
        width: 100%;
    }

    .tracking-form button {
        padding: 14px;
    }

    /* BRANDS PAGE */

    .brands-page-header {
        padding: 70px 20px 50px;
    }

    .brands-page-header h1 {
        font-size: 40px;
    }

    .brands-page-header span {
        font-size: 14px;
    }

    .brands-page {
        padding: 50px 20px;
    }

    .brands-page-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .brands-page-card {
        min-height: 220px;
        padding: 30px 20px;
    }

    .brands-page-logo {
        font-size: 20px;
    }

    /* FOOTER */

    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .brands-page-header h1 {
        font-size: 34px;
    }

    .brands-page {
        padding: 40px 15px;
    }

    .brands-page-card {
        min-height: 210px;
        padding: 25px 18px;
    }

    .brands-page-card p {
        font-size: 13px;
        max-width: 290px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .brand-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   HOMEPAGE SEARCH
============================== */

.home-search {
    padding: 55px 20px;
    text-align: center;
    background: #f7f7f7;
}

.home-search h2 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
}

.home-search p {
    margin: 0 0 25px;
    color: #666;
    font-size: 15px;
}

.home-search-box {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.home-search-box input {
    flex: 1;
    height: 58px;
    padding: 0 20px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #222;
}

.home-search-box input:focus {
    box-shadow: inset 0 0 0 1px #176533;
}

.home-search-box input::placeholder {
    color: #999;
}

.home-search-box button {
    height: 58px;
    padding: 0 28px;
    border: none;
    background: #176533;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.home-search-box button:hover {
    background: #8dc63f;
    color: #000000;
}

/* ==============================
   MOBILE SEARCH
============================== */

@media (max-width: 600px) {
    .home-search {
        padding: 40px 15px;
    }

    .home-search h2 {
        font-size: 26px;
    }

    .home-search p {
        font-size: 14px;
    }

    .home-search-box {
        max-width: 100%;
    }

    .home-search-box input {
        height: 52px;
        padding: 0 15px;
        font-size: 14px;
    }

    .home-search-box button {
        height: 52px;
        padding: 0 18px;
        font-size: 14px;
    }
}

/* CUSTOMER ACCOUNT LINK */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.account-link {
    text-decoration: none;
    color: inherit;
}

.account-link:hover {
    text-decoration: none;
}

/* =================================
   CUSTOMER AUTHENTICATION
================================= */

.auth-page {
    min-height: 75vh;
    padding: 80px 20px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header p {
    color: #176533;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.auth-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.auth-header span {
    color: #666;
    font-size: 15px;
}

#loginForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

#loginForm input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
    outline: none;
}

#loginForm input:focus {
    border-color: #176533;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    border: none;
    background: #176533;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.auth-btn:hover {
    background: #8dc63f;
    color: #000000;
}

.auth-message {
    display: none;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.auth-message.error {
    display: block;
    background: #fdeaea;
    color: #a00000;
}

.auth-message.success {
    display: block;
    background: #eaf7ea;
    color: #176533;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.auth-footer p {
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
}

.auth-footer a {
    color: #176533;
    font-weight: bold;
    text-decoration: none;
}

.auth-footer a:hover {
    color: #8dc63f;
    text-decoration: underline;
}

.back-home {
    display: inline-block;
    margin-top: 5px;
}

/* =================================
   MOBILE AUTHENTICATION
================================= */

@media (max-width: 768px) {
    .auth-page {
        padding: 50px 15px;
        min-height: 70vh;
    }

    .auth-container {
        padding: 30px 20px;
    }

    .auth-header h1 {
        font-size: 34px;
    }

    .auth-header span {
        font-size: 14px;
    }
}

/* =================================
   CUSTOMER LOGIN & SIGNUP
================================= */

.auth-page {
    min-height: 75vh;
    padding: 70px 20px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header p {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 3px;
    color: #176533;
    font-weight: bold;
}

.auth-header h1 {
    margin: 0 0 10px;
    font-size: 38px;
    font-weight: 600;
    color: #111;
}

.auth-header span {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ==============================
   AUTH MESSAGE
============================== */

.auth-message {
    display: none;
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.5;
}

.auth-message.error {
    display: block;
    background: #fdeaea;
    color: #a00000;
    border: 1px solid #f3caca;
}

.auth-message.success {
    display: block;
    background: #eaf7ea;
    color: #176533;
    border: 1px solid #c8e8c8;
}

/* ==============================
   AUTH FORM
============================== */

#loginForm,
#signupForm {
    width: 100%;
}

#loginForm label,
#signupForm label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

#loginForm input,
#signupForm input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 14px;
    margin: 0 0 20px;
    box-sizing: border-box;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    font-family: inherit;
    font-size: 15px;
    color: #111;
    outline: none;
    transition: border-color 0.2s ease;
}

#loginForm input:focus,
#signupForm input:focus {
    border-color: #176533;
}

#loginForm input::placeholder,
#signupForm input::placeholder {
    color: #999;
}

/* ==============================
   PASSWORD SECTION
============================== */

#signupPassword,
#signupConfirmPassword {
    margin-bottom: 20px;
}

/* ==============================
   AUTH BUTTON
============================== */

.auth-btn {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 5px;
    border: none;
    background: #176533;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.auth-btn:hover {
    background: #8dc63f;
    color: #000000;
}

.auth-btn:active {
    transform: translateY(1px);
}

/* ==============================
   BOTTOM LINKS
============================== */

.auth-footer {
    text-align: center;
    margin-top: 28px;
}

.auth-footer p {
    margin: 0 0 15px;
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #176533;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    color: #8dc63f;
    text-decoration: underline;
}

.back-home {
    display: inline-block;
    margin-top: 5px;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {
    .auth-page {
        min-height: 70vh;
        padding: 45px 15px;
    }

    .auth-container {
        max-width: 100%;
        padding: 30px 22px;
    }

    .auth-header {
        margin-bottom: 25px;
    }

    .auth-header h1 {
        font-size: 32px;
    }

    .auth-header span {
        font-size: 13px;
    }

    #loginForm input,
    #signupForm input {
        height: 48px;
        margin-bottom: 18px;
    }

    .auth-btn {
        height: 50px;
    }
}

/* =================================
   CUSTOMER ACCOUNT
================================= */

.account-page {
    min-height: 75vh;
    padding: 70px 20px;
    background: #f7f7f7;
    display: flex;
    justify-content: center;
}

.account-container {
    width: 100%;
    max-width: 650px;
}

/* ==============================
   ACCOUNT HEADER
============================== */

.account-header {
    text-align: center;
    margin-bottom: 35px;
}

.account-header p {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 3px;
    color: #176533;
    font-weight: bold;
}

.account-header h1 {
    margin: 0 0 10px;
    font-size: 40px;
    font-weight: 600;
    color: #176533;
}

.account-header span {
    color: #8dc63f;
    font-size: 14px;
}

/* ==============================
   ACCOUNT MESSAGE
============================== */

.account-message {
    display: none;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.account-message.error {
    display: block;
    background: #fdeaea;
    color: #a00000;
    border: 1px solid #f3caca;
}

/* ==============================
   ACCOUNT CARD
============================== */

.account-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.account-card-header {
    padding: 22px 25px;
    border-bottom: 1px solid #eeeeee;
}

.account-card-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

/* ==============================
   CUSTOMER DETAILS
============================== */

.account-details {
    padding: 5px 25px;
}

.account-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}

.account-detail:last-child {
    border-bottom: none;
}

.account-detail span {
    color: #777;
    font-size: 13px;
}

.account-detail strong {
    color: #111;
    font-size: 14px;
    text-align: right;
}

/* ==============================
   ACCOUNT ACTIONS
============================== */

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.account-action {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    color: #111;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.account-action:hover {
    border-color: #176533;
    transform: translateY(-1px);
}

.account-action > span {
    color: #176533;
    font-size: 24px;
}

.account-action div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.account-action strong {
    font-size: 15px;
}

.account-action small {
    color: #777;
    font-size: 13px;
}

/* ==============================
   LOGOUT
============================== */

.logout-btn {
    display: block;
    width: 100%;
    height: 50px;
    border: 1px solid #176533;
    background: #176533;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.logout-btn:hover {
    background: #8dc63f;
    color: #000000;
}

/* ==============================
   ACCOUNT FOOTER
============================== */

.account-footer {
    text-align: center;
    margin-top: 25px;
}

.account-footer a {
    color: #176533;
    text-decoration: none;
    font-size: 14px;
}

.account-footer a:hover {
    color: #8dc63f;
    text-decoration: underline;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {
    .account-page {
        padding: 45px 15px;
    }

    .account-header h1 {
        font-size: 32px;
    }

    .account-container {
        max-width: 100%;
    }

    .account-detail {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .account-detail strong {
        text-align: left;
    }

    .account-card-header {
        padding: 20px;
    }

    .account-details {
        padding: 5px 20px;
    }
}

/* =================================
   CUSTOMER ORDER HISTORY
================================= */

.account-orders {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.orders-loading {
    padding: 30px 25px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.orders-empty {
    padding: 40px 25px;
    text-align: center;
}

.orders-empty-icon {
    color: #176533;
    font-size: 36px;
    margin-bottom: 12px;
}

.orders-empty h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.orders-empty p {
    margin: 0 0 20px;
    color: #777;
    font-size: 14px;
}

.orders-empty a {
    display: inline-block;
    padding: 12px 20px;
    background: #176533;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.orders-empty a:hover {
    background: #8dc63f;
    color: #000000;
}

/* ==============================
   ORDER CARD
============================== */

.orders-list {
    display: flex;
    flex-direction: column;
}

.order-card {
    padding: 25px;
    border-top: 1px solid #eeeeee;
}

.order-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.order-number {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
}

.order-date {
    color: #777;
    font-size: 12px;
}

.order-status {
    display: inline-block;
    padding: 7px 10px;
    background: #f3f3f3;
    color: #333;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==============================
   ORDER PRODUCTS
============================== */

.order-products {
    margin-bottom: 18px;
}

.order-product {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.order-product:last-child {
    border-bottom: none;
}

.order-product-name {
    color: #333;
}

.order-product-price {
    color: #111;
    white-space: nowrap;
}

/* ==============================
   ORDER BOTTOM
============================== */

.order-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eeeeee;
}

.order-total {
    font-size: 15px;
    font-weight: 600;
}

.order-payment {
    margin-top: 5px;
    color: #777;
    font-size: 12px;
}

.order-track {
    display: inline-block;
    padding: 11px 16px;
    background: #176533;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.order-track:hover {
    background: #8dc63f;
    color: #000000;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {
    .order-card {
        padding: 20px;
    }

    .order-top {
        flex-direction: column;
        gap: 10px;
    }

    .order-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-track {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* ==============================
   FOOTER SOCIAL ICONS
============================== */

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: inherit;
    text-decoration: none;
    font-size: 19px;
    transition:
        color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.footer-socials a:hover {
    color: #176533;
    opacity: 0.85;
    transform: translateY(-2px);
}

/* =========================================
   FOOTER LOGO
========================================= */

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.footer-logo img {
    width: 120px;
    height: auto;
    display: block;
}

.footer-links a {
    color: #111;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #176533;
}

/* =========================================
   ÀÀGÓ.NG HERO
   ONE LANDSCAPE DESIGN FOR ALL DEVICES
   DESKTOP → TABLET → PHONE
========================================= */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    aspect-ratio: 16 / 6.5;
    min-height: 0;
    padding: 5% 7%;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 42%;
    max-width: 600px;
    margin: 0;
    padding: 0;
    background: transparent;
}

.hero.text-left {
    justify-content: flex-start;
}

.hero.text-left .hero-content {
    margin-left: 0;
    margin-right: auto;
}

.hero.text-right {
    justify-content: flex-end;
}

.hero.text-right .hero-content {
    margin-left: auto;
    margin-right: 0;
}

/* =========================================
   ÀÀGÓ.NG HERO TEXT
   RESPONSIVE SCALE — SAME COMPOSITION
========================================= */

.hero-content {
    position: relative;
    z-index: 2;
    width: 42%;
    max-width: 600px;
    margin: 0;
    padding: 0;
    background: transparent;
}

.hero .small-text {
    font-size: clamp(8px, 0.95vw, 13px);
    line-height: 1.2;
    letter-spacing: clamp(1px, 0.28vw, 4px);
    margin-bottom: clamp(7px, 1.35vw, 20px);
}

.hero h1 {
    font-size: clamp(28px, 4.35vw, 65px);
    line-height: 1;
    margin-top: 0;
    margin-bottom: clamp(10px, 1.8vw, 25px);
    max-width: 100%;
    word-wrap: break-word;
}

.hero p {
    width: 100%;
    max-width: 520px;
    font-size: clamp(10px, 1.18vw, 18px);
    line-height: 1.55;
    margin-top: 0;
    margin-bottom: clamp(13px, 2.2vw, 35px);
}

.hero-btn {
    padding:
        clamp(8px, 0.95vw, 15px)
        clamp(13px, 1.9vw, 30px);
    font-size: clamp(9px, 0.85vw, 13px);
    line-height: 1;
    white-space: nowrap;
}

.hero.text-left .hero-content {
    margin-left: 0;
    margin-right: auto;
}

/* =========================================
   ÀÀGÓ.NG HERO — SLIDE 2 COLORS
   RESTORE LIME TEXT + GREEN BUTTON
========================================= */

.hero.slide-two {
    color: #8dc63f;
}

.hero.slide-two .small-text,
.hero.slide-two h1,
.hero.slide-two p {
    color: #8dc63f;
}

.hero.slide-two .hero-btn {
    background: #176533;
    color: #ffffff;
    border: 2px solid #176533;
}

.hero.slide-two .hero-btn:hover {
    background: #8dc63f;
    color: #000000;
    border-color: #8dc63f;
}

.hero.text-right .hero-content {
    margin-left: auto;
    margin-right: 0;
}

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

@media (max-width: 1024px) {
    .hero-content {
        width: 44%;
    }

    .hero h1 {
        font-size: clamp(28px, 5vw, 52px);
    }

    .hero p {
        max-width: 430px;
    }
}

/* =========================================
   PHONE
   SAME DESIGN — ONLY SCALED DOWN
========================================= */

@media (max-width: 768px) {
    .hero-content {
        width: 45%;
        max-width: none;
    }

    .hero .small-text {
        font-size: clamp(7px, 1.7vw, 10px);
        letter-spacing: clamp(0.8px, 0.3vw, 2px);
        margin-bottom: clamp(6px, 1.5vw, 12px);
    }

    .hero h1 {
        font-size: clamp(24px, 5.4vw, 42px);
        line-height: 1.03;
        margin-bottom: clamp(8px, 1.8vw, 17px);
    }

    .hero p {
        font-size: clamp(9px, 1.9vw, 15px);
        line-height: 1.45;
        margin-bottom: clamp(10px, 2.5vw, 22px);
    }

    .hero-btn {
        padding:
            clamp(7px, 1.5vw, 13px)
            clamp(11px, 2.5vw, 24px);
        font-size: clamp(8px, 1.6vw, 12px);
    }
}

/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 480px) {
    .hero-content {
        width: 46%;
    }

    .hero h1 {
        font-size: clamp(22px, 5.8vw, 36px);
    }

    .hero p {
        font-size: clamp(8px, 1.9vw, 13px);
    }

    .hero-btn {
        padding:
            clamp(6px, 1.5vw, 11px)
            clamp(9px, 2.4vw, 20px);
        font-size: clamp(7px, 1.7vw, 11px);
    }
}

/* =========================================
   TABLET
   SAME LANDSCAPE COMPOSITION
========================================= */

@media (max-width: 1024px) {
    .hero {
        aspect-ratio: 16 / 7;
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-content {
        width: 44%;
    }
}

/* =========================================
   PHONE
   STILL THE SAME LANDSCAPE HERO
   NOTHING STACKS
========================================= */

@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        aspect-ratio: 16 / 8;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 5% 6%;
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        width: 45%;
        max-width: none;
        margin: 0;
    }

    .hero.text-left {
        justify-content: flex-start;
    }

    .hero.text-left .hero-content {
        margin-left: 0;
        margin-right: auto;
    }

    .hero.text-right {
        justify-content: flex-end;
    }

    .hero.text-right .hero-content {
        margin-left: auto;
        margin-right: 0;
    }
}

/* =========================================
   SMALL PHONES
   SHRINK — DO NOT CHANGE THE DESIGN
========================================= */

@media (max-width: 480px) {
    .hero {
        aspect-ratio: 16 / 8.5;
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-content {
        width: 46%;
    }

    .hero-dots {
        left: 5%;
        bottom: 4%;
    }
}

/* =========================================================
   ÀÀGÓ.NG — MOBILE & TABLET 3-COLUMN PRODUCT LAYOUT
   Keep product/brand cards in 3 columns on all screen sizes
========================================================= */


/* ==============================
   HOME PAGE — BRAND GRID
============================== */

.brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-card {
    min-width: 0;
}


/* ==============================
   HOME PAGE — FEATURED PRODUCTS
============================== */

.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
    min-width: 0;
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}


/* ==============================
   SHOP PAGE
============================== */

.shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-product {
    min-width: 0;
}

.shop-product img {
    width: 100%;
    height: auto;
    display: block;
}


/* ==============================
   BRANDS PAGE
============================== */

.brands-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brands-page-card {
    min-width: 0;
}


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

@media (max-width: 1024px) {

    .brand-grid,
    .product-grid,
    .shop-grid,
    .brands-page-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 768px) {

    .brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .brands-page-grid,
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Featured Watches: 2 cards per row on mobile */

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* Keep the cards compact enough for a phone */

    .brand-card,
    .product-card,
    .shop-product,
    .brands-page-card {
        min-width: 0;
    }


    /* Slightly reduce gaps so 3 cards fit comfortably */

    .brand-grid,
    .product-grid,
    .shop-grid,
    .brands-page-grid {
        gap: 10px;
    }


    /* Prevent long text from forcing the cards wider */

    .product-card h3,
    .shop-product h3,
    .brands-page-card p {
        overflow-wrap: anywhere;
        word-break: normal;
    }


    /* Keep buttons inside the cards */

    .product-card button,
    .shop-product button {
        max-width: 100%;
        box-sizing: border-box;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .brand-grid,
    .brands-page-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    /* Featured Watches: 2 cards per row on small phones too */

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }


    .product-card h3,
    .shop-product h3 {
        font-size: 13px;
        line-height: 1.3;
    }


    .product-card .price,
    .shop-product .price {
        font-size: 13px;
    }


    .product-card button,
    .shop-product button {
        width: 100%;
        padding: 9px 5px;
        font-size: 11px;
    }


    .brand-card {
        font-size: 12px;
    }


    .brands-page-card {
        padding: 15px 8px;
    }


    .brands-page-card p {
        font-size: 12px;
        line-height: 1.4;
    }


    .brands-page-card a {
        padding: 8px 7px;
        font-size: 11px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

}

/* =========================================================
   ÀÀGÓ.NG — SHOP PAGINATION
========================================================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 35px 0 10px;
    width: 100%;
}

.pagination button {
    width: 42px;
    height: 42px;
    border: 1px solid #176533;
    background: #ffffff;
    color: #176533;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.pagination button:hover {
    background: #8DC63F;
    color: #ffffff;
    border-color: #8DC63F;
}

.pagination button.active {
    background: #176533;
    color: #ffffff;
    border-color: #176533;
}

.pagination-arrow {
    font-size: 18px !important;
}


/* ==============================
   MOBILE PAGINATION
============================== */

@media (max-width: 768px) {

    .pagination {
        gap: 6px;
        margin-top: 25px;
    }

    .pagination button {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

}


/* ==============================
   SMALL PHONES
============================== */

@media (max-width: 480px) {

    .pagination {
        gap: 5px;
        margin-top: 22px;
    }

    .pagination button {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

}

/* =========================================================
   ÀÀGÓ.NG — BRAND IMAGE CARDS
========================================================= */

.brand-card {
    position: relative;
    min-height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-size: cover;
    background-position: center;

    overflow: hidden;
    border-radius: 10px;

    text-decoration: none;

    isolation: isolate;
}


/* DARK + GREEN TRANSPARENT OVERLAY */

.brand-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(23, 101, 51, 0.35),
            rgba(0, 0, 0, 0.65)
        );

    z-index: -1;

    transition: 0.3s ease;
}


/* BRAND NAME */

.brand-card span {
    position: relative;
    z-index: 2;

    color: #ffffff;

    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1.5px;

    text-align: center;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.8);

    transition: 0.3s ease;
}


/* HOVER */

.brand-card:hover::before {
    background:
        linear-gradient(
            135deg,
            rgba(23, 101, 51, 0.70),
            rgba(0, 0, 0, 0.55)
        );
}

.brand-card:hover span {
    color: #8DC63F;
    transform: scale(1.05);
}


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

@media (max-width: 1024px) {

    .brand-card {
        min-height: 160px;
    }

    .brand-card span {
        font-size: 18px;
    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 768px) {

    .brand-card {
        min-height: 130px;
        border-radius: 8px;
    }

    .brand-card span {
        font-size: 14px;
        letter-spacing: 1px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .brand-card {
        min-height: 110px;
    }

    .brand-card span {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

}
/* =========================================================
   ÀÀGÓ.NG — CONSISTENT PRODUCT IMAGE CONTAINERS
========================================================= */

.product-card {
    overflow: hidden;
}

.product-card > a {
    display: block;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card > a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Tablet */
@media (max-width: 1024px) {
    .product-card > a {
        height: 190px;
    }
}

/* Phone */
@media (max-width: 768px) {
    .product-card > a {
        height: 150px;
    }
}

/* Small phone */
@media (max-width: 480px) {
    .product-card > a {
        height: 120px;
    }
}

/* =========================================================
   ÀÀGÓ.NG — PREMIUM BRANDS PAGE
========================================================= */
.brands-page-header h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
}

.brands-page-header p {
    margin: 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================
   BRAND GRID
========================= */

.brands-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* =========================
   BRAND CARD
========================= */

.brands-page-card {
    position: relative;
    min-width: 0;
    min-height: 285px;

    background: #ffffff;

    border: 1px solid #e8e8e8;
    border-radius: 12px;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.brands-page-card:hover {
    transform: translateY(-5px);

    border-color: #176533;

    box-shadow: 0 12px 30px rgba(23, 101, 51, 0.14);
}

/* =========================
   CONTENT
========================= */

.brands-page-content {
    width: 100%;

    padding: 35px 20px 20px;

    box-sizing: border-box;

    text-align: center;
}


/* =========================
   BRAND NAME
========================= */

.brands-page-logo {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 900;

    letter-spacing: 1.5px;

    transition: color 0.25s ease;
}

.brands-page-card:hover .brands-page-logo {
    color: #8DC63F;
}


/* =========================
   DESCRIPTION
========================= */

.brands-page-card p {
    max-width: 260px;

    margin: 0 auto 18px;

    color: #8DC63F;

    font-size: 14px;
    line-height: 1.55;
}


/* =========================
   SHOP BUTTON
========================= */

.brands-page-card a {
    display: inline-block;

    padding: 10px 22px;

    background: #fefffe;
    color: #090909;
    border-radius: 5px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.brands-page-card a:hover {
    background: #8DC63F;
    color: #090909;
    

    transform: translateY(-2px);
}


/* =========================
   PRODUCT COUNT BADGE
========================= */

.brands-page-meta {
    margin-bottom: 14px;
}

.brands-page-count {
    display: inline-block;

    padding: 4px 12px;

    background: rgba(23, 101, 51, 0.85);

    color: #ffffff;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


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

@media (max-width: 1024px) {

    .brands-page-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }

    .brands-page-card {
        min-height: 260px;
    }

    .brands-page-content {
        padding: 30px 12px 15px;
    }

    .brands-page-logo {
        font-size: 19px;
        letter-spacing: 1px;
    }

    .brands-page-card p {
        font-size: 12px;
        line-height: 1.45;
    }

    .brands-page-card a {
        padding: 9px 14px;
        font-size: 12px;
    }
}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 768px) {

    .brands-page-header {
        margin-bottom: 25px;
    }

    .brands-page-header h1 {
        font-size: 28px;
    }

    .brands-page-header p {
        font-size: 14px;
    }

    .brands-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .brands-page-card {
        min-height: 240px;
        border-radius: 8px;
    }

    .brands-page-accent {
        height: 4px;
    }

    .brands-page-content {
        padding: 25px 7px 10px;
    }

    .brands-page-logo {
        font-size: 13px;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }

    .brands-page-card p {
        font-size: 10px;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .brands-page-meta {
        margin-bottom: 10px;
    }

    .brands-page-count {
        font-size: 9px;
        padding: 3px 8px;
    }

    .brands-page-card a {
        display: block;
        width: 100%;

        box-sizing: border-box;

        padding: 8px 3px;

        font-size: 10px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .brands-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .brands-page-card {
        min-height: 220px;
    }

    .brands-page-content {
        padding: 22px 5px 8px;
    }

    .brands-page-logo {
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    .brands-page-card p {
        font-size: 9px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .brands-page-meta {
        margin-bottom: 8px;
    }

    .brands-page-count {
        font-size: 8px;
        padding: 3px 6px;
    }

    .brands-page-card a {
        padding: 7px 2px;
        font-size: 9px;
    }
}

/* ==============================
   BRANDS PAGE WATCH BACKGROUNDS
============================== */

.brands-page-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay so text remains readable */
.brands-page-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.78),
        rgba(23, 101, 51, 0.68)
    );
    z-index: 0;
}

/* Keep the card content above the image */
.brands-page-card > * {
    position: relative;
    z-index: 1;
}
/* CASIO */
.brands-page-card:nth-child(1) {
    background-image: url("../images/brands/casio.jpg");
}

/* G-SHOCK */
.brands-page-card:nth-child(2) {
    background-image: url("../images/brands/gshock.jpg");
}

/* POEDAGAR */
.brands-page-card:nth-child(3) {
    background-image: url("../images/brands/poedagar.jpg");
}

/* NAVIFORCE */
.brands-page-card:nth-child(4) {
    background-image: url("../images/brands/naviforce.jpg");
}

/* MATTURI */
.brands-page-card:nth-child(5) {
    background-image: url("../images/brands/matturi.jpg");
}

/* TOMI */
.brands-page-card:nth-child(6) {
    background-image: url("../images/brands/tomi.jpg");
}

/* MILLER */
.brands-page-card:nth-child(7) {
    background-image: url("../images/brands/miller.jpg");
}

/* VALENZO */
.brands-page-card:nth-child(8) {
    background-image: url("../images/brands/valenzo.jpg");
}

/* OAKLEY */
.brands-page-card:nth-child(9) {
    background-image: url("../images/brands/oakley.jpg");
}

/* CURREN */
.brands-page-card:nth-child(10) {
    background-image: url("../images/brands/curren.jpg");
}

/* REWARD */
.brands-page-card:nth-child(11) {
    background-image: url("../images/brands/reward.jpg");
}

/* SMART WATCH */
.brands-page-card:nth-child(12) {
    background-image: url("../images/brands/smartwatch.jpg");
}

/* SKMEI */
.brands-page-card:nth-child(13) {
    background-image: url("../images/brands/skmei.jpg");
}

/* ==============================
   ADDITIONAL PRODUCT THUMBNAILS
   ============================== */

.additional-product-images {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 0;
    flex-wrap: wrap;
    width: 100%;
}

.additional-product-images img.additional-product-thumbnail {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #ddd;
    display: block;
    flex: 0 0 60px;
}

.additional-product-images img.additional-product-thumbnail:hover {
    transform: scale(1.05);
    border-color: #8dc63f;
}

.brands-page-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brands-page-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.brands-page-accent,
.brands-page-content {
    position: relative;
    z-index: 1;
}

.brands-page-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brands-page-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.72),
            rgba(23, 101, 51, 0.78)
        );
    z-index: 0;
}

.brands-page-accent,
.brands-page-content {
    position: relative;
    z-index: 1;
}
/* =========================================
   CARD PARITY — shop cards share the same
   hover-lift + image-zoom as homepage cards
   (added during Aago deploy pass)
========================================= */

.shop-product {
    border-radius: 10px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.shop-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(23, 101, 51, 0.12);
}

.shop-product img {
    display: block;
    transition: transform 0.4s ease;
}

.shop-product:hover img {
    transform: scale(1.03);
}

.shop-product-info .price {
    color: #176533;
}

/* =========================================================
   AD BANNERS (stock-image ad boxes between homepage sections)
========================================================= */

.ad-banner {
    position: relative;
    overflow: hidden;
    margin: 0 7% 30px;
    padding: 70px 7%;
    min-height: 320px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.ad-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.10) 100%
    );
}

.ad-banner-content {
    position: relative;
    z-index: 1;
    max-width: 460px;
    color: #fff;
}

.ad-banner-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    color: #8dc63f;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ad-banner h2 {
    font-size: 36px;
    line-height: 1.12;
    margin: 0 0 14px;
    color: #fff;
}

.ad-banner p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.92);
}

.ad-banner .btn {
    display: inline-flex;
    padding: 15px 34px;
}

@media (max-width: 768px) {

    .ad-banner {
        margin: 0 4% 22px;
        padding: 50px 6%;
        min-height: 420px;
        align-items: flex-end;
        text-align: center;
    }

    .ad-banner::before {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.72) 78%,
            rgba(0, 0, 0, 0.85) 100%
        );
    }

    .ad-banner-content {
        margin: 0 auto;
    }

    .ad-banner h2 {
        font-size: 30px;
    }

}

/* =========================================================
   SKELETON LOADING (shimmer placeholders for product cards)
========================================================= */

.skeleton-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid #eeeeee;
    padding: 8px;
    background: #ffffff;
}

.skeleton-block {
    border-radius: 6px;
    background: #eceff3;
    background-image: linear-gradient(
        90deg,
        #eceff3 0%,
        #f6f8fa 40%,
        #eceff3 80%
    );
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.4s infinite linear;
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
}

.skeleton-line {
    height: 11px;
    margin-bottom: 8px;
}

.skeleton-line.short {
    width: 45%;
}

.skeleton-line.mid {
    width: 70%;
}

.skeleton-line.long {
    width: 90%;
}

.skeleton-btn {
    height: 32px;
    margin-top: auto;
    width: 100%;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 120% 0;
    }
    100% {
        background-position: -120% 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .skeleton-block {
        animation: none;
        background-image: none;
        background-color: #eceff3;
    }

}

/* =========================================================
   PRODUCT PAGE — BREADCRUMB, STOCK, RELATED
========================================================= */

.product-breadcrumb {
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 0 40px;
    font-size: 14px;
    color: #555555;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.product-breadcrumb a {
    color: #176533;
    text-decoration: none;
    font-weight: 600;
}

.product-breadcrumb a:hover {
    color: #8dc63f;
}

.product-breadcrumb .breadcrumb-sep {
    color: #bbbbbb;
}

.product-breadcrumb .breadcrumb-current {
    color: #111111;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}

/* PRICE + STOCK ROW */

.product-details-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.2;
}

.product-details-row .product-price {
    margin-bottom: 0;
}

/* STOCK BADGE */

.product-stock {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
}

.product-stock.in-stock {
    background: rgba(141, 198, 63, 0.16);
    color: #176533;
}

.product-stock.out-of-stock {
    background: rgba(214, 69, 69, 0.14);
    color: #b32d2d;
}

/* DISABLED ADD TO CART */

.add-cart-btn:disabled,
.add-cart-btn[disabled] {
    background: #9aa39d;
    color: #f2f2f2;
    cursor: not-allowed;
    pointer-events: none;
}

.quantity input:disabled {
    background: #f0f0f0;
    color: #888888;
    cursor: not-allowed;
}

/* ACTIVE THUMBNAIL */

.additional-product-images img.additional-product-thumbnail.active {
    border: 2px solid #176533;
    box-shadow: 0 0 0 2px rgba(23, 101, 51, 0.25);
}

/* RELATED PRODUCTS */

.related-products {
    max-width: 1190px;
    margin: 20px auto 80px;
    padding: 0 40px;
}

.related-products .section-header h2 {
    font-size: 30px;
    margin: 0;
}

.related-products .product-info .btn {
    display: inline-block;
    padding: 12px 20px;
    background: #176533;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.related-products .product-info .btn:hover {
    background: #8dc63f;
    color: #000000;
}

/* RESPONSIVE — BREADCRUMB / RELATED */

@media (max-width: 768px) {

    .product-breadcrumb {
        margin-top: 20px;
        padding: 0 20px;
        font-size: 13px;
    }

    .product-breadcrumb .breadcrumb-current {
        max-width: 50%;
    }

    .related-products {
        margin: 10px auto 50px;
        padding: 0 20px;
    }

    .related-products .section-header h2 {
        font-size: 24px;
    }

}

/* =========================================
   BUTTON BORDER-RADIUS 8PX
========================================= */

button,
.btn,
.hero-btn,
.product-info button,
.shop-product-info button,
.add-cart-btn,
.checkout-btn,
.place-order-btn,
.tracking-form button,
.home-search-box button,
.auth-btn,
.logout-btn,
.pagination button,
.cart-quantity button,
.product-form-actions button,
.admin-nav-btn {
    border-radius: 8px;
}

/* =========================================
   FULL-PAGE PRELOADER
   Covers the paint until every image
   (incl. hero + product grids) is drawn.
========================================= */

#aagoPreloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

#aagoPreloader.aago-preloader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.aago-preloader-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(23, 101, 51, 0.15);
    border-top-color: var(--brand, #176533);
    border-radius: 50%;
    animation: aagoPreloaderSpin 0.8s linear infinite;
}

@keyframes aagoPreloaderSpin {
    to { transform: rotate(360deg); }
}

html.aago-preloading,
html.aago-preloading body {
    overflow: hidden;
}
