/**
 * 3Dio.it Custom Styles
 * Convertito da hifi-styles.css + hifi-extra.css
 */

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */
:root {
  --bg-dark:      #0a0d12;
  --bg-dark-2:    #11151c;
  --bg-card:      #f5f1ea;
  --bg-card-2:    #fbf8f3;
  --paper:        #ffffff;
  --ink:          #0a0d12;
  --ink-2:        #1f2937;
  --ink-soft:     #4b5563;
  --ink-faint:    #9ca3af;
  --accent:       #2186ff;
  --accent-soft:  #e8f1ff;
  --accent-deep:  #0a6ee0;
  --line:         rgba(255,255,255,0.08);
  --line-light:   #e7e2d8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-dark);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Libre Baskerville', Georgia, serif; }

.prod-name, .prod-price { font-family: 'Libre Baskerville', Georgia, serif; }

/* ==========================================================================
   2. Header Desktop
   ========================================================================== */
.hdr {
  background: var(--bg-dark);
  color: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* padding orizzontale gestito da .hdr-inner inline */
  padding: 0;
}
.hdr-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}
.hdr-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hdr-nav a.active,
.hdr-nav .current-menu-item > a { color: var(--accent); }
.hdr-nav a.active::after,
.hdr-nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent);
}
.hdr-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
}
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 0;
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.icon-btn:hover { background: rgba(33,134,255,0.15); border-color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.6; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

/* Mobile header */
.hdr-mobile {
  background: var(--bg-dark);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
}
.burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background .15s, border-color .15s;
}
.burger:hover { background: rgba(33,134,255,0.15); border-color: var(--accent); }
.burger span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.hero {
  background: var(--bg-dark);
  color: #fff;
  display: block;
  min-height: 560px;
  padding: 88px 64px;
  position: relative;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8%;
  background:
    radial-gradient(circle at 70% 50%, #2a2017 0%, #0a0d12 70%),
    var(--bg-dark-2);
  overflow: hidden;
}
.hero-bg-image .cross-svg {
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6));
  opacity: 0.95;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,13,18,0.88) 0%, rgba(10,13,18,0.6) 45%, rgba(10,13,18,0.15) 75%, transparent 100%);
}
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.hero-text h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 20px;
}
.hero-text h1 .accent { color: var(--accent); }
.hero-text p {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 0 0 32px;
  max-width: 460px;
}
.hero-ctas { display: flex; gap: 12px; }
.hero-prod {
  position: absolute;
  bottom: 18px;
  right: 24px;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cross-svg { filter: drop-shadow(0 18px 30px rgba(0,0,0,0.4)); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(33,134,255,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(33,134,255,0.45); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.5); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; }

/* ==========================================================================
   5. Reassurance Bar
   ========================================================================== */
.reassure {
  background: var(--bg-dark);
  color: #fff;
  border-top: 1px solid var(--line);
  padding: 20px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.reassure-item { display: flex; align-items: center; gap: 14px; }
.reassure-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(33,134,255,0.12);
  border: 1px solid rgba(33,134,255,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reassure-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.reassure-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.reassure-sub { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ==========================================================================
   6. Light Sections
   ========================================================================== */
.section { background: var(--paper); padding: 48px 36px; border-radius:8px;}
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.section-title { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.section-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   7. Categories Grid
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 22px 18px 18px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.cat-card:hover { transform: translateY(-3px); }
.cat-img {
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 60%, #fff 0%, var(--bg-card-2) 70%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-placeholder {
  width: 60%; height: 60%;
  background-image: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(180,170,150,0.35) 6px 7px);
  border: 1.5px dashed rgba(180,170,150,0.6);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--ink-faint);
  text-align: center;
  padding: 6px;
}
.cat-name { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ==========================================================================
   8. Products Grid
   ========================================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.prod-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }

.prod-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 14px;
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s;
  cursor: pointer;
}
.prod-card:hover { transform: translateY(-3px); }
.prod-img {
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 55%, #fff 0%, var(--bg-card-2) 75%);
  border-radius: 10px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-placeholder {
  width: 60%; height: 60%;
  background-image: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(180,170,150,0.35) 6px 7px);
  border: 1.5px dashed rgba(180,170,150,0.6);
  border-radius: 8px;
}
.badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  z-index: 2;
}
.badge-sale { background: #ef4444; }
.badge-best { background: #1f2937; }

.heart {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; border: none; cursor: pointer;
  transition: background .15s;
}
.heart:hover { background: rgba(255,255,255,0.95); }
.heart svg { display: block !important; width: 14px !important; height: 14px !important; stroke: #1f2937 !important; fill: none !important; stroke-width: 1.8 !important; overflow: visible; }
.heart.active svg { fill: #ef4444 !important; stroke: #ef4444 !important; }

.prod-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 600; }
.prod-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; text-decoration: none; }
.prod-card a { text-decoration: none; color: inherit; }
.prod-meta { display: flex; justify-content: space-between; align-items: center; }
.prod-price { font-size: 16px; font-weight: 700; color: var(--ink); }
.prod-cart {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.prod-cart:hover { background: var(--accent-deep); transform: scale(1.1); }
.prod-cart svg { display: block !important; width: 14px !important; height: 14px !important; stroke: #ffffff !important; fill: none !important; stroke-width: 2 !important; overflow: visible; }
.prod-cart.loading { opacity: 0.7; }
.prod-cart.added { background: #22c55e; }

/* ==========================================================================
   9. Mobile Hero
   ========================================================================== */
.m-hero {
  background: var(--bg-dark); color: #fff;
  padding: 24px 18px 28px;
  position: relative; overflow: hidden;
}
.m-hero h1 { font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 10px; }
.m-hero h1 .accent { color: var(--accent); }
.m-hero p { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.75); margin: 0 0 20px; max-width: 220px; }
.m-hero-visual {
  position: absolute; right: -10px; top: 0; bottom: 0; width: 180px;
  background: radial-gradient(circle at 40% 50%, #2a2017 0%, transparent 70%);
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   10. Mobile Reassurance  (nascosta su desktop, visibile solo su mobile)
   ========================================================================== */
.m-reassure {
  display: none;
  background: var(--bg-dark);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
  padding: 16px 8px;
  gap: 8px;
}
.m-reassure-item { text-align: center; color: #fff; }
.m-reassure-icon {
  width: 32px; height: 32px; margin: 0 auto 6px;
  border-radius: 8px;
  background: rgba(33,134,255,0.12);
  border: 1px solid rgba(33,134,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.m-reassure-icon svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.m-reassure-t { font-size: 11px; font-weight: 600; }
.m-reassure-s { font-size: 10px; color: rgba(255,255,255,0.55); }

/* ==========================================================================
   11. Mobile Sections  (nascosta su desktop, visibile solo su mobile)
   ========================================================================== */
.m-section { display: none; background: var(--paper); padding: 22px 16px; }
.m-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.m-section-title { font-size: 18px; font-weight: 700; margin: 0; }
.m-section-link { font-size: 12px; color: var(--accent); font-weight: 600; text-decoration: none; }

.m-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.m-cat-card { background: var(--bg-card); border-radius: 12px; padding: 10px 6px 8px; text-align: center; }
.m-cat-img {
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 60%, #fff 0%, var(--bg-card-2) 70%);
  border-radius: 8px; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.m-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.m-cat-name { font-size: 11px; font-weight: 600; }

.m-prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.m-list-grid { padding: 16px 18px 8px; }

/* ==========================================================================
   12. Mobile Tab Bar
   ========================================================================== */
.m-tabbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,13,18,0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(5, 1fr);
  padding: 10px 4px 18px;
  gap: 4px;
  z-index: 900;
}
.m-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: rgba(255,255,255,0.55);
  font-size: 9px; font-weight: 500;
  position: relative; cursor: pointer;
  text-decoration: none;
}
.m-tab.active { color: var(--accent); }
.m-tab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.badge-mini {
  position: absolute; top: -2px; right: 50%; margin-right: -22px;
  background: var(--accent); color: #fff;
  width: 16px; height: 16px; border-radius: 50%;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-dark);
}

/* ==========================================================================
   13. List Page (Archive Prodotti)
   ========================================================================== */
.list-hero-b {
  position: relative; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 36px; text-align: center; overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}
.list-hero-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, #2a2017 0 14px, #1f1812 14px 28px), var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
}
.list-hero-bg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.list-hero-placeholder {
  font-size: 11px; letter-spacing: 0.16em; color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 6px;
}
.list-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,18,0.55) 0%, rgba(10,13,18,0.75) 100%);
}
.list-hero-content { position: relative; z-index: 2; max-width: 640px; }
.list-hero-content .crumbs { justify-content: center; display: flex; gap: 0; margin-bottom: 18px; }
.list-hero-content .crumbs span { color: rgba(255,255,255,0.5); }
.collection-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; }
.list-hero-content h1 { font-size: 64px; font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 14px; line-height: 1; color: #fff; }
.list-hero-content p { margin: 0 auto; font-size: 15px; max-width: 520px; line-height: 1.5; color: rgba(255,255,255,0.85); }

.chipbar {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 36px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.chipbar-label { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; }
.chipbar-sort {
  border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
  padding: 6px 28px 6px 12px; font: inherit; font-size: 13px;
  background: rgba(255,255,255,0.04); color: #fff; cursor: pointer;
}
.chip {
  padding: 7px 16px; border-radius: 99px;
  border: 1px solid var(--accent);
  background: transparent; font-size: 13px; font-weight: 500; color: #fff;
  cursor: pointer; transition: all .15s; white-space: nowrap;
  text-decoration: none; display: inline-block;
}
.chip:hover { background: rgba(33,134,255,0.12); }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 14px rgba(33,134,255,0.35); }

.crumbs { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.02em; }
.crumbs span { margin: 0 6px; color: var(--ink-faint); }
.crumbs b { color: var(--ink); font-weight: 600; }

.list-main-b { background: var(--paper); padding: 36px 36px 56px; }
.load-more-row { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 0 0; }
.load-meta { font-size: 12px; color: var(--ink-faint); }

/* ==========================================================================
   14. Mobile List
   ========================================================================== */
.m-list-hero {
  position: relative; min-height: 220px;
  display: none; align-items: center; justify-content: center;
  padding: 32px 20px; text-align: center; overflow: hidden;
}
.m-list-hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.m-list-hero-content h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0; line-height: 1; color: #fff; }
.m-list-hero-content p { margin: 0; font-size: 12px; color: rgba(255,255,255,0.85); }

.m-list-toolbar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 14px 18px;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.m-toolbtn {
  background: transparent; border: 1px solid var(--accent); border-radius: 8px;
  padding: 10px 14px; font: inherit; font-size: 13px; font-weight: 500; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; transition: background .15s;
}
.m-toolbtn:hover { background: rgba(33,134,255,0.12); }
.m-tool-count {
  background: var(--accent); color: #fff; border-radius: 99px; padding: 0 6px;
  font-size: 11px; font-weight: 600; min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.m-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 18px 16px;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.m-chip {
  padding: 6px 14px; border-radius: 99px; border: 1px solid var(--accent);
  background: transparent; font-size: 12px; white-space: nowrap; color: #fff;
  cursor: pointer; text-decoration: none;
}
.m-chip.on { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 12px rgba(33,134,255,0.35); }

/* ==========================================================================
   15. PDP — Product Detail Page
   ========================================================================== */
.pdp { background: var(--paper); padding: 28px 36px 64px; }
.pdp-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.pdp-gallery { display: grid; grid-template-columns: 86px 1fr; gap: 14px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumb {
  background: var(--bg-card); border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer;
}
.pdp-thumb.active { border-color: var(--accent); }
.pdp-thumb img { width: 100%; display: block; }
.pdp-main-img { position: relative; background: var(--bg-card); border-radius: 18px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.pdp-main-slide { display: none; position: absolute; inset: 0; }
.pdp-main-slide.active { display: block; }
.pdp-main-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-counter {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(10,13,18,0.7); color: #fff;
  padding: 4px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 500;
}

.pdp-info { padding-top: 4px; }
.pdp-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); font-weight: 600; }
.pdp-info h1 { font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 12px; color: var(--ink); font-weight: 700; }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.stars { color: #f5a623; font-size: 14px; letter-spacing: 0.04em; }
.rating-meta { font-size: 12px; color: var(--ink-soft); }

.pdp-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
.pdp-price { font-family: 'Libre Baskerville', serif; font-size: 38px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.pdp-price-meta { font-size: 12px; color: var(--ink-soft); }

.pdp-desc { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; }

.pdp-engrave {
  background: var(--bg-card-2); border: 1px dashed var(--line-light);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 20px;
}
.pdp-engrave-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.pdp-engrave-price { color: var(--accent); }
.pdp-engrave input {
  width: 100%; border: 1px solid var(--line-light); border-radius: 8px;
  padding: 10px 12px; font: inherit; font-size: 13px; background: #fff;
}

.pdp-buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 24px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-light); border-radius: 99px;
  padding: 4px 6px; background: #fff;
}
.qty-minus, .qty-plus {
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: transparent; font-size: 18px; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.qty-minus:hover, .qty-plus:hover { background: var(--bg-card); }
.qty-input {
  min-width: 40px; text-align: center; font-weight: 600;
  font-size: 14px; border: none; background: transparent;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.pdp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; font-size: 12px; color: var(--ink-soft); }
.pdp-trust > div { display: inline-flex; align-items: center; gap: 8px; }
.pdp-trust svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

/* PDP Mobile */
.m-pdp-wrapper { display: none; }
.m-related { display: none; }
.m-pdp-img { position: relative; background: var(--bg-card); }
.m-pdp-slider { overflow: hidden; }
.m-pdp-slide { display: none; }
.m-pdp-slide.active { display: block; }
.m-pdp-slide img { width: 100%; height: 360px; object-fit: cover; display: block; }
.m-pdp-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.m-pdp-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(10,13,18,0.25); }
.m-pdp-dots .dot.on { background: var(--ink); }
.m-pdp-thumbs { display: flex; gap: 8px; padding: 12px 16px; background: var(--paper); overflow-x: auto; justify-content: center; }
.m-pdp-thumb { flex: 0 0 56px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.m-pdp-thumb.active { border-color: var(--accent); }
.m-pdp-thumb img { width: 100%; height: 56px; object-fit: cover; display: block; }
.m-pdp-info { padding: 4px 16px 16px; background: var(--paper); }
.m-pdp-info h1 { font-size: 26px; line-height: 1.15; margin: 6px 0 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.m-pdp-info .pdp-price { font-size: 26px; }
.m-pdp-info .pdp-desc { font-size: 13px; margin-bottom: 14px; }
.m-pdp-trust { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--bg-card-2); font-size: 12px; color: var(--ink-2); }
.m-pdp-trust > div { display: inline-flex; align-items: center; gap: 8px; }
.m-pdp-trust svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
/* PDP Lightbox */
#pdp-lb {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10,13,18,0.95);
  align-items: center; justify-content: center;
}
#pdp-lb.is-open { display: flex; }
body.lb-open { overflow: hidden; }
.lb-img-wrap { display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; cursor: default; display: block; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.12); border: none;
  color: #fff; cursor: pointer; border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; transition: background 0.15s; flex-shrink: 0;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-close { top: 20px; right: 20px; font-size: 26px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

.m-pdp-buybar {
  position: sticky; bottom: 0;
  display: flex; gap: 10px; padding: 12px 16px 14px;
  background: var(--paper); border-top: 1px solid var(--line-light); align-items: center;
}
.m-buybar-label { font-size: 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.m-buybar-amount { font-family: 'Libre Baskerville', serif; font-size: 18px; font-weight: 700; color: var(--ink); }

/* ==========================================================================
   16. Account Pages
   ========================================================================== */
.account-dashboard { padding: 40px 36px; background: var(--paper); }
.account-welcome { text-align: center; margin-bottom: 48px; }
.account-welcome h1 { font-size: 36px; margin: 0 0 12px 0; color: var(--ink); }
.account-welcome p { font-size: 16px; color: var(--ink-soft); }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 64px; }
.account-card {
  background: var(--bg-card-2); border: 1px solid var(--line-light);
  border-radius: 16px; padding: 32px; text-align: center;
  transition: all .2s;
}
.account-card:hover { background: var(--bg-card); transform: translateY(-4px); }
.account-card-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 16px;
  background: rgba(33,134,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.account-card-icon svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.account-card h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px 0; color: var(--ink); }
.account-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 20px 0; }
.account-card .btn-ghost { color: var(--ink); border-color: var(--line-light); }
.account-card .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.account-recent-orders { margin-top: 64px; }
.account-recent-orders h2 { font-size: 28px; margin-bottom: 24px; color: var(--ink); }
.account-orders-table { width: 100%; border-collapse: collapse; background: var(--bg-card-2); border-radius: 12px; overflow: hidden; border: 1px solid var(--line-light); }
.account-orders-table thead { background: var(--bg-card); }
.account-orders-table th, .account-orders-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line-light); }
.account-orders-table th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.account-orders-table tbody tr:last-child td { border-bottom: none; }
.order-status { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.order-status-completed { background: rgba(34,197,94,0.12); color: #16a34a; }
.order-status-processing { background: rgba(251,191,36,0.15); color: #d97706; }
.order-status-pending { background: rgba(156,163,175,0.15); color: #6b7280; }
.order-status-on-hold { background: rgba(139,92,246,0.12); color: #7c3aed; }

/* ==========================================================================
   17. Checkout
   ========================================================================== */
/* .woocommerce-checkout è il <form> dentro .co — reset layout per non interferire con .co */
.woocommerce-checkout { max-width: none; margin: 0; padding: 0; }
.woocommerce-checkout .col2-set { display: block; }
.woocommerce-checkout h3 { font-family: 'Libre Baskerville', serif; font-size: 20px; font-weight: 700; margin: 0 0 16px 0; color: var(--ink); }
.woocommerce-checkout .form-row { margin-bottom: 0; }
.woocommerce-checkout label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; display: block; }
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--line-light); border-radius: 8px;
  background: #fff; color: var(--ink);
  font-family: 'Inter', sans-serif; font-size: 14px;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus { outline: none; border-color: var(--accent); }
#order_review { background: var(--bg-card-2); border: 1px solid var(--line-light); border-radius: 16px; padding: 32px; position: sticky; top: 24px; }
.woocommerce-checkout-review-order-table { width: 100%; margin-bottom: 24px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0; border-bottom: 1px solid var(--line-light); color: var(--ink); }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 20px; font-weight: 700; color: var(--ink); }
.wc_payment_method { padding: 16px; border: 1px solid var(--line-light); border-radius: 8px; margin-bottom: 12px; transition: all .15s; background: #fff; }
.wc_payment_method:hover { border-color: var(--accent); }
.wc_payment_method label { font-weight: 500; color: var(--ink); }
.wc_payment_method input[type="radio"] { accent-color: var(--accent); }
#place_order {
  width: 100%; padding: 16px 32px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all .15s;
  box-shadow: 0 8px 20px rgba(33,134,255,0.35);
}
#place_order:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(33,134,255,0.45); }

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pdp-info h1 { font-size: 32px; }
  .pdp-price { font-size: 30px; }
}

@media (max-width: 1024px) {
  .hero-text h1 { font-size: 48px; }
  .list-hero-content h1 { font-size: 48px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid-4 { grid-template-columns: repeat(3, 1fr) !important; }
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
  #order_review { position: relative; top: 0; }
}

@media (max-width: 768px) {
  .hdr { display: none; }
  .hdr-mobile { display: flex; }
  .m-tabbar { display: grid; }
  body { padding-bottom: 76px; }

  .hero { min-height: auto; padding: 56px 24px; }
  .hero-text h1 { font-size: 36px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  /* Nascondi desktop, mostra mobile */
  .reassure { display: none; }
  .m-reassure { display: grid; }

  /* Homepage: nascondi sezioni desktop, mostra quelle mobile */
  .home .section { display: none; }
  .m-section { display: block; }

  .section { padding: 36px 18px; }
  .section-title { font-size: 22px; }
  .prod-grid, .prod-grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .list-hero-b { min-height: 260px; padding: 40px 20px; }
  .list-hero-content h1 { font-size: 36px; }
  .chipbar { padding: 12px 18px; }
  .m-list-hero { display: flex; }

  .pdp { padding: 20px 18px 40px; }
  .pdp-gallery { grid-template-columns: 64px 1fr; gap: 10px; }
  .pdp-info h1 { font-size: 28px; }
  .pdp-price { font-size: 26px; }
  .pdp-trust { grid-template-columns: 1fr; gap: 8px; }

  .m-pdp-wrapper { display: block; }
  .pdp-grid { display: none; }
  .pdp-related { display: none; }
  .m-related { display: block; }

  .woocommerce-checkout { padding: 24px 18px; }
  .account-dashboard { padding: 24px 18px; }
  .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 28px; }
  .m-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .m-reassure { grid-template-columns: repeat(2, 1fr); }
  .list-hero-content h1 { font-size: 28px; }
}

/* ==========================================================================
   19. Checkout
   ========================================================================== */
.co { background: var(--paper); padding: 32px 36px 64px; border-radius: 5px; overflow: hidden; }
.co-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line-light); margin-bottom: 32px;
}
.co-head h1 { font-size: 36px; margin: 0; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

/* Stepper */
.co-stepper { display: inline-flex; align-items: center; gap: 0; }
.co-step { display: flex; align-items: center; gap: 8px; color: var(--ink-faint); }
.co-step.active { color: var(--ink); }
.co-step.done { color: var(--accent); }
.co-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; background: var(--paper);
}
.co-step.active .co-step-dot { background: var(--accent); color: #fff; border-color: var(--accent); }
.co-step.done .co-step-dot { background: var(--accent); color: #fff; border-color: var(--accent); }
.co-step.done .co-step-dot svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.5; }
.co-step-label { font-size: 13px; font-weight: 500; }
.co-step-line { width: 36px; height: 1.5px; background: var(--line-light); margin: 0 12px; }
.co-step-line.done { background: var(--accent); }

.co-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }

.co-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-light); }
.co-section:last-of-type { border-bottom: 0; }
.co-section-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.co-section-num {
  width: 26px; height: 26px; background: var(--ink); color: #fff;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.co-section-h h2 { font-size: 22px; margin: 0; font-weight: 700; color: var(--ink); }

.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-field { display: flex; flex-direction: column; gap: 6px; }
.co-field.co-full { grid-column: 1 / -1; }
.co-field > span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.co-field input, .co-field select {
  border: 1px solid var(--line-light); border-radius: 8px;
  padding: 12px 14px; font: inherit; font-size: 14px;
  background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.co-field input:focus, .co-field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33,134,255,0.15);
}
.co-checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); cursor: pointer; padding: 4px 0; }
.co-checkbox input { accent-color: var(--accent); width: 16px; height: 16px; }

.co-radio-list { display: flex; flex-direction: column; gap: 10px; }
.co-radio {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1.5px solid var(--line-light); border-radius: 12px;
  background: #fff; cursor: pointer; transition: border-color .15s, background .15s;
}
.co-radio:hover { border-color: var(--accent); }
.co-radio.active { border-color: var(--accent); background: var(--accent-soft); }
.co-radio input { accent-color: var(--accent); }
.co-radio-body { flex: 1; }
.co-radio-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.co-radio-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.co-radio-price { font-weight: 700; font-size: 14px; color: var(--ink); }

.co-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.co-back { font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.co-back:hover { color: var(--accent); }

.co-summary {
  background: var(--bg-card-2); border: 1px solid var(--line-light);
  border-radius: 14px; padding: 24px; position: sticky; top: 80px;
}
.co-summary-h { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); color: var(--ink); }
.co-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.co-item-img { width: 56px; height: 56px; background: var(--paper); border-radius: 8px; position: relative; overflow: hidden; border: 1px solid var(--line-light); }
.co-item-img img { width: 100%; height: 100%; object-fit: cover; }
.co-item-qty {
  position: absolute; top: -6px; right: -6px;
  background: var(--ink); color: #fff; font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-card-2);
}
.co-item-cat { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.co-item-name { font-family: 'Libre Baskerville', serif; font-size: 14px; color: var(--ink); margin-top: 2px; }
.co-item-price { font-family: 'Libre Baskerville', serif; font-size: 14px; font-weight: 700; color: var(--ink); }
.co-coupon { display: flex; gap: 8px; margin: 20px 0; padding: 16px 0; border-top: 1px dashed var(--line-light); border-bottom: 1px dashed var(--line-light); }
.co-coupon input { flex: 1; border: 1px solid var(--line-light); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 13px; background: #fff; }
.co-coupon button { border: 1px solid var(--ink); background: transparent; border-radius: 8px; padding: 10px 16px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink); }
.co-totals { display: flex; flex-direction: column; gap: 8px; }
.co-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.co-row-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-light); font-family: 'Libre Baskerville', serif; font-size: 22px; font-weight: 700; color: var(--ink); }
.co-vat { font-size: 11px; color: var(--ink-faint); text-align: right; margin-top: 2px; }
.co-trust { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-light); font-size: 11px; color: var(--ink-soft); }
.co-trust > div { display: flex; align-items: center; gap: 6px; }
.co-trust svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

/* Mobile checkout */
.m-co-head { padding: 18px; background: var(--paper); border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 14px; }
.m-co-head h1 { font-size: 26px; margin: 0; font-weight: 700; color: var(--ink); }
.m-co-head .co-stepper { display: flex; width: 100%; justify-content: space-between; }
.m-co-head .co-step { flex-direction: column; gap: 4px; align-items: center; flex: 0 0 auto; }
.m-co-head .co-step-dot { width: 24px; height: 24px; font-size: 11px; }
.m-co-head .co-step-label { font-size: 10px; }
.m-co-head .co-step-line { flex: 1; min-width: 0; margin: 0 4px; align-self: center; margin-top: -14px; }
.m-co-section { background: var(--paper); padding: 18px; border-bottom: 1px solid var(--line-light); }
.m-co-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.m-co-h h2 { font-size: 18px; margin: 0; font-weight: 700; color: var(--ink); }
.m-co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-co-fields .co-full { grid-column: 1 / -1; }
.m-co-summary-toggle { background: var(--bg-card-2); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.m-co-summary-toggle summary { padding: 16px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; list-style: none; }
.m-co-summary-toggle summary::-webkit-details-marker { display: none; }
.m-co-summary-amount { font-family: 'Libre Baskerville', serif; font-size: 18px; font-weight: 700; color: var(--ink); }

/* Thank you / order received */
.woocommerce-order,
.woocommerce-order-received .inside-article,
.woocommerce-order-received .entry-content,
.woocommerce-order-received .site-main {
  color: var(--ink);
}
.woocommerce-order-received .inside-article {
  background: transparent;
  padding: 24px 24px 48px;
}
.woocommerce-order-received .entry-content > .woocommerce {
  max-width: 1240px;
  margin: 0 auto;
}
.woocommerce-order-received .woocommerce-notice,
.woocommerce-order-received .woocommerce-thankyou-order-received,
.woocommerce-order-received .woocommerce-order-overview,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .wc-bacs-bank-details,
.woocommerce-order-received .wc-bacs-bank-details-heading,
.woocommerce-order-received .bacs_details,
.woocommerce-order-received .woocommerce-column--billing-address,
.woocommerce-order-received .woocommerce-column--shipping-address {
  background: var(--paper);
  color: var(--ink);
}
.woocommerce-order-received .woocommerce-notice,
.woocommerce-order-received .woocommerce-thankyou-order-received {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line-light);
}
.woocommerce-order-received .woocommerce-order-overview {
  list-style: none;
  margin: 0 0 24px;
  padding: 22px 26px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
}
.woocommerce-order-received .woocommerce-order-overview li {
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.woocommerce-order-received .woocommerce-order-overview li:last-child {
  margin-bottom: 0;
}
.woocommerce-order-received .woocommerce-order-overview strong,
.woocommerce-order-received .woocommerce-order-details strong,
.woocommerce-order-received .woocommerce-customer-details strong,
.woocommerce-order-received .wc-bacs-bank-details strong,
.woocommerce-order-received .woocommerce-order-details bdi,
.woocommerce-order-received .woocommerce-order-details .amount,
.woocommerce-order-received .woocommerce-customer-details address,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .wc-bacs-bank-details-heading,
.woocommerce-order-received .wc-bacs-bank-details-account-name {
  color: var(--ink);
}
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .wc-bacs-bank-details {
  margin-top: 24px;
}
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .wc-bacs-bank-details {
  padding: 24px 26px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
}
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .wc-bacs-bank-details-heading {
  margin: 0 0 18px;
  font-family: 'Libre Baskerville', serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.woocommerce-order-received .wc-bacs-bank-details p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
}
.woocommerce-order-received .bacs_details {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-order-received .bacs_details li {
  margin: 0 0 10px;
  padding: 0;
  color: var(--ink);
  font-size: 15px;
}
.woocommerce-order-received .bacs_details li:last-child {
  margin-bottom: 0;
}
.woocommerce-order-received .woocommerce table.shop_table {
  background: var(--bg-card-2);
  color: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  margin: 0;
}
.woocommerce-order-received .woocommerce table.shop_table th,
.woocommerce-order-received .woocommerce table.shop_table td {
  color: var(--ink);
  border-color: var(--line-light);
  padding: 18px 16px;
}
.woocommerce-order-received .woocommerce table.shop_table thead th {
  background: var(--bg-card);
}
.woocommerce-order-received .woocommerce table.shop_table tfoot th,
.woocommerce-order-received .woocommerce table.shop_table tfoot td {
  font-weight: 700;
}
.woocommerce-order-received .woocommerce-customer-details address {
  background: var(--bg-card-2);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 20px;
  font-style: normal;
  line-height: 1.7;
}
.woocommerce-order-received .woocommerce a {
  color: var(--accent);
}
.tdio-thankyou .acc-stat-value {
  word-break: break-word;
}
.tdio-thankyou .wc-bacs-bank-details {
  margin: 0 0 36px;
}
.tdio-thankyou .wc-bacs-bank-details,
.tdio-thankyou .woocommerce-order-details,
.tdio-thankyou .woocommerce-customer-details {
  background: transparent;
}
.tdio-thankyou .bacs_details {
  display: grid;
  gap: 10px;
}
.tdio-thankyou .bacs_details li {
  background: var(--bg-card-2);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 14px 16px;
}
.tdio-thankyou .tdio-thankyou-table .acc-orders-head,
.tdio-thankyou .tdio-thankyou-table .acc-order {
  grid-template-columns: minmax(220px, 2fr) 100px 160px 160px 1fr 1fr;
}
.tdio-thankyou .tdio-thankyou-table .acc-order a {
  color: var(--ink);
  text-decoration: none;
}
.tdio-thankyou .tdio-thankyou-table .acc-order a:hover {
  color: var(--accent);
}
.tdio-thankyou-total-row {
  background: var(--bg-card);
}
@media (max-width: 1100px) {
  .tdio-thankyou .tdio-thankyou-table .acc-orders-head,
  .tdio-thankyou .tdio-thankyou-table .acc-order {
    grid-template-columns: 1.6fr 0.6fr 1fr 1fr;
  }
  .tdio-thankyou .tdio-thankyou-table .acc-orders-head span:nth-child(5),
  .tdio-thankyou .tdio-thankyou-table .acc-orders-head span:nth-child(6),
  .tdio-thankyou .tdio-thankyou-table .acc-order span:nth-child(5),
  .tdio-thankyou .tdio-thankyou-table .acc-order span:nth-child(6) {
    display: none;
  }
}
@media (max-width: 768px) {
  .woocommerce-order-received .inside-article {
    padding: 18px 18px 36px;
  }
  .woocommerce-order-received .woocommerce-order-details,
  .woocommerce-order-received .woocommerce-customer-details,
  .woocommerce-order-received .wc-bacs-bank-details,
  .woocommerce-order-received .woocommerce-order-overview,
  .woocommerce-order-received .woocommerce-notice,
  .woocommerce-order-received .woocommerce-thankyou-order-received {
    padding: 18px;
    border-radius: 14px;
  }
  .woocommerce-order-received .woocommerce-order-details__title,
  .woocommerce-order-received .woocommerce-column__title,
  .woocommerce-order-received .wc-bacs-bank-details-heading {
    font-size: 24px;
  }
}

/* ==========================================================================
   20. Payments
   ========================================================================== */
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pay-method {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border: 1.5px solid var(--line-light);
  border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s;
}
.pay-method:hover { border-color: var(--accent); }
.pay-method.active { border-color: var(--accent); background: var(--accent-soft); }
.pay-method input { display: none; }
.pay-method-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pay-method.active .pay-method-icon { background: #fff; border-color: var(--accent); }
.pay-method-icon svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.pay-method-body { flex: 1; }
.pay-method-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.pay-method-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.pay-method-radio { width: 20px; height: 20px; border: 1.5px solid var(--line-light); border-radius: 50%; position: relative; flex-shrink: 0; }
.pay-method.active .pay-method-radio { border-color: var(--accent); }
.pay-method.active .pay-method-radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.pay-active-form { background: var(--bg-card-2); border: 1px solid var(--line-light); border-radius: 12px; padding: 20px; }
.pay-card-form { display: flex; flex-direction: column; gap: 14px; }
.pay-input { position: relative; }
.pay-input input { width: 100%; padding-right: 50px; }
.pay-card-icons { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }
.pay-card-icons svg { width: 24px; height: 24px; stroke: var(--ink-faint); fill: none; stroke-width: 1.6; }
.pay-saved-addr { display: flex; justify-content: space-between; align-items: flex-start; padding: 14px 16px; background: var(--bg-card-2); border: 1px solid var(--line-light); border-radius: 10px; }
.pay-saved-addr-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
.pay-saved-addr-line { font-size: 13px; color: var(--ink-soft); }
.pay-edit { background: transparent; border: 1px solid var(--line-light); border-radius: 8px; padding: 6px; cursor: pointer; color: var(--ink-soft); }
.pay-edit:hover { color: var(--accent); border-color: var(--accent); }
.pay-edit svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.pay-terms { margin: 24px 0; padding: 16px; background: var(--bg-card-2); border-radius: 10px; font-size: 13px; }
.pay-terms a { color: var(--accent); text-decoration: none; }

/* ==========================================================================
   21. Account Full Layout
   ========================================================================== */
.acc { background: var(--paper); padding: 16px 24px 32px; }
.acc-head { margin-bottom: 32px; }
.acc-head h1 { font-size: 40px; margin: 8px 0 4px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.acc-head p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.acc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }

/* Sidebar */
.acc-sidebar { background: var(--bg-card-2); border: 1px solid var(--line-light); border-radius: 14px; padding: 20px; position: sticky; top: 80px; }
.acc-user { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-light); margin-bottom: 14px; }
.acc-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.acc-user-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.acc-user-email { font-size: 12px; color: var(--ink-soft); margin-top: 1px; }
.acc-nav { display: flex; flex-direction: column; gap: 2px; }
.acc-nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 500; transition: background .15s; }
.acc-nav-item:hover { background: var(--bg-card); }
.acc-nav-item.active { background: var(--accent); color: #fff; }
.acc-nav-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.acc-nav-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.acc-nav-label { flex: 1; }
.acc-nav-count { background: var(--line-light); color: var(--ink-soft); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.acc-nav-item.active .acc-nav-count { background: rgba(255,255,255,0.25); color: #fff; }
.acc-nav-logout { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-light); color: var(--ink-soft); }

/* Stats */
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 32px; }
.acc-stat { padding: 20px; background: var(--bg-card-2); border: 1px solid var(--line-light); border-radius: 12px; }
.acc-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 6px; }
.acc-stat-value { font-family: 'Libre Baskerville', serif; font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1; }
.acc-stat-meta { font-size: 11px; color: var(--ink-faint); margin-top: 6px; }

.acc-section { margin-bottom: 36px; }
.acc-section-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.acc-section-h h2 { font-size: 22px; margin: 0; font-weight: 700; color: var(--ink); }

/* Orders table */
.acc-orders { background: var(--bg-card-2); border: 1px solid var(--line-light); border-radius: 12px; overflow: hidden; }
.acc-orders-head, .acc-order { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; font-size: 13px; }
.acc-orders-head { background: var(--bg-card); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); border-bottom: 1px solid var(--line-light); }
.acc-order { border-bottom: 1px solid var(--line-light); color: var(--ink); }
.acc-order:last-child { border-bottom: 0; }
.acc-order-n { font-weight: 600; color: var(--ink); }
.acc-order-total { font-family: 'Libre Baskerville', serif; font-weight: 700; }
.acc-order-link { font-size: 12px; color: var(--accent); text-decoration: none; font-weight: 600; }
.acc-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.acc-status svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.acc-status-ok { background: rgba(34,197,94,0.12); color: #14803c; }
.acc-status-pending { background: rgba(33,134,255,0.12); color: var(--accent); }

/* Addresses */
.acc-addresses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.acc-addr { background: var(--bg-card-2); border: 1px solid var(--line-light); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.acc-addr-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 99px; display: inline-block; align-self: flex-start; margin-bottom: 6px; }
.acc-addr-tag-alt { color: var(--ink-soft); background: var(--bg-card); }
.acc-addr-name { font-weight: 600; color: var(--ink); }
.acc-addr-line { color: var(--ink-soft); }
.acc-addr-actions { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-light); display: flex; gap: 10px; }
.acc-addr-actions button { background: transparent; border: 0; font: inherit; font-size: 12px; color: var(--accent); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; padding: 0; }
.acc-addr-actions button svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.acc-addr-new { border: 2px dashed var(--line-light); background: transparent; align-items: center; justify-content: center; color: var(--ink-faint); font-weight: 600; cursor: pointer; min-height: 120px; }
.acc-addr-new:hover { border-color: var(--accent); color: var(--accent); }

/* Mobile Account */
.m-acc-head { padding: 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line-light); }
.m-acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border-bottom: 1px solid var(--line-light); }
.m-acc-stats .acc-stat { background: var(--paper); border: 0; border-radius: 0; padding: 14px 10px; text-align: center; }
.m-acc-stats .acc-stat-value { font-size: 22px; }
.m-acc-stats .acc-stat-label { margin-top: 4px; margin-bottom: 0; }
.m-acc-nav { display: flex; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line-light); }
.m-acc-nav-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-light); font-size: 14px; }
.m-acc-nav-item:last-child { border-bottom: 0; }
.m-acc-nav-item .acc-nav-icon svg { width: 20px; height: 20px; }
.m-acc-nav-item .acc-nav-label { flex: 1; font-weight: 500; }
.m-acc-chev { color: var(--ink-faint); font-size: 18px; }
.m-acc-section { padding: 18px; background: var(--paper); border-bottom: 1px solid var(--line-light); }
.m-acc-order { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--bg-card-2); border-radius: 10px; margin-bottom: 10px; text-decoration: none; color: inherit; border: 1px solid var(--line-light); }
.m-acc-order-top { display: flex; justify-content: space-between; align-items: center; }
.m-acc-order-bottom { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--ink-soft); }

/* ==========================================================================
   22. Pre-Footer
   ========================================================================== */
.prefooter {
  background: var(--bg-dark);
  color: #fff;
  border-top: 1px solid var(--line);
  padding: 64px 0;
  /* layout e max-width gestiti da .prefooter-inner inline */
}
.prefooter-brand {}
.prefooter-brand img { height: 36px; width: auto; margin-bottom: 16px; display: block; }
.prefooter-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 0 0 24px; max-width: 380px; }
.prefooter-links { display: flex; gap: 20px; flex-wrap: wrap; }
.prefooter-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color .15s; }
.prefooter-links a:hover { color: #fff; }
.prefooter-newsletter {}
.prefooter-newsletter h3 { font-family: 'Libre Baskerville', serif; font-size: 22px; margin: 0 0 8px; }
.prefooter-newsletter p { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0 0 20px; }
.prefooter-form { display: flex; gap: 10px; }
.prefooter-form input {
  flex: 1; padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  background: rgba(255,255,255,0.06); color: #fff;
  font: inherit; font-size: 14px;
}
.prefooter-form input::placeholder { color: rgba(255,255,255,0.4); }
.prefooter-form input:focus { outline: none; border-color: var(--accent); }
.prefooter-form button { padding: 12px 24px; border-radius: 999px; background: var(--accent); color: #fff; border: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; white-space: nowrap; }
.prefooter-form button:hover { background: var(--accent-deep); }

/* Responsive checkout/account/prefooter */
@media (max-width: 1100px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-sidebar { position: static; }
  .acc-orders-head { display: none; }
  .acc-order { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .acc-order-link { grid-column: 1 / -1; text-align: right; }
  .acc-addresses { grid-template-columns: 1fr 1fr; }
  .prefooter { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .co { padding: 20px 18px 40px; }
  .co-fields { grid-template-columns: 1fr; }
  .acc { padding: 12px 16px 24px; }
  .acc-stats { grid-template-columns: repeat(3, 1fr); }
  .acc-addresses { grid-template-columns: 1fr; }
  .prefooter { padding: 40px 0; }
  .prefooter-inner { grid-template-columns: 1fr !important; gap: 32px !important; padding: 0 18px !important; }
  .prefooter-form { flex-direction: column; }
}



/* ==========================================================================
   23. Footer
   ========================================================================== */

.site-footer.grid-container footer
 {
    background-color: #00000000;
    color: #2186ff;
}

/* ==========================================================================
   24. Inside Article — border-radius globale
   ========================================================================== */
article.inside-article {
  border-radius: 5px;
  overflow: hidden;
}

/* ==========================================================================
   25. WooCommerce Notices / Alerts
   ========================================================================== */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  background: var(--bg-card-2) !important;
  border: 1px solid var(--line-light) !important;
  border-left: 4px solid var(--accent) !important;
  border-radius: 12px !important;
  color: var(--ink) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 16px 24px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 16px;
}
.woocommerce-error {
  border-left-color: #ef4444 !important;
}
.woocommerce-message {
  border-left-color: #22c55e !important;
}
.woocommerce-error li {
  list-style: none !important;
}
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
  display: none !important;
}
.woocommerce-error .button,
.woocommerce-message .button,
.woocommerce-info .button {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s !important;
  display: inline-flex;
}
.woocommerce-error .button:hover,
.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
  background: var(--accent-deep) !important;
}

/* ==========================================================================
   26. Account Subpages Forms & Tables (in .acc-main)
   ========================================================================== */
.acc-main form {
  background: var(--bg-card-2);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}
.acc-main form h3 {
  font-size: 20px;
  margin: 0 0 20px 0;
  color: var(--ink);
  font-family: 'Libre Baskerville', serif;
}
.acc-main .form-row {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.acc-main .form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.acc-main .form-row input[type="text"],
.acc-main .form-row input[type="email"],
.acc-main .form-row input[type="tel"],
.acc-main .form-row input[type="password"],
.acc-main .form-row select,
.acc-main .form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.acc-main .form-row input:focus,
.acc-main .form-row select:focus,
.acc-main .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33,134,255,0.15);
}
.acc-main button.button,
.acc-main input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(33,134,255,0.25);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.acc-main button.button:hover,
.acc-main input[type="submit"]:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(33,134,255,0.35);
}

/* Guest Logged Out Login/Register form override */
.acc-logged-out form.login,
.acc-logged-out form.register {
  background: var(--bg-card-2) !important;
  border: 1px solid var(--line-light) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  margin-bottom: 24px !important;
}
.acc-logged-out form.login h2,
.acc-logged-out form.register h2 {
  font-size: 24px;
  margin: 0 0 20px 0;
  color: var(--ink);
  font-family: 'Libre Baskerville', serif;
}
.acc-logged-out label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
}
.acc-logged-out input[type="text"],
.acc-logged-out input[type="email"],
.acc-logged-out input[type="password"] {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid var(--line-light) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}
.acc-logged-out input:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(33,134,255,0.15) !important;
}
.acc-logged-out button.button,
.acc-logged-out input[type="submit"] {
  display: inline-flex !important;
  width: 100% !important;
  padding: 12px 24px !important;
  background: var(--accent) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(33,134,255,0.25) !important;
  transition: all 0.15s ease !important;
}
.acc-logged-out button.button:hover,
.acc-logged-out input[type="submit"]:hover {
  background: var(--accent-deep) !important;
  transform: translateY(-1px) !important;
}

/* Order Details tables */
.acc-main table.order_details,
.acc-main table.customer_details {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card-2);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.acc-main table.order_details th,
.acc-main table.customer_details th {
  background: var(--bg-card);
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-align: left;
}
.acc-main table.order_details td,
.acc-main table.customer_details td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
  font-size: 14px;
}
.acc-main table.order_details tr:last-child td,
.acc-main table.customer_details tr:last-child td {
  border-bottom: none;
}
.acc-main table.order_details tfoot td {
  font-weight: 600;
}
.acc-main table.order_details tfoot tr:last-child td {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   27. WooCommerce Cart (Carrello)
   ========================================================================== */
.woocommerce-cart .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 36px;
}
.woocommerce-cart-form {
  flex: 1;
}
.cart-collaterals {
  width: 380px;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .woocommerce-cart .woocommerce {
    display: flex;
    gap: 48px;
    align-items: start;
  }
}
.woocommerce-cart-form table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card-2);
}
.woocommerce-cart-form th {
  background: var(--bg-card);
  padding: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: left;
}
.woocommerce-cart-form td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line-light);
  vertical-align: middle;
}
.woocommerce-cart-form tr:last-child td {
  border-bottom: none;
}
.woocommerce-cart-form .product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-light);
  background: #fff;
}
.woocommerce-cart-form .product-name a {
  font-family: 'Libre Baskerville', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.woocommerce-cart-form .product-name a:hover {
  color: var(--accent);
}
.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.woocommerce-cart-form .product-quantity input.qty {
  width: 50px;
  padding: 8px;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  text-align: center;
  background: #fff;
}
.woocommerce-cart-form .product-remove a.remove {
  color: #ef4444;
  font-size: 20px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}
.woocommerce-cart-form .product-remove a.remove:hover {
  background: rgba(239, 68, 68, 0.1);
}
.woocommerce-cart-form td.actions {
  padding: 20px 16px;
  background: var(--bg-card-2);
}
.woocommerce-cart-form .coupon {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.woocommerce-cart-form .coupon input[type="text"] {
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  background: #fff;
}
.woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart-form button[name="apply_coupon"] {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.woocommerce-cart-form button[name="update_cart"]:hover,
.woocommerce-cart-form button[name="apply_coupon"]:hover {
  background: var(--ink);
  color: #fff;
}
.woocommerce-cart-form button[name="update_cart"] {
  float: right;
  border-color: var(--accent);
  color: var(--accent);
}
.woocommerce-cart-form button[name="update_cart"]:hover {
  background: var(--accent);
  color: #fff;
}

/* Cart Totals */
.cart-collaterals .cart_totals {
  background: var(--bg-card-2);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
}
.cart-collaterals h2 {
  font-size: 18px;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
}
.cart-collaterals table.shop_table_responsive {
  width: 100%;
  margin-bottom: 20px;
}
.cart-collaterals th,
.cart-collaterals td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  color: var(--ink);
}
.cart-collaterals th {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
}
.cart-collaterals td {
  text-align: right;
  font-weight: 600;
}
.cart-collaterals .order-total th,
.cart-collaterals .order-total td {
  font-size: 18px;
  font-weight: 700;
  border-bottom: none;
}
.cart-collaterals .wc-proceed-to-checkout {
  margin-top: 24px;
}
.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  width: 100%;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(33,134,255,0.35);
  transition: all 0.15s;
}
.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(33,134,255,0.45);
}

@media (max-width: 991px) {
  .woocommerce-cart .woocommerce {
    flex-direction: column;
    gap: 32px;
    padding: 24px 18px;
  }
  .cart-collaterals {
    width: 100%;
  }
  .woocommerce-cart-form table.shop_table,
  .woocommerce-cart-form table.shop_table thead,
  .woocommerce-cart-form table.shop_table tbody,
  .woocommerce-cart-form table.shop_table tr,
  .woocommerce-cart-form table.shop_table td {
    display: block;
    width: 100%;
  }
  .woocommerce-cart-form table.shop_table thead {
    display: none;
  }
  .woocommerce-cart-form table.shop_table tr {
    padding: 16px;
    border-bottom: 1px solid var(--line-light);
    position: relative;
    background: var(--bg-card-2);
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .woocommerce-cart-form table.shop_table td {
    padding: 8px 0;
    border-bottom: none;
    text-align: right;
    position: relative;
  }
  .woocommerce-cart-form table.shop_table td::before {
    content: attr(data-title);
    position: absolute;
    left: 0;
    width: 40%;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: left;
  }
  .woocommerce-cart-form table.shop_table td.product-thumbnail {
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line-light);
  }
  .woocommerce-cart-form table.shop_table td.product-thumbnail::before {
    display: none;
  }
  .woocommerce-cart-form table.shop_table td.product-thumbnail img {
    width: 80px;
    height: 80px;
  }
  .woocommerce-cart-form table.shop_table td.product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    padding: 0;
    z-index: 2;
  }
  .woocommerce-cart-form table.shop_table td.product-remove::before {
    display: none;
  }
  .woocommerce-cart-form td.actions {
    padding: 16px;
    border-radius: 12px;
  }
  .woocommerce-cart-form .coupon {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .woocommerce-cart-form .coupon input[type="text"] {
    width: 100%;
  }
  .woocommerce-cart-form .coupon button {
    width: 100%;
  }
  .woocommerce-cart-form button[name="update_cart"] {
    width: 100%;
    margin-top: 12px;
  }
}

/* ==========================================================================
   28. Checkout Fields Input overrides
   ========================================================================== */
.woocommerce-checkout form.checkout input[type="text"],
.woocommerce-checkout form.checkout input[type="email"],
.woocommerce-checkout form.checkout input[type="tel"],
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea {
  border: 1px solid var(--line-light) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
  width: 100%;
}
.woocommerce-checkout form.checkout input:focus,
.woocommerce-checkout form.checkout select:focus,
.woocommerce-checkout form.checkout textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(33, 134, 255, 0.15) !important;
  outline: none !important;
}

/* ==========================================================================
   29. Account — nasconde titoli WooCommerce e GP sulle sotto-pagine
   ========================================================================== */
/* titolo WooCommerce generato dentro il contenuto (es. "Indirizzi", "Ordini") */
.woocommerce-account .woocommerce > h1,
.woocommerce-account .woocommerce > h2,
.woocommerce-account .woocommerce-MyAccount-content > h1,
.woocommerce-account .woocommerce-MyAccount-content > h2 {
  display: none;
}
/* pagina principale .acc ha il proprio h1 nel .acc-head, nessun conflitto */

/* ==========================================================================
   30. Cart Page Wrap — layout del template page-cart.php
   ========================================================================== */
.cart-page-wrap {
  background: var(--paper);
  padding: 36px 36px 64px;
  border-radius: 5px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cart-page-wrap {
    padding: 20px 18px 40px;
    border-radius: 5px;
  }
}

/* ==========================================================================
   30b. Carrello / Checkout — nasconde solo l'entry-header vuoto
   ========================================================================== */
/* Il titolo è già rimosso via PHP (generate_show_title), ma l'header
   resta vuoto: lo nascondiamo senza toccare padding o border-radius */
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header {
  display: none;
}

/* ==========================================================================
   31. WooCommerce Cart Block — link, prezzi, pulsanti
   ========================================================================== */

/* Tutti i link dentro il blocco carrello */
.wc-block-cart a,
.wc-block-cart a:visited,
.wp-block-woocommerce-cart a,
.wp-block-woocommerce-cart a:visited {
  color: var(--ink);
  text-decoration: none;
}
.wc-block-cart a:hover,
.wp-block-woocommerce-cart a:hover {
  color: var(--accent);
}

/* Nome prodotto */
.wc-block-components-product-name,
.wc-block-components-product-name a,
.wc-block-components-product-name a:visited {
  font-family: 'Libre Baskerville', serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}
.wc-block-components-product-name a:hover { color: var(--accent) !important; }

/* Prezzi */
.wc-block-components-product-price,
.wc-block-components-totals-item__value,
.wc-block-components-order-summary-item__individual-prices {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: var(--ink);
}

/* Separatori e label totali */
.wc-block-components-totals-item__label { color: var(--ink-soft); font-size: 14px; }
.wc-block-components-totals-item { border-color: var(--line-light); }

/* Coupon / link secondari */
.wc-block-components-totals-coupon__button,
.wc-block-cart__change-address-button { color: var(--accent) !important; }

/* Pulsante "Procedi al pagamento" */
.wc-block-cart__submit-container .wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-proceed-to-checkout a.wc-block-components-button,
.wc-block-cart__submit-container a,
.wc-block-cart__submit-container button {
  background: var(--accent) !important;
  border: none !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 14px 28px !important;
  box-shadow: 0 8px 20px rgba(33,134,255,0.35) !important;
  transition: transform .15s, box-shadow .15s !important;
  text-decoration: none !important;
  display: block !important;
  text-align: center !important;
  width: 100% !important;
}
.wc-block-cart__submit-container .wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-proceed-to-checkout a.wc-block-components-button:hover,
.wc-block-cart__submit-container a:hover,
.wc-block-cart__submit-container button:hover {
  background: var(--accent-deep) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px rgba(33,134,255,0.45) !important;
}

/* Pulsante quantità -/+ e rimozione */
.wc-block-components-quantity-selector__button,
.wc-block-cart-item__remove-link {
  color: var(--ink) !important;
  border-color: var(--line-light) !important;
}
.wc-block-cart-item__remove-link { color: #ef4444 !important; }

/* ==========================================================================
   31b. WooCommerce Checkout Block - layout and spacing
   ========================================================================== */
.woocommerce-checkout .site-main,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .inside-article {
  background: transparent;
}
.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
.woocommerce-checkout .entry-content > .woocommerce,
.woocommerce-checkout .wc-block-checkout {
  max-width: 1480px;
  margin: 0 auto;
}
.woocommerce-checkout .wc-block-checkout {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  padding: 28px 28px 40px;
}
.woocommerce-checkout .wc-block-components-main,
.woocommerce-checkout .wc-block-checkout__main {
  padding-right: 28px;
}
.woocommerce-checkout .wc-block-components-sidebar,
.woocommerce-checkout .wc-block-checkout__sidebar {
  padding-left: 28px;
}
.woocommerce-checkout .wc-block-components-checkout-step {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-light);
}
.woocommerce-checkout .wc-block-components-checkout-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.woocommerce-checkout .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wc-block-components-title {
  margin-bottom: 18px;
}
.woocommerce-checkout .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-title .wc-block-components-title__text {
  font-family: 'Libre Baskerville', serif;
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink);
}
.woocommerce-checkout .wc-block-components-express-payment__title {
  font-size: 0;
}
.woocommerce-checkout .wc-block-components-express-payment__title::after {
  content: 'Pagamento Rapido Senza Registrazione';
  font-family: 'Libre Baskerville', serif;
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink);
}
.woocommerce-checkout .wc-block-components-address-card,
.woocommerce-checkout .wc-block-components-totals-wrapper,
.woocommerce-checkout .wc-block-components-order-summary,
.woocommerce-checkout .wc-block-components-order-summary__content,
.woocommerce-checkout .wc-block-components-sidebar-layout,
.woocommerce-checkout .wc-block-components-panel {
  border-radius: 16px;
}
.woocommerce-checkout .wc-block-components-order-summary {
  border: 1px solid var(--line-light);
  background: var(--bg-card-2);
  padding: 18px;
}
.woocommerce-checkout .wc-block-components-sidebar {
  border-radius: 16px;
  overflow: hidden;
}
.woocommerce-checkout .wc-block-components-order-summary-item,
.woocommerce-checkout .wc-block-components-address-card,
.woocommerce-checkout .wc-block-components-radio-control__option,
.woocommerce-checkout .wc-block-components-checkbox,
.woocommerce-checkout .wc-block-components-totals-item {
  border-color: var(--line-light);
}
.woocommerce-checkout .wc-block-components-address-card,
.woocommerce-checkout .wc-block-components-radio-control__option,
.woocommerce-checkout .wc-block-components-checkbox,
.woocommerce-checkout .wc-block-components-panel,
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox select,
.woocommerce-checkout .wc-block-components-text-input select,
.woocommerce-checkout .wc-block-components-text-input textarea,
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .wc-block-components-totals-coupon__button {
  border-radius: 12px !important;
}
.woocommerce-checkout .wc-block-components-order-summary-item__image,
.woocommerce-checkout .wc-block-components-product-metadata__image img,
.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
  border-radius: 10px;
}
.woocommerce-checkout .wc-block-components-address-form,
.woocommerce-checkout .wc-block-components-checkout-step__container {
  padding-top: 6px;
}
.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-combobox,
.woocommerce-checkout .wc-block-components-textarea {
  margin-bottom: 14px;
}
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:last-child,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox:last-child,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-textarea:last-child {
  margin-bottom: 0;
}
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input textarea {
  min-height: 54px;
}
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  min-height: 54px;
}
.woocommerce-checkout .tdio-checkout-terms-note {
  width: 100%;
  display: block;
  box-sizing: border-box;
  flex: 0 0 100%;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: var(--bg-card-2);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
.woocommerce-checkout .tdio-checkout-terms-row,
.woocommerce-checkout .tdio-checkout-button-row {
  width: 100%;
  display: block;
  box-sizing: border-box;
  flex: 0 0 100%;
}
.woocommerce-checkout .tdio-checkout-button-row {
  margin-top: 0;
}
.woocommerce-checkout .tdio-checkout-button-row .wc-block-components-checkout-place-order-button {
  width: 100%;
}
.woocommerce-checkout .tdio-checkout-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.woocommerce-checkout .tdio-checkout-terms-checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.woocommerce-checkout .tdio-checkout-terms-note a {
  color: var(--accent);
  text-decoration: none;
}
.woocommerce-checkout .tdio-checkout-terms-note a:hover {
  text-decoration: underline;
}
.woocommerce-checkout .tdio-place-order-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}
.woocommerce-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator.wp-block-woocommerce-checkout-terms-block {
  display: none !important;
}
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__button {
  padding: 18px 0;
}
.woocommerce-checkout .wc-block-components-totals-wrapper {
  margin-top: 18px;
}
@media (max-width: 1100px) {
  .woocommerce-checkout .wc-block-checkout {
    padding: 22px 22px 32px;
  }
  .woocommerce-checkout .wc-block-components-main,
  .woocommerce-checkout .wc-block-checkout__main,
  .woocommerce-checkout .wc-block-components-sidebar,
  .woocommerce-checkout .wc-block-checkout__sidebar {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .woocommerce-checkout .wc-block-checkout {
    padding: 18px 18px 28px;
    border-radius: 14px;
  }
  .woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 22px;
    padding-bottom: 22px;
  }
  .woocommerce-checkout .wc-block-components-checkout-step__title,
  .woocommerce-checkout .wc-block-components-title .wc-block-components-title__text,
  .woocommerce-checkout .wc-block-components-express-payment__title::after {
    font-size: 20px;
  }
  .woocommerce-checkout .wc-block-components-order-summary {
    padding: 14px;
    border-radius: 14px;
  }
}

/* ==========================================================================
   32. Classic Checkout — WooCommerce form-row markup dentro .co
   ========================================================================== */

/* Grid 2 colonne per i campi billing / shipping generati da WooCommerce */
.co .woocommerce-billing-fields__field-wrapper,
.co .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.co .form-row { margin: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.co .form-row-first { grid-column: 1; }
.co .form-row-last  { grid-column: 2; }
.co .form-row-wide,
.co .form-row.address-field.form-row-wide { grid-column: 1 / -1; }

/* Nasconde i titoli h3 auto-generati da WooCommerce (li mostriamo noi con .co-section-h) */
.co .woocommerce-billing-fields > h3,
.co .woocommerce-shipping-fields > h3,
.co .woocommerce-billing-fields > .woocommerce-billing-details,
.co .woocommerce-shipping-fields > .woocommerce-shipping-destination { display: none; }

/* Label */
.co .form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.co abbr.required { color: #ef4444; font-style: normal; }
.co .woocommerce-input-wrapper { display: block; }

/* Input / select / textarea */
.co .woocommerce-input-wrapper input[type="text"],
.co .woocommerce-input-wrapper input[type="email"],
.co .woocommerce-input-wrapper input[type="tel"],
.co .woocommerce-input-wrapper input[type="password"],
.co .woocommerce-input-wrapper select,
.co .woocommerce-input-wrapper textarea,
.co .form-row .input-text,
.co .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.co .woocommerce-input-wrapper input:focus,
.co .woocommerce-input-wrapper select:focus,
.co .form-row .input-text:focus,
.co .form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33,134,255,0.15);
}

/* Metodi di pagamento: lista radios */
.co #payment { background: none; border: none; }
.co #payment .wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.co #payment .wc_payment_method {
  padding: 14px 18px;
  border: 1.5px solid var(--line-light);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s;
}
.co #payment .wc_payment_method:hover { border-color: var(--accent); }
.co #payment .wc_payment_method.wc-highlight,
.co #payment .wc_payment_method input:checked + label { color: var(--accent); }
.co #payment .wc_payment_method label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.co #payment .wc_payment_method input[type="radio"] { accent-color: var(--accent); }

/* Box dettagli metodo selezionato */
.co #payment .payment_box {
  margin-top: 12px;
  padding: 16px;
  background: var(--bg-card-2);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

/* Bottone Effettua ordine */
.co #payment #place_order,
.co .woocommerce-checkout .button.alt {
  width: 100%;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(33,134,255,0.35);
  transition: transform .15s, box-shadow .15s, background .15s;
  margin-top: 24px;
  display: block;
}
.co #payment #place_order:hover,
.co .woocommerce-checkout .button.alt:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(33,134,255,0.45);
}

/* Termini e condizioni */
.co .woocommerce-terms-and-conditions-wrapper {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.co .woocommerce-terms-and-conditions-wrapper a { color: var(--accent); }
.co .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  accent-color: var(--accent);
  margin-right: 8px;
}

/* Note ordine */
.co .form-row textarea.input-text {
  min-height: 100px;
  resize: vertical;
}

/* Responsive checkout */
@media (max-width: 768px) {
  .co .woocommerce-billing-fields__field-wrapper,
  .co .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .co .form-row-first,
  .co .form-row-last,
  .co .form-row-wide { grid-column: 1; }
}
