/* =========================================================
   PUBLIC MENU / PRODUCTS
   ========================================================= */

.public-main {
    min-height: 70vh;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


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

.menu-hero {
    padding: 70px 0 60px;
    background:
        linear-gradient(
            135deg,
            var(--primary-color),
            var(--secondary-color)
        );
    color: #ffffff;
}

.menu-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.menu-hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    font-weight: 800;
}

.menu-hero p {
    max-width: 650px;
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.9;
}


/* =========================================================
   MENU SECTION
   ========================================================= */

.menu-section {
    padding: 55px 0 80px;
    background: var(--background-color);
}


/* =========================================================
   CATEGORY FILTER
   ========================================================= */

.category-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 38px;
    padding-bottom: 4px;

    overflow-x: auto;
    scrollbar-width: thin;
}

.category-filter::-webkit-scrollbar {
    height: 5px;
}

.category-filter-item {
    flex: 0 0 auto;

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

    min-height: 42px;
    padding: 0 18px;

    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 999px;

    background: #ffffff;
    color: var(--text-color);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

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

.category-filter-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.category-filter-item.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
}


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

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);

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

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

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.product-card-image {
    position: relative;

    display: block;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #f3f4f6;

    text-decoration: none;
}

.product-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

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

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #9ca3af;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   PRODUCT BODY
   ========================================================= */

.product-card-body {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 20px;
}

.product-category {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--primary-color);

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

    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.product-card-title {
    margin: 0;

    font-size: 18px;
    line-height: 1.35;
    font-weight: 750;
}

.product-card-title a {
    color: var(--text-color);
    text-decoration: none;

    transition:
        color 0.2s ease;
}

.product-card-title a:hover {
    color: var(--primary-color);
}

.product-card-description {
    display: -webkit-box;

    margin: 10px 0 0;

    overflow: hidden;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.6;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: auto;
    padding-top: 20px;
}

.product-price {
    color: var(--primary-color);

    font-size: 17px;
    font-weight: 800;

    white-space: nowrap;
}

.product-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 14px;

    border-radius: 9px;

    background: var(--primary-color);
    color: #ffffff;

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

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.product-view-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.public-empty-state {
    padding: 70px 25px;

    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 18px;

    background: #ffffff;

    text-align: center;
}

.public-empty-state h2 {
    margin: 0;

    color: var(--text-color);

    font-size: 24px;
}

.public-empty-state p {
    max-width: 500px;

    margin: 12px auto 24px;

    color: #6b7280;

    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

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

}


/* =========================================================
   RESPONSIVE — SMALL TABLET
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(100% - 30px, 1180px);
    }

    .menu-hero {
        padding: 55px 0 45px;
    }

    .menu-section {
        padding: 40px 0 60px;
    }

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

        gap: 16px;
    }

    .product-card-body {
        padding: 16px;
    }

    .product-card-title {
        font-size: 16px;
    }

    .product-card-description {
        font-size: 13px;
    }

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

    .product-view-btn {
        width: 100%;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: min(100% - 24px, 1180px);
    }

    .menu-hero {
        padding: 45px 0 38px;
    }

    .menu-hero h1 {
        font-size: 32px;
    }

    .menu-hero p {
        font-size: 15px;
    }

    .menu-section {
        padding: 32px 0 50px;
    }

    .category-filter {
        margin-bottom: 28px;
    }

    .category-filter-item {
        min-height: 38px;
        padding: 0 15px;

        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .product-card-image {
        aspect-ratio: 4 / 3;
    }

    .product-card-body {
        padding: 18px;
    }

    .product-card-footer {
        flex-direction: row;
        align-items: center;
    }

    .product-view-btn {
        width: auto;
    }

}
/* =========================================================
   PUBLIC SITE FOUNDATION
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--background-color);
    color: var(--text-color);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

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

.site-wrapper {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}
/* =========================================================
   PUBLIC NAVBAR
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar-container {
    min-height: 76px;

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

    gap: 30px;
}


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

.site-logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    color: var(--text-color);

    font-size: 20px;
    font-weight: 800;

    text-decoration: none;
}

.site-logo img {
    display: block;

    width: auto;
    max-width: 170px;
    max-height: 48px;

    object-fit: contain;
}

.site-logo-text {
    color: var(--text-color);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.site-nav {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-left: auto;
}

.site-nav-link {
    position: relative;

    padding: 8px 0;

    color: var(--text-color);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.site-nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--primary-color);

    transition:
        width 0.2s ease;
}

.site-nav-link:hover {
    color: var(--primary-color);
}

.site-nav-link:hover::after {
    width: 100%;
}


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

.navbar-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


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

.cart-link {
    position: relative;

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

    gap: 7px;

    min-height: 42px;
    padding: 0 14px;

    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;

    background: #ffffff;

    color: var(--text-color);

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

    text-decoration: none;

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

.cart-link:hover {
    border-color: var(--primary-color);

    color: var(--primary-color);
}

.cart-icon {
    font-size: 17px;
    line-height: 1;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    border-radius: 999px;

    background: var(--primary-color);
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
}


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

.mobile-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    border-radius: 5px;

    background: var(--text-color);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


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

.mobile-nav {
    display: none;

    border-top: 1px solid rgba(0, 0, 0, 0.06);

    background: #ffffff;

    padding: 10px 20px 18px;
}

.mobile-nav-link {
    display: block;

    padding: 13px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    color: var(--text-color);

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}


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

@media (max-width: 800px) {

    .navbar-container {
        min-height: 68px;

        gap: 15px;
    }

    .site-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-nav.is-open {
        display: block;
    }

    .site-logo img {
        max-width: 145px;
        max-height: 42px;
    }

}


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

@media (max-width: 480px) {

    .navbar-container {
        min-height: 64px;
    }

    .cart-link {
        min-width: 42px;
        width: 42px;

        padding: 0;
    }

    .cart-link > span:not(.cart-icon):not(.cart-count) {
        display: none;
    }

    .site-logo-text {
        max-width: 150px;

        overflow: hidden;

        white-space: nowrap;
        text-overflow: ellipsis;
    }

}
/* =========================================================
   PUBLIC FOOTER
   ========================================================= */

.site-footer {
    margin-top: auto;

    background: #111827;
    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1.4fr
        1fr;

    gap: 45px;

    padding: 65px 0 50px;
}

.footer-column h3 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;
}

.footer-logo {
    display: inline-block;

    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    text-decoration: none;
}

.footer-tagline {
    max-width: 280px;

    margin: 14px 0 0;

    color: #9ca3af;

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

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 11px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links a,
.footer-contact a {
    color: #9ca3af;

    font-size: 14px;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ffffff;
}

.footer-contact li {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.footer-contact span {
    color: #6b7280;

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

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact strong {
    color: #9ca3af;

    font-size: 14px;
    font-weight: 500;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;

    color: #d1d5db;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

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

.footer-social a:hover {
    border-color: var(--primary-color);

    background: var(--primary-color);
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;

    color: #6b7280;

    font-size: 12px;
}

.footer-bottom strong {
    color: #9ca3af;
}


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

@media (max-width: 900px) {

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

        gap: 35px;
    }

}

@media (max-width: 600px) {

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 45px 0 35px;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        padding: 18px 0;
    }

}
/* =========================================================
   PRODUCT DETAILS
   ========================================================= */

.product-details-section {
    padding: 45px 0 80px;

    background: var(--background-color);
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 35px;

    color: #6b7280;

    font-size: 13px;
}

.product-breadcrumb a {
    color: #6b7280;

    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: var(--primary-color);
}

.product-breadcrumb strong {
    color: var(--text-color);

    font-weight: 600;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.product-details-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: 65px;

    align-items: start;
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.product-details-image {
    width: 100%;

    overflow: hidden;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.08);
}

.product-details-image img {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;
}

.product-details-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    aspect-ratio: 1 / 1;

    color: #9ca3af;

    font-size: 16px;
    font-weight: 600;
}


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

.product-details-content {
    padding-top: 10px;
}

.product-details-category {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--primary-color);

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

    letter-spacing: 0.7px;

    text-transform: uppercase;

    text-decoration: none;
}

.product-details-category:hover {
    color: var(--secondary-color);
}

.product-details-content h1 {
    margin: 0;

    color: var(--text-color);

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.12;

    font-weight: 800;
}

.product-details-price {
    margin-top: 20px;

    color: var(--primary-color);

    font-size: 27px;
    font-weight: 800;
}

.product-details-description {
    margin-top: 25px;

    padding-top: 25px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);

    color: #6b7280;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   QUANTITY
   ========================================================= */

.quantity-section {
    margin-top: 30px;
}

.quantity-section label {
    display: block;

    margin-bottom: 10px;

    color: var(--text-color);

    font-size: 14px;
    font-weight: 700;
}

.quantity-control {
    display: inline-flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;

    background: #ffffff;
}

.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: none;

    background: #ffffff;
    color: var(--text-color);

    font-size: 21px;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.quantity-btn:hover {
    background: var(--primary-color);

    color: #ffffff;
}

.quantity-control input {
    width: 55px;
    height: 44px;

    padding: 0;

    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.08);

    outline: none;

    background: #ffffff;

    color: var(--text-color);

    text-align: center;

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

    -moz-appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* =========================================================
   ADD TO CART
   ========================================================= */

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 52px;

    margin-top: 24px;

    padding: 0 25px;

    border: none;
    border-radius: 11px;

    background: var(--primary-color);
    color: #ffffff;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

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

.add-to-cart-btn:hover {
    background: var(--secondary-color);

    transform: translateY(-1px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}


/* =========================================================
   BACK TO MENU
   ========================================================= */

.back-to-menu {
    display: inline-block;

    margin-top: 20px;

    color: #6b7280;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.back-to-menu:hover {
    color: var(--primary-color);
}


/* =========================================================
   PRODUCT DETAILS RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

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

        gap: 40px;
    }

    .product-details-content {
        padding-top: 0;
    }

}


@media (max-width: 480px) {

    .product-details-section {
        padding: 30px 0 55px;
    }

    .product-breadcrumb {
        margin-bottom: 25px;

        font-size: 12px;
    }

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

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

}
/* =========================================================
   CART ACTION MESSAGE
   ========================================================= */

.cart-action-message {
    min-height: 22px;

    margin-top: 12px;

    font-size: 13px;
    font-weight: 600;
}

.cart-action-message.success {
    color: #15803d;
}

.cart-action-message.error {
    color: #dc2626;
}

.add-to-cart-btn:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}
/* =========================================================
   CART PAGE
   ========================================================= */

.cart-section {
    padding: 55px 0 85px;

    background: var(--background-color);
}

.cart-page-heading {
    margin-bottom: 35px;
}

.cart-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--primary-color);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.cart-page-heading h1 {
    margin: 0;

    color: var(--text-color);

    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.15;
}

.cart-page-heading p {
    margin: 12px 0 0;

    color: #6b7280;

    font-size: 15px;
}


/* =========================================================
   CART LAYOUT
   ========================================================= */

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        350px;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   CART ITEMS
   ========================================================= */

.cart-items {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.cart-item {
    display: grid;

    grid-template-columns:
        105px
        minmax(0, 1fr)
        auto;

    gap: 18px;

    align-items: center;

    padding: 18px;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;

    background: #ffffff;
}

.cart-item-image {
    width: 105px;
    height: 105px;

    overflow: hidden;

    border-radius: 12px;

    background: #f3f4f6;
}

.cart-item-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cart-item-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #9ca3af;

    font-size: 11px;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-category {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--primary-color);

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

    text-transform: uppercase;
}

.cart-item-info h2 {
    margin: 0;

    color: var(--text-color);

    font-size: 17px;
    line-height: 1.35;
}

.cart-item-price {
    margin-top: 7px;

    color: #6b7280;

    font-size: 13px;
}

.cart-item-price span {
    color: #9ca3af;
}


/* =========================================================
   CART ITEM ACTIONS
   ========================================================= */

.cart-item-actions {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 14px;
}

.cart-quantity {
    display: inline-flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 8px;

    background: #ffffff;
}

.cart-quantity-btn {
    width: 34px;
    height: 34px;

    border: none;

    background: #ffffff;
    color: var(--text-color);

    font-size: 18px;

    cursor: pointer;
}

.cart-quantity-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.cart-quantity-value {
    min-width: 38px;

    text-align: center;

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

.cart-remove-btn {
    padding: 0;

    border: none;

    background: none;

    color: #dc2626;

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

    cursor: pointer;
}

.cart-remove-btn:hover {
    text-decoration: underline;
}

.cart-item-subtotal {
    color: var(--primary-color);

    font-size: 16px;
    font-weight: 800;

    white-space: nowrap;
}


/* =========================================================
   CART SUMMARY
   ========================================================= */

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

    padding: 25px;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);
}

.cart-summary h2 {
    margin: 0 0 25px;

    color: var(--text-color);

    font-size: 19px;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;

    color: #6b7280;

    font-size: 14px;
}

.cart-summary-row strong {
    color: var(--text-color);
}

.cart-summary-divider {
    height: 1px;

    margin: 20px 0;

    background: rgba(0, 0, 0, 0.08);
}

.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.cart-summary-total span {
    color: var(--text-color);

    font-size: 16px;
    font-weight: 700;
}

.cart-summary-total strong {
    color: var(--primary-color);

    font-size: 21px;
    font-weight: 800;
}

.cart-minimum-warning {
    margin-top: 18px;

    padding: 12px;

    border-radius: 8px;

    background: #fef2f2;
    color: #b91c1c;

    font-size: 12px;
    line-height: 1.5;
}

.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    margin-top: 24px;

    border-radius: 10px;

    background: var(--primary-color);
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;
}

.cart-checkout-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

.cart-checkout-btn.disabled {
    pointer-events: none;

    opacity: 0.45;
}

.cart-continue-btn {
    display: block;

    margin-top: 16px;

    color: #6b7280;

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

    text-align: center;
    text-decoration: none;
}

.cart-continue-btn:hover {
    color: var(--primary-color);
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.cart-empty {
    max-width: 600px;

    margin: 40px auto 0;

    padding: 70px 25px;

    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 18px;

    background: #ffffff;

    text-align: center;
}

.cart-empty-icon {
    font-size: 45px;
}

.cart-empty h2 {
    margin: 20px 0 8px;

    color: var(--text-color);

    font-size: 24px;
}

.cart-empty p {
    margin: 0 0 25px;

    color: #6b7280;
}

.cart-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border-radius: 9px;

    background: var(--primary-color);
    color: #ffffff;

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

    text-decoration: none;
}

.cart-primary-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;
}


/* =========================================================
   CART RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

}

@media (max-width: 600px) {

    .cart-section {
        padding: 40px 0 60px;
    }

    .cart-item {
        grid-template-columns:
            85px
            minmax(0, 1fr);

        gap: 14px;
    }

    .cart-item-image {
        width: 85px;
        height: 85px;
    }

    .cart-item-subtotal {
        grid-column: 2;

        margin-top: -5px;
    }

}

@media (max-width: 420px) {

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

        flex-direction: column;

        gap: 10px;
    }

    .cart-summary {
        padding: 20px;
    }

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

.checkout-section {
    padding: 50px 0 80px;
}

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

.checkout-page-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.checkout-page-header h1 {
    margin: 0 0 10px;
    color: var(--text-color);
    font-size: 38px;
    line-height: 1.2;
}

.checkout-page-header p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
}


/* ==========================================================================
   CHECKOUT LAYOUT
   ========================================================================== */

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: 30px;
    align-items: start;
}

.checkout-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.checkout-card-header {
    margin-bottom: 25px;
}

.checkout-card-header h2 {
    margin: 0 0 6px;
    color: var(--text-color);
    font-size: 22px;
}

.checkout-card-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}


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

.checkout-form-group {
    margin-bottom: 20px;
}

.checkout-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.checkout-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
}

.checkout-form-group label span {
    color: #dc2626;
}

.checkout-form-group label small {
    margin-left: 5px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 400;
}

.checkout-form-group input,
.checkout-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: var(--text-color);
    padding: 13px 14px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.checkout-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.checkout-form-group input::placeholder,
.checkout-form-group textarea::placeholder {
    color: #9ca3af;
}

.checkout-form-group input:focus,
.checkout-form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.10);
}


/* ==========================================================================
   CHECKOUT BUTTONS
   ========================================================================== */

.checkout-submit-btn {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 15px 20px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.checkout-submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.checkout-submit-btn:active {
    transform: translateY(0);
}

.checkout-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.checkout-back-btn {
    display: block;
    margin-top: 15px;
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.checkout-back-btn:hover {
    color: var(--primary-color);
}


/* ==========================================================================
   CHECKOUT ITEMS
   ========================================================================== */

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
}

.checkout-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

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

.checkout-item-image {
    width: 62px;
    height: 62px;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f5f9;
}

.checkout-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #94a3b8;
    font-size: 10px;
    text-align: center;
}

.checkout-item-info {
    min-width: 0;
}

.checkout-item-info h3 {
    margin: 0 0 5px;
    overflow: hidden;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-item-info span {
    color: #6b7280;
    font-size: 13px;
}

.checkout-item > strong {
    color: var(--text-color);
    font-size: 14px;
    white-space: nowrap;
}


/* ==========================================================================
   ORDER SUMMARY
   ========================================================================== */

.checkout-summary-details {
    margin-top: 10px;
}

.checkout-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
}

.checkout-summary-row span {
    color: #6b7280;
    font-size: 14px;
}

.checkout-summary-row strong {
    color: var(--text-color);
    font-size: 14px;
}

.checkout-summary-divider {
    height: 1px;
    margin: 12px 0;
    background: #e5e7eb;
}

.checkout-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 5px;
}

.checkout-summary-total span {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 700;
}

.checkout-summary-total strong {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 800;
}


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

@media (max-width: 900px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        order: -1;
    }

}


@media (max-width: 600px) {

    .checkout-section {
        padding: 35px 0 60px;
    }

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

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

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

    .checkout-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-item {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .checkout-item-image {
        width: 52px;
        height: 52px;
    }

    .checkout-item > strong {
        grid-column: 2;
        justify-self: start;
        margin-top: -5px;
    }

    .checkout-summary-total strong {
        font-size: 20px;
    }

}


/* ==========================================================================
   ORDER SUCCESS PAGE
   ========================================================================== */

.order-success-section {
    padding: 50px 0 80px;
}

.order-success-card {
    width: 100%;
    max-width: 760px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.order-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 34px;
    font-weight: 800;
}

.order-success-label {
    display: block;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-success-card > h1 {
    margin: 10px 0;
    color: var(--text-color);
    font-size: 32px;
    text-align: center;
}

.order-success-intro {
    max-width: 540px;
    margin: 0 auto 28px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.order-number-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    padding: 22px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.order-number-box > span:first-child {
    color: #64748b;
    font-size: 13px;
}

.order-number-box > strong {
    color: var(--primary-color);
    font-size: 23px;
    overflow-wrap: anywhere;
}

.order-pending-status {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 20px;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 700;
}

.order-success-details,
.order-payment-box,
.order-whatsapp-box {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.order-success-details h2,
.order-payment-box h2,
.order-whatsapp-box h2 {
    margin: 0 0 16px;
    color: var(--text-color);
    font-size: 19px;
}

.order-detail-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
}

.order-detail-row:last-child {
    border-bottom: 0;
}

.order-detail-row > span {
    color: #64748b;
    font-size: 14px;
}

.order-detail-row > strong {
    max-width: 65%;
    color: var(--text-color);
    font-size: 14px;
    text-align: right;
    overflow-wrap: anywhere;
}

.order-grand-total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.order-grand-total > span,
.order-grand-total > strong {
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 800;
}

.order-payment-box > p,
.order-whatsapp-box > p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.order-payment-instructions {
    margin-top: 15px;
    padding: 14px;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.order-payment-warning {
    padding: 12px;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412 !important;
}

.order-whatsapp-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 15px 20px;
    border-radius: 10px;
    background: #15803d;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.order-whatsapp-btn:hover {
    opacity: 0.9;
}

.order-success-home-btn {
    display: block;
    margin-top: 22px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 600px) {
    .order-success-section {
        padding: 28px 0 50px;
    }

    .order-success-card {
        padding: 20px;
        border-radius: 14px;
    }

    .order-success-card > h1 {
        font-size: 26px;
    }

    .order-success-details,
    .order-payment-box,
    .order-whatsapp-box {
        padding: 16px;
    }

    .order-detail-row {
        gap: 12px;
    }

    .order-detail-row > span,
    .order-detail-row > strong {
        font-size: 13px;
    }

    .order-number-box > strong {
        font-size: 19px;
    }
}
.checkout-error {
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================
   HOMEPAGE SECTIONS
   Mamus Marketplace
========================================= */

.homepage {
    background: var(--background-color, #f8fafc);
    color: var(--text-color, #111827);
}

.home-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 75px 0;
    color: #ffffff;
    background-color: var(--primary-color, #172554);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.home-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-color, #2563eb);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.12;
}

.home-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.8;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.home-button-primary {
    background: var(--accent-color, #2563eb);
    color: #ffffff;
}

.home-button-secondary {
    border-color: rgba(255, 255, 255, 0.75);
    background: transparent;
    color: #ffffff;
}

.home-section {
    padding: 65px 0;
}

.home-categories-section {
    background: var(--secondary-color, #ffffff);
}

.home-featured-section {
    background: var(--background-color, #f8fafc);
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.home-section-heading h2 {
    margin: 0 0 10px;
    color: var(--text-color, #111827);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
}

.home-section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.home-text-link {
    flex-shrink: 0;
    color: var(--primary-color, #172554);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.home-text-link:hover {
    text-decoration: underline;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-category-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 86px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.home-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary-color, #172554);
    color: #ffffff;
    font-size: 23px;
}

.home-category-name {
    flex: 1;
    font-size: 14px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.home-category-arrow {
    color: var(--primary-color, #172554);
    font-size: 18px;
}

.home-empty-state {
    padding: 30px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #64748b;
    text-align: center;
}

.home-empty-state p {
    margin: 0 0 15px;
}

/* Featured product cards */

.home-featured-section .products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-featured-section .product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-featured-section .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.home-featured-section .product-card-image {
    display: block;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.home-featured-section .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-featured-section .product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #64748b;
}

.home-featured-section .product-card-body {
    padding: 18px;
}

.home-featured-section .product-category {
    color: #64748b;
    font-size: 12px;
}

.home-featured-section .product-card-title {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.5;
}

.home-featured-section .product-card-title a {
    color: #111827;
    text-decoration: none;
}

.home-featured-section .product-card-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.home-featured-section .product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.home-featured-section .product-price {
    color: var(--primary-color, #172554);
    font-size: 16px;
}

.home-featured-section .product-view-btn {
    padding: 9px 12px;
    border-radius: 7px;
    background: var(--primary-color, #172554);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

/* Tablet */

@media (max-width: 1000px) {
    .home-category-grid,
    .home-featured-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-section {
        padding: 50px 0;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .home-hero {
        min-height: 350px;
        padding: 55px 0;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .home-hero p {
        font-size: 15px;
    }

    .home-section {
        padding: 42px 0;
    }

    .home-section-heading {
        display: block;
    }

    .home-text-link {
        display: inline-block;
        margin-top: 16px;
    }

    .home-category-grid,
    .home-featured-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-category-card {
        gap: 9px;
        min-height: 72px;
        padding: 12px;
    }

    .home-category-icon {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }

    .home-category-name {
        font-size: 12px;
    }

    .home-featured-section .product-card-image {
        height: 150px;
    }

    .home-featured-section .product-card-body {
        padding: 12px;
    }

    .home-featured-section .product-card-title {
        font-size: 14px;
    }
}

/* =========================================
   ABOUT PAGE — MAMUS MARKETPLACE
========================================= */

.about-page {
    background: var(--background-color, #f8fafc);
    color: var(--text-color, #111827);
}

/* Hero */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 85px 0;
    background: var(--primary-color, #172554);
    color: #ffffff;
    text-align: center;
}

.about-hero::before {
    position: absolute;
    top: -100px;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.about-hero::after {
    position: absolute;
    bottom: -180px;
    left: -80px;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

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

.about-hero .about-eyebrow {
    color: var(--accent-color, #93c5fd);
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary-color, #172554);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
}

.about-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.8;
}

/* Main About Content */

.about-section {
    padding: 80px 0;
    background: var(--background-color, #f8fafc);
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 55px;
}

.about-text h2 {
    max-width: 650px;
    margin: 0 0 22px;
    color: var(--text-color, #111827);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.25;
}

.about-text p {
    margin: 0 0 17px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.9;
}

.about-highlight {
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    background: var(--secondary-color, #ffffff);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.about-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: var(--primary-color, #172554);
    color: #ffffff;
    font-size: 27px;
    font-weight: 800;
}

.about-highlight h3 {
    margin: 0 0 12px;
    color: var(--text-color, #111827);
    font-size: 22px;
    font-weight: 800;
}

.about-highlight p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.9;
}

/* Values */

.about-values-section {
    padding: 75px 0;
    background: var(--secondary-color, #ffffff);
}

.about-heading {
    max-width: 650px;
    margin: 0 auto 42px;
    text-align: center;
}

.about-heading h2 {
    margin: 0 0 12px;
    color: var(--text-color, #111827);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
}

.about-heading p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-value-card {
    padding: 30px 25px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: var(--background-color, #f8fafc);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.about-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--primary-color, #172554);
    color: #ffffff;
    font-size: 25px;
}

.about-value-card h3 {
    margin: 0 0 12px;
    color: var(--text-color, #111827);
    font-size: 18px;
    font-weight: 800;
}

.about-value-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

/* Call to Action */

.about-cta {
    padding: 70px 0;
    background: var(--primary-color, #172554);
    color: #ffffff;
    text-align: center;
}

.about-cta h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
}

.about-cta p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.8;
}

.about-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 8px;
    background: var(--accent-color, #2563eb);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.about-cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Tablet */

@media (max-width: 850px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .about-section,
    .about-values-section {
        padding: 55px 0;
    }
}

/* Mobile */

@media (max-width: 560px) {
    .about-hero {
        padding: 60px 0;
    }

    .about-hero p {
        font-size: 15px;
    }

    .about-section,
    .about-values-section {
        padding: 42px 0;
    }

    .about-highlight {
        padding: 24px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-value-card {
        padding: 24px;
    }

    .about-cta {
        padding: 52px 0;
    }
}

/* =========================================
   CONTACT PAGE — MAMUS MARKETPLACE
========================================= */

.contact-page {
    background: var(--background-color, #f8fafc);
    color: var(--text-color, #111827);
}

/* Contact Hero */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: var(--primary-color, #172554);
    color: #ffffff;
    text-align: center;
}

.contact-hero::before {
    position: absolute;
    top: -110px;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.contact-hero::after {
    position: absolute;
    bottom: -170px;
    left: -80px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

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

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-color, #93c5fd);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
}

.contact-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.8;
}

/* Main Contact Section */

.contact-main-section {
    padding: 75px 0;
}

.contact-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.contact-heading h2 {
    margin: 0 0 12px;
    color: var(--text-color, #111827);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
}

.contact-heading p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

/* Contact Cards */

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

.contact-card {
    min-width: 0;
    padding: 30px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: var(--secondary-color, #ffffff);
    text-align: center;
    box-shadow: 0 5px 22px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color, #172554);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border-radius: 15px;
    background: var(--primary-color, #172554);
    color: #ffffff;
    font-size: 27px;
}

.contact-card h3 {
    margin: 0 0 12px;
    color: var(--text-color, #111827);
    font-size: 19px;
    font-weight: 800;
}

.contact-card p {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contact-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--accent-color, #2563eb);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-card a:hover {
    opacity: 0.85;
}

/* Empty State */

.contact-empty-state {
    max-width: 650px;
    margin: 0 auto;
    padding: 35px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: var(--secondary-color, #ffffff);
    text-align: center;
}

.contact-empty-state h3 {
    margin: 0 0 10px;
    color: var(--text-color, #111827);
    font-size: 21px;
}

.contact-empty-state p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

/* Tablet */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

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

/* Mobile */

@media (max-width: 560px) {
    .contact-hero {
        padding: 58px 0;
    }

    .contact-hero p {
        font-size: 14px;
    }

    .contact-main-section {
        padding: 42px 0;
    }

    .contact-heading {
        margin-bottom: 28px;
    }

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

    .contact-card {
        padding: 26px 20px;
    }
}

/* Product Cart Actions */
.product-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
}

.product-cart-actions[hidden] {
    display: none !important;
}

.product-cart-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.view-cart-btn {
    background: #1769e0;
    color: #fff !important;
}

.continue-shopping-btn {
    background: #f1f4f8;
    color: #202938 !important;
    border: 1px solid #dce2ea;
}

.product-cart-actions a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cart-action-message {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.cart-message-success {
    color: #16803d;
    background: #eaf8ef;
    padding: 10px 12px;
    border-radius: 6px;
}

.cart-message-error {
    color: #c62828;
    background: #fff0f0;
    padding: 10px 12px;
    border-radius: 6px;
}

.add-to-cart-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}
