/* ============================================================
   Real Antiques — storefront styles
   ============================================================ */
/* Brand palette — taken from the Real Antiques logo:
   deep slate-navy, parchment cream, and a steel-blue. */
:root{
  --navy:#2b3a47;          /* logo badge navy */
  --navy-dark:#1f2a34;     /* deeper navy */
  --steel:#8fa3b0;         /* logo steel-blue lettering */
  --parchment:#d6c6a0;     /* logo cream border */
  --gold:#9a8350;          /* aged brass — readable parchment tone for links/accents */
  --gold-light:#b89b63;
  --cream:#f4efe3;         /* warm paper background */
  --cream-2:#e9e1d0;       /* card / alt background */
  --ink:#2b2b2b;
  --muted:#6f6a60;
  --line:#e0d8c6;
  --white:#ffffff;
  --radius:6px;
  --shadow:0 2px 14px rgba(31,42,53,.07);
  --shadow-lg:0 10px 40px rgba(31,42,53,.12);
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  font-size:16px;
}
h1,h2,h3,h4{font-family:'Cormorant Garamond',Georgia,serif;line-height:1.2;color:var(--navy);font-weight:600;}
a{color:var(--navy);text-decoration:none;}
a:hover{color:var(--gold);}
img{max-width:100%;display:block;}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px;}
.section{padding:56px 0;}
.section-narrow{max-width:760px;margin:0 auto;}
.section-center{text-align:center;}
.muted{color:var(--muted);}
.lead{font-size:1.12rem;color:var(--muted);}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;padding:12px 24px;border-radius:var(--radius);
  font-weight:600;font-size:.95rem;cursor:pointer;border:1.5px solid transparent;
  transition:.15s;text-align:center;font-family:inherit;
}
.btn-primary{background:var(--navy);color:#fff;border-color:var(--navy);}
.btn-primary:hover{background:var(--navy-dark);color:#fff;}
.btn-ghost{background:transparent;color:var(--navy);border-color:var(--navy);}
.btn-ghost:hover{background:var(--navy);color:#fff;}
.btn-wa{background:#25975e;color:#fff;border-color:#25975e;}
.btn-wa:hover{background:#1f7d4e;color:#fff;}
.btn-small{padding:7px 14px;font-size:.85rem;}
.btn-block{display:block;width:100%;margin-top:10px;}

/* ---------- header ---------- */
.site-header{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;}
.header-inner{display:flex;align-items:center;gap:24px;padding-top:9px;padding-bottom:9px;}
.brand{display:flex;align-items:center;}
.brand-logo{height:78px;width:auto;display:block;}
.main-nav{display:flex;gap:22px;margin-left:auto;}
.main-nav a{font-size:.92rem;font-weight:500;color:var(--ink);padding:4px 0;border-bottom:2px solid transparent;}
.main-nav a:hover,.main-nav a.active{color:var(--navy);border-color:var(--gold);}
.header-actions{display:flex;align-items:center;gap:14px;}
.search-mini input{
  border:1px solid var(--line);border-radius:20px;padding:8px 14px;font-size:.85rem;width:170px;
  background:var(--cream);font-family:inherit;
}
.search-mini input:focus{outline:none;border-color:var(--gold);}
.cart-link{font-weight:600;font-size:.9rem;position:relative;white-space:nowrap;}
.cart-badge{
  background:var(--gold);color:#fff;border-radius:10px;font-size:.7rem;padding:1px 6px;margin-left:4px;
}
.nav-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--navy);}

/* ---------- flash ---------- */
.flash{padding:12px 18px;border-radius:var(--radius);margin:16px 0;font-size:.92rem;}
.flash-success{background:#e7f3ec;color:#1f6b41;border:1px solid #bfe0cc;}
.flash-error{background:#fbeaea;color:#9a3434;border:1px solid #eecaca;}

/* ---------- hero ---------- */
.hero{
  background:linear-gradient(rgba(31,42,52,.66), rgba(31,42,52,.84)), url('/images/hero.jpg') center/cover no-repeat;
  color:#fff;padding:84px 0;text-align:center;position:relative;
}
.hero-logo{height:128px;width:auto;display:block;margin:0 auto 20px;filter:drop-shadow(0 6px 18px rgba(0,0,0,.35));}
.hero-eyebrow{text-transform:uppercase;letter-spacing:3px;font-size:.78rem;color:var(--gold-light);margin-bottom:14px;}
.hero h1{color:#fff;font-size:3.2rem;margin-bottom:18px;}
.hero-sub{max-width:620px;margin:0 auto 28px;color:#dfe4ec;font-size:1.1rem;}
.hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
.hero .btn-ghost{color:#fff;border-color:rgba(255,255,255,.5);}
.hero .btn-ghost:hover{background:#fff;color:var(--navy);}

/* ---------- sections ---------- */
.section-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:26px;gap:16px;flex-wrap:wrap;}
.section-head h2{font-size:2rem;}
.section-link{font-weight:600;font-size:.92rem;color:var(--gold);}
.page-head{margin-bottom:32px;}
.page-head h1{font-size:2.6rem;margin-bottom:10px;}

.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.why-item{
  background:#f4ebd7 url('/images/paper-texture.jpg') center/cover;
  border:1px solid var(--parchment);border-radius:var(--radius);
  padding:20px 22px;display:flex;flex-direction:column;transition:.18s;
  box-shadow:var(--shadow);
}
.why-item:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--gold);}
.why-icon{
  width:40px;height:40px;border-radius:50%;flex-shrink:0;
  background:var(--navy);color:#e8dfc8;
  display:grid;place-items:center;margin-bottom:12px;
}
.why-icon .ra-icon{width:21px;height:21px;}
.why-item h3{font-size:1.3rem;margin-bottom:0;color:var(--navy);}
.why-item h3::after{content:"";display:block;width:30px;height:2px;background:var(--gold);margin:6px 0 8px;}
.why-item p{color:#574f3d;font-size:.95rem;line-height:1.55;}

/* ---------- category tiles ---------- */
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.category-tile{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:.15s;
}
.category-tile:hover{border-color:var(--gold);box-shadow:var(--shadow-lg);transform:translateY(-3px);}
.category-tile-img{display:block;aspect-ratio:4/3;background:var(--cream-2) center/cover no-repeat;}
.category-tile-body{padding:15px 18px 18px;display:flex;flex-direction:column;gap:5px;}
.category-tile-name{font-family:'Cormorant Garamond',serif;font-size:1.35rem;font-weight:600;color:var(--navy);}
.category-tile-tag{font-size:.83rem;color:var(--muted);}

/* ---------- product grid + card ---------- */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.product-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.15s;display:block;}
.product-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);border-color:var(--gold);}
.product-card-img{position:relative;aspect-ratio:1/1;background:var(--cream-2);overflow:hidden;}
.product-card-img img{width:100%;height:100%;object-fit:cover;}
.product-card-img.placeholder{display:grid;place-items:center;}
.product-card-img.placeholder span{font-family:'Cormorant Garamond',serif;font-size:1.1rem;color:#b9b09c;}
.product-card-body{padding:16px;}
.product-card-body h3{font-size:1.15rem;margin-bottom:8px;line-height:1.3;}
.product-card-view{display:inline-block;color:var(--gold);font-size:.92rem;font-weight:500;}
.price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;}
.price-now{font-weight:600;color:var(--navy);font-size:1.02rem;}
.price-was{text-decoration:line-through;color:var(--muted);font-size:.88rem;}
.price-enquire{color:var(--gold);font-size:.92rem;}
.tag{position:absolute;top:10px;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:3px 9px;border-radius:3px;}
.tag-sale{left:10px;background:var(--gold);color:#fff;}
.tag-sold{right:10px;background:#7a7a7a;color:#fff;}

/* ---------- band ---------- */
.band{background:var(--cream-2);}
.band-inner{padding:56px 0;}
.band-inner h2{font-size:2.2rem;margin-bottom:12px;}
.band-inner p{max-width:640px;color:var(--muted);margin-bottom:20px;}

/* ---------- breadcrumb ---------- */
.breadcrumb{font-size:.84rem;color:var(--muted);margin-bottom:18px;}
.breadcrumb a{color:var(--muted);}
.breadcrumb a:hover{color:var(--gold);}

/* ---------- collections list ---------- */
.collection-list{display:flex;flex-direction:column;gap:18px;}
.collection-row{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  display:flex;overflow:hidden;transition:.15s;
}
.collection-row:hover{border-color:var(--gold);box-shadow:var(--shadow);}
.collection-row-img{flex:0 0 240px;background:var(--cream-2) center/cover no-repeat;display:block;}
.collection-row-body{padding:26px 28px;flex:1;}
.collection-row h2{font-size:1.7rem;}
.collection-tag{color:var(--gold);font-style:italic;margin:4px 0 8px;}
.collection-row p{color:var(--muted);margin-bottom:14px;}
.collection-row-links{display:flex;gap:10px;flex-wrap:wrap;}

/* history page illustration plate */
.article-figure{
  width:100%;max-width:390px;aspect-ratio:1/1;margin:24px auto 8px;
  background:var(--cream-2) center/cover no-repeat;
  border:1px solid var(--line);border-radius:var(--radius);
}

/* ---------- shop toolbar ---------- */
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;flex-wrap:wrap;gap:12px;}
.result-count{font-size:.9rem;color:var(--muted);}
.sort-form select{padding:7px 10px;border:1px solid var(--line);border-radius:var(--radius);font-family:inherit;background:var(--white);}
.empty-state{background:var(--white);border:1px dashed var(--line);border-radius:var(--radius);padding:48px;text-align:center;color:var(--muted);}

/* ---------- product detail ---------- */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-bottom:24px;}
.product-main-img{aspect-ratio:1/1;background:var(--cream-2);border-radius:var(--radius);overflow:hidden;position:relative;}
.product-main-img img{width:100%;height:100%;object-fit:cover;}
.product-main-img.placeholder{display:grid;place-items:center;}
.product-main-img.placeholder span{font-family:'Cormorant Garamond',serif;font-size:1.6rem;color:#b9b09c;}
.thumb-row{display:flex;gap:10px;margin-top:12px;}
.thumb{width:70px;height:70px;border:1px solid var(--line);border-radius:4px;overflow:hidden;cursor:pointer;background:none;padding:0;}
.thumb img{width:100%;height:100%;object-fit:cover;}
.product-info h1{font-size:2.2rem;margin-bottom:12px;}
.product-price{display:flex;align-items:baseline;gap:10px;margin-bottom:16px;}
.product-price .price-now{font-size:1.6rem;}
.product-short{color:var(--muted);margin-bottom:20px;}
.product-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:18px;}
.add-form{display:flex;gap:10px;align-items:flex-end;}
.qty-field{font-size:.8rem;color:var(--muted);display:flex;flex-direction:column;gap:4px;}
.qty-field input{width:64px;padding:9px;border:1px solid var(--line);border-radius:var(--radius);font-family:inherit;}
.sold-note{color:#9a3434;font-weight:600;}
.product-cat-link{font-size:.88rem;color:var(--muted);margin-bottom:24px;}
.product-section{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);}
.product-section h2{font-size:1.4rem;margin-bottom:10px;}
.product-section p{margin-bottom:10px;color:#3d3d3d;}
.spec-table{width:100%;border-collapse:collapse;}
.spec-table th,.spec-table td{text-align:left;padding:8px 12px;border-bottom:1px solid var(--line);font-size:.92rem;vertical-align:top;}
.spec-table th{width:38%;color:var(--navy);font-weight:600;}
.condition-list{padding-left:20px;color:#3d3d3d;}
.condition-list li{margin-bottom:5px;}

/* ---------- article (history pages) ---------- */
.article{max-width:780px;margin:0 auto;}
.article-head{margin-bottom:32px;}
.article-eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:.76rem;color:var(--gold);margin-bottom:8px;}
.article-head h1{font-size:2.8rem;margin-bottom:14px;}
.article-body h2{font-size:1.7rem;margin:32px 0 12px;}
.article-body p{margin-bottom:14px;color:#3d3d3d;}
.article-body ul{margin:0 0 16px 22px;color:#3d3d3d;}
.article-body li{margin-bottom:6px;}
.article-cta{margin-top:40px;padding:28px;background:var(--cream-2);border-radius:var(--radius);text-align:center;}
.article-cta p{margin-bottom:14px;color:var(--muted);}

/* ---------- educational tours ---------- */
.tours-hero{
  background:linear-gradient(rgba(31,42,52,.56), rgba(31,42,52,.8)), url('/images/tours/hero.jpg') center/cover no-repeat;
  color:#fff;padding:100px 0;text-align:center;
}
.tours-hero-inner{max-width:680px;margin:0 auto;}
.tours-hero h1{color:#fff;font-size:2.9rem;margin:6px 0 14px;}
.tours-hero .lead{color:#e6e9ef;margin-bottom:26px;}
.tours-split{display:grid;grid-template-columns:1fr 1fr;gap:46px;align-items:center;}
.tours-split.reverse .tours-split-img{order:-1;}
.tours-split-text h2{font-size:2rem;margin-bottom:14px;}
.tours-split-text p{color:var(--muted);margin-bottom:12px;}
.tours-split-img{
  aspect-ratio:4/3;background:var(--cream-2) center/cover no-repeat;
  border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow);
}
.tours-steps{list-style:none;counter-reset:step;margin-top:12px;}
.tours-steps li{
  counter-increment:step;position:relative;padding-left:48px;margin-bottom:16px;color:#3d3d3d;
}
.tours-steps li::before{
  content:counter(step);position:absolute;left:0;top:-2px;
  width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;
  display:grid;place-items:center;font-weight:600;font-size:.92rem;font-family:'Inter',sans-serif;
}
.tours-steps li span{font-weight:600;color:var(--navy);}
.band-cta{background:var(--navy);}
.band-cta h2{color:#fff;}
.band-cta .lead{color:#dfe4ec;}
.band-cta .btn-primary{background:#fff;color:var(--navy);border-color:#fff;}
.band-cta .btn-primary:hover{background:var(--gold-light);color:var(--navy-dark);border-color:var(--gold-light);}

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:42px;}
.contact-details p{margin-bottom:8px;color:#3d3d3d;}
.contact-details h2,.contact-form-wrap h2{font-size:1.5rem;margin-bottom:14px;}
.form-note{background:var(--cream-2);padding:10px 14px;border-radius:var(--radius);font-size:.9rem;margin-bottom:14px;}

/* ---------- forms ---------- */
.form label{display:block;margin-bottom:14px;font-size:.88rem;font-weight:500;color:var(--navy);}
.form input,.form textarea,.form select{
  width:100%;margin-top:5px;padding:11px 13px;border:1px solid var(--line);border-radius:var(--radius);
  font-family:inherit;font-size:.95rem;background:var(--white);color:var(--ink);
}
.form input:focus,.form textarea:focus,.form select:focus{outline:none;border-color:var(--gold);}
.form textarea{resize:vertical;}
.req{color:#b5602f;}

/* ---------- cart ---------- */
.cart-table{display:flex;flex-direction:column;gap:14px;margin-bottom:28px;}
.cart-row{display:grid;grid-template-columns:90px 1fr auto auto auto;gap:18px;align-items:center;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:14px;}
.cart-row-img{width:90px;height:90px;border-radius:4px;overflow:hidden;background:var(--cream-2);}
.cart-row-img img{width:100%;height:100%;object-fit:cover;}
.cart-row-info h3{font-size:1.1rem;}
.cart-qty-form{display:flex;gap:6px;align-items:center;}
.cart-qty-form input{width:58px;padding:7px;border:1px solid var(--line);border-radius:var(--radius);font-family:inherit;}
.cart-row-total{font-weight:600;color:var(--navy);}
.cart-remove{background:none;border:none;font-size:1rem;color:var(--muted);cursor:pointer;}
.cart-remove:hover{color:#9a3434;}
.cart-summary{display:flex;justify-content:flex-end;}
.cart-summary-box{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px;width:340px;}
.summary-row{display:flex;justify-content:space-between;margin-bottom:8px;}
.summary-total{font-size:1.1rem;border-top:1px solid var(--line);padding-top:10px;margin-top:6px;}

/* ---------- checkout ---------- */
.checkout-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:42px;}
.checkout-form-wrap h2,.checkout-summary h2{font-size:1.5rem;margin-bottom:16px;}
.checkout-note{background:var(--cream-2);padding:14px 16px;border-radius:var(--radius);font-size:.88rem;color:var(--muted);margin-bottom:16px;}
.checkout-summary{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px;align-self:start;}
.summary-line{display:flex;justify-content:space-between;font-size:.9rem;margin-bottom:8px;color:#3d3d3d;gap:12px;}

/* ---------- confirmation ---------- */
.confirm-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:44px;text-align:center;}
.confirm-badge{width:56px;height:56px;border-radius:50%;background:#e7f3ec;color:#1f6b41;display:grid;place-items:center;font-size:1.6rem;margin:0 auto 16px;}
.confirm-card h1{font-size:2rem;margin-bottom:10px;}
.order-number{margin:14px 0;font-size:.95rem;}
.confirm-items{text-align:left;max-width:420px;margin:22px auto;border-top:1px solid var(--line);padding-top:16px;}
.confirm-pay{margin:22px 0;padding:20px;background:var(--cream-2);border-radius:var(--radius);}
.confirm-foot{margin-top:18px;}

/* ---------- search ---------- */
.search-full{display:flex;gap:10px;max-width:520px;}
.search-full input{flex:1;padding:11px 14px;border:1px solid var(--line);border-radius:var(--radius);font-family:inherit;}

/* ---------- footer ---------- */
.site-footer{background:var(--navy-dark);color:#cdd4de;margin-top:40px;}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:36px;padding:52px 24px 32px;}
.footer-logo{height:78px;width:auto;display:block;margin-bottom:14px;}
.footer-note{font-size:.85rem;color:#9aa6b6;margin-bottom:10px;}
.site-footer h4{color:#fff;font-family:'Inter',sans-serif;font-size:.8rem;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:14px;}
.site-footer ul{list-style:none;}
.site-footer li{margin-bottom:8px;}
.site-footer a{color:#cdd4de;font-size:.9rem;}
.site-footer a:hover{color:var(--gold-light);}
.footer-bottom{display:flex;justify-content:space-between;padding:18px 24px;border-top:1px solid rgba(255,255,255,.1);font-size:.82rem;color:#8995a6;}
.footer-admin-link{color:#8995a6;}

/* ---------- whatsapp float ---------- */
.wa-float{
  position:fixed;bottom:22px;right:22px;background:#25975e;color:#fff;
  padding:12px 18px;border-radius:30px;font-weight:600;font-size:.85rem;
  box-shadow:var(--shadow-lg);z-index:60;
}
.wa-float:hover{background:#1f7d4e;color:#fff;}

/* ---------- responsive ---------- */
@media (max-width:1020px){
  .category-grid,.product-grid{grid-template-columns:repeat(3,1fr);}
  .why-grid{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:860px){
  .nav-toggle{display:block;order:3;}
  .main-nav{display:none;width:100%;flex-direction:column;gap:0;order:4;}
  body.nav-open .main-nav{display:flex;}
  body.nav-open .main-nav a{padding:12px 0;border-bottom:1px solid var(--line);}
  .header-inner{flex-wrap:wrap;}
  .search-mini{display:none;}
  .hero h1{font-size:2.3rem;}
  .product-detail,.contact-grid,.checkout-grid{grid-template-columns:1fr;gap:28px;}
  .category-grid,.product-grid,.why-grid{grid-template-columns:repeat(2,1fr);}
  .collection-row{flex-direction:column;}
  .collection-row-img{flex-basis:auto;height:200px;}
  .tours-split{grid-template-columns:1fr;gap:26px;}
  .tours-split.reverse .tours-split-img{order:0;}
  .tours-split-img{aspect-ratio:16/10;}
  .tours-hero h1{font-size:2.2rem;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .cart-row{grid-template-columns:70px 1fr;gap:12px;}
  .cart-row-img{width:70px;height:70px;}
}
@media (max-width:520px){
  .category-grid,.product-grid,.why-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .hero{padding:56px 0;}
  .section{padding:40px 0;}
}
