/* =============================================
   ZIRAK FASHION - Main Stylesheet
   Phase 1.1 - Luxury Fashion Design (Polished)
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --color-primary: #E91E8C;
    --color-primary-dark: #C4177A;
    --color-primary-light: #FF4DA6;
    --color-dark: #2D2D2D;
    --color-charcoal: #3A3A3A;
    --color-gray: #6B6B6B;
    --color-light-gray: #F8F8F8;
    --color-white: #FFFFFF;
    --color-gold: #D4AF37;
    --color-gold-light: #F0D060;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;
    --font-arabic: 'Cairo', sans-serif;
    --font-english: 'Poppins', sans-serif;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ---- LTR Number Fix for RTL ---- */
.ltr-number {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

/* ---- Base Styles ---- */
html {
    scroll-behavior: var(--scrollbar-behavior, smooth);
    scrollbar-width: auto;
    scrollbar-color: var(--scrollbar-thumb-color, var(--color-gold)) var(--scrollbar-track-color, #eeeeee);
}

html,
body {
    min-height: 100%;
    height: auto;
}

/* Luxury scrollbar - Chrome, Edge and Safari */
::-webkit-scrollbar {
    width: var(--scrollbar-size, 12px);
    height: var(--scrollbar-size, 12px);
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track-color, #eeeeee);
    border-radius: var(--scrollbar-radius, 20px);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb-color, var(--color-gold));
    border: 3px solid var(--scrollbar-track-color, #eeeeee);
    border-radius: var(--scrollbar-radius, 20px);
    min-height: 45px;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(.85);
}

::-webkit-scrollbar-corner {
    background: var(--scrollbar-track-color, #eeeeee);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

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

body {
    font-family: var(--font-english);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-y: auto;
}

.page-wrapper,
main {
    min-height: 100%;
    height: auto;
}

@supports (min-height: 100dvh) {
    .page-wrapper,
    main {
        min-height: 100dvh;
    }
}

body.lang-ar {
    font-family: var(--font-arabic);
    direction: rtl;
}

body.lang-tr {
    font-family: var(--font-english);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-charcoal);
}

.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar h4, .lang-ar h5, .lang-ar h6 {
    font-family: var(--font-arabic);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.rounded-luxury {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

/* ---- Top Bar ---- */
.top-bar {
    background: linear-gradient(90deg, #2D2D2D 0%, #1a1a2e 100%);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: var(--color-white);
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
    color: var(--color-primary-light);
}

.top-bar-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-info span {
    margin-inline-end: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-bar-info span i {
    color: var(--color-primary-light);
    font-size: 0.8rem;
}

.top-bar-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.top-bar-social a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

/* ---- Main Navbar ---- */
.main-navbar {
    background-color: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-navbar.scrolled {
    padding: 6px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-charcoal);
    letter-spacing: 1px;
    font-family: var(--font-english);
}

.brand-accent {
    color: var(--color-primary);
    font-weight: 300;
}

.main-navbar .nav-link {
    color: var(--color-charcoal);
    font-weight: 500;
    padding: 8px 16px !important;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: 60%;
}

.main-navbar .nav-link.dropdown-toggle::after {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: none;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--color-primary);
}

.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: var(--border-radius);
    padding: 10px;
    margin-top: 8px;
}

.main-navbar .dropdown-item {
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.main-navbar .dropdown-item:hover {
    background-color: #FFF5F9;
    color: var(--color-primary);
}

.nav-whatsapp-item {
    margin-inline-start: 10px;
}

.nav-whatsapp-btn {
    font-size: 0.88rem;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-switcher .dropdown-menu {
    min-width: 130px;
}

/* ---- Buttons ---- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border: none;
    border-radius: 30px;
    padding: 12px 32px;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 30, 140, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 30px;
    padding: 10px 28px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.btn-share {
    background-color: #f8f9fa;
    color: var(--color-dark);
    border: 1px solid #dee2e6;
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-share:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.btn-share-success {
    background-color: #198754 !important;
    color: var(--color-white) !important;
    border-color: #198754 !important;
}

.product-actions .btn-share.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-filter {
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 4px;
    transition: var(--transition);
    background: var(--color-white);
}

.btn-filter.active,
.btn-filter:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 3px 12px rgba(233, 30, 140, 0.2);
}

.btn-filter-sm {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin: 2px;
    transition: var(--transition);
    background: var(--color-white);
}

.btn-filter-sm.active,
.btn-filter-sm:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    border-color: var(--color-charcoal);
}

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
}

.hero-slide {
    height: clamp(560px, 70vh, 720px);
    background-image: var(--hero-desktop-image);
    background-size: cover;
    background-position: var(--hero-desktop-position, 50% 40%);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.88) 0%, rgba(30, 30, 50, 0.45) 60%, rgba(30, 30, 50, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    color: var(--color-white);
}

.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 18px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 28px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline-custom {
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--color-white);
}

.hero-buttons .btn-outline-custom:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    opacity: 0.7;
    transition: var(--transition);
}

.carousel-indicators .active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    margin: 0 20px;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--color-primary);
    opacity: 1;
}

/* ---- Sections ---- */
.section-padding {
    padding: 70px 0;
}

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

.section-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 12px;
}

.section-line {
    width: 300px;
    max-width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    border-radius: 2px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.section-line.center {
    margin-left: auto;
    margin-right: auto;
}

.bg-light-custom {
    background-color: var(--color-light-gray);
}

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, #1a1a2e 100%);
    padding: 70px 0;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.page-hero.has-custom-cover {
    background-image: var(--page-hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero.has-custom-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, var(--page-hero-overlay-opacity, .65));
}

.page-hero > .container {
    position: relative;
    z-index: 2;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 2.3rem;
    color: var(--color-white);
    margin-bottom: 12px;
    position: relative;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

/* ---- About Section ---- */
.about-section {
    overflow: hidden;
}

.about-container {
    background-color: #eeeeee;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 45px 35px;
    border-radius: var(--border-radius-lg);
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: min(72%, 380px);
    max-height: 430px;
    margin: 0 auto;
    object-fit: cover;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.9;
    margin-bottom: 25px;
}

.about-section .col-lg-6:last-child,
.about-section .section-header.text-start,
.about-section .about-text {
    text-align: center !important;
}

.about-section .section-line {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .about-section .col-lg-6:last-child {
        text-align: center;
    }

    .about-section .section-header.text-start {
        text-align: center !important;
    }

    .about-section .section-line {
        margin-left: auto;
        margin-right: auto;
    }

    .about-section .about-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        background-image: var(--hero-mobile-image, var(--hero-desktop-image));
        background-position: var(--hero-mobile-position, var(--hero-desktop-position, 50% 40%));
    }

    .hero-slide > .container {
        position: relative;
        height: 100%;
    }

    .hero-content {
        position: absolute;
        top: auto;
        bottom: 85px;
        inset-inline: 12px;
        transform: none;
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .hero-content {
        bottom: 65px;
    }
}

.about-content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.about-content-block p {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.9;
}

/* ---- Company Profile Sections ---- */
.profile-content-row {
    background-color: #eeeeee;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 45px 35px;
    border-radius: var(--border-radius-lg);
}

.profile-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.profile-image img {
    width: min(72%, 380px);
    max-height: 430px;
    margin: 0 auto;
    object-fit: cover;
}

.company-profile-section .about-content-block {
    text-align: center;
}

.company-profile-section .section-line {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .profile-content-row {
        padding: 35px 20px;
    }
}

/* ---- Quality Page Dynamic Sections ---- */
.quality-content-row {
    background-color: #eeeeee;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 45px 35px;
    border-radius: var(--border-radius-lg);
}

.quality-content-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.quality-content-image img {
    width: min(72%, 380px);
    max-height: 430px;
    margin: 0 auto;
    object-fit: cover;
}

.quality-content-text {
    text-align: center;
}

.quality-page-section .section-line {
    margin-left: auto;
    margin-right: auto;
}

.quality-content-text p {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.9;
}

.page-hero .quality-hero-line {
    width: 380px;
    max-width: 100%;
    margin: 15px auto;
}

.featured-title-line {
    width: 380px;
    max-width: 100%;
    margin: 15px auto 20px;
}

@media (max-width: 767px) {
    .quality-content-row {
        padding: 35px 20px;
    }
}

.article-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 18px;
    line-height: 2;
    color: #333;
    overflow-wrap: anywhere;
}

.article-detail {
    width: 100%;
    margin: 30px 0 60px;
}

.article-section > .container {
    margin-top: 35px;
    margin-bottom: 35px;
}

.article-primary-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.article-primary-card .article-cover {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    background: var(--color-light-gray);
}

.article-primary-card .article-cover img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article-primary-card .article-header {
    padding: 28px 32px;
    text-align: center;
}

.article-primary-card .article-header h1 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.4;
}

.article-primary-card .article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-gray);
    font-size: 0.92rem;
}

.article-design-box {
    width: 100%;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 35px;
}

.article-design-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--color-light-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: var(--color-charcoal);
}

.article-design-frame {
    display: block;
    width: 100%;
    min-height: 200px;
    border: 0;
    background: #fff;
}

.article-cta {
    width: 100%;
    padding: 38px 30px;
    margin: 35px 0;
    text-align: center;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-charcoal), #3d3d50);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.article-cta h3 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.article-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.article-share {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px;
    margin-top: 30px;
    background: var(--color-light-gray);
    border-radius: var(--border-radius-lg);
}

.article-share-main,
.article-share-link {
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    transition: transform .2s, opacity .2s;
}

.article-share-main { background: var(--color-primary); }
.article-share-link.whatsapp { background: #25d366; }
.article-share-link.facebook { background: #1877f2; }
.article-share-link.twitter { background: #111; }
.article-share-main:hover,
.article-share-link:hover { color: #fff; opacity: .9; transform: translateY(-2px); }

/* ---- Single Collection: article-inspired layout with gold identity ---- */
.collection-detail-section > .container {
    margin-top: 35px;
    margin-bottom: 35px;
}

.collection-detail {
    width: 100%;
    margin: 30px 0 60px;
}

.collection-primary-card,
.collection-description-box,
.collection-products-box {
    width: 100%;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.collection-primary-card {
    border-top: 5px solid var(--color-gold);
}

.collection-detail-cover {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    background: var(--color-light-gray);
}

.collection-detail-cover img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.collection-detail-header {
    padding: 28px 32px;
    text-align: center;
}

.collection-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 15px;
    margin-bottom: 14px;
    color: #fff;
    background: var(--color-gold);
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 700;
}

.collection-detail-header h1 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.4;
}

.collection-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--color-gray);
    font-size: .92rem;
}

.collection-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.collection-box-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-gold), #8f6b13);
    font-weight: 700;
}

.collection-description-content,
.collection-products-content {
    padding: 30px;
}

.collection-description-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-gray);
}

.collection-detail-cta {
    width: 100%;
    padding: 38px 30px;
    margin: 35px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #8f6b13, var(--color-gold));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.collection-detail-cta h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.collection-detail-cta p { margin-bottom: 20px; opacity: .92; }

.collection-share {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px;
    background: #fff8e8;
    border: 1px solid rgba(184, 134, 11, .2);
    border-radius: var(--border-radius-lg);
}

.collection-share-main,
.collection-share-link {
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    transition: transform .2s, opacity .2s;
}

.collection-share-main { background: var(--color-gold); }
.collection-share-link.whatsapp { background: #25d366; }
.collection-share-link.facebook { background: #1877f2; }
.collection-share-link.twitter { background: #111; }
.collection-share-main:hover,
.collection-share-link:hover { color:#fff; opacity:.9; transform:translateY(-2px); }

@media (max-width: 767px) {
    .article-primary-card .article-header {
        padding: 20px 16px;
    }

    .article-design-label {
        padding: 10px 14px;
    }

    .article-cta {
        padding: 30px 18px;
    }

    .article-cta h3 {
        font-size: 1.45rem;
    }

    .article-share-link span {
        display: none;
    }

    .collection-detail-header,
    .collection-description-content,
    .collection-products-content {
        padding: 20px 16px;
    }

    .collection-detail-cta {
        padding: 30px 18px;
    }

    .collection-detail-cta h3 {
        font-size: 1.45rem;
    }

    .collection-share-link span {
        display: none;
    }
}

.article-content p {
    margin: 0 0 20px;
}

.article-content h2 {
    font-size: 32px;
    line-height: 1.4;
    margin: 35px 0 15px;
    font-weight: 700;
}

.article-content h3 {
    font-size: 25px;
    line-height: 1.5;
    margin: 28px 0 12px;
    font-weight: 700;
}

.article-content h4 {
    font-size: 21px;
    line-height: 1.5;
    margin: 24px 0 10px;
    font-weight: 700;
}

.article-content ul,
.article-content ol {
    margin: 15px 0 25px;
    padding-inline-start: 28px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    margin: 24px 0;
    padding: 15px 20px;
    border-inline-start: 4px solid currentColor;
}

.article-content a {
    text-decoration: underline;
}

html[dir="rtl"] .article-content {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] .article-content {
    direction: ltr;
    text-align: left;
}

@media (max-width: 768px) {
    .article-content {
        font-size: 16px;
        line-height: 1.9;
    }

    .article-content h2 {
        font-size: 25px;
    }

    .article-content h3 {
        font-size: 21px;
    }

    .article-content h4 {
        font-size: 18px;
    }
}

/* ---- Feature Cards (Why Choose Us) ---- */
.feature-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 32px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.1), rgba(233, 30, 140, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
}

.feature-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--color-charcoal);
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.6;
}

/* ---- Market Cards ---- */
.market-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.market-card i {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: block;
}

.market-card h5 {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    margin: 0;
    font-weight: 600;
}

/* ---- Product Cards ---- */
.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(233, 30, 140, 0.3);
}

[dir="rtl"] .badge-new {
    left: auto;
    right: 12px;
}

.badge-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

[dir="rtl"] .badge-featured {
    right: auto;
    left: 12px;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-charcoal);
    line-height: 1.4;
}

.product-title a {
    color: var(--color-charcoal);
}

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

.product-card .product-title,
.product-card .product-title a,
.product-detail-title {
    color: var(--product-title-color, #D9157F);
}

.product-card .product-title a:hover {
    color: var(--product-title-color, #D9157F);
    filter: brightness(0.85);
}

.product-model {
    font-size: 0.82rem;
    color: var(--color-gray);
    margin-bottom: 8px;
    font-weight: 500;
}

.product-desc {
    font-size: 0.88rem;
    color: var(--color-gray);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-price::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    display: inline-block;
}

.product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ---- Product Detail ---- */
.breadcrumb-section {
    background-color: var(--color-light-gray);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.breadcrumb {
    margin: 0;
    font-size: 0.9rem;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image-wrap {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--color-light-gray);
}

.main-product-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.product-gallery .main-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.thumbnail-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.thumbnail-wrap:hover {
    border-color: var(--color-primary);
}

.thumbnail-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail-img:hover {
    border-color: var(--color-primary);
}

.product-detail-title {
    font-size: 1.9rem;
    margin-bottom: 18px;
    line-height: 1.3;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.meta-card {
    background: var(--color-light-gray);
    border-radius: 10px;
    padding: 12px 16px;
}

.meta-label {
    display: block;
    font-size: 0.78rem;
    color: var(--color-gray);
    margin-bottom: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    font-size: 0.95rem;
    color: var(--color-gray);
}

.product-description {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-gray);
}

.product-detail-block {
    margin-bottom: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.detail-block-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-block-title i {
    color: var(--color-primary);
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.color-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 1px #ddd;
    display: inline-block;
    transition: var(--transition);
}

.color-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--color-primary);
}

/* ---- Phase 2: selectable color state ---- */
.color-item.color-selectable {
    padding: 4px 10px;
    border-radius: 30px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.color-item.color-selectable:hover {
    border-color: var(--color-primary);
    background: rgba(233, 30, 140, 0.05);
}

.color-item.color-selectable.active {
    border-color: var(--color-primary);
    background: rgba(233, 30, 140, 0.08);
}

.color-item.color-selectable.active .color-swatch {
    box-shadow: 0 0 0 2px var(--color-primary);
}

.color-item.color-selectable.active .color-name {
    color: var(--color-primary);
    font-weight: 700;
}

.color-name {
    font-size: 0.82rem;
    color: var(--color-gray);
    font-weight: 500;
}

.size-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-badge {
    background-color: var(--color-white);
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.size-badge:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.specs-box {
    background-color: var(--color-light-gray);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    font-size: 0.9rem;
    line-height: 2;
    color: var(--color-gray);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-price-box {
    background: linear-gradient(135deg, #FFF5F9, #FFF0F5);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding: 18px 22px;
    margin: 22px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.price-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1rem;
    flex-shrink: 0;
}

.price-content {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-note {
    font-size: 0.8rem;
    color: var(--color-gray);
}

.product-detail-actions {
    margin-top: 20px;
}

.product-accordion .accordion-item {
    border: 1px solid #eee;
    border-radius: var(--border-radius) !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.product-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-charcoal);
    gap: 10px;
}

.product-accordion .accordion-button i {
    color: var(--color-primary);
}

.product-accordion .accordion-button:not(.collapsed) {
    background-color: #FFF5F9;
    color: var(--color-primary);
}

.product-accordion .accordion-body {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--color-gray);
}

/* ---- FAQ Accordion ---- */
.faq-accordion .accordion-item {
    border: 1px solid #eee;
    border-radius: var(--border-radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-charcoal);
    padding: 18px 24px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #FFF5F9;
    color: var(--color-primary);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-gray);
    padding: 20px 24px;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, #1a1a2e 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2,
.cta-box h3 {
    color: var(--color-white);
    margin-bottom: 12px;
    position: relative;
}

.cta-box p {
    opacity: 0.85;
    margin-bottom: 25px;
    font-size: 1.02rem;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Social Section ---- */
.social-links-large {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-white);
    transition: var(--transition);
}

.social-circle:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--color-white);
}

.social-circle.facebook { background-color: #1877F2; }
.social-circle.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-circle.tiktok { background-color: #000000; }
.social-circle.telegram { background-color: #0088CC; }
.social-circle.whatsapp { background-color: var(--color-whatsapp); }

/* ---- Contact Page ---- */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

[dir="rtl"] .contact-card:hover {
    transform: translateX(-5px);
}

.contact-card-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card-icon.whatsapp-icon {
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
}

.contact-card-icon.telegram-icon {
    background: linear-gradient(135deg, #0088CC, #006699);
}

.contact-card-icon.email-icon {
    background: linear-gradient(135deg, var(--color-gold), #B8941E);
}

.contact-card-info h5 {
    font-size: 0.82rem;
    color: var(--color-gray);
    margin-bottom: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact-card-info a,
.contact-card-info p {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    font-weight: 600;
    margin: 0;
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
}

.contact-form-wrapper h3 {
    margin-bottom: 6px;
    font-size: 1.4rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 25px;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    color: var(--color-gray);
    font-size: 0.9rem;
    z-index: 2;
}

[dir="rtl"] .input-icon-wrap i {
    left: auto;
    right: 15px;
}

.form-control-icon {
    padding-left: 42px !important;
}

[dir="rtl"] .form-control-icon {
    padding-left: 18px !important;
    padding-right: 42px !important;
}

.contact-form .form-control {
    border-radius: 10px;
    padding: 12px 18px;
    border: 1.5px solid #e8e8e8;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--color-light-gray);
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.08);
    background: var(--color-white);
}

.contact-form .form-label {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--color-charcoal);
}

/* Success Alert Custom */
.alert-success-custom {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 1px solid #4CAF50;
    border-radius: var(--border-radius);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-success-custom .alert-icon {
    width: 45px;
    height: 45px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert-success-custom .alert-content strong {
    display: block;
    color: #2E7D32;
    margin-bottom: 2px;
}

.alert-success-custom .alert-content p {
    margin: 0;
    color: #388E3C;
    font-size: 0.9rem;
}

/* ---- 404 Page ---- */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.error-content p {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 30px;
}

/* ---- Footer ---- */
.main-footer {
    background: linear-gradient(180deg, #2D2D2D 0%, #1a1a2e 100%);
    color: var(--color-white);
    padding: 60px 0 30px;
    position: relative;
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-logo {
    height: 45px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 1px;
    font-family: var(--font-english);
}

.footer-brand-name span {
    color: var(--color-primary-light);
    font-weight: 300;
}

.footer-desc {
    font-size: 0.88rem;
    opacity: 0.75;
    line-height: 1.8;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-legal-links a {
    color: inherit;
    text-decoration: none;
    opacity: .85;
}

.footer-legal-links a:hover {
    color: var(--color-gold);
    opacity: 1;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 110px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    border-radius: 2px;
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary-light);
    padding-inline-start: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: var(--color-primary-light);
    margin-top: 3px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--color-primary-light);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.social-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

[dir="rtl"] .social-link:hover {
    transform: translateX(-3px);
}

.social-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.social-link.facebook:hover { color: #4267B2; }
.social-link.instagram:hover { color: #E1306C; }
.social-link.tiktok:hover { color: #fff; }
.social-link.telegram:hover { color: #0088CC; }
.social-link.whatsapp:hover { color: var(--color-whatsapp); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.6;
}

/* ---- Floating WhatsApp ---- */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 25px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--color-white);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---- Products Filters ---- */
.products-filters {
    padding: 15px 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-sort {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

/* ---- Quality Page ---- */
.quality-block {
    padding: 20px 0;
}

.quality-block h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.quality-block p {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.9;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-slide {
        height: clamp(500px, 68vh, 640px);
        height: clamp(500px, 68svh, 640px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .page-hero h1 {
        font-size: 1.9rem;
    }

    .top-bar-info span {
        font-size: 0.8rem;
        margin-inline-end: 12px;
    }

    .nav-whatsapp-item {
        margin: 10px 0;
        margin-inline-start: 0;
    }

    .nav-whatsapp-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .filter-sort {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .product-gallery {
        position: static;
    }

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

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

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        height: clamp(480px, 72vh, 620px);
        height: clamp(480px, 72svh, 620px);
    }

    .hero-content h1 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        line-height: 1.35;
    }

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

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

    .section-header h2 {
        font-size: 1.5rem;
    }

    .page-hero {
        padding: 50px 0;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .product-detail-title {
        font-size: 1.4rem;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
    }

    .error-code {
        font-size: 5rem;
    }

    .top-bar {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 125px;
        min-height: 36px;
        padding: 7px 14px;
        font-size: 0.78rem;
        text-align: center;
    }

    .product-price-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-logo-wrap {
        justify-content: center;
    }

    .footer-desc {
        text-align: center;
    }

    .contact-card:hover {
        transform: none;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* ---- Print Styles ---- */
@media print {
    .top-bar,
    .main-navbar,
    .floating-whatsapp,
    .main-footer,
    .cta-section {
        display: none !important;
    }
}

/* ===== Phase 3: Mobile Enhancements ===== */
@media (max-width: 768px) {
    body::after {
        content: "";
        display: block;
        height: calc(80px + env(safe-area-inset-bottom));
        background: #1a1a2e;
        pointer-events: none;
    }

    .main-footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    .top-bar { font-size: 0.75rem; padding: 6px 0; }
    .top-bar-info span { margin-inline-end: 8px; }
    .navbar-brand img { max-height: 40px; }
    .hero-slider .carousel-caption h2 { font-size: 1.3rem; }
    .hero-slider .carousel-caption p { font-size: 0.85rem; }
    .section-padding { padding: 40px 0; }
    .product-card { margin-bottom: 1rem; }
    .product-card .card-body { padding: 0.75rem; }
    .product-detail-info {
        display: flex;
        flex-direction: column;
    }
    .product-detail-info > .product-detail-title { order: 1; }
    .product-detail-info > .product-colors-block { order: 2; }
    .product-detail-info > :not(.product-detail-title):not(.product-colors-block) { order: 3; }
    .color-item { width: 30px; height: 30px; min-width: 30px; min-height: 30px; }
    .product-detail-section .color-item.color-selectable {
        width: auto;
        height: auto;
        min-width: 0;
        min-height: 0;
        white-space: nowrap;
    }
    .btn, .nav-link, a.dropdown-item { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .footer-section { padding: 30px 0; }
    .footer-section .col-lg-3 { margin-bottom: 1.5rem; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
    .whatsapp-float i { font-size: 1.5rem; }
    .product-detail-gallery img { border-radius: 8px; }
    .breadcrumb { font-size: 0.8rem; }
}

@media (max-width: 576px) {
    .top-bar-info .d-none { display: none !important; }
    .top-bar-social a { padding: 4px 6px; }
    .hero-slider .carousel-caption { padding: 10px; }
    .hero-slider .carousel-caption .btn { font-size: 0.8rem; padding: 8px 16px; }
    .section-title { font-size: 1.4rem; }
    .product-card .card-title { font-size: 0.9rem; }
}

/* Touch-friendly: minimum tap target */
.nav-link, .btn, .dropdown-item, .page-link, .color-item, .lang-switch a {
    touch-action: manipulation;
}

/* Lazy-loaded images */
img[loading="lazy"] {
    transition: opacity 0.3s;
}

/* ===== Blog & Collections Cards ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 60px;
    margin-bottom: 60px;
}
@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.blog-card-image {
    display: block;
    width: 100%;
    height: 240px;
    min-height: 240px;
    flex: 0 0 240px;
    overflow: hidden;
    background: #f8f9fa;
}
.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.blog-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.blog-card-title a {
    color: #212529;
    text-decoration: none;
}
.blog-card-title a:hover {
    color: var(--color-primary);
}
.blog-card-excerpt {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.blog-card-link {
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    min-height: 38px;
    margin-top: auto;
    padding: 6px 12px;
    border: 1px solid var(--color-primary);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.blog-card-link:hover {
    color: var(--color-white);
    background: var(--color-primary);
    text-decoration: none;
}
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 60px;
    margin-bottom: 60px;
}
@media (max-width: 991px) {
    .collections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
}
.collection-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.collection-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.collection-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f8f9fa;
}
.collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.collection-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.collection-card-body h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #212529;
}
.collection-card-body p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}
.collection-card-actions {
    margin-top: auto;
    padding-top: 20px;
}
.video-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 20px 0 8px;
    padding: 14px 18px;
    border: 1px solid rgba(232, 29, 126, 0.22);
    border-radius: 14px;
    background: rgba(232, 29, 126, 0.06);
    color: #222;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.video-scroll-hint:hover {
    transform: translateY(-2px);
    background: rgba(232, 29, 126, 0.10);
}

.video-scroll-hint__icon {
    font-size: 22px;
}

.video-scroll-hint > span:not(.video-scroll-hint__icon):not(.video-scroll-hint__arrow) {
    font-weight: 700;
}

.video-scroll-hint small {
    opacity: 0.75;
}

.video-scroll-hint__arrow {
    font-size: 22px;
    animation: videoHintBounce 1.4s infinite;
}

@keyframes videoHintBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

html {
    scroll-behavior: smooth;
}