/* ============================
   JINANÉ PARIS — Main Stylesheet
   Minimal French Luxury Design
   ============================ */

/* ---- CSS Variables ---- */
:root {
    --black: #000000;
    --ivory: #F5F3EF;
    --grey: #E5E7EB;
    --gold: #C6A769;
    --ice-blue: #EEF3F7;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #777777;
    --font-logo: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-arabic: 'Noto Sans Arabic', 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --container: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--ivory);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow-x: hidden;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-text {
    font-weight: 300;
    flex: 1;
    text-align: center;
}

.lang-switch {
    font-weight: 500;
    opacity: 0.85;
    padding: 4px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 11px;
    letter-spacing: 1px;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.lang-switch:hover {
    opacity: 1;
    border-color: var(--gold);
    color: var(--gold);
}

/* ---- Header ---- */
.header {
    background: var(--ivory);
    border-bottom: 1px solid var(--grey);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo-img {
    height: 44px;
    width: auto;
}

.logo-name {
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--black);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--text-light);
    margin-top: 2px;
    font-weight: 400;
}

/* Nav */
.nav {
    display: flex;
    gap: 36px;
}

.nav a {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Cart */
.cart-link {
    position: relative;
    color: var(--black);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--black);
    transition: var(--transition);
}

/* ---- Hero Section ---- */
.hero {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 40%, var(--ice-blue) 100%);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content {
    text-align: left;
    padding-top: 30px;
}

.hero-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-family: var(--font-logo);
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--black);
}

.hero h1 span {
    display: block;
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 6px;
}

.hero p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.8;
    max-width: 440px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    display: none;
}

.hero-image img {
    border-radius: 2px;
    position: relative;
    z-index: 1;
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: #222;
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1px solid var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: #b8984f;
}

/* ---- Features Bar ---- */
.features {
    background: var(--white);
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
    padding: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item h4 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 500;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
}

/* ---- Section Titles ---- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-logo);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--black);
    margin-bottom: 10px;
}

.section-title .gold-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
}

/* ---- Products Grid ---- */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--grey);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.product-card-image {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
    background: var(--ice-blue);
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.03);
}

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    font-weight: 500;
}

.product-card-info {
    padding: 24px;
    text-align: center;
}

.product-card-name {
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--black);
    letter-spacing: 0.5px;
}

.product-card-price {
    font-size: 16px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 16px;
}

.product-card .btn {
    width: 100%;
    padding: 12px;
    font-size: 10px;
}

/* ---- Quote Section ---- */
.quote-section {
    background: var(--white);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
}

.quote-section blockquote {
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: var(--black);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.quote-section .gold-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 24px auto 0;
}

/* ---- View All CTA ---- */
.view-all-cta {
    text-align: center;
    margin-top: 50px;
}

/* ---- Products Page ---- */
.page-header {
    background: var(--white);
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid var(--grey);
}

.page-header h1 {
    font-family: var(--font-logo);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 3px;
}

.page-header .gold-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 16px auto 0;
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.category-filter a {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-light);
    padding: 8px 16px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.category-filter a:hover,
.category-filter a.active {
    color: var(--black);
    border-color: var(--black);
}

/* ---- Single Product ---- */
.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-image {
    background: var(--white);
    border: 1px solid var(--grey);
    padding: 40px;
}

.product-detail-image img {
    width: 100%;
    object-fit: contain;
}

.product-detail-info h1 {
    font-family: var(--font-logo);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.product-detail-price {
    font-size: 24px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 24px;
}

.product-detail-desc {
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 32px;
    line-height: 1.8;
}

.product-detail .gold-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 32px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.quantity-selector label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--grey);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--white);
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-actions .btn {
    flex: 1;
}

/* ---- Cart Page ---- */
.cart-section {
    padding: 60px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.cart-table th {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 16px;
    border-bottom: 2px solid var(--black);
    text-align: left;
}

.cart-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--grey);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: var(--ice-blue);
    border: 1px solid var(--grey);
}

.cart-item-name {
    font-family: var(--font-logo);
    font-size: 16px;
}

.cart-table input[type="number"] {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid var(--grey);
    font-family: var(--font-body);
}

.cart-remove {
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.cart-remove:hover {
    color: #c00;
}

.cart-summary {
    max-width: 400px;
    margin-left: auto;
    background: var(--white);
    border: 1px solid var(--grey);
    padding: 32px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--grey);
    font-size: 14px;
}

.cart-summary-row.total {
    border-bottom: none;
    font-weight: 600;
    font-size: 18px;
    padding-top: 16px;
}

.cart-summary .btn {
    width: 100%;
    margin-top: 20px;
}

.cart-empty-message {
    text-align: center;
    padding: 80px 0;
}

.cart-empty-message p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ---- Checkout ---- */
.checkout-section {
    padding: 60px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.checkout-form {
    background: var(--white);
    border: 1px solid var(--grey);
    padding: 40px;
}

.checkout-form h2 {
    font-family: var(--font-logo);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--ivory);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.order-summary-box {
    background: var(--white);
    border: 1px solid var(--grey);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.order-summary-box h3 {
    font-family: var(--font-logo);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--grey);
    font-size: 14px;
}

.order-summary-item .item-qty {
    color: var(--text-light);
    font-size: 12px;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-weight: 600;
    font-size: 18px;
}

/* ---- Order Confirmation ---- */
.confirmation-section {
    padding: 80px 0;
    text-align: center;
}

.confirmation-box {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--grey);
    padding: 60px 40px;
}

.confirmation-box .checkmark {
    font-size: 48px;
    margin-bottom: 16px;
}

.confirmation-box h1 {
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 16px;
}

.confirmation-box .order-num {
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.confirmation-box p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ---- About Page ---- */
.about-hero {
    background: linear-gradient(180deg, var(--white) 0%, var(--ice-blue) 50%, var(--ivory) 100%);
    padding: 100px 0;
    text-align: center;
}

.about-hero-inner {
    max-width: 650px;
    margin: 0 auto;
}

.about-hero .about-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-hero h2 {
    font-family: var(--font-logo);
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--black);
}

.about-hero p {
    color: var(--text-light);
    font-weight: 300;
    font-size: 16px;
    line-height: 2;
    max-width: 560px;
    margin: 0 auto;
}

.about-section {
    padding: 80px 0;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-story-image {
    position: relative;
}

.about-story-image img {
    width: 100%;
    display: block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.about-story-image::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gold);
    opacity: 0.3;
    z-index: -1;
}

.about-story-text h3 {
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-story-text .gold-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 24px;
}

.about-story-text p {
    color: var(--text-light);
    font-weight: 300;
    line-height: 2;
    font-size: 15px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 0;
    text-align: center;
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
}

.about-value {
    padding: 40px 30px;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}

.about-value h4 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-value p {
    font-size: 13px;
    margin-bottom: 0;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.8;
}

/* ---- Footer ---- */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.footer-logo .logo-name {
    color: var(--white);
    font-size: 22px;
    letter-spacing: 4px;
}

.footer-logo .logo-sub {
    color: rgba(255,255,255,0.5);
    letter-spacing: 3px;
}

.footer-tagline {
    font-family: var(--font-logo);
    font-style: italic;
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-desc {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 300;
}

.footer-col h4 {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 300;
}

.footer-col ul a:hover {
    color: var(--gold);
}

.footer-newsletter-text {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--gold);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #b8984f;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* ---- Alerts ---- */
.alert {
    padding: 14px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid;
}

.alert-success {
    background: #f0faf0;
    border-color: #b6e0b6;
    color: #2d6b2d;
}

.alert-error {
    background: #fef0f0;
    border-color: #e0b6b6;
    color: #6b2d2d;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ivory);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--grey);
        z-index: 99;
    }

    .nav.open {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-label {
        justify-content: center;
    }

    .hero-label::before {
        display: none;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h1 span {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .hero-image::before {
        display: none;
    }

    .about-hero h2 {
        font-size: 30px;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story-image::after {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .feature-item h4 {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .feature-item p {
        display: block;
        font-size: 8px;
        margin-top: 4px;
    }

    .features {
        padding: 20px 0;
        border-left: none;
        border-right: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-image {
        padding-top: 100%;
    }

    .product-card-info {
        padding: 12px;
    }

    .product-card-name {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .product-card-price {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .product-card .btn {
        padding: 8px;
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .product-card-badge {
        font-size: 7px;
        padding: 3px 8px;
        top: 10px;
        left: 10px;
    }

    .products-section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .view-all-cta {
        margin-top: 30px;
    }

    .quote-section {
        padding: 40px 0;
    }

    .quote-section blockquote {
        font-size: 22px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-info h1 {
        font-size: 24px;
    }

    .product-detail-image {
        padding: 20px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-form {
        padding: 24px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .feature-item p {
        display: block;
        font-size: 8px;
        margin-top: 4px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-col h4 {
        margin-bottom: 12px;
    }

    .newsletter-form {
        max-width: 320px;
        margin: 0 auto;
    }

    /* Cart table → stacked cards on mobile */
    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table tr {
        padding: 16px 0;
        border-bottom: 1px solid var(--grey);
        position: relative;
    }

    .cart-table td {
        padding: 4px 0;
        border-bottom: none;
        text-align: left;
    }

    .cart-table td::before {
        content: attr(data-label);
        font-size: 10px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        font-weight: 500;
        color: var(--text-light);
        display: block;
        margin-bottom: 2px;
    }

    .cart-item-info {
        flex-direction: row;
        gap: 12px;
    }

    .cart-item-img {
        width: 60px;
        height: 60px;
    }

    .cart-summary {
        margin-left: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-value {
        padding: 30px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .quote-section blockquote {
        font-size: 22px;
    }

    .confirmation-box {
        padding: 40px 24px;
        margin: 0 16px;
    }

    .top-bar {
        font-size: 10px;
    }

    .top-bar .container {
        position: relative;
        gap: 8px;
    }

    .top-bar-text {
        font-size: 9px;
    }

    .lang-switch {
        font-size: 10px;
        padding: 3px 10px;
    }

    .header-inner {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .logo-img {
        height: 32px;
    }

    .logo-name {
        font-size: 22px;
        letter-spacing: 4px;
    }

    .logo-sub {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .quantity-selector {
        flex-wrap: wrap;
    }

    .category-filter {
        gap: 10px;
    }

    .category-filter a {
        font-size: 10px;
        padding: 6px 12px;
    }

    .order-summary-box {
        position: static;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card-image {
        padding-top: 110%;
    }

    .product-card-info {
        padding: 10px;
    }

    .product-card-name {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .product-card-price {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .product-card .btn {
        padding: 7px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    .product-card-badge {
        font-size: 6px;
        padding: 2px 6px;
        top: 8px;
        left: 8px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero {
        min-height: auto;
    }

    .hero .container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hero-image {
        max-width: 200px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .product-actions {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 10px;
    }

    .hero-buttons .btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 9px;
    }

    .about-hero h2 {
        font-size: 26px;
    }

    .about-hero {
        padding: 60px 0;
    }

    .features {
        padding: 16px 0;
    }

    .features-grid {
        gap: 8px;
    }

    .feature-item h4 {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .products-section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .quote-section {
        padding: 30px 0;
    }

    .quote-section blockquote {
        font-size: 18px;
    }

    .view-all-cta {
        margin-top: 24px;
    }
}

/* ============================================
   NEW FEATURES — Auth, Account, Search, Track,
   Chat, Currency, Stock
   ============================================ */

/* ---- Top Bar Updates ---- */
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.currency-switcher {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.currency-switcher a {
    padding: 3px 8px;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.6);
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.currency-switcher a:last-child {
    border-right: none;
}

.currency-switcher a.active,
.currency-switcher a:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.05);
}

/* ---- Header Actions ---- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon-link {
    color: var(--black);
    display: flex;
    align-items: center;
}

.header-icon-link:hover {
    color: var(--gold);
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--grey);
    min-width: 180px;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding-top: 8px;
    margin-top: 0;
}

.account-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.account-dropdown:hover .account-dropdown-menu {
    display: block;
}

.account-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--grey);
}

.account-dropdown-menu a:last-child {
    border-bottom: none;
}

.account-dropdown-menu a:hover {
    background: var(--ivory);
    color: var(--gold);
}

/* ---- Auth Pages ---- */
.auth-section {
    padding: 60px 0;
}

.auth-box {
    max-width: 460px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--grey);
    padding: 48px 40px;
}

.auth-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.8;
    text-align: center;
}

.auth-links {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

.auth-links a {
    color: var(--gold);
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links p {
    margin-bottom: 8px;
}

.btn-text-link {
    background: none;
    border: none;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.btn-text-link:hover {
    color: #b8984f;
}

/* Code input */
.code-input {
    text-align: center;
    font-size: 28px !important;
    letter-spacing: 12px !important;
    font-weight: 600;
    padding: 16px !important;
}

/* ---- Account Page ---- */
.account-section {
    padding: 60px 0;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.account-card {
    background: var(--white);
    border: 1px solid var(--grey);
    padding: 32px;
    margin-bottom: 20px;
}

.account-card h2 {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.account-card-header h2 {
    margin-bottom: 0;
}

.account-card select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--ivory);
}

.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

/* Orders list in account */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--grey);
    flex-wrap: wrap;
    gap: 8px;
}

.order-row:last-child {
    border-bottom: none;
}

.order-date {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

.order-total {
    font-weight: 500;
    margin-left: 12px;
}

.text-muted {
    color: var(--text-light);
    font-size: 14px;
}

/* ---- My Orders Page ---- */
.orders-section {
    padding: 60px 0;
}

.order-card {
    background: var(--white);
    border: 1px solid var(--grey);
    margin-bottom: 20px;
    overflow: hidden;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--grey);
    background: var(--ivory);
}

.order-card-number {
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
}

.order-card-date {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.order-card-items {
    padding: 20px 24px;
}

.order-card-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
}

.order-item-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid var(--grey);
}

.order-item-name {
    font-family: var(--font-logo);
    font-size: 15px;
    display: block;
}

.order-item-meta {
    font-size: 12px;
    color: var(--text-light);
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid var(--grey);
    background: var(--ivory);
}

.order-card-total {
    font-weight: 600;
    font-size: 15px;
}

.order-card-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 10px;
    letter-spacing: 1.5px;
}

/* ---- Status Badges ---- */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.badge-pending {
    background: #FEF3CD;
    color: #856404;
}

.badge-confirmed {
    background: #D1ECF1;
    color: #0C5460;
}

.badge-shipped {
    background: #E2D5F7;
    color: #573A8A;
}

.badge-delivered {
    background: #D4EDDA;
    color: #155724;
}

.badge-cancelled {
    background: #F8D7DA;
    color: #721C24;
}

.badge-soldout {
    background: #721C24;
}

/* ---- Search Page ---- */
.search-section {
    padding: 60px 0;
}

.search-box {
    display: flex;
    gap: 0;
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--grey);
    border-right: none;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
}

.search-box .btn {
    border: 1px solid var(--black);
}

.search-count {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

/* ---- Order Tracking ---- */
.track-section {
    padding: 60px 0;
}

.track-search-box {
    max-width: 500px;
    margin: 0 auto 40px;
}

.track-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.track-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.track-result {
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    padding: 0 20px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 100px;
}

.timeline-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 1;
}

.timeline-step.active .timeline-dot {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
}

.timeline-step.current .timeline-dot {
    box-shadow: 0 0 0 4px rgba(198, 167, 105, 0.2);
}

.timeline-label {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    text-align: center;
}

.timeline-step.active .timeline-label {
    color: var(--black);
    font-weight: 500;
}

.timeline-line {
    flex: 1;
    height: 2px;
    background: var(--grey);
    margin: 0 -10px;
    margin-bottom: 30px;
}

.timeline-line.active {
    background: var(--gold);
}

.track-cancelled {
    text-align: center;
    padding: 40px;
    background: #FEF0F0;
    border: 1px solid #E0B6B6;
    margin: 20px 0;
}

.track-cancelled-icon {
    font-size: 36px;
    color: #C00;
    margin-bottom: 12px;
}

.track-cancelled h3 {
    font-family: var(--font-logo);
    font-size: 22px;
    margin-bottom: 8px;
}

.track-cancelled p {
    color: var(--text-light);
}

.track-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.track-info-card {
    background: var(--white);
    border: 1px solid var(--grey);
    padding: 20px;
    text-align: center;
}

.track-info-label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.track-info-value {
    font-weight: 500;
    font-size: 15px;
}

.track-items-title {
    font-family: var(--font-logo);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 16px;
    margin-top: 30px;
}

.track-items {
    background: var(--white);
    border: 1px solid var(--grey);
}

.track-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--grey);
}

.track-item:last-child {
    border-bottom: none;
}

.track-item-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid var(--grey);
}

.track-item-info {
    flex: 1;
}

.track-item-info span:first-child {
    display: block;
    font-family: var(--font-logo);
    font-size: 15px;
}

.track-item-price {
    font-weight: 500;
    white-space: nowrap;
}

/* ---- Chat / Support ---- */
.chat-section {
    padding: 60px 0;
}

.chat-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--grey);
    overflow: hidden;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--ivory);
    border-bottom: 1px solid var(--grey);
    font-size: 14px;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-welcome {
    text-align: center;
    color: var(--text-light);
    padding: 60px 0;
    font-size: 14px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.chat-msg-customer {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-msg-admin {
    align-self: flex-start;
    align-items: flex-start;
}

.chat-msg-bubble {
    padding: 12px 18px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 1.6;
}

.chat-msg-customer .chat-msg-bubble {
    background: var(--black);
    color: var(--white);
}

.chat-msg-admin .chat-msg-bubble {
    background: var(--ice-blue);
    color: var(--text);
}

.chat-msg-time {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 4px;
}

.chat-input-form {
    display: flex;
    border-top: 1px solid var(--grey);
}

.chat-input-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    background: transparent;
}

.chat-input-form input:focus {
    outline: none;
}

.chat-input-form .btn {
    border: none;
    border-left: 1px solid var(--grey);
}

.chat-whatsapp {
    padding: 20px 24px;
    border-top: 1px solid var(--grey);
    text-align: center;
    background: var(--ivory);
}

.chat-whatsapp p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #25D366;
    color: var(--white);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1FAD54;
}

/* ---- Stock Badges ---- */
.stock-badge {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 4px 0;
}

.in-stock {
    color: #2d6b2d;
}

.low-stock {
    color: #C6A769;
}

.out-of-stock {
    color: #c00;
}

/* ---- Responsive for new features ---- */
@media (max-width: 768px) {
    .top-bar-right {
        gap: 8px;
    }

    .currency-switcher a {
        padding: 2px 5px;
        font-size: 8px;
    }

    .header-actions {
        gap: 10px;
    }

    .header-icon-link svg {
        width: 18px;
        height: 18px;
    }

    .account-dropdown-menu {
        right: -20px;
        min-width: 160px;
    }

    .auth-box {
        padding: 32px 24px;
        margin: 0 8px;
    }

    .code-input {
        font-size: 22px !important;
        letter-spacing: 8px !important;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .order-card-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .order-card-actions {
        justify-content: center;
    }

    .track-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        flex-wrap: wrap;
        gap: 8px;
    }

    .timeline-step {
        min-width: 70px;
    }

    .timeline-label {
        font-size: 9px;
    }

    .timeline-dot {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .timeline-line {
        display: none;
    }

    .chat-messages {
        height: 300px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-input {
        border-right: 1px solid var(--grey);
    }

    .track-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .track-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .track-info-card {
        padding: 14px;
    }

    .track-info-label {
        font-size: 8px;
    }

    .track-info-value {
        font-size: 13px;
    }

    .chat-msg {
        max-width: 85%;
    }
}
