/* Shayan Lumen — extras: dedicated pages, shop filters, product tabs & reviews */

/* =============== Shared chips / stars =============== */
.star-rating {
  position: relative; display: inline-block; overflow: hidden;
  width: 5.7em; height: 1.15em; line-height: 1.15; font-size: 14px; letter-spacing: .12em;
  vertical-align: middle; white-space: nowrap;
}
.star-rating::before { content: "★★★★★"; position: absolute; top: 0; right: 0; color: #d9e1dc; }
.star-rating span { position: absolute; top: 0; right: 0; height: 100%; overflow: hidden; padding-top: 2em; font-size: 12px; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; right: 0; padding-top: 0; font-size: 14px; letter-spacing: .12em; color: var(--accent-dark); }

.product-rating { display: flex; align-items: center; gap: 7px; margin: -6px 0 12px; }
.product-rating small { color: var(--muted); font-size: 11.5px; }
.product-badge-out { background: #e9ecea; color: #5b6b68; box-shadow: none; }

/* =============== Dedicated pages =============== */
.pg { padding-bottom: 20px; }
.pg-hero {
  position: relative; overflow: hidden; margin: 26px auto 0; width: min(1240px, calc(100% - 48px));
  color: #fff; border-radius: 32px;
  background:
    radial-gradient(520px 320px at 12% 0%, rgba(242, 182, 65, .16), transparent 70%),
    radial-gradient(640px 400px at 100% 100%, rgba(79, 215, 192, .14), transparent 70%),
    linear-gradient(135deg, #0c2426, #123537 60%, #0d4a45);
  box-shadow: 0 30px 70px rgba(12, 36, 38, .2);
}
.pg-hero::after { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 70%); }
.pg-hero .container { width: auto; }
.pg-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 40px; padding: clamp(36px, 5vw, 64px) clamp(26px, 4.5vw, 60px); }
.pg-hero h1 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 50px); font-weight: 900; line-height: 1.45; letter-spacing: -1px; text-wrap: balance; }
.pg-hero h1 em { font-style: normal; background: linear-gradient(100deg, #ffd27a, #f2b641 55%, #e49a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-lead { max-width: 520px; margin: 0 0 26px; color: #c7d5d3; font-size: 15.5px; line-height: 2; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.pg-hero-card { position: relative; padding: 24px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; backdrop-filter: blur(10px); overflow: hidden; }
.pg-hero-card h2 { margin: 0 0 14px; font-size: 17px; font-weight: 800; }
.pg-hero-card ul { display: grid; gap: 11px; margin: 0 0 16px; padding: 0; list-style: none; }
.pg-hero-card li { display: flex; align-items: center; gap: 10px; color: #dbe7e4; font-size: 14px; }
.pg-hero-card li .icon { width: 20px; color: var(--accent); }
.pg-hero-card img { width: 100%; height: 130px; object-fit: cover; border-radius: 16px; opacity: .85; }
.pg-hero-mark { justify-self: center; display: grid; place-items: center; gap: 8px; width: 230px; aspect-ratio: 1; text-align: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: radial-gradient(circle, rgba(242,182,65,.12), transparent 70%); }
.pg-hero-mark strong { font-size: 30px; font-weight: 900; line-height: 1.3; }
.pg-hero-mark small { color: #8fa8a1; font-size: 10px; letter-spacing: 2px; }
.pg-hero-mark .brand-mark { width: 60px; height: 60px; }
.pg-hero-mark .brand-mark .icon { width: 32px; height: 32px; }

.pg-section { margin-top: 76px; }
.pg-heading { margin-bottom: 28px; }
.pg-heading h2 { margin: 0; font-size: clamp(23px, 2.6vw, 31px); font-weight: 900; line-height: 1.55; letter-spacing: -.5px; text-wrap: balance; }

.pg-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pg-steps li { position: relative; padding: 24px 22px; background: #fff; border-radius: 22px; box-shadow: var(--ring), 0 4px 14px rgba(22, 53, 48, .04); }
.pg-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; left: -18px; width: 18px; border-top: 2px dashed #bcd2ca; }
.pg-steps b { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; color: var(--deep); background: var(--accent); border-radius: 13px 5px 13px 13px; font-size: 18px; font-weight: 900; }
.pg-steps strong { display: block; margin-bottom: 6px; font-size: 15.5px; font-weight: 800; }
.pg-steps p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.95; }

.pg-grid { display: grid; gap: 18px; }
.pg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pg-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pg-card { padding: 26px 24px; background: #fff; border-radius: 22px; box-shadow: var(--ring), 0 4px 14px rgba(22, 53, 48, .04); transition: transform .3s var(--ease-3d), box-shadow .3s var(--ease-3d); }
.pg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.pg-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; color: var(--primary); background: var(--primary-soft); border-radius: 15px; }
.pg-icon .icon { width: 25px; height: 25px; }
.pg-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.pg-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.95; }

.pg-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pg-cat { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1.05; border-radius: 20px; background: var(--deep); }
.pg-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-3d); }
.pg-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 24, 29, .85)); }
.pg-cat span { position: absolute; right: 14px; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 14px; font-weight: 800; }
.pg-cat:hover img { transform: scale(1.07); }

.pg-split { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 28px; }
.pg-split .contact-card { margin: 0; }
.pg-faq { padding: 26px; background: #fff; border-radius: 26px; box-shadow: var(--ring), var(--shadow); position: sticky; top: 170px; }
.pg-faq h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; }
.pg-faq details { border-top: 1px solid var(--line); }
.pg-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 800; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary .icon { width: 18px; color: var(--primary); transition: transform .2s; }
.pg-faq details[open] summary .icon { transform: rotate(180deg); }
.pg-faq details p { margin: -4px 0 16px; color: var(--ink-soft); font-size: 13.5px; line-height: 2; }

.pg-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; padding: 22px 8px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.pg-stats > div { display: grid; gap: 2px; padding: 4px 18px; text-align: center; }
.pg-stats > div + div { border-right: 1px solid var(--line); }
.pg-stats strong { color: var(--primary); font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; }
.pg-stats span { color: var(--muted); font-size: 12.5px; }

.pg-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.pg-story .pg-heading { margin: 0; }
.pg-story-text p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; line-height: 2.2; }

.pg-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 76px; padding: 30px 36px; color: #fff; border-radius: 28px; background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #14917f); box-shadow: 0 24px 50px rgba(13, 119, 109, .25); }
.pg-cta strong { display: block; font-size: 20px; font-weight: 900; }
.pg-cta span { color: #d0e8e1; font-size: 14px; }

/* =============== Shop toolbar & filters =============== */
.shop-toolbar { flex-wrap: wrap; gap: 12px 14px; padding: 12px 14px; background: #fff; border-radius: 20px; box-shadow: var(--ring); }
.shop-count { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-inline-end: auto; }
.woocommerce .woocommerce-ordering select { min-height: 42px; font-size: 13px; border-radius: 999px; padding-inline: 16px; background: #f2f6f3; border-color: transparent; }
.shop-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-chip input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chip span, .price-filter summary, .filter-clear { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 15px; color: #52625f; background: #f2f6f3; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.filter-chip span .icon, .price-filter summary .icon, .filter-clear .icon { width: 16px; height: 16px; }
.filter-chip:hover span, .price-filter summary:hover { color: var(--primary); }
.filter-chip input:checked + span { color: #fff; background: var(--primary); box-shadow: 0 6px 14px rgba(13, 119, 109, .22); }
.filter-chip input:focus-visible + span { outline: 3px solid rgba(242, 182, 65, .65); outline-offset: 2px; }
.filter-clear { color: #a33; background: #fbeeee; }
.price-filter { position: relative; }
.price-filter summary { list-style: none; }
.price-filter summary::-webkit-details-marker { display: none; }
.price-filter[open] summary { color: var(--primary); box-shadow: 0 0 0 2px rgba(13, 119, 109, .25); }
.price-filter-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 30; display: grid; gap: 10px; width: 270px; padding: 16px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.price-filter-pop label { display: grid; gap: 5px; font-size: 12px; color: var(--ink-soft); }
.price-filter-pop input { min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; text-align: left; direction: ltr; background: #f7faf8; }
.price-filter-pop input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13, 119, 109, .12); }
.view-toggle { display: inline-flex; padding: 4px; gap: 2px; background: #f2f6f3; border-radius: 999px; }
.view-toggle button { display: grid; place-items: center; width: 36px; height: 34px; color: #6f817d; background: transparent; border-radius: 999px; }
.view-toggle button .icon { width: 18px; height: 18px; }
.view-toggle button[aria-pressed="true"] { color: #fff; background: var(--primary); }

.shop-filter-strip a { font-size: 13px; padding: 9px 18px; border-radius: 999px; }

/* list view */
.woocommerce ul.products.is-list { grid-template-columns: 1fr; gap: 14px; }
.is-list .product-card { display: grid; grid-template-columns: 220px 1fr; align-items: stretch; }
.is-list .product-media { height: 100%; min-height: 190px; margin: 8px; }
.is-list .product-body { display: flex; flex-direction: column; justify-content: center; padding: 18px 22px; }
.is-list .product-title { min-height: 0; font-size: 16px; }
.is-list .product-price { margin-top: auto; }

/* =============== Product page =============== */
.single-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.single-chips .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #eef3f0; color: #52625f; }
.single-chips .chip .icon { width: 15px; height: 15px; }
.single-chips .chip-ok { color: #0b6b4f; background: #def4ea; }
.single-chips .chip-out { color: #8c3a3a; background: #fbeaea; }
.single-chips .chip-new { color: #8a5a00; background: #fdf0d3; }
.single-chips .chip-cat a { color: var(--primary); }

.woocommerce div.product .summary .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.woocommerce div.product .summary .woocommerce-review-link { color: var(--muted); font-size: 13px; }
.woocommerce div.product .summary .woocommerce-review-link:hover { color: var(--primary); }

.key-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.key-specs li { display: grid; gap: 1px; padding: 10px 14px; background: #f2f6f3; border-radius: 14px; }
.key-specs span { color: var(--muted); font-size: 12px; }
.key-specs strong { font-size: 14px; font-weight: 800; }

.woocommerce .quantity { align-items: stretch; background: #f2f6f3; border-radius: 14px; overflow: hidden; }
.woocommerce .quantity .qty { border: 0; background: transparent; width: 44px; text-align: center; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.woocommerce .quantity .qty::-webkit-outer-spin-button, .woocommerce .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 38px; display: grid; place-items: center; color: var(--ink); background: transparent; font-size: 18px; font-weight: 700; transition: background .2s, color .2s; }
.qty-btn:hover { color: #fff; background: var(--primary); }

.single-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.single-action { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; color: var(--primary); background: transparent; border: 1px solid #b9d2ca; border-radius: 999px; font-size: 13px; font-weight: 700; transition: background .2s, border-color .2s; }
.single-action:hover { background: var(--primary-soft); border-color: var(--primary); }
.single-action .icon { width: 17px; height: 17px; }
.single-trust strong { font-size: 12px; }
.single-trust span { font-size: 11px; }

/* tabs */
.woocommerce .woocommerce-tabs { margin-top: 20px; padding: clamp(20px, 3vw, 34px); background: #fff; border-radius: 28px; box-shadow: var(--ring), var(--shadow); }
.woocommerce .woocommerce-tabs ul.tabs { gap: 6px; padding: 5px; margin-bottom: 24px; background: #f2f6f3; border-radius: 999px; display: inline-flex; max-width: 100%; overflow-x: auto; }
.woocommerce .woocommerce-tabs ul.tabs li { background: transparent; border: 0; margin: 0; }
.woocommerce .woocommerce-tabs ul.tabs li a { padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; color: #52625f; font-size: 14px; font-weight: 800; white-space: nowrap; }
.woocommerce .woocommerce-tabs ul.tabs li.active a { color: #fff; background: var(--primary); box-shadow: 0 6px 14px rgba(13, 119, 109, .24); }
.woocommerce .woocommerce-tabs .panel { font-size: 15px; line-height: 2.2; }
.woocommerce .woocommerce-tabs .panel > h2:first-child:empty { display: none; }

/* specs table */
.woocommerce table.shop_attributes { width: 100%; border: 0; border-collapse: separate; border-spacing: 0 6px; }
.woocommerce table.shop_attributes tr { background: #f6f9f7; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 13px 18px; border: 0; font-size: 14px; background: transparent; font-style: normal; text-align: right; }
.woocommerce table.shop_attributes th { width: 32%; color: var(--ink-soft); font-weight: 700; border-radius: 0 14px 14px 0; }
.woocommerce table.shop_attributes td { color: var(--ink); font-weight: 800; border-radius: 14px 0 0 14px; }
.woocommerce table.shop_attributes td p { margin: 0; }
.woocommerce table.shop_attributes td a { color: var(--primary); }

/* reviews */
.woocommerce-Reviews { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.woocommerce-Reviews #comments { min-width: 0; }
.woocommerce-Reviews-title { margin: 0 0 18px; font-size: 19px; font-weight: 900; line-height: 1.7; }
.woocommerce-Reviews-title span { color: var(--primary); }
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-bottom: 24px; padding: 20px 24px; background: #f6f9f7; border-radius: 22px; }
.rating-score { display: grid; justify-items: center; gap: 4px; }
.rating-score strong { font-size: 44px; font-weight: 900; line-height: 1; color: var(--ink); }
.rating-score span { color: var(--muted); font-size: 12.5px; }
.rating-bars { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.rating-bars li { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.rating-bars i { display: block; height: 8px; background: #dfe7e2; border-radius: 99px; overflow: hidden; }
.rating-bars b { display: block; height: 100%; margin-inline-start: auto; background: linear-gradient(90deg, #f2b641, #e49a1a); border-radius: 99px; }
.rating-bars em { font-style: normal; text-align: left; }

.commentlist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.commentlist li { margin: 0; padding: 0; list-style: none; }
.commentlist li .comment_container { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.commentlist img.avatar { position: static; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 14px; background: var(--primary-soft); }
.commentlist .comment-text { margin: 0; padding: 0; border: 0; }
.commentlist .comment-text .star-rating { float: none; margin-bottom: 6px; }
.commentlist .meta { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; }
.commentlist .meta strong { color: var(--ink); font-size: 14px; }
.commentlist .description p { margin: 0; font-size: 14px; line-height: 2; color: var(--ink-soft); }
.woocommerce-review__verified { color: #0b6b4f; font-size: 12px; }
.reviews-empty { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; text-align: center; background: #f6f9f7; border-radius: 22px; border: 1px dashed #c4d6ce; }
.reviews-empty .icon { width: 30px; height: 30px; color: var(--accent-dark); }
.reviews-empty strong { font-size: 15px; }
.reviews-empty span { color: var(--muted); font-size: 13px; }

#review_form_wrapper { padding: 24px; background: #f6f9f7; border-radius: 24px; position: sticky; top: 170px; }
#reply-title { display: block; margin-bottom: 14px; font-size: 17px; font-weight: 900; }
.review-note { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; }
#review_form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
#review_form .required { color: var(--danger); }
#review_form input[type="text"], #review_form input[type="email"], #review_form textarea, #review_form select { width: 100%; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; }
#review_form textarea { resize: vertical; min-height: 120px; line-height: 1.9; }
#review_form input:focus, #review_form textarea:focus, #review_form select:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13, 119, 109, .12); }
#review_form p { margin: 0 0 14px; }
#review_form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
#review_form .comment-form-cookies-consent input { width: auto; }
#review_form .comment-form-cookies-consent label { margin: 0; font-weight: 500; font-size: 12.5px; }
#review_form .form-submit input { width: 100%; min-height: 48px; padding: 0 20px; color: #fff; background: var(--primary); border: 0; border-radius: 14px; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(13, 119, 109, .22); transition: background .2s, transform .2s; }
#review_form .form-submit input:hover { background: var(--primary-dark); transform: translateY(-1px); }
p.stars { margin: 0 0 14px; }
p.stars span { display: inline-flex; flex-direction: row; }
p.stars a { position: relative; display: inline-block; width: 34px; height: 34px; overflow: hidden; text-indent: -9999px; font-size: 0; }
p.stars a::before { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; text-indent: 0; font-size: 28px; line-height: 34px; color: #d3dcd7; transition: color .15s, transform .15s; }
p.stars:hover a::before { color: var(--accent-dark); }
p.stars a:hover ~ a::before { color: #d3dcd7 !important; }
p.stars.selected a::before { color: var(--accent-dark); }
p.stars.selected a.active ~ a::before { color: #d3dcd7; }
p.stars a:hover::before { transform: scale(1.12); }
.comment-form-rating select { display: none; }
.js-reveal .comment-form-rating select { display: none; }

/* sticky buy bar (mobile) */
.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(12,36,38,.1); backdrop-filter: blur(14px); transform: translateY(110%); transition: transform .3s var(--ease-3d); }
.sticky-buy.is-on { transform: none; }
.sticky-buy-info { min-width: 0; display: grid; }
.sticky-buy-info strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy-info span { color: var(--primary); font-size: 14px; font-weight: 900; }
.sticky-buy .button { flex: 0 0 auto; min-height: 44px; }

/* =============== Responsive =============== */
@media (max-width: 1120px) {
  .pg-cats { grid-template-columns: repeat(3, 1fr); }
  .pg-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pg-steps { grid-template-columns: repeat(2, 1fr); }
  .pg-steps li::after { display: none; }
}
@media (max-width: 860px) {
  .pg-hero { width: calc(100% - 32px); border-radius: 26px; }
  .pg-hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .pg-hero-mark { display: none; }
  .pg-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pg-split, .pg-story, .woocommerce-Reviews { grid-template-columns: 1fr; }
  .pg-faq, #review_form_wrapper { position: static; }
  .pg-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .pg-stats > div:nth-child(odd) { border-right: 0; }
  .pg-cta { flex-direction: column; align-items: flex-start; }
  .is-list .product-card { grid-template-columns: 1fr; }
  .is-list .product-media { min-height: 0; height: 200px; }
  .shop-count { margin-inline-end: 0; flex: 1 0 100%; }
  .view-toggle { display: none; }
  .sticky-buy { display: flex; }
}
@media (max-width: 580px) {
  .pg-hero { width: calc(100% - 24px); }
  .pg-section { margin-top: 54px; }
  .pg-steps, .pg-grid-3, .pg-grid-4 { grid-template-columns: 1fr; }
  .pg-cats { grid-template-columns: repeat(2, 1fr); }
  .pg-actions .button { flex: 1 1 100%; }
  .pg-cta { padding: 24px 22px; }
  .rating-summary { grid-template-columns: 1fr; justify-items: center; }
  .rating-bars { width: 100%; }
  .shop-toolbar { padding: 10px; }
  .shop-filters { width: 100%; }
  .price-filter-pop { right: auto; left: 0; }
  .key-specs { grid-template-columns: 1fr 1fr; }
  .woocommerce .woocommerce-tabs ul.tabs { display: flex; border-radius: 22px; }
  .woocommerce table.shop_attributes th { width: 40%; }
  body.single-product { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-buy, .pg-card, .pg-cat img { transition: none; }
}

/* =============== Accounts, auth, checkout steps =============== */
.action-button.is-logged-in { color: var(--primary); border-color: #b9d2ca; background: var(--primary-soft); }
.action-button.is-logged-in::after { content: ""; position: absolute; top: -3px; inset-inline-start: -3px; width: 11px; height: 11px; background: #2eb872; border: 2px solid #fff; border-radius: 50%; }

.checkout-steps { display: flex; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: none; }
.checkout-steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--muted); background: #fff; border-radius: 16px; box-shadow: var(--ring); font-size: 13.5px; font-weight: 700; }
.checkout-steps b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; color: var(--muted); background: var(--surface); border-radius: 10px; font-size: 14px; }
.checkout-steps li.is-current { color: var(--deep); box-shadow: 0 0 0 2px var(--accent); }
.checkout-steps li.is-current b { color: var(--deep); background: var(--accent); }
.checkout-steps li.is-done { color: var(--primary); }
.checkout-steps li.is-done b { color: #fff; background: var(--primary); }

.woocommerce-account:not(.logged-in) .woocommerce { max-width: none; }
.woocommerce-account.logged-in .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { padding: 10px; border-radius: 20px; box-shadow: var(--ring); border: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--deep); background: var(--accent); }
.woocommerce-account .woocommerce-MyAccount-content { padding: clamp(18px, 3vw, 30px); border: 0; border-radius: 24px; box-shadow: var(--ring); font-size: 14.5px; }
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 { font-weight: 900; }
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info { grid-column: 1 / -1; }

.acc-welcome { margin-bottom: 20px; padding: 22px 24px; color: #fff; border-radius: 20px; background: linear-gradient(135deg, #0c2426, #123537 60%, #0d4a45); }
.acc-welcome h2 { margin: 0 0 8px; font-size: 22px; }
.acc-welcome p { margin: 0 0 10px; color: #c7d5d3; font-size: 14px; }
.acc-welcome a:not(.button) { color: var(--accent); font-weight: 800; }
.acc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.acc-card { display: grid; gap: 4px; padding: 18px; color: var(--ink); background: var(--surface); border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.acc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acc-card strong { font-size: 15.5px; font-weight: 800; }
.acc-card small { color: var(--muted); font-size: 12.5px; }
.acc-card .pg-icon { margin-bottom: 8px; }


@media (max-width: 860px) {
  .woocommerce-account.logged-in .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; overflow-x: auto; }
  .woocommerce-account .woocommerce-MyAccount-navigation li { flex: none; }
  .checkout-steps li span { font-size: 12px; }
}
@media (max-width: 580px) {
  .checkout-steps { gap: 6px; }
  .checkout-steps li { flex-direction: column; justify-content: center; gap: 5px; padding: 10px 6px; text-align: center; }
  .acc-cards { grid-template-columns: 1fr; }
}

/* =============== Card quantity stepper =============== */
.card-qty { display: inline-flex; align-items: center; }
.card-qty .qty-stepper { display: none; align-items: center; gap: 2px; padding: 3px; background: var(--primary-soft); border: 1px solid #b9d2ca; border-radius: 12px; }
.card-qty.is-active .add-to-cart { display: none; }
.card-qty.is-active .qty-stepper { display: inline-flex; }
.card-qty .qty-stepper button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; color: #fff; background: var(--primary); border: 0; border-radius: 9px; font: 800 18px/1 var(--font); cursor: pointer; transition: background .2s, transform .15s; }
.card-qty .qty-stepper button:hover:not(:disabled) { background: var(--primary-dark); }
.card-qty .qty-stepper button:active:not(:disabled) { transform: scale(.92); }
.card-qty .qty-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.card-qty .qty-stepper output { min-width: 30px; text-align: center; color: var(--deep); font-size: 15px; font-weight: 900; }
.card-qty.is-busy { opacity: .6; pointer-events: none; }

/* =============== Cart =============== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error { margin-bottom: 18px; font-size: 14px; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.cart-form { padding: 6px clamp(16px, 2.4vw, 28px) 24px; background: #fff; border-radius: 26px; box-shadow: var(--ring), 0 10px 30px rgba(22, 53, 48, .05); }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 14px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-size: 20px; font-weight: 900; }
.cart-count { padding: 4px 12px; color: var(--primary); background: var(--primary-soft); border-radius: 99px; font-size: 13px; font-weight: 800; }
.cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto 36px; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.ci-thumb img { display: block; width: 88px; height: 88px; object-fit: cover; border-radius: 18px; background: var(--surface); }
.ci-info { display: grid; gap: 4px; min-width: 0; }
.ci-name { color: var(--ink); font-size: 15.5px; font-weight: 800; line-height: 1.8; }
a.ci-name:hover { color: var(--primary); }
.ci-unit { color: var(--muted); font-size: 13px; }
.ci-info dl.variation { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.ci-qty { display: inline-flex; align-items: center; gap: 2px; padding: 4px; background: var(--surface); border-radius: 14px; }
.ci-qty .quantity { margin: 0; }
.ci-qty input.qty { width: 46px; height: 38px; padding: 0; text-align: center; color: var(--deep); background: transparent; border: 0; font: 900 16px var(--font); -moz-appearance: textfield; appearance: textfield; }
.ci-qty input.qty::-webkit-outer-spin-button, .ci-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ci-qty input.qty:focus { outline: 2px solid var(--primary); border-radius: 8px; }
.ci-qty .qty-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: #fff; background: var(--primary); border: 0; border-radius: 10px; font: 800 18px/1 var(--font); cursor: pointer; transition: background .2s; }
.ci-qty .qty-btn:hover { background: var(--primary-dark); }
.ci-fixed { padding: 0 14px; font-weight: 800; }
.ci-sub { min-width: 118px; color: var(--deep); font-size: 16px; font-weight: 900; text-align: end; }
.ci-sub .woocommerce-Price-currencySymbol { margin-inline-start: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.cart-item a.remove.ci-remove { width: 36px; height: 36px; font-size: 22px; border-radius: 12px; }

.cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px dashed var(--line); }
.cart-actions .coupon { display: flex; gap: 8px; flex: 1 1 320px; max-width: 440px; }
.cart-actions .coupon .input-text { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.cart-actions .button { min-height: 46px; font-size: 14px; background: transparent; border: 1px solid #b9d2ca; color: var(--primary); cursor: pointer; }
.cart-actions .button:hover:not(:disabled) { background: var(--primary-soft); }
.cart-actions .cart-update:disabled { opacity: .45; cursor: default; }

.cart-collaterals { position: sticky; top: 130px; display: grid; gap: 14px; }
.cart-collaterals .cart_totals { float: none; width: 100%; max-width: none; margin: 0; padding: 24px; background: #fff; border-radius: 26px; box-shadow: var(--ring), 0 10px 30px rgba(22, 53, 48, .05); }
.cart-collaterals .cart_totals > h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; }
.cart-collaterals .cart_totals table.shop_table { margin: 0; border: 0; background: none; font-size: 14.5px; }
.cart-collaterals .cart_totals table.shop_table th,
.cart-collaterals .cart_totals table.shop_table td { padding: 13px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 14.5px; font-weight: 600; text-align: start; }
.cart-collaterals .cart_totals table.shop_table td { text-align: end; color: var(--ink); font-weight: 800; }
.cart-collaterals .cart_totals tr.order-total th,
.cart-collaterals .cart_totals tr.order-total td { border-bottom: 0; padding-top: 18px; color: var(--deep); font-size: 17px; font-weight: 900; }
.cart-collaterals .wc-proceed-to-checkout { margin-top: 16px; padding: 0; }
.cart-collaterals .cart_totals .checkout-button { display: flex; width: 100%; min-height: 54px; margin: 0; color: var(--deep); background: var(--accent); border-radius: 15px; font-size: 16px; font-weight: 900; box-shadow: 0 10px 24px rgba(242, 182, 65, .28); }
.cart-collaterals .cart_totals .checkout-button:hover { background: #ffc654; }
.cart-assure { display: grid; gap: 10px; margin: 0; padding: 18px 20px; list-style: none; background: #fff; border-radius: 22px; box-shadow: var(--ring); }
.cart-assure li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13.5px; font-weight: 600; }
.cart-assure .icon { width: 20px; color: var(--primary); }
.cart-continue { display: block; padding: 6px; color: var(--primary); font-size: 14px; font-weight: 700; text-align: center; }
.cart-continue:hover { text-decoration: underline; }

.cart-empty-state { display: grid; justify-items: center; gap: 10px; max-width: 560px; margin: 20px auto; padding: 48px 26px; text-align: center; background: #fff; border-radius: 28px; box-shadow: var(--ring), 0 10px 30px rgba(22, 53, 48, .05); }
.cart-empty-state .pg-icon { width: 76px; height: 76px; }
.cart-empty-state .pg-icon svg { width: 36px; height: 36px; }
.cart-empty-state h2 { margin: 8px 0 0; font-size: 24px; font-weight: 900; }
.cart-empty-state p { max-width: 400px; margin: 0 0 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 2; }
.cart-empty-state .button-outline { color: var(--primary); }

/* =============== Checkout =============== */
.woocommerce-checkout form.checkout { display: block; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); gap: 24px; align-items: start; }
.co-card { padding: clamp(18px, 2.6vw, 32px); background: #fff; border-radius: 26px; box-shadow: var(--ring), 0 10px 30px rgba(22, 53, 48, .05); }
.co-card h3 { margin: 0 0 18px; font-size: 19px; font-weight: 900; }
.co-col + .co-col:not(:empty) { margin-top: 18px; }
.checkout-side { position: sticky; top: 130px; display: grid; gap: 10px; }
.woocommerce-checkout form.checkout #order_review_heading { margin: 0 0 14px; padding: 0; background: none; border: 0; border-radius: 0; font-size: 19px; }
.woocommerce-checkout form.checkout #order_review .shop_table { border: 0; border-radius: 0; background: none; font-size: 14px; }

.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce-checkout .form-row { margin: 0 0 16px; padding: 0; float: none; width: auto; }
.woocommerce-checkout .form-row-wide { grid-column: 1 / -1; }
.woocommerce-checkout #billing_country_field, .woocommerce-checkout #shipping_country_field { display: none; }
.woocommerce-checkout .form-row label { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.woocommerce-checkout .form-row .optional { color: var(--muted); font-weight: 500; }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select { width: 100%; min-height: 50px; padding: 0 14px; font: 500 15px var(--font); background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.woocommerce-checkout .form-row textarea { min-height: 96px; padding: 12px 14px; }
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text { border-color: var(--danger); }
.woocommerce-checkout .select2-container { width: 100% !important; }
.woocommerce-checkout .select2-container--default .select2-selection--single { height: 50px; border: 1px solid var(--line); border-radius: 13px; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0 14px; line-height: 48px; font-size: 15px; color: var(--ink); }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; inset-inline-start: 6px; inset-inline-end: auto; }
.select2-dropdown { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; font-family: var(--font); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--primary); }
#ship-to-different-address { margin: 4px 0 16px; font-size: 15px; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }

.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.woocommerce-checkout-review-order-table td.product-name { color: var(--ink); font-weight: 700; line-height: 1.8; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--primary); font-weight: 800; }
.woocommerce-checkout-review-order-table td.product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: end; color: var(--ink); font-weight: 800; }
.woocommerce-checkout-review-order-table tfoot th { text-align: start; font-weight: 700; }
.woocommerce-checkout-review-order-table tr.order-total th, .woocommerce-checkout-review-order-table tr.order-total td { padding-top: 16px; border-bottom: 0; color: var(--deep); font-size: 17px; font-weight: 900; }

.woocommerce-checkout #payment { background: none; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; }
.woocommerce-checkout #payment ul.payment_methods li { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.woocommerce-checkout #payment ul.payment_methods li label { display: inline; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods li input { margin-inline-end: 8px; }
.woocommerce-checkout #payment div.payment_box { margin: 10px 0 0; padding: 12px 14px; color: var(--ink-soft); background: var(--surface); border-radius: 11px; font-size: 13.5px; line-height: 2; }
.woocommerce-checkout #payment .place-order { padding: 16px 0 0; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 56px; color: var(--deep); background: var(--accent); border-radius: 15px; font-size: 17px; font-weight: 900; box-shadow: 0 10px 24px rgba(242, 182, 65, .28); }
.woocommerce-checkout #payment #place_order:hover { background: #ffc654; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--muted); line-height: 2; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { font-size: 14px; }

@media (max-width: 960px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-collaterals, .checkout-side { position: static; }
}
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb info remove" "qty qty sub"; gap: 12px 14px; }
  .ci-thumb { grid-area: thumb; } .ci-info { grid-area: info; } .cart-item .ci-remove { grid-area: remove; align-self: start; }
  .ci-qty { grid-area: qty; justify-self: start; } .ci-sub { grid-area: sub; min-width: 0; align-self: center; }
  .ci-thumb img { width: 72px; height: 72px; border-radius: 14px; }
  .cart-actions .coupon { max-width: none; }
  .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}

/* ---- specificity fixes over classic-shop.css ---- */
.woocommerce form.checkout #billing_country_field,
.woocommerce form.checkout #shipping_country_field { display: none !important; }
.woocommerce form.checkout .form-row label { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.woocommerce form.checkout .form-row input.input-text,
.woocommerce form.checkout .form-row textarea,
.woocommerce form.checkout .form-row select { min-height: 50px; padding: 0 14px; font-size: 15px; border-radius: 13px; }
.woocommerce form.checkout .form-row textarea { padding: 12px 14px; }
.woocommerce form.checkout .form-row .optional { color: var(--muted); font-weight: 500; }
.woocommerce form.checkout table.shop_table th,
.woocommerce form.checkout table.shop_table td { padding: 12px 0; color: var(--ink-soft); background: none; border: 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.woocommerce form.checkout table.shop_table tfoot th { text-align: start; }
.woocommerce form.checkout table.shop_table tr.order-total th,
.woocommerce form.checkout table.shop_table tr.order-total td { border-bottom: 0; color: var(--deep); font-size: 17px; font-weight: 900; }
.woocommerce form.checkout .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
.woocommerce form.checkout .woocommerce-shipping-methods li { margin: 0; font-size: 14px; }
.shop_table .woocommerce-shipping-destination, .shop_table .shipping-calculator-button,
.cart_totals .woocommerce-shipping-destination, .cart_totals .shipping-calculator-button { display: none; }
.cart_totals .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
.cart_totals .woocommerce-shipping-methods li { margin: 0; font-size: 14px; }
.cart_totals .woocommerce-shipping-methods li::before { display: none; }

.cart_totals table.shop_table_responsive tr, .woocommerce-checkout-review-order-table.shop_table_responsive tr { display: table-row; }
.cart_totals table.shop_table_responsive td, .cart_totals table.shop_table_responsive th { display: table-cell; width: auto; }
.cart_totals table.shop_table_responsive td::before, .woocommerce-checkout-review-order-table td::before { display: none !important; content: none; }
.cart_totals table.shop_table_responsive td { text-align: end; }
html, body { overflow-x: clip; }
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button { color: var(--deep); background: var(--accent); }
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button:hover { background: #ffc654; }
