  :root {
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-dark: #8a6a20;
    --cream: #f9f3e8;
    --dark: #0d0a05;
    --deep: #1a1308;
    --mid: #2e2410;
    --text: #d6c49a;
    --text-dim: #8a7a58;
    --green-stock: #6dbf7e;
    --red-stock: #c9514c;
  }

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

html { scroll-behavior: smooth; }

body {
background: var(--dark);
color: var(--text);
font-family: 'Cormorant Garamond', serif;
min-height: 100vh;
overflow-x: hidden;
}

/* -- Background texture -- */
body::before {
content: '';
position: fixed;
inset: 0;
background:
radial-gradient(ellipse at 20% 20%, rgba(201,168,76,0.07) 0%, transparent 55%),
radial-gradient(ellipse at 80% 80%, rgba(201,168,76,0.05) 0%, transparent 55%),
url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='rgba(201,168,76,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
pointer-events: none;
z-index: 0;
}

/* -- Header -- */
header {
position: sticky;
top: 0;
z-index: 100;
background: rgba(13,10,5,0.92);
backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(201,168,76,0.2);
padding: 18px 48px;
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
display: flex;
flex-direction: column;
line-height: 1;
}

.logo-title {
font-family: 'Cinzel Decorative', serif;
font-size: 26px;
font-weight: 900;
letter-spacing: 6px;
color: var(--gold);
text-shadow: 0 0 30px rgba(201,168,76,0.4);
}

.logo-sub {
font-family: 'Cormorant Garamond', serif;
font-size: 20px;
letter-spacing: 5px;
color: var(--text-dim);
font-style: italic;
margin-top: 3px;
text-align: center;
}

nav {
display: flex;
gap: 36px;
}

nav a {
font-family: 'Raleway', sans-serif;
font-size: 15px;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--text-dim);
text-decoration: none;
transition: color 0.3s;
}
nav a:hover { color: var(--gold); }

.header-ornament {
font-size: 22px;
color: var(--gold);
opacity: 0.6;
letter-spacing: 8px;
}

/* -- Hero -- */
.hero {
position: relative;
z-index: 1;
text-align: center;
padding: 90px 48px 70px;
overflow: hidden;
}

.hero::after {
content: '';
position: absolute;
bottom: 0; left: 50%;
transform: translateX(-50%);
width: 300px; height: 1px;
background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-tag {
font-family: 'Raleway', sans-serif;
font-size: 10px;
letter-spacing: 6px;
text-transform: uppercase;
color: var(--gold-dark);
margin-bottom: 20px;
}

.hero h1 {
font-family: 'Cinzel Decorative', serif;
font-size: clamp(28px, 5vw, 58px);
font-weight: 400;
color: var(--cream);
line-height: 1.2;
margin-bottom: 18px;
text-shadow: 0 4px 40px rgba(201,168,76,0.2);
}

.hero h1 em {
color: var(--gold);
font-style: normal;
}

.hero p {
font-size: 17px;
font-style: italic;
color: var(--text-dim);
max-width: 520px;
margin: 0 auto;
line-height: 1.8;
}

.arabic-ornament {
font-size: 32px;
color: var(--gold);
opacity: 0.35;
display: block;
margin: 20px auto 0;
letter-spacing: 12px;
}

/* -- Main layout -- */
.main-layout {
display: flex;
gap: 0;
position: relative;
z-index: 1;
max-width: 1600px;
margin: 0 auto;
padding: 0 24px 80px;
align-items: flex-start;
}

/* -- Catalog -- */
.catalog {
flex: 1;
min-width: 0;
padding-right: 32px;
}

.line-section {
margin-bottom: 60px;
animation: fadeUp 0.7s ease both;
}

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

.line-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 28px;
padding-bottom: 16px;
border-bottom: 1px solid rgba(201,168,76,0.15);
position: relative;
}

.line-icon {
width: 48px; height: 48px;
border-radius: 50%;
background: linear-gradient(135deg, var(--gold-dark), var(--gold));
display: flex; align-items: center; justify-content: center;
font-size: 20px;
flex-shrink: 0;
box-shadow: 0 0 20px rgba(201,168,76,0.3);
}

.line-info h2 {
font-family: 'Cinzel Decorative', serif;
font-size: 18px;
font-weight: 700;
color: var(--gold-light);
letter-spacing: 3px;
}

.line-info p {
font-size: 13px;
font-style: italic;
color: var(--text-dim);
margin-top: 4px;
}

.line-badge {
margin-left: auto;
font-family: 'Raleway', sans-serif;
font-size: 9px;
letter-spacing: 3px;
text-transform: uppercase;
padding: 5px 14px;
border: 1px solid rgba(201,168,76,0.3);
color: var(--gold-dark);
border-radius: 20px;
}

/* -- Product Grid -- */
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
gap: 20px;
}

.product-card {
background: linear-gradient(145deg, rgba(30,22,8,0.95), rgba(20,15,5,0.95));
border: 1px solid rgba(201,168,76,0.12);
border-radius: 4px;
overflow: hidden;
transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
cursor: pointer;
position: relative;
}

.product-card:hover {
transform: translateY(-5px);
border-color: rgba(201,168,76,0.45);
box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(201,168,76,0.1);
}

.product-card.out-of-stock {
opacity: 0.6;
filter: grayscale(0.5);
}

.card-visual {
height: 220px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
border-radius: 18px;
box-shadow: inset 0 0 40px rgba(0,0,0,0.15);
}

.card-visual::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.08), transparent 45%);
opacity: 1;
}

.card-visual img,
.card-visual .bottle-svg {
max-width: 100%;
max-height: 100%;
object-fit: contain;
object-position: center;
position: relative;
z-index: 1;
}

.bottle-svg {
width: 80px;
height: 130px;
filter: drop-shadow(0 4px 16px rgba(201,168,76,0.4));
transition: transform 0.4s ease;
position: relative;
z-index: 1;
}

.product-card:hover .bottle-svg {
transform: scale(1.08) translateY(-4px);
}

.stock-badge {
position: absolute;
top: 10px; right: 10px;
font-family: 'Raleway', sans-serif;
font-size: 8px;
letter-spacing: 2px;
text-transform: uppercase;
padding: 3px 10px;
border-radius: 20px;
font-weight: 500;
z-index: 2;
}

.stock-badge.in {
background: rgba(109,191,126,0.15);
color: var(--green-stock);
border: 1px solid rgba(109,191,126,0.3);
}

.stock-badge.out {
background: rgba(201,81,76,0.15);
color: var(--red-stock);
border: 1px solid rgba(201,81,76,0.3);
}

.card-body {
padding: 16px 18px 18px;
border-top: 1px solid rgba(201,168,76,0.08);
}

.card-name {
font-family: 'Cormorant Garamond', serif;
font-size: 16px;
font-weight: 600;
color: var(--cream);
margin-bottom: 4px;
letter-spacing: 0.5px;
}

.card-variant {
font-size: 12px;
font-style: italic;
color: var(--text-dim);
margin-bottom: 10px;
}

.card-notes {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-bottom: 14px;
}

.note-tag {
font-family: 'Raleway', sans-serif;
font-size: 9px;
letter-spacing: 1px;
padding: 2px 8px;
background: rgba(201,168,76,0.07);
border: 1px solid rgba(201,168,76,0.15);
color: var(--gold-dark);
border-radius: 2px;
text-transform: uppercase;
}

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

.card-price {
font-family: 'Cinzel Decorative', serif;
font-size: 15px;
color: var(--gold);
}

.card-size {
font-family: 'Raleway', sans-serif;
font-size: 10px;
color: var(--text-dim);
letter-spacing: 1px;
}

.btn-ask {
font-family: 'Raleway', sans-serif;
font-size: 9px;
letter-spacing: 2px;
text-transform: uppercase;
padding: 6px 14px;
background: transparent;
border: 1px solid rgba(201,168,76,0.4);
color: var(--gold);
border-radius: 2px;
cursor: pointer;
transition: all 0.3s;
}

.btn-ask:hover {
background: rgba(201,168,76,0.12);
border-color: var(--gold);
}

/* -- WhatsApp Chat Sidebar -- */
.wa-sidebar {
width: 340px;
flex-shrink: 0;
position: sticky;
top: 90px;
height: calc(100vh - 120px);
display: flex;
flex-direction: column;
}

.wa-panel {
background: rgba(15,12,4,0.97);
border: 1px solid rgba(201,168,76,0.2);
border-radius: 6px;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(201,168,76,0.1);
}

.wa-header {
padding: 18px 20px;
background: linear-gradient(135deg, #1a1a0a, #0d0a00);
border-bottom: 1px solid rgba(201,168,76,0.2);
display: flex;
align-items: center;
gap: 14px;
}

.wa-avatar {
width: 44px; height: 44px;
border-radius: 50%;
background: linear-gradient(135deg, #25d366, #128c7e);
display: flex; align-items: center; justify-content: center;
font-size: 20px;
flex-shrink: 0;
box-shadow: 0 0 16px rgba(37,211,102,0.3);
}

.wa-info h3 {
font-family: 'Cinzel Decorative', serif;
font-size: 13px;
color: var(--gold-light);
letter-spacing: 2px;
}

.wa-info p {
font-size: 11px;
color: #25d366;
font-family: 'Raleway', sans-serif;
margin-top: 2px;
}

.wa-online-dot {
width: 8px; height: 8px;
background: #25d366;
border-radius: 50%;
display: inline-block;
margin-right: 5px;
box-shadow: 0 0 6px #25d366;
animation: pulse 2s infinite;
}

@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}

.wa-messages {
flex: 1;
padding: 20px 16px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 12px;
background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='0.5' fill='rgba(201,168,76,0.04)'/%3E%3C/svg%3E");
}

.wa-messages::-webkit-scrollbar { width: 3px; }
.wa-messages::-webkit-scrollbar-track { background: transparent; }
.wa-messages::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

.msg {
max-width: 85%;
padding: 10px 14px;
border-radius: 4px;
font-size: 13px;
line-height: 1.55;
animation: msgIn 0.3s ease;
}

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

.msg.bot {
background: rgba(25,20,8,0.95);
border: 1px solid rgba(201,168,76,0.15);
color: var(--text);
align-self: flex-start;
border-bottom-left-radius: 0;
}

.msg.user {
background: rgba(37,211,102,0.12);
border: 1px solid rgba(37,211,102,0.2);
color: #d0eed8;
align-self: flex-end;
border-bottom-right-radius: 0;
}

.msg-time {
font-size: 10px;
color: var(--text-dim);
font-family: 'Raleway', sans-serif;
margin-top: 5px;
opacity: 0.6;
}

.quick-replies {
display: flex;
flex-wrap: wrap;
gap: 7px;
padding: 12px 16px;
border-top: 1px solid rgba(201,168,76,0.08);
}

.qr-btn {
font-family: 'Raleway', sans-serif;
font-size: 10px;
letter-spacing: 1px;
padding: 5px 12px;
background: rgba(201,168,76,0.06);
border: 1px solid rgba(201,168,76,0.2);
color: var(--gold);
border-radius: 20px;
cursor: pointer;
transition: all 0.3s;
white-space: nowrap;
}

.qr-btn:hover {
background: rgba(201,168,76,0.15);
border-color: var(--gold);
}

.wa-compose {
display: flex;
padding: 14px 16px;
gap: 10px;
border-top: 1px solid rgba(201,168,76,0.15);
align-items: flex-end;
background: rgba(10,8,2,0.8);
}

.wa-compose textarea {
flex: 1;
background: rgba(255,255,255,0.04);
border: 1px solid rgba(201,168,76,0.2);
border-radius: 4px;
padding: 10px 14px;
color: var(--text);
font-family: 'Cormorant Garamond', serif;
font-size: 14px;
resize: none;
min-height: 42px;
max-height: 100px;
outline: none;
transition: border-color 0.3s;
}

.wa-compose textarea:focus { border-color: rgba(201,168,76,0.5); }
.wa-compose textarea::placeholder { color: var(--text-dim); font-style: italic; }

.send-btn {
width: 42px; height: 42px;
border-radius: 50%;
background: linear-gradient(135deg, #25d366, #128c7e);
border: none;
cursor: pointer;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
transition: all 0.3s;
box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}

.send-btn:hover {
transform: scale(1.08);
box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.send-btn svg { fill: white; width: 18px; }

.wa-footer {
padding: 10px 16px;
text-align: center;
font-family: 'Raleway', sans-serif;
font-size: 9px;
letter-spacing: 2px;
color: var(--text-dim);
text-transform: uppercase;
border-top: 1px solid rgba(201,168,76,0.06);
}

.wa-footer a {
color: #25d366;
text-decoration: none;
font-weight: 500;
}

/* -- Footer -- */
footer {
position: relative; z-index: 1;
text-align: center;
padding: 40px;
border-top: 1px solid rgba(201,168,76,0.1);
color: var(--text-dim);
font-size: 12px;
letter-spacing: 2px;
font-family: 'Raleway', sans-serif;
}

.footer-gold {
color: var(--gold);
font-family: 'Cinzel Decorative', serif;
font-size: 14px;
display: block;
margin-bottom: 8px;
}

/* -- Divider ornament -- */
.ornament-divider {
text-align: center;
color: var(--gold);
opacity: 0.2;
font-size: 18px;
letter-spacing: 10px;
margin: 10px 0 40px;
}

/* -- Responsive -- */
@media (max-width: 1100px) {
.wa-sidebar { width: 300px; }
}
@media (max-width: 900px) {
.main-layout { flex-direction: column; padding: 0 16px 60px; }
.catalog { padding-right: 0; }
.wa-sidebar { width: 100%; position: static; height: 520px; }
header { padding: 14px 20px; }
nav { display: none; }
}