/* PrintiFine storefront — mirrors the original Woodmart theme config */
:root {
  --primary: #ffa41c;
  --title: #000;
  --ptitle: #333;
  --text: #767676;
  --green: #1b4d3e;
  --beige: #f3eee8;
  --dark: #232730;
  --line: rgba(0, 0, 0, 0.1);
  --font: 'Poppins', Arial, Helvetica, sans-serif;
  --container: 1222px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.6 var(--font); color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ptitle); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5, h6 { color: var(--title); font-family: var(--hfont, var(--font)); font-weight: 600; line-height: 1.25; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--dark); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.container.narrow { max-width: 860px; }
.muted { color: #999; }
.small { font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ico { flex-shrink: 0; }
.mobile-only { display: none !important; }
@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex !important; }
}

/* ---------- Header ---------- */
.site-header { position: absolute; top: 30px; left: 0; right: 0; z-index: 40; }
body:not(.home) .site-header { position: relative; top: 0; padding-top: 30px; }
.header-box { background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08); display: flex; align-items: center; gap: 26px; padding: 0 28px; height: 90px; }
.logo img { height: 30px; width: auto; }
.logo strong { font-size: 26px; color: #000; }
.main-nav { display: flex; gap: 20px; }
.main-nav a { font-size: 15px; font-weight: 400; text-transform: uppercase; color: #333; letter-spacing: 0.1px; }
.main-nav a:hover { color: rgba(51, 51, 51, 0.6); }
.main-nav a.active { color: var(--primary); }
.header-search { margin-left: auto; width: 325px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 4px; color: #333; }
.badge { position: absolute; top: -4px; right: -6px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 9px; font-weight: 600; line-height: 15px; text-align: center; }

.search-form { position: relative; display: flex; align-items: center; }
.search-form input[type='search'] { width: 100%; height: 46px; border: 2px solid rgba(0, 0, 0, 0.1); border-radius: 35px; padding: 0 48px 0 15px; font-size: 14px; outline: none; background: #fff; }
.search-form input[type='search']:focus { border-color: rgba(0, 0, 0, 0.2); }
.search-form button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; color: #333; display: flex; }
.search-form--big input[type='search'] { height: 50px; border-width: 1px; border-color: #e5e5e5; }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); border-radius: 8px; z-index: 50; overflow: hidden; text-align: left; }
.search-suggest a { display: flex; gap: 12px; align-items: center; padding: 8px 12px; font-size: 14px; }
.search-suggest a:hover { background: #f7f7f7; }
.search-suggest img { width: 44px; height: 44px; object-fit: cover; }
.search-suggest .price { margin-left: auto; color: var(--primary); font-weight: 600; }

@media (max-width: 1024px) {
  .site-header { top: 0 !important; position: sticky !important; padding-top: 0 !important; }
  .site-header .container { padding: 0; }
  .header-box { height: 62px; padding: 0 12px; gap: 8px; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08); }
  .logo { margin: 0 auto; }
  .logo img { height: 24px; }
}

/* off-canvas */
.offcanvas { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.offcanvas.open { visibility: visible; }
.offcanvas-panel { position: absolute; top: 0; bottom: 0; left: 0; width: 320px; max-width: 86vw; background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform 0.25s; z-index: 2; }
.offcanvas.open .offcanvas-panel { transform: none; }
.offcanvas-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 0.25s; }
.offcanvas.open .offcanvas-backdrop { opacity: 1; }
.offcanvas-search { padding: 15px; }
.tabs-mini { display: flex; border-bottom: 1px solid var(--line); }
.tabs-mini button { flex: 1; background: #f7f7f7; border: 0; padding: 14px; font-weight: 600; text-transform: uppercase; font-size: 13px; color: #333; }
.tabs-mini button.active { background: #fff; box-shadow: inset 0 -2px 0 var(--primary); }
.mn-list, .mn-list ul { list-style: none; margin: 0; padding: 0; }
.mn-list a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 13px; text-transform: uppercase; color: #333; }
.mn-list ul a { padding-left: 36px; font-weight: 400; text-transform: none; }

/* ---------- Buttons / forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 24px; border: 0; background: #f3f3f3; color: #333; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; transition: background 0.2s, opacity 0.2s; }
.btn:hover { background: #e9e9e9; color: #333; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #222; color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: #333; font-weight: 600; font-size: 15px; }
.link-btn:hover { color: var(--primary); }
.link-btn.active .ico { fill: #e33; color: #e33; }
label { display: block; color: #333; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
label input:not([type='checkbox']):not([type='radio']), label select, label textarea { display: block; width: 100%; margin-top: 6px; font-weight: 400; }
input[type='text'], input[type='email'], input[type='password'], input[type='tel'], input[type='number'], input:not([type]), select, textarea { height: 42px; border: 2px solid var(--line); border-radius: 0; padding: 0 15px; background: #fff; outline: none; font-size: 14px; }
textarea { height: auto; padding: 10px 15px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(0, 0, 0, 0.25); }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.req { color: #e01020; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
@media (max-width: 640px) { .form-grid, .row2 { grid-template-columns: minmax(0, 1fr); } }
.notice { padding: 14px 18px; margin-bottom: 20px; border-left: 4px solid; background: #f7f7f7; color: #333; }
.notice-error { border-color: #e01020; background: #fdf0f0; }
.notice-success { border-color: #459647; background: #eef7ee; }
.notice-info { border-color: var(--primary); background: #fff8ec; }

/* ---------- Hero ---------- */
.hero { background: var(--beige); padding: 180px 0 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.hero-media img { max-height: 470px; width: auto; margin: 0 auto; }
.hero-text { text-align: center; }
.hero-text h1 { font-size: 64px; font-weight: 700; line-height: 1.2; color: #222831; margin-bottom: 22px; }
.divider { display: block; width: 40px; height: 2px; background: var(--primary); margin: 0 auto 18px; }
.hero-text p { color: #222831; font-size: 16px; }
.hero-text .search-form { margin-top: 26px; }
@media (max-width: 1024px) {
  .hero { padding: 40px 0 50px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: 2; }
  .hero-text h1 { font-size: 40px; }
}

/* ---------- Sections ---------- */
.section { padding: 60px 15px 20px; }
.section-title { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.section-title::before, .section-title::after { content: ''; flex: 1; height: 1px; background: #e5e5e5; }
.section-title h2 { margin: 0; font-size: 36px; font-weight: 700; color: var(--green); text-transform: none; text-align: center; }
@media (max-width: 640px) { .section-title h2 { font-size: 24px; } }

/* ---------- Product grid / cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
@media (max-width: 1024px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.pcard { position: relative; text-align: center; }
.pcard-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #f4f4f4; margin-bottom: 14px; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s, transform 0.5s; }
.pcard-hover { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard-hover { opacity: 1; }
.pcard:hover .pcard-img img:first-of-type { transform: scale(1.03); }
.noimg { display: block; width: 100%; height: 100%; background: #eee; }
.sale-badge { position: absolute; top: 10px; left: 7px; z-index: 2; background: #000; color: #fff; font-size: 12px; font-weight: 700; padding: 0 10px; min-height: 25px; line-height: 25px; border-radius: 35px; letter-spacing: -0.3px; }
.sale-badge.right { left: auto; right: 15px; top: 15px; }
.pcard-wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; background: #fff; color: #333; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1); opacity: 0; transition: opacity 0.2s; }
.pcard:hover .pcard-wish, .pcard-wish.active { opacity: 1; }
.pcard-wish.active .ico, .link-btn.active .ico { fill: #e33; stroke: #e33; }
@media (hover: none) { .pcard-wish { opacity: 1; } }
.pcard-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; line-height: 1.35; }
.pcard-title a { color: var(--ptitle); }
.pcard-title a:hover { color: rgba(51, 51, 51, 0.65); }
.pcard-cats { font-size: 14px; color: #a5a5a5; margin-bottom: 4px; }
.price { color: var(--primary); font-weight: 600; font-size: 15px; }
.price del, .product-price del { color: #bbb; font-weight: 400; margin-right: 4px; }
.empty { text-align: center; padding: 50px 0; }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.how-intro h2 { font-size: 42px; font-weight: 700; color: #222831; }
.how-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.how-item img { width: 90px; height: 90px; margin: 0 auto 16px; object-fit: contain; }
.how-item h3 { font-size: 24px; font-weight: 600; color: #222831; margin-bottom: 8px; }
.how-item p { font-size: 14px; }
@media (max-width: 900px) {
  .how { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .how-intro h2 { font-size: 32px; }
}
@media (max-width: 560px) { .how-items { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ band ---------- */
.faq-band { background: var(--beige); padding: 80px 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.faq-grid h2 { font-size: 32px; font-weight: 600; color: #000; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-media { display: none; } }
.accordion details { background: #fff; margin-bottom: 12px; border: 1px solid rgba(0, 0, 0, 0.06); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-weight: 600; color: #000; font-size: 15px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { transition: transform 0.2s; color: #999; }
.accordion details[open] summary .ico { transform: rotate(180deg); }
.acc-body { padding: 0 18px 18px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer, #111); color: #fff; margin-top: 80px; }
.home .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-top: 50px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; text-transform: uppercase; margin-bottom: 18px; }
.footer-col h4.big { font-size: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.8); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact p { margin: 0 0 6px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.footer-contact strong { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 32px; height: 32px; border-radius: 50%; background: #333; display: flex; align-items: center; justify-content: center; color: #fff; }
.social a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.8); flex-wrap: wrap; }
.footer-bottom img { height: 24px; width: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page head / archive ---------- */
.page-head { text-align: center; padding: 60px 15px 50px; }
.page-head h1 { font-size: 68px; font-weight: 700; color: #000; margin-bottom: 24px; }
.page-head--small { padding: 50px 15px 30px; }
.page-head--small h1 { font-size: 42px; margin-bottom: 10px; }
.page-head--small .breadcrumbs { justify-content: center; }
.page-head-search { max-width: 600px; margin: 0 auto; }
.page-intro { max-width: 760px; margin: 18px auto 0; }
@media (max-width: 768px) { .page-head h1 { font-size: 40px; } .page-head--small h1 { font-size: 30px; } }
.cat-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 34px; margin-top: 10px; }
.cat-nav-item { position: relative; }
.cat-nav-item > a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; text-transform: uppercase; color: #333; letter-spacing: 0.5px; padding: 8px 0; }
.cat-nav-item > a:hover { color: var(--primary); }
.cat-nav-drop { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 200px; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); padding: 10px 0; z-index: 20; text-align: left; }
.cat-nav-drop a { display: block; padding: 7px 18px; font-size: 14px; }
.cat-nav-item:hover .cat-nav-drop, .cat-nav-item:focus-within .cat-nav-drop { display: block; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 20px 0 30px; }
.shop-toolbar-right { display: flex; align-items: center; gap: 20px; }
.result-count { font-size: 14px; color: #999; }
.sort-form select { border: 0; border-bottom: 2px solid var(--line); font-weight: 600; color: #333; padding: 0 24px 0 2px; height: 36px; background: transparent; cursor: pointer; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: #777; }
.breadcrumbs a { color: #777; }
.breadcrumbs .sep { color: #999; font-size: 13px; }
.breadcrumbs .current { color: #000; font-weight: 600; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 50px 0 10px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: #333; padding: 0 6px; }
.pagination .current { background: #000; color: #fff; border-radius: 50%; }
.pagination a:hover { color: var(--primary); }

/* ---------- Product page ---------- */
.product-page { padding-top: 40px; }
.product-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .product-main { grid-template-columns: minmax(0, 1fr); } }
.gallery { position: sticky; top: 20px; }
.gallery-main { position: relative; background: #f4f4f4; aspect-ratio: 1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.zoom-btn { position: absolute; left: 15px; bottom: 15px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); display: flex; align-items: center; justify-content: center; color: #333; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; background: #f4f4f4; aspect-ratio: 1; overflow: hidden; opacity: 0.7; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: #000; opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.summary .breadcrumbs { font-size: 14px; margin-bottom: 18px; }
.product-title { font-size: 34px; font-weight: 600; color: #333; line-height: 1.25; }
.product-price { font-size: 24px; font-weight: 700; color: #000; margin: 10px 0 20px; }
.rating-link { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; margin-bottom: 14px; }
.stars { color: #ddd; letter-spacing: 1px; }
.stars .on { color: #eabe12; }
.short-desc { margin-bottom: 18px; }
.swatch-group { margin-bottom: 22px; }
.swatch-label { font-weight: 600; color: #000; margin-bottom: 10px; }
.swatch-current { font-weight: 400; color: #777; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatch { border: 1px solid rgba(0, 0, 0, 0.12); background: #fff; color: #333; transition: all 0.15s; }
.swatch-button .swatch { min-height: 40px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.swatch-pill .swatch { min-width: 35px; height: 35px; border-radius: 35px; padding: 0 8px; font-size: 13px; font-weight: 600; }
.swatch-color .swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.swatch:hover { box-shadow: 0 0 0 1px #000; }
.swatch.selected { background: #000; color: #fff; border-color: #000; }
.swatch-color .swatch.selected { background: var(--sw); box-shadow: 0 0 0 2px #000; }
.swatch.disabled { opacity: 0.3; text-decoration: line-through; }
.swatch-color .swatch.extra { display: none; }
.swatches.show-all .swatch.extra { display: inline-block; }
.swatch-more { background: none; border: 0; font-weight: 600; color: #333; }
.variation-msg { min-height: 0; color: #e01020; font-size: 14px; margin: -6px 0 10px; }
.add-row { display: flex; gap: 10px; margin-bottom: 26px; }
.qty { display: flex; align-items: center; background: #f3f3f3; border-radius: 35px; overflow: hidden; }
.qty button { width: 40px; height: 42px; border: 0; background: none; font-weight: 600; color: #333; }
.qty input { width: 40px; height: 42px; border: 0; text-align: center; background: #fff; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-add { flex: 1; font-size: 14px; }
.info-lines { list-style: none; padding: 0; margin: 0 0 22px; }
.info-lines li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; color: #555; }
.info-lines strong { color: #333; }
.info-lines a { color: var(--primary); text-decoration: underline dotted; }
.protection { display: flex; gap: 16px; align-items: center; background: var(--beige); border-radius: 8px; padding: 18px 20px; font-size: 14px; color: #555; margin-bottom: 22px; }
.protection .ico { color: #000; }
.protection strong { color: #333; }
.protection a { color: var(--primary); text-decoration: underline; }
.product-links { display: flex; gap: 24px; margin-bottom: 22px; }
.product-meta { border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; }
.product-meta > div { margin-bottom: 4px; }
.product-meta strong { color: #333; }
.ptabs { margin-top: 50px; }
.ptabs-nav { display: flex; justify-content: center; gap: 30px; border-top: 1px solid var(--line); margin-bottom: 30px; flex-wrap: wrap; }
.ptabs-nav button { background: none; border: 0; border-top: 3px solid transparent; margin-top: -2px; padding: 22px 0 0; font-size: 16px; font-weight: 600; color: #000; text-transform: uppercase; }
.ptabs-nav button.active { border-top-color: var(--primary); color: var(--primary); }
.entry { color: #767676; }
.entry h1, .entry h2, .entry h3, .entry h4 { color: #000; margin-top: 1.2em; }
.entry h2 { font-size: 24px; }
.entry h3 { font-size: 20px; }
.entry strong, .entry b { color: #333; }
.entry a { color: var(--primary); text-decoration: underline; }
.entry img { margin: 20px auto; }
.entry ul, .entry ol { padding-left: 22px; }
.entry table, .attr-table, .shop-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.entry th, .entry td, .attr-table th, .attr-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; }
.attr-table th { width: 200px; color: #333; }
.review { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review-form { max-width: 700px; margin-top: 30px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, 0.9); display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; width: auto; }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; }

/* ---------- Cart / checkout ---------- */
.cart-loading { padding: 40px 0; text-align: center; color: #999; }
.cart-cols { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .cart-cols { grid-template-columns: minmax(0, 1fr); } }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 14px; text-transform: uppercase; color: #333; padding: 10px; border-bottom: 2px solid var(--line); }
.cart-table td { padding: 16px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table img { width: 80px; height: 80px; object-fit: cover; }
.cart-table .pname { font-weight: 600; color: #333; }
.cart-table .remove { background: none; border: 0; color: #999; padding: 4px; }
.cart-table .remove:hover { color: #e01020; }
.cart-err { color: #e01020; font-size: 13px; }
.cart-totals { border: 2px solid var(--line); padding: 24px; }
.cart-totals h2 { font-size: 20px; text-transform: uppercase; }
.totals-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: #333; }
.totals-row.grand { font-size: 20px; font-weight: 700; border: 0; }
.free-ship { background: #f7f7f7; padding: 12px; font-size: 13px; margin-bottom: 14px; }
.free-ship .bar { height: 5px; background: #e5e5e5; border-radius: 4px; margin-top: 8px; overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: var(--primary); }
.checkout-cols { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .checkout-cols { grid-template-columns: minmax(0, 1fr); } }
.checkout-form h2 { font-size: 22px; text-transform: uppercase; }
.order-review { background: #f8f8f8; padding: 28px; }
.mini-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: #333; }
.mini-line small { display: block; color: #999; }
.payment-methods { margin: 20px 0; }
.pm { background: #fff; padding: 14px 16px; margin-bottom: 10px; font-weight: 400; display: block; cursor: pointer; }
.pm input { margin-right: 8px; }
.pm-desc { font-size: 13px; color: #777; margin-top: 6px; }
.shop-table th, .shop-table td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; }
.shop-table .num, .num { text-align: right; }
.shop-table tfoot th { color: #333; }
.shop-table .grand td, .shop-table .grand th { font-size: 18px; font-weight: 700; color: #000; }
.order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 20px 0 30px; font-size: 13px; text-transform: uppercase; }
.order-overview strong { display: block; text-transform: none; font-size: 15px; color: #000; }
.addresses { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; margin-top: 20px; }
address { font-style: normal; line-height: 1.8; }
.wishlist-grid .pcard-remove { position: absolute; top: 10px; left: 10px; z-index: 3; background: #fff; border: 0; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }

/* ---------- Account / pages ---------- */
.auth-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; max-width: 1000px; }
.auth-box h2 { font-size: 22px; text-transform: uppercase; }
@media (max-width: 768px) { .auth-cols { grid-template-columns: minmax(0, 1fr); } }
.account { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.account-nav a, .account-nav .link-btn { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; }
@media (max-width: 768px) { .account { grid-template-columns: minmax(0, 1fr); } }
.page-content { max-width: 960px; }
.contact-form, .track-form { margin-top: 30px; max-width: 760px; }
.notfound { text-align: center; padding: 60px 15px; }
.notfound h1 { font-size: 140px; color: var(--primary); margin: 0; }
.notfound .search-form { max-width: 520px; margin: 30px auto 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(30px); background: #000; color: #fff; padding: 12px 20px; font-size: 14px; opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 300; display: flex; gap: 14px; align-items: center; }
.toast.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.toast a { color: var(--primary); font-weight: 600; }

/* mobile bottom toolbar (Woodmart sticky navbar) */
.mobile-bar { display: none; }
@media (max-width: 1024px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; box-shadow: 0 0 9px rgba(0, 0, 0, 0.12); height: 55px; }
  .mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: #333; gap: 2px; }
  .mobile-bar .icon-btn { padding: 0; }
  body { padding-bottom: 55px; }
  .hero-media { display: none; }
  .toast { bottom: 70px; }
}

/* announcement bar, ads, map, whatsapp */
.announce { text-align: center; font-size: 13px; font-weight: 500; padding: 8px 15px; position: relative; z-index: 45; }
.announce a { color: inherit; text-decoration: underline; }
.home.has-announce .site-header { top: 66px; }
.ad-slot { max-width: var(--container); margin: 20px auto; padding: 0 15px; text-align: center; overflow: hidden; }
.map-embed { margin: 30px 0; overflow: hidden; border-radius: 8px; }
.map-embed iframe { display: block; }
.footer-contact .map-embed { margin: 12px 0; border-radius: 6px; }
.wa-btn { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
@media (max-width: 1024px) { .wa-btn { bottom: 70px; } .home.has-announce .site-header { top: 0; } }
.page-blank .page-content, .page-full .page-content { max-width: none; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form input { flex: 1; }
.coupon-msg { font-size: 13px; margin-bottom: 8px; }
.coupon-msg.err { color: #e01020; }
.coupon-msg.ok { color: #459647; }
.maintenance { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: var(--beige); }
.maintenance img { max-height: 50px; width: auto; margin-bottom: 30px; }
.maintenance h1 { font-size: 42px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
