html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    display: none;
}

.section-9 {
    position: relative;
    background-image: url("../media/cloths-page-background.jpg");
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.section-9__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 12, 20, 0.45), rgba(8, 12, 20, 0.2));
    z-index: 1;
}

.section-9__content {
    font-family: "Poppins", "Segoe UI", sans-serif;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.section-9__title {
     color: #f8fafc; 
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.section-9__subtitle {
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #e6e6e6;
    max-width: 640px;
    margin: 0 auto 50px;
}

.selection-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.card {
    position: relative;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: #fff;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.15), rgba(8, 12, 20, 0.8));
}

.card__content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.card h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.card p {    
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.5;
    color: #f2f2f2;
}

.card__btn {
    display: inline-block;
    padding: 10px 18px;
    background: #ffffff;
    color: #111;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.card__btn:hover {
    background: #6366f1;
    color: #ffffff;
    transform: translateY(-2px);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.mens-card {
    background-image: url("../media/men-card.jpg");
}

.womens-card {
    background-image: url("../media/women-card.jpg");
}

.kids-card {
    background-image: url("../media/kids-card.jpg");
}






.section-8 {
    padding: 70px 20px;
    background: #f7f8fb;
}

.section-8__content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: #0f172a;
}

.section-8__title {
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
    margin-bottom: 10px;
     color: #0f172a;
}

.section-8__subtitle {
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 1rem;
    color: #475569;
    margin-bottom: 40px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    justify-items: center;
}

.brand-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.brand-circle:hover {
    background: #6366f1;
    color: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(99,102,241,0.35);
}




/* 3D Floating Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.12;
    animation: shapeFloat 8s ease-in-out infinite;
}

.shape--circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    top: 12%;
    left: 6%;
    animation-duration: 7s;
}

.shape--square {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    bottom: 18%;
    right: 8%;
    animation-delay: 2s;
    animation-duration: 9s;
    transform: rotate(45deg);
}

.shape--ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 5px solid rgba(129, 140, 248, 0.3);
    top: 25%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 11s;
}
.shape--wave1 {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.15));
    top: 60%; left: 10%;
    animation: clWave 7s ease-in-out infinite;
    opacity: 0.2;
}
.shape--wave2 {
    width: 50px; height: 50px; border-radius: 14px;
    border: 3px solid rgba(236,72,153,0.25);
    top: 40%; right: 5%;
    animation: clWave 9s ease-in-out infinite 2s;
    opacity: 0.18;
}
.shape--morph1 {
    width: 55px; height: 55px;
    background: rgba(251,191,36,0.15);
    bottom: 25%; left: 20%;
    animation: clMorph 10s ease-in-out infinite;
    opacity: 0.2;
}
.shape--morph2 {
    width: 40px; height: 40px;
    border: 2px solid rgba(129,140,248,0.3);
    top: 10%; right: 30%;
    animation: clMorph 8s ease-in-out infinite 3s;
    opacity: 0.15;
}
.shape--streak {
    width: 100px; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(165,180,252,0.3), transparent);
    top: 50%; left: 15%;
    animation: clStreak 6s ease-in-out infinite;
    opacity: 0.25;
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-22px) rotate(5deg); }
    50% { transform: translateY(-36px) rotate(-4deg); }
    75% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes clWave {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(15px) translateY(-20px); }
    50% { transform: translateX(-10px) translateY(-35px); }
    75% { transform: translateX(8px) translateY(-15px); }
}
@keyframes clMorph {
    0%, 100% { border-radius: 50%; transform: scale(1); }
    33% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: scale(1.1); }
    66% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: scale(0.95); }
}
@keyframes clStreak {
    0%, 100% { transform: translateX(0) scaleX(1); opacity: 0; }
    50% { transform: translateX(50px) scaleX(1.5); opacity: 0.3; }
}

/* Card Entrance Animation */
.card { animation: clothCardUp .55s ease-out both; }
.card:nth-child(1) { animation-delay: .08s; }
.card:nth-child(2) { animation-delay: .18s; }
.card:nth-child(3) { animation-delay: .28s; }
.brand-circle { animation: clothCardUp .5s ease-out both; }
.brand-circle:nth-child(1) { animation-delay: .05s; }
.brand-circle:nth-child(2) { animation-delay: .12s; }
.brand-circle:nth-child(3) { animation-delay: .19s; }
.brand-circle:nth-child(4) { animation-delay: .26s; }
.brand-circle:nth-child(5) { animation-delay: .33s; }
@keyframes clothCardUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-9--secondary {
    min-height: auto;
    padding-top: 60px;
}

.section-9__title--small {
    font-size: 2.8rem;
}

.cloths-kpi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 0.9rem 0.8rem;
    backdrop-filter: blur(6px);
}

.kpi-card strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
}

.kpi-card span {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-primary-cta {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.catalog-toolbar {
    background: #ffffff;
    padding: 28px 20px 18px;
    border-bottom: 1px solid #e2e8f0;
}

.catalog-toolbar__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0.8rem;
}

.filter-control {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-control label {
    font-size: 0.82rem;
    color: #334155;
    font-weight: 600;
}

.filter-control input,
.filter-control select {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 0.75rem;
    font-size: 0.92rem;
    color: #0f172a;
}

.toolbar-actions {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.btn-filter,
.btn-reset {
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-filter {
    background: #0f172a;
    color: #ffffff;
}

.btn-reset {
    background: #e2e8f0;
    color: #0f172a;
}

.catalog-count {
    margin: 0.8rem 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.toolbar-meta {
    margin-top: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.toolbar-note {
    color: #475569;
    font-size: 0.82rem;
    background: #e2e8f0;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.catalog-section {
    padding: 30px 20px 70px;
    background: #f8fafc;
}

.catalog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
}

.product-card__image-wrap {
    display: block;
    position: relative;
    background: #f8fafc;
}

.product-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-card__content {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-meta-top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.73rem;
}

.product-category {
    color: #2563eb;
    font-weight: 700;
}

.product-rating {
    color: #64748b;
    font-weight: 600;
}

.product-card__content h3 {
    font-size: 1.02rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
}

.product-card__content p {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.4;
    min-height: 2.4rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-current {
    color: #0f172a;
    font-size: 1rem;
}

.price-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.85rem;
}

.product-actions {
    margin-top: 0.3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.btn-view,
.btn-add {
    border: none;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    padding: 0.55rem 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-view {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-add {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
}

.pagination-wrap {
    max-width: 1200px;
    margin: 1.2rem auto 0;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    align-items: center;
}

.pagination-btn {
    text-decoration: none;
    background: #0f172a;
    color: #ffffff;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.pagination-state {
    color: #475569;
    font-size: 0.9rem;
}

.catalog-empty {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2rem 1rem;
}

.catalog-empty h3 {
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.catalog-empty p {
    color: #64748b;
    margin-bottom: 1rem;
}

.social-proof-section,
.recommend-section,
.recent-section {
    background: #ffffff;
    padding: 36px 20px 20px;
}

.recommend-section,
.recent-section {
    background: #f8fafc;
}

.social-proof-inner,
.recommend-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.social-proof-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.social-proof-header h2 {
    color: #0f172a;
    font-size: 1.75rem;
    font-family: "Playfair Display", serif;
}

.social-proof-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

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

.mini-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.mini-product-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.mini-product-card > div {
    padding: 0.7rem;
}

.mini-product-card h3 {
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.mini-product-card p {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.mini-product-card span {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.88rem;
}

.mini-empty {
    color: #64748b;
    font-size: 0.95rem;
}

.compare-row {
    margin-top: 0.15rem;
}

.btn-compare {
    width: 100%;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #3730a3;
    padding: 0.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
}

.btn-compare--active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.compare-bar {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    width: min(920px, calc(100% - 24px));
    background: #0f172a;
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.35);
}

.compare-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.compare-bar__inner p {
    color: #cbd5e1;
    font-size: 0.82rem;
}

.compare-bar__actions {
    display: flex;
    gap: 0.6rem;
}

.compare-modal {
    position: fixed;
    inset: 0;
    z-index: 160;
}

.compare-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
}

.compare-modal__panel {
    position: relative;
    margin: 7vh auto 0;
    width: min(1100px, calc(100% - 20px));
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
    overflow: hidden;
}

.compare-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.compare-modal__head h3 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
}

.compare-modal__head button {
    border: none;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
}

.compare-table-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.compare-table th,
.compare-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.7rem;
    text-align: left;
    vertical-align: top;
}

.compare-table th:first-child,
.compare-table td:first-child {
    width: 160px;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 700;
}

.compare-table img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.45rem;
    border: 1px solid #e2e8f0;
}

.compare-table a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.quick-hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.quick-hub-card {
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 1rem;
    text-align: left;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quick-hub-card strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.quick-hub-card span {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.35;
}

.quick-hub-card:hover {
    transform: translateY(-4px);
    border-color: #60a5fa;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.quick-hub-actions {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.quick-hub-btn {
    text-decoration: none;
    background: #0f172a;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.quick-hub-btn--alt {
    background: #e2e8f0;
    color: #0f172a;
}


@media (max-width: 992px) {
    .selection-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

@media (max-width: 768px) {
    .section-9__title {
        font-size: 2.2rem;
    }

    .card {
        height: 300px;
    }

    .section-9__title--small {
        font-size: 2rem;
    }

    .cloths-kpi {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

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

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

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

    .toolbar-meta {
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .selection-section {
        grid-template-columns: 1fr;
    }

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

    .mini-grid,
    .mini-grid--recommend {
        grid-template-columns: 1fr;
    }

    .quick-hub-grid {
        grid-template-columns: 1fr;
    }
}