/*
Theme Name: Barani & Co. Custom Theme
Theme URI: https://baraniandco.com/
Author: Antigravity
Author URI: https://baraniandco.com/
Description: Custom WordPress theme for Barani & Co. homepage, Appliances, Silver Utensils, Furniture and Repair Services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baranico
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready, woocommerce
*/

:root{
  --navy: #0A1F44;
  --navy-deep: #071630;
  --ink: #0B0B0C;
  --paper: #F7F5EF;
  --white: #FFFFFF;
  --red: #C1272D;
  --red-deep: #8F1B20;
  --line: rgba(10,31,68,0.12);
  --silver: #C9CDD3;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  background:var(--paper);
  color:var(--ink);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
.serif{font-family:'Bitter', serif;}
.mono{font-family:'Space Mono', monospace;}
.tracked{letter-spacing:0.18em;}

a{text-decoration:none; color:inherit;}
ul{list-style:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1280px; margin:0 auto; padding:0 32px;}

/* ---------- MARQUEE ---------- */
.marquee-bar{
  background:var(--ink);
  color:var(--paper);
  overflow:hidden;
  white-space:nowrap;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.marquee-track{
  display:inline-flex;
  animation: scroll-left 32s linear infinite;
  padding:9px 0;
}
.marquee-track span{
  font-family:'Space Mono', monospace;
  font-size:11.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  padding:0 28px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#DCD9CE;
}
.marquee-track span::after{
  content:"◆";
  color:var(--red);
  font-size:8px;
  margin-left:28px;
}
@keyframes scroll-left{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

/* ---------- HEADER ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(247,245,239,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px;
}
.logo{
  display:flex; align-items:center; gap:12px;
}
.logo-mark{
  width:42px; height:42px; border-radius:50%;
  border:1.5px solid var(--navy);
  display:flex; align-items:center; justify-content:center;
  font-family:'Bitter', serif;
  font-weight:700; font-size:16px;
  color:var(--navy);
  position:relative;
}
.logo-mark::before{
  content:"";
  position:absolute; inset:-5px;
  border:1px solid var(--red);
  border-radius:50%;
  opacity:0.5;
}
.logo-text{
  font-family:'Bitter', serif;
  font-weight:700;
  font-size:21px;
  letter-spacing:0.02em;
  color:var(--navy);
  line-height:1;
}
.logo-sub{
  font-family:'Space Mono', monospace;
  font-size:9px;
  letter-spacing:0.24em;
  color:var(--red);
  text-transform:uppercase;
  margin-top:3px;
}
.nav-links{
  display:flex; align-items:center; gap:38px;
}
.nav-links a{
  font-size:13px; font-weight:500; letter-spacing:0.03em;
  color:var(--ink);
  position:relative;
  padding:4px 0;
  transition:color 0.25s ease;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1.5px; background:var(--red);
  transition:width 0.3s ease;
}
.nav-links a:hover{color:var(--red);}
.nav-links a:hover::after{width:100%;}
.nav-cta{
  display:flex; align-items:center; gap:18px;
}
.icon-btn{
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  transition:all 0.25s ease;
  cursor:pointer;
  background:transparent;
  color:var(--ink);
  position:relative;
}
.icon-btn:hover{ border-color:var(--navy); background:var(--navy); color:var(--white);}
.icon-badge{
  position:absolute; top:-2px; right:-2px;
  background:var(--red); color:var(--white);
  font-size:9px; font-weight:700; font-family:'Space Mono', monospace;
  width:16px; height:16px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 26px;
  font-size:12.5px; font-weight:600;
  letter-spacing:0.06em; text-transform:uppercase;
  border-radius:2px;
  transition:all 0.3s cubic-bezier(.4,0,.2,1);
  cursor:pointer;
  border:1px solid transparent;
  text-decoration:none;
}
.btn-primary{ background:var(--red); color:var(--white); }
.btn-primary:hover{ background:var(--red-deep); transform:translateY(-2px); box-shadow:0 10px 24px -8px rgba(193,39,45,0.5); }
.btn-outline-navy{ border-color:var(--navy); color:var(--navy); background:transparent; }
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); }
.btn-outline-white{ border-color:rgba(255,255,255,0.5); color:var(--white); background:transparent; }
.btn-outline-white:hover{ background:var(--white); color:var(--navy); border-color:var(--white); }

.burger{ display:none; }

/* ---------- HERO ---------- */
.hero{
  position:relative;
  background:var(--navy);
  color:var(--white);
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr;
  min-height:640px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 900px 500px at 15% 20%, rgba(193,39,45,0.18), transparent 60%),
    radial-gradient(ellipse 700px 700px at 85% 80%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events:none;
}
.hero-left{
  display:flex; flex-direction:column; justify-content:center;
  padding:80px 64px 80px 32px;
  position:relative; z-index:2;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Space Mono', monospace;
  font-size:11px; letter-spacing:0.22em; text-transform:uppercase;
  color:var(--red);
  margin-bottom:26px;
}
.eyebrow::before{
  content:""; width:28px; height:1px; background:var(--red);
}
.hero-title{
  font-family:'Bitter', serif;
  font-weight:700;
  font-size:clamp(38px, 4.6vw, 64px);
  line-height:1.06;
  letter-spacing:-0.01em;
  max-width:620px;
}
.hero-title em{
  font-style:italic; font-weight:500; color:var(--silver);
}
.hero-desc{
  margin-top:26px;
  font-size:16.5px; line-height:1.7;
  color:rgba(255,255,255,0.72);
  max-width:480px;
  font-weight:300;
}
.hero-actions{
  display:flex; align-items:center; gap:18px;
  margin-top:42px;
}
.hero-stats{
  display:flex; gap:40px;
  margin-top:64px;
  padding-top:32px;
  border-top:1px solid rgba(255,255,255,0.14);
  max-width:520px;
}
.hero-stats div h3{
  font-family:'Bitter', serif;
  font-size:30px; font-weight:700; color:var(--white);
}
.hero-stats div p{
  font-size:11px; letter-spacing:0.08em; text-transform:uppercase;
  color:rgba(255,255,255,0.5); margin-top:6px;
}

.hero-right{
  position:relative;
  background:
    linear-gradient(160deg, rgba(7,22,48,0.2), rgba(7,22,48,0.75)),
    repeating-linear-gradient(135deg, #10284f 0 2px, #0d2242 2px 90px);
  display:flex; align-items:center; justify-content:center;
  z-index:1;
}
.hero-right::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, var(--navy) 0%, transparent 12%);
  z-index:2;
}
.seal{
  position:relative; z-index:3;
  width:260px; height:260px;
  border-radius:50%;
  border:1.5px solid rgba(255,255,255,0.35);
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  animation: spin-slow 40s linear infinite;
}
.seal-inner{
  width:200px; height:200px;
  border-radius:50%;
  border:1px dashed rgba(255,255,255,0.3);
  display:flex; align-items:center; justify-content:center;
  animation: spin-slow-rev 30s linear infinite;
}
.seal-core{
  animation: unspin 40s linear infinite;
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.seal-core .num{ font-family:'Bitter', serif; font-size:46px; font-weight:800; color:var(--white); line-height:1;}
.seal-core .txt{ font-family:'Space Mono', monospace; font-size:9.5px; letter-spacing:0.2em; color:var(--red); text-transform:uppercase; }
@keyframes spin-slow{ to{ transform:rotate(360deg);} }
@keyframes spin-slow-rev{ to{ transform:rotate(-360deg);} }
@keyframes unspin{ to{ transform:rotate(-360deg);} }

/* ---------- LEGACY BAND ---------- */
.legacy{
  background: var(--ink);
  color:var(--paper);
  position:relative;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.legacy-grid{
  display:grid; grid-template-columns:0.85fr 1.15fr;
  gap:70px;
  padding:76px 32px;
  align-items:center;
}
.legacy-label{
  font-family:'Space Mono', monospace;
  font-size:11px; letter-spacing:0.22em; text-transform:uppercase;
  color:var(--red); margin-bottom:18px; display:block;
}
.legacy-grid h2{
  font-family:'Bitter', serif;
  font-size:clamp(28px,3vw,38px);
  font-weight:600; line-height:1.25;
  color:var(--white);
}
.legacy-grid h2 span{ color:var(--red); font-style:italic; font-weight:500;}
.legacy-grid p{
  margin-top:20px; font-size:14.5px; line-height:1.85;
  color:rgba(247,245,239,0.62); font-weight:300; max-width:440px;
}
.timeline{
  display:flex; justify-content:space-between;
  position:relative;
  padding-top:10px;
}
.timeline::before{
  content:"";
  position:absolute; top:16px; left:0; right:0; height:1px;
  background:linear-gradient(90deg, rgba(193,39,45,0.7), rgba(255,255,255,0.12));
}
.t-item{
  display:flex; flex-direction:column; align-items:flex-start;
  flex:1; position:relative; padding-right:18px;
}
.t-dot{
  width:9px; height:9px; border-radius:50%;
  background:var(--red);
  border:2px solid var(--ink);
  outline:1px solid var(--red);
  margin-bottom:16px;
}
.t-item:first-child .t-dot{ background:var(--white); outline-color:var(--white);}
.t-year{
  font-family:'Space Mono', monospace; font-size:12px; color:var(--white); letter-spacing:0.04em;
}
.t-desc{
  font-size:12.5px; color:rgba(247,245,239,0.55); margin-top:6px; line-height:1.6; max-width:150px;
}

/* ---------- SECTION HEADERS ---------- */
.section{ padding:96px 32px; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-bottom:56px; gap:30px; flex-wrap:wrap;
}
.section-head .tag{
  font-family:'Space Mono', monospace; font-size:11px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--red); display:block; margin-bottom:14px;
}
.section-head h2{
  font-family:'Bitter', serif; font-weight:600;
  font-size:clamp(30px,3.2vw,42px); color:var(--navy); line-height:1.15; max-width:600px;
}
.section-head p{
  font-size:14.5px; color:rgba(11,11,12,0.55); max-width:340px; line-height:1.7; font-weight:400;
}

/* ---------- PROMO BANNER STRIP ---------- */
.promo-strip{
  background:var(--red);
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.promo-inner{
  display:grid; grid-template-columns:1fr auto 1fr;
  align-items:center; gap:40px;
  padding:46px 32px;
  max-width:1280px; margin:0 auto;
}
.promo-col h3{
  font-family:'Bitter', serif; font-size:26px; font-weight:700; line-height:1.2;
}
.promo-col p{ font-size:13px; margin-top:8px; opacity:0.85; font-weight:300; max-width:260px;}
.promo-mid{
  text-align:center; border-left:1px solid rgba(255,255,255,0.3); border-right:1px solid rgba(255,255,255,0.3);
  padding:0 40px;
}
.promo-mid span{ font-family:'Space Mono', monospace; font-size:11px; letter-spacing:0.2em; text-transform:uppercase; opacity:0.8;}
.promo-mid .big{
  font-family:'Bitter', serif; font-size:44px; font-weight:800; display:block; margin-top:6px;
}
.promo-col.right{ text-align:right; display:flex; flex-direction:column; align-items:flex-end;}

/* ---------- PRODUCT SECTIONS ---------- */
.product-section{
  border-top:1px solid var(--line);
  padding-bottom:100px;
}
.product-section:last-of-type{ border-bottom:1px solid var(--line); }

.section-banner{
  position:relative;
  height:300px;
  overflow:hidden;
}
.section-banner img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transform:scale(1.02);
}
.section-banner::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(7,22,48,0.88) 0%, rgba(7,22,48,0.55) 45%, rgba(7,22,48,0.3) 100%);
}
.banner-content{
  position:relative; z-index:2;
  height:100%;
  max-width:1280px; margin:0 auto;
  padding:0 32px;
  display:flex; flex-direction:column; justify-content:center;
  color:var(--white);
}
.banner-index{
  font-family:'Space Mono', monospace; font-size:11px; letter-spacing:0.24em; text-transform:uppercase;
  color:var(--red); margin-bottom:14px; display:flex; align-items:center; gap:10px;
}
.banner-index::before{ content:""; width:26px; height:1px; background:var(--red); }
.banner-content h2{
  font-family:'Bitter', serif; font-weight:700; font-size:clamp(32px,4vw,50px); line-height:1.05;
}
.banner-content p{
  margin-top:12px; font-size:14.5px; max-width:440px; color:rgba(255,255,255,0.68); font-weight:300; line-height:1.6;
}

.product-grid{
  position:relative;
  display:grid; grid-template-columns:repeat(4, 1fr);
  gap:20px;
  max-width:1280px; margin:-52px auto 0; padding:0 32px;
  z-index:3;
}
.product-card{
  background:var(--white);
  border:1px solid var(--line);
  display:flex; flex-direction:column;
  box-shadow:0 18px 34px -22px rgba(10,31,68,0.35);
  transition:transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 40px -20px rgba(10,31,68,0.32);
}
.card-img{
  position:relative; aspect-ratio:1/1; overflow:hidden; background:#e9e6dc;
}
.card-img img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover .card-img img{ transform:scale(1.09); }
.card-flag{
  position:absolute; top:10px; left:10px; z-index:2;
  background:var(--red); color:var(--white);
  font-family:'Space Mono', monospace; font-size:9.5px; letter-spacing:0.1em; text-transform:uppercase;
  padding:5px 9px; border-radius:2px;
}
.card-info{ padding:16px 16px 18px; display:flex; flex-direction:column; gap:6px; flex:1;}
.card-cat{
  font-family:'Space Mono', monospace; font-size:9.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--red);
}
.card-info h4{
  font-family:'Bitter', serif; font-size:14.5px; font-weight:600; color:var(--navy); line-height:1.3;
}
.card-foot{
  margin-top:auto; padding-top:10px;
  display:flex; align-items:center; justify-content:space-between;
  border-top:1px solid var(--line);
}
.card-foot .price{ font-size:12.5px; font-weight:700; color:var(--ink); }
.card-foot .view{
  font-size:10.5px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--navy);
  display:flex; align-items:center; gap:4px;
}
.card-foot .view svg{ transition:transform 0.25s ease; }
.product-card:hover .card-foot .view svg{ transform:translateX(3px); }

/* 8th card — creative "shop all" tile */
.cta-card{
  background:linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:var(--white);
  align-items:center; justify-content:center; text-align:center;
  padding:26px 20px; gap:16px;
  cursor:pointer;
  position:relative; overflow:hidden;
}
.cta-card::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 30% 20%, rgba(193,39,45,0.35), transparent 60%);
  opacity:0.8;
}
.cta-ring{
  position:relative; z-index:2;
  width:58px; height:58px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,0.4);
  display:flex; align-items:center; justify-content:center;
  transition:all 0.35s cubic-bezier(.2,.8,.2,1);
}
.cta-card:hover .cta-ring{
  background:var(--red); border-color:var(--red);
  transform:rotate(180deg) scale(1.08);
}
.cta-ring svg{ transition:transform 0.35s ease; }
.cta-card:hover .cta-ring svg{ transform:rotate(-180deg); }
.cta-card h4{
  position:relative; z-index:2;
  font-family:'Bitter', serif; font-size:17px; font-weight:700; line-height:1.25;
}
.cta-card .cta-sub{
  position:relative; z-index:2;
  font-family:'Space Mono', monospace; font-size:10px; letter-spacing:0.1em; text-transform:uppercase;
  color:rgba(255,255,255,0.6);
}

@media (max-width:1024px){
  .product-grid{ grid-template-columns:repeat(2, 1fr); margin-top:-36px; }
  .section-banner{ height:260px; }
}
@media (max-width:560px){
  .product-grid{ grid-template-columns:repeat(2, 1fr); gap:14px; padding:0 20px; margin-top:-28px;}
  .banner-content{ padding:0 20px; }
}

/* ---------- VALUES MARQUEE (secondary) ---------- */
.value-marquee{
  background:var(--navy); color:var(--white);
  padding:0; overflow:hidden; white-space:nowrap;
  border-top:1px solid rgba(255,255,255,0.08);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.value-track{
  display:inline-flex; align-items:center;
  animation:scroll-left 38s linear infinite;
  padding:26px 0;
}
.value-track .vitem{
  font-family:'Bitter', serif; font-style:italic; font-size:26px;
  padding:0 40px; display:inline-flex; align-items:center; gap:24px;
  color:rgba(255,255,255,0.85);
}
.value-track .vitem b{ font-style:normal; font-weight:700; color:var(--white); }
.value-track .vitem::after{ content:"✦"; color:var(--red); font-size:14px; margin-left:40px; font-style:normal; }

/* ---------- TESTIMONIAL / TRUST ---------- */
.trust{ background:var(--white); }
.trust-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.trust-card{
  background:var(--paper);
  padding:44px 40px;
}
.trust-card .stars{ color:var(--red); font-size:13px; letter-spacing:3px; margin-bottom:20px;}
.trust-card p{
  font-family:'Bitter', serif; font-style:italic; font-size:17px; line-height:1.6;
  color:var(--ink); font-weight:500;
}
.trust-card .who{
  margin-top:22px; display:flex; flex-direction:column; gap:2px;
}
.trust-card .who b{ font-size:13px; font-weight:700; color:var(--navy); }
.trust-card .who span{ font-size:11.5px; color:rgba(11,11,12,0.5); }

/* ---------- FOOTER ---------- */
footer{ background:var(--navy-deep); color:rgba(255,255,255,0.7); }
.footer-top{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1.2fr;
  gap:40px;
  padding:80px 32px 60px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-top h4{
  font-family:'Space Mono', monospace; font-size:11px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--white); margin-bottom:22px;
}
.footer-top ul li{ margin-bottom:12px; }
.footer-top ul li a{ font-size:13.5px; color:rgba(255,255,255,0.6); transition:color 0.2s ease;}
.footer-top ul li a:hover{ color:var(--white); }
.foot-brand p{ font-size:13.5px; line-height:1.8; color:rgba(255,255,255,0.55); max-width:280px; margin-top:18px;}
.foot-newsletter{
  display:flex; margin-top:20px; border:1px solid rgba(255,255,255,0.25); border-radius:2px; overflow:hidden;
}
.foot-newsletter input{
  background:transparent; border:none; outline:none; padding:12px 14px; color:var(--white); font-size:13px; flex:1;
}
.foot-newsletter input::placeholder{ color:rgba(255,255,255,0.4); }
.foot-newsletter button{
  background:var(--red); color:var(--white); border:none; padding:0 18px; font-size:12px; letter-spacing:0.06em; text-transform:uppercase; cursor:pointer; font-weight:600;
}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:26px 32px; flex-wrap:wrap; gap:14px;
}
.footer-bottom p{ font-size:12px; color:rgba(255,255,255,0.4); }
.footer-socials{ display:flex; gap:14px; }
.footer-socials a{
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center; font-size:12px; transition:all 0.25s ease;
}
.footer-socials a:hover{ background:var(--red); border-color:var(--red); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-right{ min-height:340px; }
  .legacy-grid{ grid-template-columns:1fr; gap:36px; }
  .timeline{ flex-wrap:wrap; gap:20px 0; }
  .t-item{ flex:0 0 33%; }
  .promo-inner{ grid-template-columns:1fr; text-align:center; gap:24px;}
  .promo-mid{ border:none; padding:20px 0; border-top:1px solid rgba(255,255,255,0.25); border-bottom:1px solid rgba(255,255,255,0.25);}
  .promo-col.right{ align-items:center; }
  .trust-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:720px){
  .nav-links{ display:none; }
  .burger{ display:flex; }
  .hero-left{ padding:56px 24px; }
  .hero-stats{ flex-wrap:wrap; gap:28px; }
  .section{ padding:64px 20px; }
  .footer-top{ grid-template-columns:1fr; padding:56px 24px; }
  .t-item{ flex:0 0 45%; }
}
.reveal{ opacity:0; transform:translateY(24px); transition:opacity 0.8s ease, transform 0.8s ease; }
.reveal.show{ opacity:1; transform:translateY(0); }

/* ==========================================================================
   WHEELHOUSE WOOCOMMERCE & CUSTOM PAGE TEMPLATE STYLING
   ========================================================================= */

/* --- Custom Form Layouts (Login/Forgot Password/General) --- */
.custom-auth-wrap {
  max-width: 480px;
  margin: 80px auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px;
  box-shadow: 0 20px 40px -20px rgba(10,31,68,0.15);
  border-radius: 4px;
}
.auth-title {
  font-family: 'Bitter', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}
.auth-subtitle {
  font-size: 13.5px;
  color: rgba(11,11,12,0.5);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 400;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  outline: none;
  font-family: inherit;
  transition: all 0.25s ease;
}
.form-control:focus {
  border-color: var(--navy);
  background: var(--white);
}

/* Password Input Wrapper with Eye Icon Toggle */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrapper .form-control {
  padding-right: 48px;
}
.eye-toggle-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: rgba(10,31,68,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.25s ease;
}
.eye-toggle-btn:hover {
  color: var(--red);
}
.eye-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.auth-links-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -12px;
  margin-bottom: 26px;
  font-size: 12.5px;
  font-weight: 500;
}
.auth-links-row a {
  color: var(--red);
  text-decoration: underline;
}
.auth-links-row a:hover {
  color: var(--red-deep);
}
.btn-auth-submit {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* --- Cart Page Layout overrides --- */
.woocommerce-cart-container {
  padding: 80px 0;
}
.cart-table-wrap {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 24px -14px rgba(10,31,68,0.12);
  margin-bottom: 40px;
}
table.shop_table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
table.shop_table th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 24px;
  font-weight: 700;
}
table.shop_table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
table.shop_table tr:last-child td {
  border-bottom: none;
}
.product-remove a {
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}
.product-remove a:hover {
  color: var(--red-deep);
}
.product-thumbnail img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.product-name a {
  font-family: 'Bitter', serif;
  font-weight: 600;
  color: var(--navy);
}
.product-name a:hover {
  color: var(--red);
}
.cart-qty-picker {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  overflow: hidden;
}
.cart-qty-picker input {
  width: 50px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  outline: none;
  color: var(--ink);
}
.cart-collaterals-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}
.cart-coupon-box {
  background: var(--white);
  border: 1px dashed var(--navy);
  border-radius: 2px;
  padding: 26px 30px;
}
.cart-totals-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 30px;
  box-shadow: 0 10px 24px -14px rgba(10,31,68,0.12);
}
.cart-totals-box h3 {
  font-family: 'Bitter', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 8px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.cart-total-row.grand-total {
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  border-bottom: none;
  margin-bottom: 18px;
}

/* --- Checkout Page Layout overrides --- */
.woocommerce-checkout-container {
  padding: 80px 0;
}
.checkout-grid-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
}
.checkout-billing-pane {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 2px;
  box-shadow: 0 10px 24px -14px rgba(10,31,68,0.12);
}
.checkout-billing-pane h3 {
  font-family: 'Bitter', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 26px;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 10px;
}
.checkout-order-review-pane {
  background: var(--navy-deep);
  color: var(--white);
  padding: 40px;
  border-radius: 2px;
  box-shadow: 0 15px 30px -15px rgba(7,22,48,0.4);
  align-self: start;
}
.checkout-order-review-pane h3 {
  font-family: 'Bitter', serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 26px;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 10px;
}
.review-item-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13.5px;
}
.review-item-row.grand-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  border-bottom: none;
  margin-bottom: 20px;
}
.payment-gateways-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gateway-option {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  padding: 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gateway-option:hover,
.gateway-option.active {
  border-color: var(--red);
  background: rgba(193,39,45,0.06);
}

/* --- Single Product Layout styling --- */
.single-prod-wrapper {
  padding: 80px 0;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  margin-bottom: 80px;
}
.product-gallery-block {
  display: flex;
  gap: 18px;
  height: 520px;
}
.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80px;
  flex-shrink: 0;
}
.prod-thumb-item {
  width: 80px;
  height: 80px;
  border-radius: 2px;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
}
.prod-thumb-item.active,
.prod-thumb-item:hover {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(193,39,45,0.15);
}
.prod-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-main-view-wrap {
  flex-grow: 1;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
  height: 100%;
  position: relative;
}
.product-main-view-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wishlist-heart-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10,31,68,0.08);
  transition: all 0.25s ease;
  color: var(--ink);
}
.wishlist-heart-btn:hover,
.wishlist-heart-btn.active {
  color: var(--red);
  transform: scale(1.06);
}
.wishlist-heart-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}
.wishlist-heart-btn.active svg {
  fill: var(--red);
}

.product-info-block {
  display: flex;
  flex-direction: column;
}
.product-breadcrumbs {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11,11,12,0.4);
  margin-bottom: 14px;
}
.product-breadcrumbs a:hover {
  color: var(--red);
}
.product-detail-title {
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}
.product-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.product-rating-stars {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 1.5px;
}
.product-sku {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  color: rgba(11,11,12,0.5);
}
.product-detail-price {
  font-family: 'Bitter', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 24px;
}
.product-detail-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(11,11,12,0.7);
  margin-bottom: 30px;
}
.product-actions-block {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}
.prod-qty-select {
  width: 90px;
  padding: 12px 14px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--white);
  outline: none;
  font-size: 14px;
  font-weight: 600;
}
.product-specs-table {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.spec-item-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(10,31,68,0.03);
}
.spec-label {
  color: rgba(11,11,12,0.5);
}
.spec-val {
  font-weight: 600;
  color: var(--navy);
}

/* --- Wishlist Layout overrides --- */
.wishlist-table-container {
  padding: 80px 0;
}
.wishlist-empty-msg {
  text-align: center;
  padding: 60px 0;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 2px;
}
.wishlist-empty-msg p {
  font-size: 15px;
  color: rgba(11,11,12,0.5);
  margin-bottom: 24px;
}

/* --- Global Alert/Notifications overrides --- */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  list-style: none;
  padding: 16px 24px;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 30px;
}
.woocommerce-error {
  background: #fdf2f2;
  color: #c81e1e;
  border-left: 4.5px solid #e02424;
}
.woocommerce-info {
  background: #f0f5ff;
  color: #1e40af;
  border-left: 4.5px solid #2563eb;
}
.woocommerce-message {
  background: #f3faf5;
  color: #03543f;
  border-left: 4.5px solid #057a55;
}

@media (max-width: 1024px) {
  .product-detail-layout,
  .cart-collaterals-grid,
  .checkout-grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-gallery-block {
    height: 420px;
  }
}
@media (max-width: 720px) {
  .product-gallery-block {
    flex-direction: column-reverse;
    height: auto;
  }
  .product-gallery-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }
  .prod-thumb-item {
    width: 70px;
    height: 70px;
  }
}
