/* ICE Delivery — Sub-pages CSS (about/contact/faq/policy/blog/products/404) */

/* ── Page hero (shared all sub-pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, #0c3d7a 60%, #0ea5e9 100%);
  padding: calc(64px + var(--sp-2xl)) 0 var(--sp-2xl);
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(28px,4vw,42px); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto; text-align: center; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
@media (hover: hover) and (pointer: fine){.breadcrumb a:hover{ color: #fff; }}

/* ── About hero ─────────────────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, #0c3d7a 60%, #0ea5e9 100%);
  padding: calc(64px + var(--sp-3xl)) 0 var(--sp-3xl);
  color: #fff; text-align: center;
}
.about-hero h1 { color: #fff; font-size: clamp(32px,5vw,52px); margin-bottom: 16px; }
.about-hero > .container > p { color: rgba(255,255,255,.8); font-size: clamp(15px,2vw,18px); max-width: 560px; margin: 0 auto 40px; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
@media (max-width: 640px) { .stats-row { grid-template-columns: repeat(2,1fr); }}
.stat-item { text-align: center; }
.stat-num { font-size: clamp(28px,4vw,40px); font-weight: 900; color: #fff; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ── Story ──────────────────────────────────────────────────────────── */
.story-section { padding: var(--sp-3xl) 0; }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 768px) { .story-layout { grid-template-columns: 1fr; }}
.story-visual {
  aspect-ratio: 1; border-radius: var(--r-xl);
  background: linear-gradient(135deg,#0a2d5e,#0ea5e9,#bae6fd);
  display: flex; align-items: center; justify-content: center;
  font-size: 100px; position: relative; overflow: hidden;
}
.story-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 70%,rgba(255,255,255,.15) 0%,transparent 60%); }
.story-eyebrow { font-size: 12px; font-weight: 700; color: var(--c-accent); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.story-text { font-size: 16px; line-height: 1.75; color: var(--c-muted); margin-bottom: 16px; }

/* ── Timeline ────────────────────────────────────────────────────────── */
.timeline-section { background: var(--c-surface); padding: var(--sp-3xl) 0; }
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--c-border); }
.tl-item { position: relative; margin-bottom: 36px; }
.tl-dot { position: absolute; left: -23px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--c-accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c-accent); }
.tl-year { font-size: 12px; font-weight: 700; color: var(--c-accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.tl-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tl-desc { font-size: 14px; color: var(--c-muted); line-height: 1.6; }

/* ── Values ──────────────────────────────────────────────────────────── */
.values-section { padding: var(--sp-3xl) 0; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; }}
.value-card { padding: 32px; border-radius: var(--r-xl); background: var(--c-surface); border: 1px solid var(--c-border); }
.value-icon { font-size: 40px; margin-bottom: 16px; }
.value-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--c-muted); line-height: 1.65; }

/* ── Certifications ──────────────────────────────────────────────────── */
.team-section { background: var(--c-navy); padding: var(--sp-3xl) 0; color: #fff; }
.cert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: var(--sp-xl); }
@media (max-width: 768px) { .cert-grid { grid-template-columns: repeat(2,1fr); }}
.cert-card { background: rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 24px; text-align: center; }
.cert-icon { font-size: 36px; margin-bottom: 12px; }
.cert-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cert-desc { font-size: 12px; color: rgba(255,255,255,.5); }

/* ── About CTA ──────────────────────────────────────────────────────── */
.cta-section { padding: var(--sp-3xl) 0; text-align: center; }

/* ── Contact quick channels ──────────────────────────────────────────── */
.quick-contact { background: var(--c-surface); padding: var(--sp-2xl) 0; }
.qc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 768px) { .qc-grid { grid-template-columns: 1fr; }}
.qc-card { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--c-border); padding: 28px; text-align: center; transition: transform .25s, box-shadow .25s; }
@media (hover: hover) and (pointer: fine){.qc-card:hover{ transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,45,94,.1); }}
.qc-icon { font-size: 40px; margin-bottom: 14px; }
.qc-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.qc-card p { font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.qc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; border-radius: var(--r-full); background: var(--c-accent); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s; min-height: 44px; }
@media (hover: hover) and (pointer: fine){.qc-btn:hover{ background: var(--c-accent-h); }}
.qc-btn.outline { background: transparent; border: 2px solid var(--c-accent); color: var(--c-accent); }
@media (hover: hover) and (pointer: fine){.qc-btn.outline:hover{ background: var(--c-accent); color: #fff; }}

/* ── Contact form + info ─────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: var(--sp-3xl) 0; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; }}
.btn-send { padding: 15px 32px; border-radius: var(--r-full); background: var(--c-accent); color: #fff; font: inherit; font-size: 15px; font-weight: 800; border: none; cursor: pointer; transition: background .2s; min-height: 52px; }
@media (hover: hover) and (pointer: fine){.btn-send:hover{ background: var(--c-accent-h); }}
.info-block { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.info-icon { width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--c-surface); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.info-text strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.info-text span { font-size: 14px; color: var(--c-muted); line-height: 1.6; }
.map-placeholder { background: var(--c-surface); border-radius: var(--r-xl); border: 1px solid var(--c-border); height: 300px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--c-muted); font-size: 14px; margin-top: 24px; }
.contact-success { display: none; background: #ecfdf5; border: 1.5px solid #86efac; border-radius: var(--r-lg); padding: 20px; margin-top: 16px; text-align: center; color: #166534; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: 1fr 260px; gap: 40px; padding: var(--sp-2xl) 0 var(--sp-3xl); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; }}
.search-wrap { position: relative; max-width: 480px; margin: 24px auto 0; }
.search-input { width: 100%; padding: 14px 20px 14px 48px; border-radius: var(--r-full); border: none; font: inherit; font-size: 15px; outline: none; }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--c-accent); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer; font-size: 15px; font-weight: 700; background: #fff; transition: background .2s; min-height: 56px; border: none; width: 100%; text-align: left; font-family: inherit; }
@media (hover: hover) and (pointer: fine){.faq-q:hover{ background: var(--c-surface); }}
.faq-item.open .faq-q { background: var(--c-surface); color: var(--c-navy); }
.faq-icon { font-size: 20px; flex-shrink: 0; transition: transform .3s; color: var(--c-accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--c-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.no-results { text-align: center; padding: 60px 20px; color: var(--c-muted); display: none; }
.sidebar-box { background: var(--c-surface); border-radius: var(--r-xl); border: 1px solid var(--c-border); padding: 24px; margin-bottom: 24px; }
.sidebar-box h4 { font-size: 14px; font-weight: 800; margin-bottom: 14px; border-bottom: 1px solid var(--c-border); padding-bottom: 10px; }
.quick-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13px; font-weight: 600; color: var(--c-text); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.04); }
@media (hover: hover) and (pointer: fine){.quick-link:hover{ color: var(--c-accent); }}

/* ── Policy ──────────────────────────────────────────────────────────── */
.policy-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: var(--sp-2xl) 0 var(--sp-3xl); }
@media (max-width: 768px) { .policy-layout { grid-template-columns: 1fr; }}
.toc { position: sticky; top: 80px; background: var(--c-surface); border-radius: var(--r-xl); border: 1px solid var(--c-border); padding: 20px; }
.toc h4 { font-size: 12px; font-weight: 800; color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.toc a { display: block; font-size: 13px; font-weight: 600; color: var(--c-text); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--c-border); transition: color .2s; }
@media (hover: hover) and (pointer: fine){.toc a:hover{ color: var(--c-accent); }}
.toc a:last-child { border-bottom: none; }
@media (max-width: 768px) { .toc { position: static; }}
.policy-content h2 { font-size: 20px; font-weight: 800; margin: 40px 0 14px; color: var(--c-navy); scroll-margin-top: 80px; border-bottom: 2px solid var(--c-border); padding-bottom: 8px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { font-size: 15px; line-height: 1.75; color: var(--c-muted); margin-bottom: 10px; }
.policy-content ul { padding-left: 22px; list-style: disc; }
.policy-content .highlight { background: var(--c-surface); border-left: 4px solid var(--c-accent); padding: 14px 18px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 20px 0; }
.policy-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.policy-content th, .policy-content td { padding: 10px 14px; border: 1px solid var(--c-border); text-align: left; }
.policy-content th { background: var(--c-surface); font-weight: 700; }
.policy-updated { font-size: 12px; color: var(--c-muted); font-style: italic; margin-bottom: 32px; }

/* ── Blog ────────────────────────────────────────────────────────────── */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: var(--sp-2xl) 0 var(--sp-3xl); }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; }}
.post-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-border); margin-bottom: var(--sp-xl); text-decoration: none; color: inherit; transition: box-shadow .3s; }
@media (hover: hover) and (pointer: fine){.post-featured:hover{ box-shadow: 0 16px 40px rgba(10,45,94,.14); }}
@media (max-width: 640px) { .post-featured { grid-template-columns: 1fr; }}
.pf-img { min-height: 240px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.pf-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.post-cat { display: inline-block; background: var(--c-surface); color: var(--c-accent); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-full); margin-bottom: 10px; letter-spacing: .05em; text-transform: uppercase; }
.pf-body h2 { font-size: clamp(18px,2vw,22px); font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.post-meta { font-size: 12px; color: var(--c-muted); margin-top: 12px; display: flex; gap: 14px; align-items: center; }
.blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; }}
.post-card { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-border); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
@media (hover: hover) and (pointer: fine){.post-card:hover{ transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,45,94,.1); }}
.post-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.post-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.post-body h3 { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.post-body p { font-size: 13px; color: var(--c-muted); line-height: 1.6; flex: 1; margin-bottom: 10px; }
.read-more { color: var(--c-accent); font-size: 13px; font-weight: 700; }
.sidebar-link { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; text-decoration: none; color: inherit; }
@media (hover: hover) and (pointer: fine){.sidebar-link:hover h5{ color: var(--c-accent); }}
.sl-emoji { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.sl-text h5 { font-size: 13px; font-weight: 700; margin-bottom: 2px; line-height: 1.35; }
.sl-text span { font-size: 11px; color: var(--c-muted); }
.cat-chip { display: inline-block; padding: 6px 14px; border-radius: var(--r-full); background: #fff; border: 1.5px solid var(--c-border); font-size: 12px; font-weight: 600; color: var(--c-text); text-decoration: none; margin: 4px; transition: all .2s; }
@media (hover: hover) and (pointer: fine){.cat-chip:hover{ border-color: var(--c-accent); color: var(--c-accent); }}

/* ── Single blog post ────────────────────────────────────────────────── */
.single-post-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: var(--sp-2xl) 0 var(--sp-3xl); }
@media (max-width: 900px) { .single-post-wrap { grid-template-columns: 1fr; }}
.post-header { margin-bottom: 32px; }
.post-thumbnail { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 28px; max-height: 420px; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-content { font-size: 16px; line-height: 1.8; color: var(--c-text); }
.post-content p { margin-bottom: 18px; }
.post-content h2, .post-content h3 { margin: 32px 0 14px; color: var(--c-navy); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 18px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content img { border-radius: var(--r-lg); max-width: 100%; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-border); flex-wrap: wrap; }
.post-nav a { font-size: 14px; font-weight: 700; color: var(--c-accent); text-decoration: none; }
@media (hover: hover) and (pointer: fine){.post-nav a:hover{ text-decoration: underline; }}

/* ── Products archive ────────────────────────────────────────────────── */
.filter-bar { background: #fff; border-bottom: 1px solid var(--c-border); position: sticky; top: 64px; z-index: 50; padding: 12px 0; }
.filter-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-btn { padding: 8px 16px; border-radius: var(--r-full); border: 1.5px solid var(--c-border); background: #fff; color: var(--c-text); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; white-space: nowrap; min-height: 40px; }
@media (hover: hover) and (pointer: fine){.filter-btn:hover{ border-color: var(--c-accent); color: var(--c-accent); }}
.filter-btn.active { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: var(--sp-2xl) 0; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3,1fr); }}
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }}
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; }}
.woo-product-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
@media (hover: hover) and (pointer: fine){.woo-product-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 48px rgba(10,45,94,.14); }}
.woo-product-img { height: 180px; display: flex; align-items: center; justify-content: center; background: var(--c-surface); position: relative; overflow: hidden; flex-shrink: 0; }
.woo-product-img img { width: 100%; height: 100%; object-fit: cover; }
.woo-product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.woo-product-body h2, .woo-product-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.woo-product-body .price { font-size: 18px; font-weight: 900; color: var(--c-navy); margin-bottom: 12px; display: block; }
.woo-add-cart { flex: 1; padding: 10px; border-radius: var(--r-full); background: var(--c-accent); color: #fff; font-size: 13px; font-weight: 700; border: none; cursor: pointer; transition: background .2s; min-height: 44px; display: block; text-align: center; text-decoration: none; line-height: 24px; }
@media (hover: hover) and (pointer: fine){.woo-add-cart:hover{ background: var(--c-accent-h); color: #fff; }}
.result-info { font-size: 13px; color: var(--c-muted); padding: var(--sp-md) 0 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: var(--sp-xl) 0; flex-wrap: wrap; }
.page-numbers { width: 40px; height: 40px; border-radius: var(--r-md); border: 1.5px solid var(--c-border); background: #fff; color: var(--c-text); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; }
@media (hover: hover) and (pointer: fine){.page-numbers:hover{ border-color: var(--c-accent); color: var(--c-accent); }}
.page-numbers.current { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ── WooCommerce single product ──────────────────────────────────────── */
.woo-single-wrap { padding: var(--sp-2xl) 0 var(--sp-3xl); }
.woo-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 768px) { .woo-product-layout { grid-template-columns: 1fr; gap: 32px; }}
.woo-gallery { }
.woo-gallery .woocommerce-product-gallery__image { border-radius: var(--r-xl); overflow: hidden; }
.woo-gallery img { width: 100%; height: auto; border-radius: var(--r-xl); }
.woo-info { position: sticky; top: 80px; }
.woo-info .product_title { font-size: clamp(22px,3vw,32px); font-weight: 900; line-height: 1.2; margin-bottom: 8px; }
.woo-info .price { font-size: clamp(24px,3vw,36px); font-weight: 900; color: var(--c-navy); display: block; margin-bottom: 16px; }
.woo-info .woocommerce-product-details__short-description { font-size: 15px; color: var(--c-muted); line-height: 1.65; margin-bottom: 24px; }
.woo-info .quantity input { width: 72px; height: 44px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); text-align: center; font: inherit; font-size: 16px; font-weight: 700; padding: 0 8px; }
.woo-info .single_add_to_cart_button { padding: 16px 32px; border-radius: var(--r-full); background: var(--c-accent); color: #fff; font-size: 16px; font-weight: 800; border: none; cursor: pointer; transition: background .2s; min-height: 52px; }
@media (hover: hover) and (pointer: fine){.woo-info .single_add_to_cart_button:hover{ background: var(--c-accent-h); }}
.woo-tabs { margin-top: var(--sp-3xl); }
.woo-tabs .woocommerce-tabs ul.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--c-border); margin-bottom: 28px; padding: 0; }
.woo-tabs .woocommerce-tabs ul.tabs li { border: none; background: none; border-radius: 0; padding: 0; }
.woo-tabs .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--c-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; text-decoration: none; transition: color .2s; }
.woo-tabs .woocommerce-tabs ul.tabs li.active a { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* ── WooCommerce cart/checkout ───────────────────────────────────────── */
.woo-cart-wrap, .woo-checkout-wrap { padding: calc(64px + var(--sp-2xl)) 0 var(--sp-3xl); }
.woo-cart-wrap h1, .woo-checkout-wrap h1 { font-size: clamp(28px,4vw,42px); color: var(--c-navy); margin-bottom: var(--sp-xl); }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce table.shop_table th { background: var(--c-surface); padding: 12px 16px; font-weight: 700; border-bottom: 2px solid var(--c-border); text-align: left; }
.woocommerce table.shop_table td { padding: 16px; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.woocommerce .cart-collaterals { margin-top: var(--sp-xl); }
.woocommerce .cart_totals { background: var(--c-surface); border-radius: var(--r-xl); padding: var(--sp-xl); border: 1px solid var(--c-border); }
.woocommerce .cart_totals h2 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.woocommerce .checkout-button, .woocommerce #place_order { display: block; width: 100%; padding: 16px; border-radius: var(--r-full); background: var(--c-accent); color: #fff; font-size: 16px; font-weight: 800; border: none; cursor: pointer; transition: background .2s; text-align: center; text-decoration: none; }
@media (hover: hover) and (pointer: fine){.woocommerce .checkout-button:hover,.woocommerce #place_order:hover{ background: var(--c-accent-h); }}
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; color: var(--c-muted); margin-bottom: 4px; display: block; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); font: inherit; font-size: 14px; transition: border-color .2s; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 15%, transparent); }
.woocommerce-checkout #order_review { background: var(--c-surface); border-radius: var(--r-xl); padding: var(--sp-xl); border: 1px solid var(--c-border); }

/* ── 404 ─────────────────────────────────────────────────────────────── */
.error-404-wrap {
  background: linear-gradient(135deg, var(--c-navy) 0%, #0c3d7a 60%, #0ea5e9 100%);
  min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px; padding-top: calc(var(--nav-h) + 40px);
  color: #fff;
}
.err-code {
  font-size: clamp(80px,15vw,140px); font-weight: 900; line-height: 1; letter-spacing: -4px;
  background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.6) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0;
}
.err-emoji { font-size: clamp(48px,8vw,80px); margin: 8px 0 16px; display: block; animation: float404 3s ease-in-out infinite; }
@keyframes float404 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.error-404-wrap h1 { font-size: clamp(20px,4vw,30px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.error-404-wrap p { font-size: 15px; color: rgba(255,255,255,.7); max-width: 420px; line-height: 1.65; margin-bottom: 32px; }
.btn-home-404 { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--r-full); background: #fff; color: var(--c-navy); font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .2s, box-shadow .2s; margin: 6px; }
@media (hover: hover) and (pointer: fine){.btn-home-404:hover{ transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }}
.btn-products-404 { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--r-full); background: rgba(255,255,255,.15); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; border: 2px solid rgba(255,255,255,.3); transition: background .2s; margin: 6px; }
@media (hover: hover) and (pointer: fine){.btn-products-404:hover{ background: rgba(255,255,255,.25); }}
.quick-links-404 { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.quick-links-404 a { color: rgba(255,255,255,.5); font-size: 13px; text-decoration: none; transition: color .2s; }
@media (hover: hover) and (pointer: fine){.quick-links-404 a:hover{ color: #fff; }}

/* ── WooCommerce single product ── */
.woo-single-wrap { display: flex; flex-direction: column; gap: var(--sp-2xl); }
.woo-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .woo-product-layout { grid-template-columns: 1fr; }}
.woo-main-img img { width: 100%; border-radius: var(--r-xl); display: block; }
.woo-gallery { display: flex; flex-direction: column; }
.woo-info { display: flex; flex-direction: column; gap: 12px; }
.woo-price-big { font-size: 26px; font-weight: 800; color: var(--c-accent); }
.woo-short-desc { font-size: 14px; color: var(--c-muted); line-height: 1.65; }
.woo-tabs { background: var(--c-surface); border-radius: var(--r-xl); padding: 24px; }
.woo-tab-nav { display: flex; gap: 8px; border-bottom: 2px solid var(--c-border); padding-bottom: 12px; margin-bottom: 20px; }
.woo-tab-btn { background: none; border: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--c-muted); padding: 6px 16px; border-radius: var(--r-full); transition: background .2s, color .2s; }
.woo-tab-btn.active { background: var(--c-accent); color: #fff; }
.woo-tab-pane ul { list-style: disc; padding-left: 20px; }
.woo-tab-pane li { margin-bottom: 6px; font-size: 14px; }