/* ═══════════════════════════════════════
   IT ASSISTANCE — Allianz-inspired Design
   Clean · Professional · Insurance style
   by Blue Arroyo srl · Firenze
   ═══════════════════════════════════════ */

:root {
  --navy:        #003781;
  --navy-mid:    #1a5fa8;
  --navy-light:  #e8f0fb;
  --gold:        #b8924a;
  --gold-light:  #d4a855;
  --white:       #ffffff;
  --off-white:   #f4f6f9;
  --text:        #1a1a2e;
  --text-muted:  #5a6478;
  --border:      #dde3ee;
  --border-light:#edf0f6;

  --font-head: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,55,129,.08);
  --shadow:    0 4px 20px rgba(0,55,129,.12);
  --shadow-lg: 0 12px 40px rgba(0,55,129,.16);

  --ease-out:  cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io:   cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1,h2,h3,h4 { line-height: 1.2; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
  display: block;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; border: 2px solid transparent;
  transition: background 180ms var(--ease-out),
              transform 160ms var(--ease-out),
              box-shadow 160ms var(--ease-out),
              border-color 160ms ease;
  white-space: nowrap; will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
}
.btn--outline {
  background: transparent; color: var(--navy);
  border-color: var(--navy);
}
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--navy); color: var(--white); }
}
.btn--gold {
  background: var(--gold); color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(184,146,74,.3);
}
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
}
.btn--full { width: 100%; justify-content: center; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 32px;
}
.brand { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.brand__name {
  font-family: var(--font-head); font-size: 1.65rem; font-weight: 700;
  color: var(--navy); letter-spacing: .02em;
}
.brand__sub { font-size: .72rem; color: var(--text-muted); letter-spacing: .05em; }
.site-nav { display: flex; gap: 0; }
.site-nav a {
  display: flex; align-items: center;
  padding: 8px 18px; font-size: .95rem; font-weight: 500;
  color: var(--text); border-bottom: 3px solid transparent;
  transition: border-color 150ms ease, color 150ms ease;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--navy); border-bottom-color: var(--navy); }
}
.header-actions { display: flex; gap: 12px; align-items: center; }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('/hero.png');
  background-size: cover; background-position: center 25%;
  filter: brightness(.38);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,55,129,.82) 0%, rgba(0,55,129,.4) 60%, transparent 100%);
}
.hero__layout {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 48px; align-items: center; padding: 60px 0;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,146,74,.25); border: 1px solid rgba(184,146,74,.5);
  border-radius: 4px; padding: 5px 14px;
  font-size: .7rem; font-weight: 700; color: #f0c97a;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
}
.hero__badge-dot { width: 6px; height: 6px; background: #f0c97a; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero__title {
  font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 16px;
}
.hero__title em { font-style: italic; color: #f0c97a; }
.hero__sub {
  font-size: 11px; color: rgba(255,255,255,.8);
  line-height: 1.75; max-width: 500px; margin-bottom: 28px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust {
  display: flex; gap: 20px; margin-top: 32px; flex-wrap: wrap;
}
.hero__trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: rgba(255,255,255,.6);
}
.hero__trust-item strong { color: #f0c97a; font-size: .95rem; }

/* Hero form card */
.hero__form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: 0 8px 40px rgba(0,0,0,.25);
  opacity: 0; animation: fadeSlideUp 440ms var(--ease-out) 300ms forwards;
}
.hero__form-title {
  font-family: var(--font-head); font-size: 1.4rem; color: var(--navy);
  font-weight: 400; margin-bottom: 6px;
}
.hero__form-sub { font-size: .82rem; color: var(--text-muted); margin-bottom: 22px; }
.hero__form-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.hero__form-fields input, .hero__form-fields select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: .88rem;
  color: var(--text); outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.hero__form-fields input:focus, .hero__form-fields select:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,55,129,.1);
}
.hero__form-note { font-size: .7rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ─── SEZIONE "LE SOLUZIONI" — stile Allianz ─── */
.soluzioni { padding: 80px 0; background: var(--white); }
.soluzioni__header { text-align: center; margin-bottom: 52px; }
.soluzioni__title {
  font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--navy); font-weight: 400; margin-bottom: 10px;
}
.soluzioni__sub { font-size: 11px; color: var(--text-muted); }
.soluzioni__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.sol-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 32px 20px 28px;
  border: 1.5px solid var(--border-light); border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out),
              border-color 180ms ease;
  opacity: 0; animation: fadeSlideUp 360ms var(--ease-out) forwards;
}
.sol-card:nth-child(1) { animation-delay: 60ms; }
.sol-card:nth-child(2) { animation-delay: 110ms; }
.sol-card:nth-child(3) { animation-delay: 160ms; }
.sol-card:nth-child(4) { animation-delay: 210ms; }
.sol-card:nth-child(5) { animation-delay: 260ms; }
@media (hover: hover) and (pointer: fine) {
  .sol-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--navy-mid);
  }
}
.sol-card:active { transform: scale(0.98); }
.sol-card__img {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0,55,129,.1);
}
.sol-card__icon {
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--navy-light); display: flex; align-items: center;
  justify-content: center; font-size: 3rem; margin-bottom: 18px;
}
.sol-card__title {
  font-family: var(--font-head); font-size: 1.3rem;
  color: var(--navy); font-weight: 400; margin-bottom: 6px;
}
.sol-card__sub { font-size: .8rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 20px; flex: 1; }
.sol-card .btn { margin-top: auto; }

/* ─── POLIZZA DETAIL — articoli ─── */
.polizza-detail { padding: 80px 0; background: var(--off-white); }
.polizza-detail__header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.polizza-detail__title {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy); font-weight: 400; margin-bottom: 10px;
}
.polizza-detail__sub { font-size: .95rem; color: var(--text-muted); }

.art-list { display: flex; flex-direction: column; gap: 0; max-width: 860px; margin: 0 auto; }
.art-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 0 28px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0; animation: fadeSlideUp 360ms var(--ease-out) forwards;
}
.art-row:nth-child(1) { animation-delay: 60ms; }
.art-row:nth-child(2) { animation-delay: 110ms; }
.art-row:nth-child(3) { animation-delay: 160ms; }
.art-row:nth-child(4) { animation-delay: 210ms; }
.art-row:nth-child(5) { animation-delay: 260ms; border-bottom: none; }
.art-row__num {
  font-size: .7rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); padding-top: 4px;
}
.art-row__title {
  font-family: var(--font-head); font-size: 1.2rem;
  color: var(--navy); font-weight: 400; margin-bottom: 8px;
}
.art-row__desc { font-size: .87rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; max-width: 680px; }
.art-row__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.art-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 4px; font-size: .72rem; font-weight: 700;
}
.art-tag--in  { background: #e6f4ea; color: #1a7a3a; }
.art-tag--out { background: #fce8e6; color: #c5221f; }

/* Price disclaimer box */
.price-box {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin: 40px auto 0; max-width: 860px;
  box-shadow: var(--shadow-sm);
}
.price-box__price {
  font-family: var(--font-head); font-size: 3rem; color: var(--navy); line-height: 1;
}
.price-box__price span { font-size: 1.2rem; color: var(--gold); vertical-align: super; }
.price-box__note { font-size: .78rem; color: var(--text-muted); }
.price-box__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 4px; }
.price-box__desc  { font-size: .85rem; color: var(--text-muted); max-width: 420px; line-height: 1.7; }

/* ─── COME FUNZIONA ─── */
.come-funziona { padding: 80px 0; background: var(--white); }
.come-funziona__header { text-align: center; max-width: 580px; margin: 0 auto 48px; }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px; background: var(--border);
}
.step-card {
  background: var(--white); padding: 36px 28px;
  opacity: 0; animation: fadeSlideUp 340ms var(--ease-out) forwards;
  transition: background 180ms ease;
}
.step-card:nth-child(1) { animation-delay: 60ms; }
.step-card:nth-child(2) { animation-delay: 110ms; }
.step-card:nth-child(3) { animation-delay: 160ms; }
.step-card:nth-child(4) { animation-delay: 210ms; }
@media (hover: hover) and (pointer: fine) {
  .step-card:hover { background: var(--navy-light); }
}
.step-num {
  font-family: var(--font-head); font-size: 2.4rem; color: var(--border);
  line-height: 1; margin-bottom: 12px;
}
.step-icon { font-size: 1.8rem; margin-bottom: 12px; }
.step-card h3 { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.step-card p  { font-size: .84rem; color: var(--text-muted); line-height: 1.7; }

/* ─── NUMERI ─── */
.numeri { padding: 60px 0; background: var(--navy); }
.numeri__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.numeri__item {
  padding: 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  opacity: 0; animation: fadeSlideUp 300ms var(--ease-out) forwards;
}
.numeri__item:last-child { border-right: none; }
.numeri__item:nth-child(1) { animation-delay: 50ms; }
.numeri__item:nth-child(2) { animation-delay: 100ms; }
.numeri__item:nth-child(3) { animation-delay: 150ms; }
.numeri__item:nth-child(4) { animation-delay: 200ms; }
.metric__value {
  font-family: var(--font-head); font-size: 2.8rem; color: var(--white); line-height: 1;
}
.metric__value span { font-size: 1.1rem; color: var(--gold-light); }
.metric__label { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 6px; letter-spacing: .04em; }

/* ─── COMBO ─── */
.combo { padding: 0; background: var(--navy-light); }
.combo__inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center; padding: 56px 0;
}
.combo__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 8px; }
.combo__title { font-family: var(--font-head); font-size: clamp(1.6rem,3vw,2.2rem); color: var(--navy); font-weight: 400; margin-bottom: 12px; }
.combo__desc  { font-size: .9rem; color: var(--text-muted); line-height: 1.75; max-width: 520px; margin-bottom: 20px; }
.palazzo-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold);
  transition: color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .palazzo-link:hover { color: var(--gold); }
}
.combo__price-box { text-align: center; flex-shrink: 0; }
.combo__price { font-family: var(--font-head); font-size: 3rem; color: var(--navy); line-height: 1; }
.combo__price-note { font-size: .75rem; color: var(--text-muted); margin-bottom: 14px; }

/* ─── FAQ ─── */
.faq { padding: 80px 0; background: var(--white); }
.faq__header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.faq__header h2 { font-family: var(--font-head); font-size: clamp(1.8rem,3.5vw,2.4rem); color: var(--navy); font-weight: 400; margin-bottom: 8px; }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--border);
  transition: background 180ms ease;
}
.faq__item[open] { background: var(--navy-light); }
.faq__item summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600;
  color: var(--navy); font-size: .92rem;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; user-select: none;
  transition: color 150ms ease;
}
.faq__item summary::after { content: '+'; color: var(--navy); font-size: 1.4rem; font-weight: 300; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px 20px; font-size: .86rem; color: var(--text-muted); line-height: 1.8; }

/* ─── CONTATTO ─── */
.contatto { padding: 80px 0; background: var(--off-white); }
.contatto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contatto__title { font-family: var(--font-head); font-size: clamp(1.8rem,3.5vw,2.4rem); color: var(--navy); font-weight: 400; margin-bottom: 10px; }
.contatto__sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 28px; }
.contatto__channels { display: flex; flex-direction: column; gap: 10px; }
.contatto__channel {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: transform 180ms var(--ease-out), border-color 180ms ease, box-shadow 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .contatto__channel:hover { transform: translateX(4px); border-color: var(--navy); box-shadow: var(--shadow-sm); }
}
.contatto__channel-icon { font-size: 1.2rem; flex-shrink: 0; }
.contatto__channel-tag { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); display: block; }
.contatto__channel-val { font-size: .9rem; font-weight: 600; color: var(--navy); }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form .field { margin-bottom: 14px; }
.contact-form label { display: block; font-size: .72rem; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: .88rem;
  color: var(--text); outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,55,129,.1);
}
.contact-form textarea { resize: vertical; min-height: 90px; }

/* ─── FOOTER ─── */
.site-footer { background: var(--navy); padding: 40px 0; border-top: 3px solid var(--gold); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__name { font-family: var(--font-head); font-size: 1.2rem; color: var(--white); }
.site-footer__sub  { font-size: .65rem; color: rgba(255,255,255,.45); letter-spacing: .06em; }
.site-footer__links { display: flex; flex-direction: column; gap: 4px; }
.site-footer__links a { font-size: .8rem; color: rgba(255,255,255,.55); transition: color .15s ease; }
.site-footer__links a:hover { color: var(--gold-light); }
.site-footer__meta p { font-size: .7rem; color: rgba(255,255,255,.3); }

/* ─── ANIMATIONS ─── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge { opacity:0; animation: fadeSlideUp 400ms var(--ease-out) 100ms forwards; }
.hero__title { opacity:0; animation: fadeSlideUp 480ms var(--ease-out) 180ms forwards; }
.hero__sub   { opacity:0; animation: fadeSlideUp 440ms var(--ease-out) 260ms forwards; }
.hero__cta   { opacity:0; animation: fadeSlideUp 400ms var(--ease-out) 340ms forwards; }
.hero__trust { opacity:0; animation: fadeSlideUp 360ms var(--ease-out) 430ms forwards; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__form-card { max-width: 480px; }
  .combo__inner { grid-template-columns: 1fr; }
  .contatto__grid { grid-template-columns: 1fr; gap: 32px; }
  .numeri__grid { grid-template-columns: repeat(2,1fr); }
  .site-nav { display: none; }
}
@media (max-width: 600px) {
  .soluzioni__grid { grid-template-columns: repeat(2,1fr); }
  .numeri__grid { grid-template-columns: repeat(2,1fr); }
  .art-row { grid-template-columns: 1fr; gap: 4px; }
  .price-box { flex-direction: column; text-align: center; }
  .utility-bar__link { font-size: .65rem; padding: 9px 12px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .sol-card, .step-card, .art-row, .numeri__item,
  .hero__badge, .hero__title, .hero__sub, .hero__cta, .hero__trust,
  .hero__form-card {
    animation: none; opacity: 1; transform: none;
  }
  .btn, .contatto__channel, .palazzo-link { transition: none; }
}

/* ─── CART CUSTOMER FORM ─── */
.cart-customer-form {
  margin: 16px 0 14px;
  padding: 16px;
  background: var(--navy-light);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
}
.cart-customer-form__title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 12px;
}
.cart-field {
  margin-bottom: 10px;
}
.cart-field:last-of-type {
  margin-bottom: 0;
}
.cart-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.required-star {
  color: #c5221f;
}
.cart-field input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.cart-field input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,55,129,.1);
}
.cart-field input.field-error {
  border-color: #c5221f;
  box-shadow: 0 0 0 3px rgba(197,34,31,.1);
}
.cart-form-error {
  font-size: 0.78rem;
  color: #c5221f;
  font-weight: 600;
  margin-top: 10px;
  padding: 6px 10px;
  background: #fce8e6;
  border-radius: 4px;
}


/* ═══════════════════════════════════════
   E-COMMERCE & SHOPPING CART STYLES
   ═══════════════════════════════════════ */

/* Header Cart Button */
.header-cart-btn {
  background: var(--navy-light);
  border: 1.5px solid var(--border);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  font-weight: 700;
  transition: all 180ms ease;
}
.header-cart-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.cart-count {
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Shop Section */
.shop {
  padding: 80px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}
.shop__header {
  text-align: center;
  margin-bottom: 52px;
}
.shop__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 10px;
}
.shop__sub {
  font-size: 11px;
  color: var(--text-muted);
}
.shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* Product Card */
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 180ms ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--navy-mid);
}
.product-card__img-container {
  background: #f8fafc;
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.product-card__img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 300ms var(--ease-out);
}
.product-card:hover .product-card__img {
  transform: scale(1.05);
}
.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
}
.product-card__info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.product-card__price {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}
.product-card__selector {
  margin-bottom: 20px;
}
.selector-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.selector-options {
  display: flex;
  gap: 8px;
}
.selector-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 150ms ease;
  text-transform: uppercase;
}
.selector-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.selector-btn.active {
  background: var(--navy-light);
  border-color: var(--navy);
  color: var(--navy);
}

/* Cart Backdrop */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 55, 129, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100%;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0, 55, 129, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer__header {
  padding: 24px;
  border-bottom: 1.5px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer__header h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 700;
}
.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 150ms ease;
}
.cart-close-btn:hover {
  color: var(--navy);
}
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.cart-empty-state p {
  margin-top: 10px;
  font-size: 0.9rem;
}
.cart-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cart-item__img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: var(--off-white);
  border-radius: 8px;
  padding: 4px;
}
.cart-item__details {
  flex: 1;
}
.cart-item__name {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 2px;
}
.cart-item__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cart-item__qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  width: fit-content;
  overflow: hidden;
}
.qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 24px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.qty-btn:hover {
  background: var(--border-light);
  color: var(--navy);
}
.qty-value {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 10px;
  min-width: 24px;
  text-align: center;
}
.cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px;
}
.cart-item__remove-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 150ms ease;
}
.cart-item__remove-btn:hover {
  color: #c5221f;
}
.cart-item__price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.cart-drawer__footer {
  padding: 24px;
  border-top: 1.5px solid var(--border-light);
  background: #fbfcfd;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}
#cartSubtotalAmount {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--gold);
}
.cart-secure-badge {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 0 4px 20px rgba(0, 55, 129, 0.35);
  cursor: pointer;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-cart-btn.visible {
  transform: scale(1);
}
.floating-cart-btn:active {
  transform: scale(0.92);
}
.floating-cart-icon {
  font-size: 1.6rem;
}
.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1.5px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustment */
@media (max-width: 480px) {
  .cart-drawer {
    width: 100%;
  }
  .shop__grid {
    grid-template-columns: 1fr;
  }
}

