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

:root {
    --noir-profond: #1a1a1a;
    --blanc-pur: #ffffff;
    --beige-dore: #c9a961;
    --gris-clair: #f5f5f5;
    --gris-moyen: #cccccc;
    --font-titre: 'Playfair Display', serif;
    --font-texte: 'Poppins', sans-serif;
}

html {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

body {
    font-family: var(--font-texte);
    color: var(--noir-profond);
    background-color: var(--blanc-pur);
    line-height: 1.6;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    box-sizing: border-box;
}

main, .page-enter {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: clip !important;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-brand .logo {
    height: 60px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-brand h1 {
    font-family: var(--font-titre);
    font-size: 1.8rem;
    color: var(--beige-dore);
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-brand h1:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--noir-profond);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--beige-dore);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--beige-dore);
}

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

.cart-icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--beige-dore);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--noir-profond);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero-slider {
    position: relative;
    height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 8s ease-in-out infinite;
}

@keyframes zoomEffect {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-title {
    font-family: var(--font-titre);
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    animation: slideInUp 1s ease-out 0.3s both;
}

.slider-controls {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--beige-dore);
    border-color: var(--beige-dore);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

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

.dot.active {
    background: var(--beige-dore);
    transform: scale(1.3);
}

.btn {
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-texte);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--beige-dore);
    color: white;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.btn-primary:hover {
    background: #b8954d;
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--noir-profond);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.welcome-section {
    padding: 8rem 0;
    text-align: center;
    background: var(--gris-clair);
}

.section-title {
    font-family: var(--font-titre);
    font-size: 3rem;
    color: var(--noir-profond);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--beige-dore);
    margin-bottom: 2rem;
    font-weight: 300;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.info-cards {
    padding: 5rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: var(--font-titre);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--noir-profond);
}

.info-card p {
    color: #666;
}

.categories-section {
    padding: 6rem 0;
    background: var(--gris-clair);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    position: relative;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.15);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 3rem 2rem;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h3 {
    font-family: var(--font-titre);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.category-overlay p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.featured-products {
    padding: 6rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.products-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.3);
}

.product-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

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

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-info h3 {
    font-family: var(--font-titre);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--noir-profond);
}

.product-info p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.page-header {
    padding: 180px 0 120px;
    text-align: center;
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.8)),
                url('../uploads/default_slider/lunettes.jpg') no-repeat center center/cover;
    color: var(--blanc-pur);
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-family: var(--font-titre);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-section {
    padding: 4rem 0 6rem;
}

.footer {
    background: var(--noir-profond);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-titre);
    color: var(--beige-dore);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--beige-dore);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    padding: 0.5rem 1rem;
    background: rgba(201, 169, 97, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--beige-dore);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

.order-section {
    padding: 4rem 0 6rem;
    background: var(--gris-clair);
}

.order-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.order-form {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--noir-profond);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    border: 2px solid var(--gris-moyen);
    border-radius: 8px;
    font-family: var(--font-texte);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--beige-dore);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-group small {
    margin-top: 0.3rem;
    color: #666;
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-full {
    width: 100%;
}

.confirmation-message {
    text-align: center;
    padding: 3rem;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: var(--beige-dore);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.confirmation-message h3 {
    font-family: var(--font-titre);
    font-size: 2rem;
    color: var(--noir-profond);
    margin-bottom: 1rem;
}

.login-section {
    padding: 6rem 0;
    background: var(--gris-clair);
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    background: var(--gris-clair);
}

.auth-tab {
    flex: 1;
    padding: 1.2rem;
    background: transparent;
    border: none;
    font-family: var(--font-texte);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.auth-tab.active {
    background: white;
    color: var(--beige-dore);
}

.auth-form {
    display: none;
    padding: 3rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-family: var(--font-titre);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--noir-profond);
}

.auth-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.forgot-password {
    color: var(--beige-dore);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--gris-moyen);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #999;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem;
    border: 2px solid var(--gris-moyen);
    border-radius: 8px;
    background: white;
    font-family: var(--font-texte);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    border-color: var(--beige-dore);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.add-to-cart {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(201, 169, 97, 0.7);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

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

    .products-grid,
    .products-grid-full {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 568px) {
    .slide-title {
        font-size: 1.8rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .products-grid,
    .products-grid-full {
        grid-template-columns: 1fr;
    }

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

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

    .order-form-wrapper {
        padding: 2rem 1.5rem;
    }

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

    .auth-form {
        padding: 2rem 1.5rem;
    }
}

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--blanc-pur);
    max-width: 1200px;
    max-height: 90vh;
    width: 95%;
    margin: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(50px);
    transition: transform 0.4s ease;
    animation: modalSlideIn 0.5s ease forwards;
}

.product-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: var(--beige-dore);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.modal-close:hover {
    background: var(--noir-profond);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.5);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-image-section {
    background: var(--gris-clair);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.modal-product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

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

.modal-info-section {
    padding: 3rem;
    overflow-y: auto;
}

.modal-product-name {
    font-family: var(--font-titre);
    font-size: 2.5rem;
    color: var(--noir-profond);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.modal-features {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.modal-features h3,
.modal-specs h3 {
    font-family: var(--font-titre);
    font-size: 1.5rem;
    color: var(--beige-dore);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    padding: 0.7rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--noir-profond);
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.modal-features li:hover {
    color: var(--beige-dore);
    transform: translateX(5px);
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--beige-dore);
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-specs {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    background: var(--gris-clair);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: var(--beige-dore);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.spec-item:hover .spec-label {
    color: white;
}

.spec-item:hover .spec-value {
    color: white;
}

.spec-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.spec-value {
    font-size: 1.1rem;
    color: var(--noir-profond);
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.modal-actions .btn {
    padding: 1.2rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-text {
    font-family: var(--font-texte);
}

.btn-gold {
    background: linear-gradient(135deg, #c9a961, #d4b976);
    color: white;
    border: 2px solid #c9a961;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d4b976, #e0c689);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.4);
}

.btn-gold:hover .btn-icon {
    transform: scale(1.2) rotate(15deg);
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--noir-profond), #2a2a2a);
    color: white;
    border: 2px solid var(--noir-profond);
}

.modal-actions .btn-primary:hover {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 26, 26, 0.4);
}

.modal-actions .btn-primary:hover .btn-icon {
    transform: scale(1.2) rotate(-15deg);
}

.modal-back-link {
    text-align: center;
    animation: fadeInUp 0.6s ease 0.7s both;
}

/* Marques Partenaires Section */
.brands-section {
    padding: 5rem 0;
    background-color: var(--gris-clair);
}

.brands-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--noir-profond);
    position: relative;
    padding-bottom: 1rem;
}

.brands-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--beige-dore);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.brand-card {
    background: var(--blanc-pur);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--beige-dore);
}

.brand-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.brand-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%) opacity(0.8);
}

.brand-card:hover .brand-image {
    transform: scale(1.05);
    filter: grayscale(0%) opacity(1);
}

/* Main Categories Section */
.main-categories {
    padding: 5rem 0;
    background-color: var(--blanc-pur);
}

.main-categories .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--noir-profond);
    position: relative;
    padding-bottom: 1rem;
}

.main-categories .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--beige-dore);
}

.main-categories .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.main-categories .category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px;
}

.main-categories .category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.main-categories .category-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.main-categories .category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    width: 100%;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
}

.main-categories .category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.main-categories .category-overlay h3 {
    font-family: var(--font-titre);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.main-categories .category-overlay p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.main-categories .emoji {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .main-categories .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .main-categories .category-card {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .main-categories {
        padding: 3rem 0;
    }

    .main-categories .categories-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .main-categories .category-card {
        height: 300px;
    }

    .main-categories .category-overlay h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 3rem 0;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .brand-card {
        padding: 1.5rem 1rem;
    }

    .brand-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-name {
        font-size: 1.1rem;
    }
}

.modal-back-link a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.modal-back-link a:hover {
    color: var(--beige-dore);
    background: var(--gris-clair);
    transform: translateX(-5px);
}

.modal-request-btn {
    position: relative;
    overflow: hidden;
}

.modal-request-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.modal-request-btn:hover::before {
    width: 300px;
    height: 300px;
}

@media (max-width: 968px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image-section {
        min-height: 350px;
        padding: 2rem;
    }

    .modal-info-section {
        padding: 2rem;
    }

    .modal-product-name {
        font-size: 2rem;
    }

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

    .modal-actions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-actions .btn {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 568px) {
    .modal-content {
        margin: 1rem;
        border-radius: 15px;
        max-height: 95vh;
    }

    .modal-image-section {
        min-height: 250px;
        padding: 1.5rem;
    }

    .modal-info-section {
        padding: 1.5rem;
    }

    .modal-product-name {
        font-size: 1.7rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Special Offers Section */
.special-offers {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.promo-banner {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,50 L70,50 M50,30 L50,70" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/></svg>');
    opacity: 0.3;
}

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

.promo-title {
    font-family: var(--font-titre);
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.promo-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    min-width: 90px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--beige-dore);
    font-family: 'Poppins', sans-serif;
}

.countdown-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--beige-dore);
    font-weight: bold;
    margin: 0 0.5rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .promo-title {
        font-size: 2rem;
    }

    .countdown-item {
        padding: 0.8rem 1rem;
        min-width: 70px;
    }

    .countdown-item span:first-child {
        font-size: 2rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        padding: 2rem 1rem;
    }

    .promo-title {
        font-size: 1.8rem;
    }

    .countdown-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.5rem;
        min-width: 60px;
    }

    .countdown-item span:first-child {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .countdown-separator {
        display: none;
    }
}

/* Live EzuSHOP storefront markup and semantic theme tokens. */
:root { --massi-bg:#fffdf9; --massi-surface:#f6f4ef; --massi-ink:#1e211d; --massi-muted:#6d7068; --massi-line:#dedbd3; --massi-accent:#626b55; }
html.dark { --massi-bg:#171914; --massi-surface:#22251f; --massi-ink:#f3f0e8; --massi-muted:#b8b9ad; --massi-line:#3b4036; --massi-accent:#b6c69d; }
body { background:var(--massi-bg); color:var(--massi-ink); font-family:'DM Sans',sans-serif; }
.massi-header { position:sticky; top:0; z-index:1000; background:color-mix(in srgb,var(--massi-bg) 94%,transparent); border-bottom:1px solid var(--massi-line); backdrop-filter:blur(14px); }
.massi-nav { max-width:1400px; margin:auto; min-height:72px; padding:0 2rem; display:flex; align-items:center; gap:2rem; }
.massi-wordmark { color:var(--massi-ink); text-decoration:none; font:600 1.35rem/1 'DM Sans',sans-serif; letter-spacing:.12em; }
.massi-wordmark span { color:var(--massi-accent); font-size:.55em; vertical-align:top; margin-left:.2rem; }
.massi-nav__links { display:flex; gap:1.2rem; flex:1; }
.massi-nav__links a,.massi-nav__account,.massi-locale-switcher a { color:var(--massi-muted); text-decoration:none; font-size:.82rem; }
.massi-nav__links a:hover,.massi-nav__links a.is-active,.massi-locale-switcher a.is-active { color:var(--massi-ink); }
.massi-nav__actions { display:flex; align-items:center; gap:.8rem; }
.massi-icon-button,.massi-menu-button { color:var(--massi-ink); background:transparent; border:0; cursor:pointer; }
.massi-search-panel { display:none; border-top:1px solid var(--massi-line); padding:1rem max(2rem,calc((100% - 1400px)/2)); background:var(--massi-surface); }
.massi-search-panel.is-open { display:block; }
.massi-search-panel form { display:flex; gap:.7rem; align-items:end; }
.massi-search-panel input { flex:1; min-height:42px; color:var(--massi-ink); background:var(--massi-bg); border:1px solid var(--massi-line); padding:.6rem .8rem; }
.massi-search-panel button { min-height:42px; padding:.6rem 1rem; color:var(--massi-bg); background:var(--massi-ink); border:0; cursor:pointer; }
.massi-mobile-menu { display:none; }
@media (max-width:992px) { .massi-nav { padding:0 1rem; } .massi-nav__links,.massi-nav__account { display:none !important; } .massi-menu-button { display:inline-flex !important; } }

/* EzuSHOP homepage layout: these selectors match resources/views/pages/home.blade.php. */
:root { --massi-paper:#f7f5ef; --massi-white:#fffdf9; --massi-ink:#1e211d; --massi-muted:#6d7068; --massi-line:#dedbd3; --massi-olive:#626b55; --massi-sand:#d7d2c8; --massi-serif:'Playfair Display',Georgia,serif; }
html.dark { --massi-paper:#171914; --massi-white:#22251f; --massi-ink:#f3f0e8; --massi-muted:#b8b9ad; --massi-line:#3b4036; --massi-olive:#b6c69d; --massi-sand:#8d927e; }
body { min-width:320px; background:var(--massi-white); color:var(--massi-ink); }
.massi-announcement { display:flex; align-items:center; justify-content:center; gap:.55rem; min-height:30px; padding:.4rem 1rem; background:var(--massi-ink); color:var(--massi-white); font-size:.64rem; letter-spacing:.08em; text-align:center; }
.massi-announcement__mark { width:5px; height:5px; border-radius:50%; background:var(--massi-sand); }
.massi-header { position:sticky; top:0; z-index:1000; background:color-mix(in srgb,var(--massi-white) 94%,transparent); border-bottom:1px solid var(--massi-line); backdrop-filter:blur(14px); }
.massi-nav { max-width:1400px; margin:auto; min-height:72px; padding:0 2rem; display:flex; align-items:center; gap:2rem; }
.massi-wordmark { color:var(--massi-ink); text-decoration:none; font:600 1.35rem/1 'DM Sans',sans-serif; letter-spacing:.12em; }
.massi-wordmark span { color:var(--massi-olive); font-size:.55em; vertical-align:top; margin-left:.2rem; }
.massi-nav__links { display:flex; gap:1.2rem; flex:1; }
.massi-nav__links a,.massi-nav__account,.massi-locale-switcher a { color:var(--massi-muted); text-decoration:none; font-size:.72rem; }
.massi-nav__links a:hover,.massi-nav__links a.is-active,.massi-locale-switcher a.is-active { color:var(--massi-ink); }
.massi-nav__actions { display:flex; align-items:center; gap:.8rem; }
.massi-icon-button,.massi-menu-button { color:var(--massi-ink); background:transparent; border:0; cursor:pointer; }
.massi-bag { display:inline-flex; align-items:center; gap:.35rem; color:var(--massi-ink); text-decoration:none; font-size:.72rem; }
.massi-bag__icon { display:inline-flex; }
.massi-bag .cart-count { position:static; display:inline-flex; width:18px; height:18px; background:var(--massi-ink); color:var(--massi-white); border-radius:50%; align-items:center; justify-content:center; font-size:.62rem; }
.massi-search-panel { display:none; border-top:1px solid var(--massi-line); padding:1rem max(2rem,calc((100% - 1400px)/2)); background:var(--massi-paper); }
.massi-search-panel.is-open { display:block; }
.massi-search-panel form { display:flex; gap:.7rem; align-items:end; }
.massi-search-panel label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.massi-search-panel input { flex:1; min-height:42px; color:var(--massi-ink); background:var(--massi-white); border:1px solid var(--massi-line); padding:.6rem .8rem; }
.massi-search-panel button { min-height:42px; padding:.6rem 1rem; color:var(--massi-white); background:var(--massi-ink); border:0; cursor:pointer; }
.massi-mobile-menu { display:none; }
.massi-page { background:var(--massi-white); }
.massi-hero { position:relative; min-height:min(760px,calc(100vh - 102px)); display:flex; align-items:flex-end; overflow:hidden; background:var(--massi-ink); color:var(--massi-white); isolation:isolate; }
.massi-hero::after { position:absolute; z-index:1; inset:0; background:linear-gradient(90deg,rgba(12,14,12,.38),rgba(12,14,12,.06) 70%),linear-gradient(0deg,rgba(12,14,12,.24),transparent 55%); content:''; pointer-events:none; }
.massi-hero__image { position:absolute; z-index:0; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; filter:brightness(.96) saturate(.92); }
.massi-hero__content { position:relative; z-index:2; width:min(1400px,100%); margin:0 auto; padding:clamp(4rem,10vw,9rem) 2rem 4rem; text-shadow:0 1px 18px rgba(0,0,0,.18); }
.massi-eyebrow { margin:0 0 1rem; color:var(--massi-olive); font-size:.68rem; font-weight:700; letter-spacing:.14em; line-height:1.4; text-transform:uppercase; }
.massi-hero .massi-eyebrow { color:var(--massi-sand); }
.massi-hero h1 { max-width:720px; margin:0 0 1.2rem; font-family:var(--massi-serif); font-size:clamp(3rem,7vw,7rem); font-weight:500; letter-spacing:-.055em; line-height:.92; }
.massi-hero__copy { max-width:430px; margin:0 0 2rem; color:rgba(255,253,249,.82); font-size:1rem; line-height:1.7; }
.massi-hero__meta { position:absolute; right:2rem; bottom:4rem; display:flex; align-items:center; gap:.65rem; color:var(--massi-sand); font-size:.7rem; letter-spacing:.12em; }
.massi-rule { width:70px; height:1px; background:var(--massi-sand); }
.massi-button { display:inline-flex; align-items:center; justify-content:center; gap:.7rem; min-height:44px; padding:.75rem 1.15rem; border:1px solid transparent; text-decoration:none; font-size:.72rem; font-weight:700; letter-spacing:.06em; transition:transform .2s ease,background .2s ease; }
.massi-button:hover { transform:translateY(-2px); }
.massi-button--light { background:var(--massi-white); color:var(--massi-ink); }
.massi-button--dark { background:var(--massi-ink); color:var(--massi-white); }
.massi-section { width:min(1400px,100%); margin:0 auto; padding:clamp(4rem,8vw,8rem) 2rem; }
.massi-section--intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(2rem,8vw,9rem); align-items:end; }
.massi-section h2 { max-width:650px; margin:0; color:var(--massi-ink); font-family:var(--massi-serif); font-size:clamp(2.25rem,4.5vw,5rem); font-weight:500; letter-spacing:-.05em; line-height:.98; }
.massi-lede { max-width:480px; margin:0; color:var(--massi-muted); font-size:1rem; line-height:1.8; }
.massi-section__header { display:flex; align-items:end; justify-content:space-between; gap:2rem; margin-bottom:2.5rem; }
.massi-text-link { display:inline-flex; align-items:center; gap:.5rem; color:var(--massi-ink); font-size:.72rem; font-weight:700; text-decoration:none; white-space:nowrap; }
.massi-collection-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.massi-collection-card { position:relative; min-height:320px; padding:1.5rem; display:flex; flex-direction:column; justify-content:space-between; color:var(--massi-white); text-decoration:none; overflow:hidden; }
.massi-collection-card--dark { background:#252923; }.massi-collection-card--olive { background:#68735b; }.massi-collection-card--sand { background:#c9c1b1; color:var(--massi-ink); }
.massi-collection-card__number { font-size:.7rem; letter-spacing:.12em; opacity:.75; }.massi-collection-card p { margin:0 0 .4rem; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; opacity:.75; }.massi-collection-card h3 { margin:0; font-family:var(--massi-serif); font-size:2.25rem; font-weight:500; }.massi-collection-card__arrow { align-self:flex-end; font-size:1.8rem; }.massi-collection-card:hover .massi-collection-card__arrow { transform:translate(3px,-3px); }
.massi-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }.massi-product-card { min-width:0; }.massi-product-card a { color:var(--massi-ink); text-decoration:none; }.massi-product-card__image { position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--massi-paper); }.massi-product-card__image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }.massi-product-card:hover img { transform:scale(1.035); }.massi-badge { position:absolute; top:.8rem; left:.8rem; padding:.45rem .6rem; background:var(--massi-white); color:var(--massi-ink); font-size:.62rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }.massi-badge--dark { background:var(--massi-ink); color:var(--massi-white); }.massi-product-card__info { display:flex; justify-content:space-between; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--massi-line); }.massi-product-card h3 { margin:0 0 .35rem; font-size:.9rem; font-weight:600; }.massi-product-card p { margin:0; color:var(--massi-muted); font-size:.75rem; }.massi-product-card strong { white-space:nowrap; font-size:.82rem; }
.massi-banner { width:min(1400px,calc(100% - 4rem)); margin:0 auto 1rem; padding:clamp(2.5rem,6vw,5rem); display:grid; grid-template-columns:1fr 1fr auto; gap:2rem; align-items:end; background:var(--massi-paper); }.massi-banner h2 { margin:0; font-family:var(--massi-serif); font-size:clamp(2rem,4vw,4rem); font-weight:500; letter-spacing:-.05em; line-height:1; }.massi-banner > p { max-width:330px; margin:0; color:var(--massi-muted); line-height:1.7; }.massi-service-grid { width:min(1400px,100%); margin:0 auto; padding:clamp(3rem,6vw,6rem) 2rem; display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; border-bottom:1px solid var(--massi-line); }.massi-service-grid div { border-top:1px solid var(--massi-line); padding-top:1rem; }.massi-service-grid span { color:var(--massi-olive); font-size:.7rem; }.massi-service-grid h3 { margin:.7rem 0; font-size:1rem; }.massi-service-grid p { margin:0; color:var(--massi-muted); font-size:.85rem; line-height:1.7; }.massi-service-grid a { color:var(--massi-ink); }
.massi-footer { padding:clamp(3rem,7vw,7rem) 2rem 1.5rem; background:var(--massi-ink); color:var(--massi-white); }.massi-footer__top { width:min(1400px,100%); margin:auto; display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:3rem; }.massi-wordmark--footer { color:var(--massi-white); }.massi-footer__statement { max-width:220px; color:rgba(255,253,249,.6); font-size:.85rem; line-height:1.6; }.massi-footer__links { display:grid; grid-template-columns:1fr 1fr; gap:2rem; }.massi-footer__links div { display:flex; flex-direction:column; gap:.65rem; }.massi-footer__label { margin:0 0 .35rem; color:var(--massi-sand); font-size:.65rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }.massi-footer a { color:rgba(255,253,249,.72); text-decoration:none; font-size:.78rem; }.massi-footer a:hover { color:var(--massi-white); }.massi-footer__signup > p:not(.massi-footer__label) { color:rgba(255,253,249,.6); font-size:.8rem; line-height:1.6; }.massi-footer__contact-link { display:inline-flex; gap:.5rem; margin-top:1rem; color:var(--massi-white)!important; }.massi-footer__bottom { width:min(1400px,100%); margin:4rem auto 0; padding-top:1rem; display:flex; justify-content:space-between; gap:1rem; border-top:1px solid rgba(255,253,249,.2); color:rgba(255,253,249,.5); font-size:.65rem; }
@media (max-width:992px) { .massi-nav { padding:0 1rem; }.massi-nav__links,.massi-nav__account,.massi-locale-switcher { display:none !important; }.massi-menu-button { display:inline-flex !important; }.massi-hero { min-height:620px; }.massi-hero__content { padding:4rem 1.25rem 3rem; }.massi-hero__meta { right:1.25rem; bottom:2rem; }.massi-section { padding:4rem 1.25rem; }.massi-section--intro { grid-template-columns:1fr; gap:2rem; }.massi-section__header { align-items:start; flex-direction:column; gap:1rem; }.massi-collection-grid,.massi-product-grid { grid-template-columns:1fr; }.massi-collection-card { min-height:240px; }.massi-banner { width:calc(100% - 2.5rem); grid-template-columns:1fr; gap:1.5rem; }.massi-service-grid { grid-template-columns:1fr; padding:3rem 1.25rem; }.massi-footer { padding:4rem 1.25rem 1.5rem; }.massi-footer__top { grid-template-columns:1fr; gap:2.5rem; }.massi-footer__bottom { align-items:flex-start; flex-direction:column; margin-top:3rem; } }

/* Catalog and product-grid components. */
.massi-catalog__intro { width:min(1400px,100%); margin:0 auto; padding:clamp(4rem,8vw,7rem) 2rem 3rem; }.massi-catalog__intro h1 { max-width:760px; margin:0 0 1rem; color:var(--massi-ink); font-family:var(--massi-serif); font-size:clamp(3rem,7vw,7rem); font-weight:500; letter-spacing:-.06em; line-height:.9; }.massi-catalog__intro > p:last-child { max-width:430px; margin:0; color:var(--massi-muted); line-height:1.7; }
.massi-catalog__toolbar { width:min(1400px,100%); margin:0 auto; padding:0 2rem 1.5rem; border-bottom:1px solid var(--massi-line); }.massi-filter-form { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; }.massi-filter-form label { position:relative; display:flex; min-width:150px; flex:1; }.massi-filter-form input,.massi-filter-form select { width:100%; min-height:44px; padding:.65rem .8rem; border:1px solid var(--massi-line); border-radius:0; background:var(--massi-paper); color:var(--massi-ink); font:inherit; font-size:.78rem; }.massi-filter-form select { appearance:auto; }.massi-filter-form .massi-search { min-width:260px; }.massi-filter-form .massi-search svg { position:absolute; top:50%; right:.75rem; color:var(--massi-muted); transform:translateY(-50%); pointer-events:none; }.massi-filter-form .massi-search input { padding-right:2.5rem; }.massi-filter-form .massi-button { flex:none; }.massi-filter-form .massi-text-link { margin-left:.4rem; }
.massi-catalog__summary { width:min(1400px,100%); margin:0 auto; padding:1.5rem 2rem; display:flex; justify-content:space-between; gap:1rem; color:var(--massi-muted); font-size:.72rem; }.massi-catalog__summary p { margin:0; }.massi-catalog__summary strong { color:var(--massi-ink); }.massi-product-grid--catalog { width:min(1400px,100%); margin:0 auto; padding:0 2rem 5rem; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2.5rem 1rem; }.massi-product-card__quickview { position:absolute; right:.8rem; bottom:.8rem; z-index:2; display:inline-flex; align-items:center; gap:.3rem; min-height:32px; padding:.45rem .6rem; border:0; background:var(--massi-white); color:var(--massi-ink); box-shadow:0 .3rem 1rem rgba(30,33,29,.12); cursor:pointer; font-size:.63rem; font-weight:700; opacity:0; transform:translateY(5px); transition:opacity .2s ease,transform .2s ease; }.massi-product-card__image:hover .massi-product-card__quickview,.massi-product-card__quickview:focus { opacity:1; transform:translateY(0); }.massi-product-card__soldout { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(30,33,29,.45); color:var(--massi-white); font-size:.75rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }.massi-product-card__placeholder { width:100%; height:100%; display:grid; place-items:center; background:var(--massi-paper); color:var(--massi-muted); font-family:var(--massi-serif); font-size:2rem; }.massi-product-card__price { display:flex; flex-direction:column; align-items:flex-end; gap:.2rem; white-space:nowrap; }.massi-product-card__old-price { color:var(--massi-muted); font-size:.7rem; text-decoration:line-through; }.massi-add-button { width:100%; min-height:40px; margin-top:.7rem; display:inline-flex; align-items:center; justify-content:center; gap:.45rem; border:1px solid var(--massi-line); background:transparent; color:var(--massi-ink); cursor:pointer; font:700 .68rem 'DM Sans',sans-serif; letter-spacing:.07em; text-transform:uppercase; transition:background .2s ease,color .2s ease; }.massi-add-button:hover:not(:disabled) { background:var(--massi-ink); color:var(--massi-white); }.massi-add-button:disabled { cursor:not-allowed; opacity:.45; }.massi-empty-state { grid-column:1/-1; padding:5rem 2rem; text-align:center; }.massi-empty-state h2 { margin-bottom:1rem; }.massi-empty-state > p:not(.massi-eyebrow) { margin:0 auto 1.5rem; color:var(--massi-muted); }.massi-pagination { width:min(1400px,100%); margin:0 auto; padding:0 2rem 5rem; color:var(--massi-ink); }.massi-pagination nav { display:flex; justify-content:center; }
@media (max-width:800px) { .massi-catalog__intro,.massi-catalog__toolbar,.massi-product-grid--catalog,.massi-pagination { padding-left:1.25rem; padding-right:1.25rem; }.massi-catalog__summary { padding-left:1.25rem; padding-right:1.25rem; flex-direction:column; }.massi-filter-form { align-items:stretch; }.massi-filter-form label,.massi-filter-form .massi-search { min-width:100%; }.massi-filter-form .massi-button { width:100%; }.massi-filter-form .massi-text-link { justify-content:center; margin:0; }.massi-product-grid--catalog { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem .7rem; }.massi-product-card__quickview { opacity:1; transform:none; }.massi-product-card__info { gap:.4rem; }.massi-product-card h3 { font-size:.78rem; }.massi-product-card p,.massi-product-card strong { font-size:.68rem; } }
@media (max-width:480px) { .massi-product-grid--catalog { grid-template-columns:1fr; }.massi-product-card h3 { font-size:.9rem; } }

/* The live modal uses #product-modal-overlay; keep its backdrop out of the page until opened. */
#product-modal-overlay { position:fixed; inset:0; z-index:10000; display:none; align-items:center; justify-content:center; padding:1rem; background:rgba(26,26,26,.72); opacity:0; pointer-events:none; transition:opacity .25s ease; }
#product-modal-overlay.active { display:flex; opacity:1; pointer-events:auto; }
#product-modal-overlay .modal-content { position:relative; width:min(960px,100%); max-height:90vh; margin:0; overflow:auto; background:var(--massi-white); color:var(--massi-ink); }

/* Authentication pages. */
.massi-auth-shell { min-height:calc(100vh - 102px); display:grid; place-items:center; padding:clamp(3rem,8vw,7rem) 1.25rem; background:var(--massi-white); }
.massi-auth-shell > .w-full { width:100%; max-width:520px; margin:0 auto; }
.massi-auth-card { width:100%; padding:clamp(2rem,5vw,3.5rem); background:var(--massi-paper); border:1px solid var(--massi-line); box-shadow:0 18px 60px rgba(30,33,29,.08); }
.massi-auth-card .text-center { margin-bottom:2.5rem; text-align:center; }
.massi-auth-card .text-center > a { display:inline-block; color:var(--massi-ink); text-decoration:none; }
.massi-auth-card .text-center > a > span { display:inline-flex; align-items:baseline; justify-content:center; color:var(--massi-ink); font:600 1.5rem/1 'DM Sans',sans-serif; letter-spacing:.24em; }
.massi-auth-card .text-center > a sup { margin-left:.2rem; color:var(--massi-olive); font-size:.45em; letter-spacing:0; }
.massi-auth-card h1 { margin:1.25rem 0 .55rem; color:var(--massi-ink); font-family:var(--massi-serif); font-size:clamp(2rem,4vw,2.8rem); font-weight:500; letter-spacing:-.04em; line-height:1; }
.massi-auth-subtitle { margin:0; color:var(--massi-muted); font-size:.86rem; line-height:1.6; }
.massi-auth-card form { display:grid; gap:1.15rem; }
.massi-auth-card form > div { min-width:0; }
.massi-auth-card form label { color:var(--massi-ink); font-size:.75rem; font-weight:600; }
.massi-auth-input { display:block; width:100%; min-height:48px; margin-top:.5rem; padding:.75rem .85rem; border:1px solid var(--massi-line); border-radius:0; outline:0; background:var(--massi-white); color:var(--massi-ink); font:inherit; font-size:.86rem; box-sizing:border-box; transition:border-color .2s ease,box-shadow .2s ease; }
.massi-auth-input:focus { border-color:var(--massi-olive); box-shadow:0 0 0 3px color-mix(in srgb,var(--massi-olive) 18%,transparent); }
.massi-auth-checkbox { width:16px; height:16px; margin:0; accent-color:var(--massi-olive); }
.massi-auth-card .flex.items-center.justify-between { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.massi-auth-card .inline-flex.items-center { display:inline-flex; align-items:center; gap:.5rem; cursor:pointer; }
.massi-auth-link { color:var(--massi-olive); text-decoration:none; font-weight:600; }.massi-auth-link:hover { text-decoration:underline; }
.massi-auth-card .massi-button.w-full { width:100%; min-height:48px; border:0; cursor:pointer; }.massi-auth-card form p.text-center { margin:0; color:var(--massi-muted); font-size:.78rem; text-align:center; }
.massi-auth-card .text-red-500 { display:block; margin-top:.35rem; color:#b42318; font-size:.75rem; }.massi-auth-card .mt-1 { margin-top:.35rem; }
html.dark .massi-auth-card { box-shadow:0 18px 60px rgba(0,0,0,.24); }
@media (max-width:520px) { .massi-auth-shell { padding:2.5rem 1rem; }.massi-auth-card { padding:2rem 1.25rem; }.massi-auth-card .flex.items-center.justify-between { align-items:flex-start; flex-direction:column; }.massi-auth-card .flex.items-center.justify-between > a { align-self:flex-end; } }

/* Storefront dark surfaces: keep foreground and background tokens separate. */
:root { --massi-hero-bg:#1e211d; --massi-hero-foreground:#fffdf9; --massi-footer-bg:#1e211d; --massi-footer-foreground:#fffdf9; }
html.dark { --massi-hero-bg:#0d1512; --massi-hero-foreground:#f3f0e8; --massi-footer-bg:#0d1512; --massi-footer-foreground:#f3f0e8; }
.massi-hero { background:var(--massi-hero-bg); color:var(--massi-hero-foreground); }
.massi-hero h1, .massi-hero__content { color:var(--massi-hero-foreground); }
.massi-section--intro { background:var(--massi-white); color:var(--massi-ink); }
.massi-footer { background:var(--massi-footer-bg); color:var(--massi-footer-foreground); }
.massi-wordmark--footer { color:var(--massi-footer-foreground); }

/* Product preview modal: keep the media, details, and variant controls readable. */
#product-modal-overlay .modal-content { position:relative; width:min(960px,calc(100vw - 2rem)); max-height:90vh; overflow:auto; border:1px solid var(--massi-line); border-radius:1rem; background:var(--massi-white); color:var(--massi-ink); box-shadow:0 24px 80px rgba(20,24,20,.28); }
#product-modal-overlay #modal-content:not(.hidden) { display:block; }
#product-modal-overlay #modal-content > .grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; }
.massi-modal-close { position:absolute; top:.75rem; right:.75rem; z-index:3; display:grid; place-items:center; width:2.25rem; height:2.25rem; border:1px solid var(--massi-line); border-radius:999px; background:color-mix(in srgb,var(--massi-white) 90%,transparent); color:var(--massi-ink); cursor:pointer; }
.massi-modal-close:hover { background:var(--massi-ink); color:var(--massi-white); }
.massi-modal-media { position:relative; min-width:0; background:var(--massi-paper); }
.massi-modal-media > .aspect-square { aspect-ratio:1/1; width:100%; overflow:hidden; }
.massi-modal-media > .aspect-square img { display:block; width:100%; height:100%; object-fit:cover; transition:opacity .2s ease; }
.massi-modal-details { display:flex; min-width:0; flex-direction:column; gap:.85rem; padding:clamp(1.5rem,4vw,3rem); }
.massi-modal-name { margin:0; padding-right:2rem; color:var(--massi-ink); font-family:var(--massi-serif); font-size:clamp(1.65rem,3vw,2.45rem); font-weight:500; letter-spacing:-.04em; line-height:1.05; }
.massi-modal-brand { margin:0; color:var(--massi-olive); font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.massi-modal-description { color:var(--massi-muted); font-size:.86rem; line-height:1.65; }
.massi-modal-type-specific { display:grid; gap:.3rem; padding:1rem 0; border-top:1px solid var(--massi-line); border-bottom:1px solid var(--massi-line); color:var(--massi-muted); font-size:.78rem; line-height:1.5; }
.massi-modal-type-specific .font-semibold { color:var(--massi-ink); }
.massi-field-label { margin:0 0 .55rem; color:var(--massi-ink); font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
#modal-variant-picker:not(.hidden) { display:grid; gap:1rem; margin:0 0 .5rem; }
#modal-variant-colors, #modal-variant-sizes { display:flex; flex-wrap:wrap; gap:.5rem; }
.massi-option-chip { position:relative; display:inline-flex; min-height:2.5rem; min-width:3rem; align-items:center; justify-content:center; gap:.45rem; padding:.55rem .8rem; border:1px solid var(--massi-line); border-radius:.35rem; background:var(--massi-white); color:var(--massi-ink); font:inherit; font-size:.78rem; font-weight:600; line-height:1; cursor:pointer; transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease; }
.massi-option-chip:hover:not(:disabled) { border-color:var(--massi-olive); transform:translateY(-1px); }
.massi-option-chip.is-selected { border-color:var(--massi-ink); background:var(--massi-ink); color:var(--massi-white); }
.massi-option-chip[style*="--option-color"] { padding-left:2rem; }
.massi-option-chip[style*="--option-color"]::before { position:absolute; left:.65rem; width:.8rem; height:.8rem; border:1px solid color-mix(in srgb,var(--massi-ink) 24%,transparent); border-radius:999px; background:var(--option-color); content:""; }
.massi-option-chip.is-disabled, .massi-option-chip:disabled { cursor:not-allowed; opacity:.42; text-decoration:line-through; }
.massi-feedback--error { margin:0; color:#b42318; font-size:.78rem; }
.massi-stock-badge { font-weight:700; }.massi-stock-badge--in { background:#e6f3ee; color:#236b58; }.massi-stock-badge--low { background:#fff2d6; color:#946200; }.massi-stock-badge--out { background:#fbe5e5; color:#b42318; }
.massi-modal-price { color:var(--massi-ink); font-size:1.25rem; font-weight:700; }.massi-modal-original-price { color:var(--massi-muted); font-size:.85rem; text-decoration:line-through; }.massi-modal-price--discount { color:var(--massi-olive); }
.massi-modal-status { padding:.55rem .85rem; border-radius:999px; background:rgba(15,21,18,.78); color:#fffdf9; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.massi-modal-panel { padding:.8rem 1rem; border-top:1px solid var(--massi-line); }.massi-gallery-thumb { width:4rem; height:4rem; flex:none; overflow:hidden; border:1px solid var(--massi-line); }.massi-gallery-thumb.is-active { border:2px solid var(--massi-ink); }
.color-swatch-btn { position:relative; width:2.25rem; height:2.25rem; border:2px solid var(--massi-line); border-radius:999px; cursor:pointer; }.color-swatch-btn.active,.color-swatch-btn.is-active { outline:2px solid var(--massi-ink); outline-offset:2px; }.massi-color-main { display:inline-flex; align-items:center; justify-content:center; width:auto; min-width:4.5rem; padding:0 .7rem; border-radius:.3rem; background:var(--massi-ink); color:var(--massi-white); font-size:.65rem; }
#modal-add-to-cart { min-height:3rem; width:100%; }
@media (max-width:700px) { #product-modal-overlay { padding:.5rem; align-items:flex-start; overflow-y:auto; }.modal-content { margin:1rem 0; }.modal-content #modal-content > .grid { grid-template-columns:1fr; }.massi-modal-media > .aspect-square { max-height:52vh; }.massi-modal-details { padding:1.35rem; }.massi-modal-name { font-size:1.8rem; } }

/* Dark storefront controls and collection cards. */
html.dark .massi-collection-card--dark { background:#151a17; color:#f3f0e8; }
html.dark .massi-collection-card--olive { background:#53634c; color:#f3f0e8; }
html.dark .massi-collection-card--sand { background:#a39a89; color:#1e211d; }
html.dark #product-modal-overlay .modal-content { background:#22251f; color:#f3f0e8; border-color:#3b4036; }
html.dark .massi-modal-media { background:#171914; }
html.dark .massi-modal-details { background:#22251f; }
html.dark .massi-modal-close { background:#2d3931; color:#f3f0e8; border-color:#4b5a4e; }
html.dark .massi-modal-close:hover { background:#b6c69d; color:#1e211d; }
html.dark .massi-option-chip { background:#2d3931; color:#f3f0e8; border-color:#4b5a4e; }
html.dark .massi-option-chip:hover:not(:disabled) { border-color:#b6c69d; }
html.dark .massi-option-chip.is-selected { background:#b6c69d; color:#1e211d; border-color:#b6c69d; }
html.dark .massi-modal-details .massi-button--dark, html.dark #modal-add-to-cart { background:#b6c69d; color:#1e211d; }
html.dark .massi-modal-details .massi-button--dark:hover, html.dark #modal-add-to-cart:hover:not(:disabled) { background:#d1dfbd; color:#1e211d; }
html.dark .massi-modal-price--discount { color:#b6c69d; }
html.dark .massi-modal-panel, html.dark .massi-modal-type-specific { border-color:#3b4036; }
html.dark .massi-color-main { background:#b6c69d; color:#1e211d; }

/* ========================================================
   MODERN E-COMMERCE HOMEPAGE DESIGN SYSTEM
   ======================================================== */
.home-page-wrapper {
    padding-bottom: 5rem;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.home-container {
    width: min(1400px, 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .home-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .home-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* 1. SLIDER */
.home-slider-section {
    padding-top: 1.5rem;
    margin-bottom: 3.5rem;
    max-width: 100%;
    overflow: hidden;
}

.home-slider-outer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.homepage-swiper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #0f172a;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.homepage-slide-box {
    position: relative;
    width: 100%;
    height: clamp(340px, 42vw, 540px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.homepage-slide-full-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.homepage-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.homepage-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
    display: flex;
    align-items: center;
    z-index: 10;
    padding: 2.5rem clamp(1.5rem, 5vw, 4.5rem);
}

.homepage-slide-content {
    max-width: 750px;
    color: #ffffff;
}

.homepage-slide-content.is-rtl {
    text-align: right;
    margin-left: auto;
}

.homepage-slide-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.homepage-slide-title {
    font-size: clamp(1.75rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.85rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.homepage-slide-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.homepage-slide-cta-wrap {
    padding-top: 0.25rem;
}

.homepage-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.homepage-slide-cta svg {
    width: 18px;
    height: 18px;
}

.homepage-slide-cta:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.home-swiper-nav {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease !important;
}

.home-swiper-nav:hover {
    background: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
}

.home-swiper-nav::after {
    font-size: 16px !important;
    font-weight: 800 !important;
}

.home-swiper-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #ffffff;
    opacity: 0.55;
    transition: all 0.3s ease;
}

.home-swiper-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 5px;
    background: #ffffff;
    opacity: 1;
}

/* 2. SECTION HEADERS & CATEGORY PILLS */
.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e8e6e1;
    margin-bottom: 1.75rem;
}

.home-section-title-wrap {
    display: flex;
    flex-direction: column;
}

.home-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.35rem;
    display: block;
}

.home-heading {
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #1e211d;
    line-height: 1.2;
    margin: 0;
}

.home-subheading {
    font-size: clamp(0.8rem, 1.2vw, 0.92rem);
    color: #64748b;
    margin: 0.35rem 0 0;
}

.home-view-all {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.home-view-all svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.home-view-all:hover {
    color: #1d4ed8;
    transform: translateX(2px);
}

.home-category-section {
    margin-bottom: 3.5rem;
}

.home-cat-pills-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-cat-pills-wrap::-webkit-scrollbar {
    display: none;
}

.home-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.home-cat-pill:hover {
    background: #ffffff;
    border-color: #1e211d;
    color: #1e211d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.home-cat-pill.is-active {
    background: #1e211d;
    color: #ffffff;
    border-color: #1e211d;
    box-shadow: 0 4px 14px rgba(30, 33, 29, 0.2);
}

.home-cat-pill.is-active .home-cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.home-cat-count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    background: #e2e8f0;
    color: #64748b;
}

/* 3. PRODUCTS GRID & CARDS */
.home-products-section {
    margin-bottom: 4.5rem;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

@media (max-width: 1180px) {
    .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 800px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .home-products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.home-product-card {
    background: #ffffff;
    border: 1px solid #e8e6e1;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.home-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.home-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f8fafc;
    overflow: hidden;
}

.home-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.home-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-product-card:hover .home-card-image {
    transform: scale(1.06);
}

.home-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-size: 1.75rem;
    color: #94a3b8;
    background: #f1f5f9;
}

.home-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
}

.home-badge-promo {
    background: #dc2626;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.home-badge-new {
    background: #2563eb;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.home-badge-stockout {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
}

.home-badge-stockout span {
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 0.85rem;
    background: #ffffff;
}

.home-card-meta {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.home-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.home-card-title a {
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.home-product-card:hover .home-card-title a {
    color: #2563eb;
}

.home-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.home-card-price-group {
    display: flex;
    flex-direction: column;
}

.home-card-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: #1e211d;
    letter-spacing: -0.01em;
}

.home-card-price-old {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
}

.home-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    background: #1e211d;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.home-card-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.home-card-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.home-card-btn:hover svg {
    transform: translateX(2px);
}

.home-products-empty {
    grid-column: 1 / -1;
    padding: 4rem 2rem;
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8e6e1;
}

.home-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-products-empty h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e211d;
    margin: 0 0 0.35rem;
}

.home-products-empty p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1.25rem;
}

.home-empty-btn {
    display: inline-flex;
    padding: 0.65rem 1.4rem;
    background: #1e211d;
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

/* 4. TRUST SECTION */
.home-trust-section {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2.25rem 2rem;
    background: #ffffff;
    border: 1px solid #e8e6e1;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

@media (max-width: 1024px) {
    .home-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 640px) {
    .home-trust-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.25rem;
    }
}

.home-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
}

.home-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-trust-icon svg {
    width: 24px;
    height: 24px;
}

.home-trust-icon-blue { background: #eff6ff; color: #2563eb; }
.home-trust-icon-green { background: #f0fdf4; color: #16a34a; }
.home-trust-icon-amber { background: #fffbeb; color: #d97706; }
.home-trust-icon-purple { background: #faf5ff; color: #9333ea; }

.home-trust-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.25rem;
}

.home-trust-info p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* DARK MODE */
html.dark .home-heading,
html.dark .home-card-title a,
html.dark .home-card-price,
html.dark .home-trust-info h4,
html.dark .home-products-empty h3 {
    color: #f4f4f5;
}

html.dark .home-subheading,
html.dark .home-trust-info p,
html.dark .home-products-empty p {
    color: #a1a1aa;
}

html.dark .home-section-header {
    border-color: #27272a;
}

html.dark .home-cat-pill {
    background: #18181b;
    color: #d4d4d8;
    border-color: #27272a;
}

html.dark .home-cat-pill:hover {
    border-color: #52525b;
    color: #ffffff;
}

html.dark .home-cat-pill.is-active {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
}

html.dark .home-cat-count {
    background: #27272a;
    color: #a1a1aa;
}

html.dark .home-product-card,
html.dark .home-card-body,
html.dark .home-trust-grid,
html.dark .home-products-empty {
    background: #18181b;
    border-color: #27272a;
}

html.dark .home-card-image-wrap {
    background: #27272a;
}

html.dark .home-card-footer {
    border-color: #27272a;
}

html.dark .home-card-btn,
html.dark .home-empty-btn {
    background: #ffffff;
    color: #09090b;
}

html.dark .home-card-btn:hover,
html.dark .home-empty-btn:hover {
    background: #3b82f6;
    color: #ffffff;
}

html.dark .home-view-all {
    color: #60a5fa;
}

html.dark .home-trust-icon-blue { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
html.dark .home-trust-icon-green { background: rgba(22, 163, 74, 0.15); color: #4ade80; }
html.dark .home-trust-icon-amber { background: rgba(217, 119, 6, 0.15); color: #fbbf24; }
html.dark .home-trust-icon-purple { background: rgba(147, 51, 234, 0.15); color: #c084fc; }

/* RTL SUPPORT */
html[dir="rtl"] .home-view-all svg,
html[dir="rtl"] .home-card-btn svg {
    transform: rotate(180deg);
}

html[dir="rtl"] .home-view-all:hover {
    transform: translateX(-2px);
}

html[dir="rtl"] .home-card-btn:hover svg {
    transform: rotate(180deg) translateX(2px);
}

html[dir="rtl"] .home-card-badges {
    left: auto;
    right: 12px;
}

/* ========================================================
   LUXURY E-COMMERCE PRODUCT PAGE DESIGN SYSTEM
   ======================================================== */
.product-page-wrapper {
    background: #fafaf9;
    padding-top: 1.5rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    width: 100%;
}

.product-page-container {
    width: min(1400px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .product-page-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Breadcrumbs */
.product-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 2rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.product-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.bc-link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bc-link:hover {
    color: #0f172a;
}

.bc-sep {
    color: #cbd5e1;
    font-weight: 300;
}

.bc-current {
    color: #0f172a;
    font-weight: 700;
}

/* Alerts */
.product-alert {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.product-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* 2-Column Main Layout */
.product-main-layout {
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 2.75rem;
    align-items: start;
    margin-bottom: 5rem;
}

@media (max-width: 1024px) {
    .product-main-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Left Column */
.product-left-col {
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .product-left-col {
        position: static;
    }
}

.product-main-img-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e8e6e1;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-featured-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.25rem;
    transition: transform 0.4s ease;
}

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

.product-no-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.no-img-brand {
    font-size: 2rem;
    font-family: serif;
    font-weight: 700;
}

.no-img-text {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.product-badges-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
}

.badge-promo {
    background: #dc2626;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.badge-new {
    background: #2563eb;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.product-stockout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
}

.product-stockout-overlay span {
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Gallery Thumbnails */
.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gallery-thumb-btn {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    border: 2px solid transparent;
    background: #ffffff;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.gallery-thumb-btn:hover {
    border-color: #cbd5e1;
}

.gallery-thumb-btn.is-active {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Trust Card below gallery */
.product-trust-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: #ffffff;
    border: 1px solid #e8e6e1;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.product-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.trust-icon-pill {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon-pill svg {
    width: 20px;
    height: 20px;
}

.trust-icon-pill.icon-blue { background: #eff6ff; color: #2563eb; }
.trust-icon-pill.icon-green { background: #f0fdf4; color: #16a34a; }
.trust-icon-pill.icon-amber { background: #fffbeb; color: #d97706; }

.product-trust-item h4 {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.product-trust-item p {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0;
}

/* Right Column */
.product-right-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-header-card {
    background: #ffffff;
    border: 1px solid #e8e6e1;
    border-radius: 20px;
    padding: 1.85rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-category-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.meta-dot {
    color: #cbd5e1;
}

.product-main-title {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 0.85rem;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.product-price-current {
    font-size: 2.1rem;
    font-weight: 900;
    color: #16a34a;
    letter-spacing: -0.02em;
}

.product-price-old {
    font-size: 1.15rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-stock-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}

.stock-pill-in {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.stock-pill-out {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.sku-tag {
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: monospace;
}

.product-description-wrap {
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
}

.product-description-wrap p {
    margin: 0;
}

/* Variant Selection Card */
.product-variants-card {
    background: #ffffff;
    border: 1px solid #e8e6e1;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.variant-group-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #334155;
    margin-bottom: 0.65rem;
}

.selected-val-highlight {
    color: #2563eb;
    font-weight: 800;
    text-transform: none;
}

.has-divider {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.1rem;
}

.color-swatches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.color-block-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-block-btn:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.color-block-btn.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1e40af;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.color-swatch-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.size-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.size-block-btn {
    min-width: 48px;
    height: 42px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    transition: all 0.2s ease;
}

.size-block-btn:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.size-block-btn.is-active {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.variant-warning-box {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #d97706;
    font-size: 0.82rem;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Quantity Card */
.product-quantity-card {
    background: #ffffff;
    border: 1px solid #e8e6e1;
    border-radius: 16px;
    padding: 1.15rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e2e8f0;
}

.qty-input {
    width: 48px;
    height: 38px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    -moz-appearance: textfield;
}

/* Direct Checkout Card */
.product-checkout-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.checkout-card-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: #fafafa;
}

.checkout-title-wrap h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.2rem;
}

.checkout-title-wrap p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.checkout-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid #a7f3d0;
}

.checkout-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.field-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}

.req {
    color: #ef4444;
    font-weight: 800;
}

.opt {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
}

.field-input, .field-select, .field-textarea {
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.field-input:focus, .field-select:focus, .field-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.field-select-wrap {
    position: relative;
    width: 100%;
}

.delivery-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .delivery-cards-grid {
        grid-template-columns: 1fr;
    }
}

.delivery-option-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delivery-option-card:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.delivery-option-card.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.delivery-radio {
    display: none;
}

.delivery-card-icon {
    font-size: 1.5rem;
}

.delivery-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.delivery-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.delivery-fee {
    font-size: 0.95rem;
    font-weight: 900;
    color: #16a34a;
}

/* Order Summary Box */
.checkout-summary-box {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #475569;
}

.summary-key {
    font-weight: 600;
}

.summary-val {
    font-weight: 700;
    color: #0f172a;
}

.summary-total-line {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.85rem;
    margin-top: 0.25rem;
}

.summary-key-total {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.05rem;
}

.summary-val-total {
    font-size: 1.45rem;
    font-weight: 900;
    color: #16a34a;
    letter-spacing: -0.01em;
}

/* Submit Bar */
.checkout-submit-bar {
    padding: 1.25rem 1.75rem;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.checkout-confirm-btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 1.1rem 2rem;
    border-radius: 14px;
    background: #16a34a;
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
    transition: all 0.25s ease;
}

.checkout-confirm-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
}

.btn-main-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-sub-text {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.92;
}

/* Related Products */
.product-related-section {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid #e8e6e1;
}

/* DARK MODE */
html.dark .product-page-wrapper {
    background: #09090b;
}

html.dark .product-breadcrumbs .bc-link {
    color: #a1a1aa;
}

html.dark .product-breadcrumbs .bc-current,
html.dark .product-main-title,
html.dark .qty-label,
html.dark .checkout-title-wrap h2,
html.dark .delivery-title,
html.dark .summary-val,
html.dark .summary-key-total,
html.dark .product-trust-item h4 {
    color: #f4f4f5;
}

html.dark .product-description-wrap,
html.dark .checkout-title-wrap p,
html.dark .summary-line,
html.dark .product-trust-item p {
    color: #a1a1aa;
}

html.dark .product-main-img-card,
html.dark .gallery-thumb-btn,
html.dark .product-trust-card,
html.dark .product-header-card,
html.dark .product-variants-card,
html.dark .product-quantity-card,
html.dark .product-checkout-card,
html.dark .delivery-option-card {
    background: #18181b;
    border-color: #27272a;
}

html.dark .checkout-card-header,
html.dark .checkout-summary-box,
html.dark .checkout-submit-bar {
    background: #121215;
    border-color: #27272a;
}

html.dark .field-input,
html.dark .field-select,
html.dark .field-textarea,
html.dark .qty-stepper,
html.dark .color-block-btn,
html.dark .size-block-btn {
    background: #27272a;
    border-color: #3f3f46;
    color: #f4f4f5;
}

html.dark .field-label {
    color: #d4d4d8;
}

html.dark .qty-btn {
    color: #f4f4f5;
}

html.dark .qty-input {
    color: #f4f4f5;
}

html.dark .delivery-option-card.is-active {
    background: #1e293b;
    border-color: #3b82f6;
}

html.dark .color-block-btn.is-active {
    background: #1e293b;
    border-color: #3b82f6;
    color: #93c5fd;
}

html.dark .size-block-btn.is-active {
    background: #f4f4f5;
    color: #09090b;
    border-color: #f4f4f5;
}

html.dark .product-related-section {
    border-color: #27272a;
}

/* RTL SUPPORT */
html[dir="rtl"] .product-badges-overlay {
    left: auto;
    right: 14px;
}

html[dir="rtl"] .home-view-all svg {
    transform: rotate(180deg);
}

html[dir="rtl"] .home-view-all:hover {
    transform: translateX(-2px);
}

/* ========================================================
   ORDER SUCCESS / CONFIRMATION PAGE STYLING
   ======================================================== */
.order-success-wrapper {
    background: #fafaf9;
    padding-top: 3.5rem;
    padding-bottom: 6rem;
    min-height: 85vh;
    width: 100%;
}

.order-success-container {
    width: min(840px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

.success-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.success-icon-badge {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-badge svg {
    width: 38px;
    height: 38px;
}

@keyframes successPop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-pill {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.success-title {
    font-family: inherit;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 0.85rem 0;
}

.success-subtitle {
    font-size: 1rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.success-subtitle strong {
    color: #0f172a;
}

.success-receipt-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 2rem;
}

.receipt-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.receipt-order-ref {
    display: flex;
    flex-direction: column;
}

.receipt-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.receipt-id {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.receipt-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.receipt-date {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.receipt-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #f59e0b;
    border-radius: 50%;
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.receipt-details-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 640px) {
    .receipt-details-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1.25rem;
    }
}

.receipt-detail-item {
    display: flex;
    flex-direction: column;
}

.receipt-detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
}

.receipt-note-item {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
}

.receipt-note-item .detail-value {
    color: #475569;
    font-size: 0.88rem;
}

.receipt-items-section {
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 640px) {
    .receipt-items-section {
        padding: 1.25rem;
    }
}

.receipt-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin: 0 0 1.25rem 0;
}

.receipt-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.receipt-item-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.receipt-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.receipt-item-thumb {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.receipt-thumb-placeholder {
    font-size: 1.5rem;
}

.receipt-item-info {
    flex: 1;
    min-width: 0;
}

.receipt-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.4rem 0;
}

.receipt-item-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.receipt-item-name a:hover {
    color: #10b981;
}

.receipt-item-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.spec-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.spec-pill.sku {
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.receipt-item-pricing {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    flex-shrink: 0;
}

.item-qty {
    font-size: 0.8rem;
    color: #64748b;
}

.item-unit-price {
    font-size: 0.78rem;
    color: #94a3b8;
}

.item-subtotal {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.receipt-summary-footer {
    background: #f8fafc;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .receipt-summary-footer {
        padding: 1.25rem;
    }
}

.summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    color: #475569;
    font-weight: 500;
}

.summary-line.summary-grand-total {
    padding-top: 1rem;
    margin-top: 0.4rem;
    border-top: 2px dashed #cbd5e1;
    color: #0f172a;
}

.grand-total-label {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.grand-total-val {
    font-size: 1.5rem;
    font-weight: 900;
    color: #10b981;
    letter-spacing: -0.02em;
}

.payment-badge-pill {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 0.75rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #065f46;
    font-size: 0.85rem;
    font-weight: 700;
}

.payment-badge-pill svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.success-notice-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    padding: 1.25rem 1.65rem;
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 2.5rem;
}

.notice-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 0.15rem;
}

.notice-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.35rem 0;
}

.notice-text p {
    font-size: 0.88rem;
    color: #1e40af;
    line-height: 1.55;
    margin: 0;
}

.success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-continue-shopping {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.95rem 1.85rem;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-continue-shopping svg {
    width: 18px;
    height: 18px;
}

.btn-continue-shopping:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25);
}

.btn-catalog-link {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.95rem 1.85rem;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-catalog-link svg {
    width: 18px;
    height: 18px;
}

.btn-catalog-link:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* ========================================================
   CART & DIRECT CHECKOUT LUXURY DESIGN SYSTEM
   ======================================================== */
.cart-page-wrapper {
    background: #fafaf9;
    padding-top: 2rem;
    padding-bottom: 6rem;
    min-height: 80vh;
    width: 100%;
}

.cart-page-container {
    width: min(1400px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .cart-page-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.cart-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.cart-title-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.4rem;
}

.cart-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.15;
}

.cart-count-badge {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.cart-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

.cart-continue-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    padding: 0.65rem 1.15rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.cart-continue-btn svg {
    width: 16px;
    height: 16px;
}

.cart-continue-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateX(-3px);
}

.cart-alert-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.cart-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.cart-main-layout {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 2.25rem;
    align-items: start;
}

@media (max-width: 1080px) {
    .cart-main-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.cart-items-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
}

.cart-items-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

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

.cart-item-row {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: background 0.15s ease;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-thumb {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
}

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

.thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: serif;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cart-item-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cart-item-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

.cart-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cart-item-title a:hover {
    color: #10b981;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item-btn svg {
    width: 18px;
    height: 18px;
}

.remove-item-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

.cart-item-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.variant-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.variant-tag.sku-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-stepper {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: none;
    color: #334155;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.quantity-btn:hover {
    background: #f1f5f9;
}

.quantity-input {
    width: 38px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    background: transparent;
    padding: 0;
}

.cart-item-pricing {
    text-align: right;
}

.item-subtotal {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.item-unit-price {
    font-size: 0.75rem;
    color: #94a3b8;
}

.cart-items-card-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.clear-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease;
    padding: 0;
}

.clear-cart-btn svg {
    width: 15px;
    height: 15px;
}

.clear-cart-btn:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.cart-subtotal-indicator {
    font-size: 0.88rem;
    color: #64748b;
}

.cart-subtotal-indicator strong {
    color: #0f172a;
    font-size: 1.05rem;
    margin-left: 0.25rem;
}

.cart-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .cart-trust-bar {
        grid-template-columns: 1fr;
    }
}

.trust-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pill-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.trust-pill strong {
    display: block;
    font-size: 0.82rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.trust-pill span {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
}

.cart-checkout-column {
    position: sticky;
    top: 2rem;
}

.cart-checkout-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.checkout-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.35rem 1.75rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkout-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.02em;
}

.checkout-card-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.cod-badge {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.cod-badge svg {
    width: 14px;
    height: 14px;
}

.checkout-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-label .req {
    color: #ef4444;
}

.form-label .opt {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.72rem;
}

.form-control {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
    color: #0f172a;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.form-control.textarea {
    resize: vertical;
    min-height: 60px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-wrapper::after {
    content: "▾";
    font-size: 0.9rem;
    color: #64748b;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.delivery-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .delivery-cards-grid {
        grid-template-columns: 1fr;
    }
}

.delivery-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.delivery-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.delivery-card.is-active {
    border-color: #10b981;
    background: #ecfdf5;
}

.card-icon-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.card-emoji {
    font-size: 1.25rem;
    line-height: 1;
}

.card-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
}

.delivery-card.is-active .card-text {
    color: #065f46;
}

.card-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.delivery-card.is-active .card-price {
    color: #059669;
}

.checkout-summary-breakdown {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #475569;
    font-weight: 500;
}

.summary-line.total-line {
    padding-top: 0.9rem;
    margin-top: 0.25rem;
    border-top: 1px solid #e2e8f0;
}

.key-total {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.val-total {
    font-size: 1.6rem;
    font-weight: 900;
    color: #10b981;
    letter-spacing: -0.02em;
}

.checkout-submit-wrap {
    padding: 1.25rem 1.75rem 1.75rem;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.checkout-submit-btn {
    width: 100%;
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 1.05rem 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    transition: all 0.2s ease;
}

.checkout-submit-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
}

.btn-primary-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.btn-primary-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

.cart-empty-state {
    max-width: 620px;
    margin: 3rem auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.empty-icon-circle {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
}

.empty-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem 0;
}

.empty-description {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto 2rem;
}

.empty-actions {
    margin-bottom: 2.5rem;
}

.btn-discover-store {
    background: #16a34a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.95rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.25);
    transition: all 0.2s ease;
}

.btn-discover-store svg {
    width: 18px;
    height: 18px;
}

.btn-discover-store:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.35);
}

.empty-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 540px) {
    .empty-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.35rem;
}

.feature-item h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.2rem 0;
}

.feature-item p {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

/* Dark Mode Overrides */
html.dark .order-success-wrapper,
html.dark .cart-page-wrapper {
    background: #09090b;
}

html.dark .success-receipt-card,
html.dark .cart-items-card,
html.dark .cart-checkout-card,
html.dark .cart-empty-state,
html.dark .trust-pill {
    background: #18181b;
    border-color: #27272a;
}

html.dark .receipt-header,
html.dark .receipt-summary-footer,
html.dark .cart-items-card-header,
html.dark .cart-items-card-footer,
html.dark .checkout-card-header,
html.dark .checkout-summary-breakdown {
    background: #141416;
    border-color: #27272a;
}

html.dark .success-title,
html.dark .receipt-id,
html.dark .cart-title,
html.dark .checkout-card-title,
html.dark .empty-title,
html.dark .trust-pill strong,
html.dark .feature-item h4,
html.dark .cart-item-title,
html.dark .item-subtotal,
html.dark .cart-subtotal-indicator strong,
html.dark .card-price,
html.dark .key-total {
    color: #fafafa;
}

html.dark .detail-value {
    color: #e4e4e7;
}

html.dark .receipt-details-grid,
html.dark .receipt-items-section,
html.dark .receipt-item-row,
html.dark .cart-page-header,
html.dark .cart-item-row,
html.dark .summary-line.total-line,
html.dark .empty-features-grid,
html.dark .checkout-submit-wrap {
    border-color: #27272a;
}

html.dark .form-control {
    background: #141416;
    border-color: #27272a;
    color: #fafafa;
}

html.dark .form-control:focus {
    border-color: #3b82f6;
}

html.dark .delivery-card {
    background: #18181b;
    border-color: #27272a;
}

html.dark .delivery-card.is-active {
    background: #064e3b;
    border-color: #10b981;
}

html.dark .cart-stepper {
    background: #18181b;
    border-color: #27272a;
}

html.dark .quantity-btn {
    background: #18181b;
    color: #fafafa;
}

html.dark .quantity-input {
    color: #fafafa;
}

html.dark .cart-continue-btn,
html.dark .btn-catalog-link {
    background: #18181b;
    border-color: #27272a;
    color: #fafafa;
}

/* ========================================================
   GLOBAL PRODUCT CARD & GRID SYSTEM (.home-product-card)
   Used in Home, Catalog, Product Details & Pack Details
   ======================================================== */
.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.home-section-title-wrap {
    display: flex;
    flex-direction: column;
}

.home-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.35rem;
    display: block;
}

.home-heading {
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #1e211d;
    line-height: 1.2;
    margin: 0;
}

.home-view-all {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.home-view-all svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.home-view-all:hover {
    color: #1d4ed8;
    transform: translateX(2px);
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    width: 100%;
}

@media (max-width: 1180px) {
    .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 800px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .home-products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.home-product-card {
    background: #ffffff;
    border: 1px solid #e8e6e1;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    min-width: 0;
    box-sizing: border-box;
}

.home-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.home-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f8fafc;
    overflow: hidden;
}

.home-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.home-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-product-card:hover .home-card-image {
    transform: scale(1.06);
}

.home-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-size: 1.75rem;
    color: #94a3b8;
    background: #f1f5f9;
}

.home-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
}

html[dir="rtl"] .home-card-badges {
    left: auto;
    right: 12px;
}

.home-badge-promo {
    background: #dc2626;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.home-badge-new {
    background: #2563eb;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.home-badge-stockout {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
}

.home-badge-stockout span {
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 0.85rem;
    background: #ffffff;
    box-sizing: border-box;
}

.home-card-meta {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.home-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.home-card-title a {
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.home-product-card:hover .home-card-title a {
    color: #2563eb;
}

.home-card-info-wrap {
    display: flex;
    flex-direction: column;
}

.home-card-price-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.home-card-price {
    font-size: 1.18rem;
    font-weight: 900;
    color: #1e211d;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.home-card-price-old {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    white-space: nowrap;
}

.home-card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.home-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 38px;
    padding: 0 1rem;
    border-radius: 10px;
    background: #1e211d;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.home-card-btn svg {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.home-card-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.home-card-btn:hover svg {
    transform: scale(1.1);
}

.home-card-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.home-card-btn--cart {
    flex: 1;
    min-width: 0;
    background: #1e211d;
}

.home-card-btn--cart.is-success {
    background: #16a34a !important;
}

.home-card-btn-view {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home-card-btn-view svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    display: block !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease;
}

.home-card-btn-view:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

html[dir="rtl"] .home-card-btn-view svg,
html[dir="rtl"] .home-card-btn svg {
    transform: rotate(180deg);
}

/* Dark Mode */
html.dark .home-product-card,
html.dark .home-card-body,
html.dark .home-products-empty {
    background: #18181b;
    border-color: #27272a;
}

html.dark .home-card-image-wrap {
    background: #27272a;
}

html.dark .home-card-meta {
    color: #a1a1aa;
}

html.dark .home-card-title a {
    color: #f4f4f5;
}

html.dark .home-card-title a:hover {
    color: #60a5fa;
}

html.dark .home-card-price {
    color: #f4f4f5;
}

html.dark .home-card-price-old {
    color: #71717a;
}

html.dark .home-card-footer {
    border-color: #27272a;
}

html.dark .home-card-btn {
    background: #ffffff;
    color: #09090b;
}

html.dark .home-card-btn:hover {
    background: #3b82f6;
    color: #ffffff;
}

html.dark .home-card-btn-view {
    background: #27272a;
    color: #e2e8f0;
}

html.dark .home-card-btn-view:hover {
    background: #3f3f46;
    color: #ffffff;
}

html.dark .home-heading {
    color: #f4f4f5;
}

html.dark .home-eyebrow,
html.dark .home-view-all {
    color: #60a5fa;
}




