/*
Theme Name: HOME PLUGIN Modern
Theme URI: https://home-plugin.com/
Author: HOME PLUGIN
Author URI: https://home-plugin.com/
Description: ธีม WordPress โมเดิร์นสำหรับ HOME PLUGIN นำเสนอสินค้า งานติดตั้ง บทความ และช่องทางติดต่อ รองรับมือถือและเดสก์ท็อป
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: home-plugin-modern
Tags: custom-logo, featured-images, responsive-layout, one-column
*/

:root {
  --ink: #171b18;
  --ink-soft: #252a26;
  --paper: #f3f2eb;
  --white: #fff;
  --acid: #c8ff2e;
  --muted: #747972;
  --line: rgba(23, 27, 24, .15);
  --radius: 2.2rem;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { height: 88px; padding: 0 max(28px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; position: absolute; z-index: 20; inset: 0 0 auto; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: .92rem; font-weight: 800; letter-spacing: .1em; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: #fff; }
nav { display: flex; align-items: center; gap: 2.1rem; font-size: .92rem; }
nav > a:not(.nav-cta) { opacity: .86; transition: opacity .2s; }
nav > a:hover { opacity: 1; }
.nav-cta { background: var(--acid); color: var(--ink); padding: .85rem 1.2rem; border-radius: 999px; font-weight: 750; }
.nav-cta span { margin-left: .4rem; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; width: 46px; height: 46px; padding: 13px 9px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: currentColor; }

.hero { min-height: 830px; height: 100svh; position: relative; overflow: hidden; display: grid; align-items: end; color: #fff; background: #1b201c; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.05); }
.hero-shade { background: linear-gradient(90deg, rgba(17,23,18,.88) 0%, rgba(17,23,18,.52) 48%, rgba(17,23,18,.12) 78%), linear-gradient(0deg, rgba(8,12,9,.5), transparent 48%); }
.hero-content { position: relative; z-index: 2; width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 0 0 9.5vh; }
.eyebrow { margin: 0 0 1rem; color: var(--acid); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: #677043; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(4rem, 8.7vw, 8.2rem); line-height: .92; letter-spacing: -.065em; font-weight: 760; }
.hero h1 em { font-style: normal; font-weight: 350; color: var(--acid); }
.hero-lead { max-width: 590px; margin: 2rem 0 0; font-size: 1.12rem; color: rgba(255,255,255,.75); }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.1rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 185px; gap: 2rem; padding: .95rem 1.25rem; border-radius: 999px; font-weight: 750; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-bright { background: var(--acid); color: var(--ink); }
.button-dark { background: var(--ink); color: #fff; }
.text-link { border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: .25rem; font-weight: 700; }
.text-link span { margin-left: .6rem; }
.hero-note { position: absolute; right: max(28px, calc((100vw - var(--max)) / 2)); bottom: 9.5vh; z-index: 3; width: 250px; border-left: 1px solid rgba(255,255,255,.5); padding-left: 1.25rem; }
.hero-note strong, .hero-note span { display: block; }
.hero-note strong { color: var(--acid); font-size: 1.05rem; }
.hero-note span { margin-top: .4rem; font-size: .82rem; color: rgba(255,255,255,.65); }
.vertical-mark { position: absolute; z-index: 3; right: 1.2rem; top: 50%; transform: translate(46%, -50%) rotate(90deg); font-size: .64rem; letter-spacing: .22em; opacity: .55; }

.intro-strip { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; min-height: 140px; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; font-weight: 700; }
.intro-strip p { margin: 0; }
.intro-line { height: 1px; background: var(--line); }
.section { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 7.5rem 0; }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.section h2, .about h2, .contact h2 { margin: 0; font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.08; letter-spacing: -.055em; }
.section-copy { max-width: 450px; margin: 0 0 .55rem auto; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product-card { min-height: 440px; position: relative; overflow: hidden; border-radius: var(--radius); background: #d9d7cc; color: #fff; }
.product-card-wide { grid-column: span 2; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,10,7,.74), transparent 58%); }
.product-card:hover img { transform: scale(1.04); }
.product-index, .card-arrow, .product-info { position: absolute; z-index: 2; }
.product-index { top: 1.2rem; left: 1.35rem; font-size: .74rem; letter-spacing: .1em; }
.card-arrow { top: 1rem; right: 1rem; width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; transition: background .2s, color .2s; }
.product-card:hover .card-arrow { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.product-info { left: 1.35rem; right: 1.35rem; bottom: 1.35rem; }
.product-info span { color: var(--acid); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-info h3 { margin: .15rem 0 0; font-size: 1.45rem; line-height: 1.25; }
.all-products { display: flex; justify-content: center; margin-top: 2.5rem; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 720px; background: var(--ink); color: #fff; }
.about-image { position: relative; overflow: hidden; }
.about-image > img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; right: 1.5rem; bottom: 1.5rem; width: 145px; height: 145px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--acid); color: var(--ink); }
.about-badge strong { font-size: 2.5rem; line-height: 1; }
.about-badge span { font-size: .75rem; margin-top: .35rem; font-weight: 700; }
.about-copy { padding: clamp(3.5rem, 7vw, 7.5rem); display: flex; flex-direction: column; justify-content: center; }
.about-copy > p:not(.eyebrow) { color: rgba(255,255,255,.65); max-width: 610px; margin: 2rem 0 0; }
.about-copy > p + p:not(.eyebrow) { margin-top: 1rem; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
.about-values div { min-width: 0; }
.about-values span, .about-values strong, .about-values small { display: block; }
.about-values span { color: var(--acid); font-size: .7rem; }
.about-values strong { margin-top: .75rem; font-size: .93rem; }
.about-values small { color: rgba(255,255,255,.5); font-size: .75rem; margin-top: .25rem; }

.journal-head { grid-template-columns: 1fr auto; }
.dark-link { color: var(--ink); border-color: var(--line); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.article-card { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.article-image { aspect-ratio: 1 / .78; overflow: hidden; border-radius: 1.5rem; background: #e2e0d8; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .article-image img { transform: scale(1.035); }
.article-card p { margin: 1.1rem 0 .5rem; color: #79804e; font-size: .76rem; font-weight: 800; }
.article-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.42; min-height: 3.5em; }
.article-card > span { display: inline-block; margin-top: 1.2rem; font-size: .83rem; font-weight: 700; }
.article-card > span b { margin-left: .5rem; }

.contact { background: var(--acid); padding: clamp(4rem, 8vw, 8rem) max(28px, calc((100vw - var(--max)) / 2)); }
.contact .eyebrow { color: #566d16; }
.contact-top { position: relative; border-bottom: 1px solid rgba(23,27,24,.22); padding-bottom: 3.5rem; }
.contact h2 { font-size: clamp(3.4rem, 7.5vw, 7.6rem); max-width: 1050px; }
.contact-arrow { position: absolute; right: 0; bottom: 3.75rem; width: clamp(70px, 9vw, 120px); height: clamp(70px, 9vw, 120px); display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 2.4rem; transition: transform .25s, background .25s, color .25s; }
.contact-arrow:hover { background: var(--ink); color: var(--acid); transform: rotate(45deg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6rem; padding-top: 3.5rem; }
.contact-message { max-width: 430px; font-size: 1.14rem; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.contact-links a { padding-bottom: 1rem; border-bottom: 1px solid rgba(23,27,24,.25); }
.contact-links span, .contact-links strong { display: block; }
.contact-links span { font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-links strong { margin-top: .25rem; font-size: 1rem; overflow-wrap: anywhere; }

footer { background: var(--ink); color: #fff; padding: 2.25rem max(28px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 2rem; }
.footer-brand img { width: 38px; height: 38px; }
footer p { margin: 0; color: rgba(255,255,255,.55); font-size: .84rem; }
footer > a:not(.brand) { font-size: .82rem; }
footer small { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.35); }
.floating-line { position: fixed; z-index: 30; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: .65rem; padding: .75rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.22); font-size: .79rem; }
.floating-line span { color: var(--acid); font-weight: 900; }

.inner-header { position: relative; padding-top: 0; background: var(--ink); }
.content-shell { width: min(var(--max), calc(100% - 56px)); min-height: 70vh; margin: 0 auto; padding: 6rem 0 8rem; }
.content-title { max-width: 850px; margin-bottom: 3.5rem; }
.content-title h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: -.05em; }
.wp-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; }
.wp-post-card { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.wp-post-image { display: block; aspect-ratio: 4 / 3; margin-bottom: 1rem; overflow: hidden; border-radius: 1.5rem; background: #deddd4; }
.wp-post-image img { width: 100%; height: 100%; object-fit: cover; }
.wp-post-meta { margin: 0 0 .4rem; color: #79804e; font-size: .78rem; font-weight: 700; }
.wp-post-card h2 { margin: 0; font-size: 1.35rem; line-height: 1.35; }
.wp-post-excerpt { margin-top: .8rem; color: var(--muted); }
.wp-post-excerpt > *:first-child { margin-top: 0; }
.wp-post-excerpt img { height: auto; }
.wp-pagination { margin-top: 3rem; }
.wp-pagination .nav-links { display: flex; gap: .65rem; }
.wp-pagination .page-numbers { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 999px; }
.wp-pagination .current { background: var(--ink); color: #fff; }

/* WooCommerce collection */
.shop-hero { min-height: 440px; padding: clamp(5rem, 9vw, 9rem) max(28px, calc((100vw - var(--max)) / 2)); position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; background: var(--ink); color: #fff; }
.shop-hero::before { content: ""; position: absolute; inset: auto -10% -80% 45%; width: 650px; height: 650px; border: 1px solid rgba(200,255,46,.2); border-radius: 50%; box-shadow: 0 0 0 80px rgba(200,255,46,.025), 0 0 0 160px rgba(200,255,46,.018); }
.shop-hero > div { position: relative; z-index: 1; max-width: 850px; }
.shop-hero h1 { margin: 0; font-size: clamp(3.8rem, 8vw, 8rem); line-height: .95; letter-spacing: -.065em; }
.shop-hero p:last-child { max-width: 620px; margin: 1.5rem 0 0; color: rgba(255,255,255,.62); font-size: 1.05rem; }
.shop-hero > span { position: relative; z-index: 1; writing-mode: vertical-rl; color: rgba(255,255,255,.35); font-size: .68rem; letter-spacing: .2em; }
.shop-shell { width: min(var(--max), calc(100% - 56px)); min-height: 60vh; margin: 0 auto; padding: 4rem 0 8rem; }
.shop-toolbar { min-height: 70px; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.shop-toolbar::after { content: ""; display: table; clear: both; }
.woocommerce .shop-toolbar .woocommerce-result-count { margin: .8rem 0 0; color: var(--muted); }
.woocommerce .shop-toolbar .woocommerce-ordering { margin: 0; }
.woocommerce .shop-toolbar select { min-height: 48px; padding: 0 2.5rem 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product.hp-product-card { float: none; width: auto; margin: 0; padding: 0 0 1.2rem; border-bottom: 1px solid var(--line); }
.hp-product-link { display: block; }
.woocommerce ul.products li.product .hp-product-image { aspect-ratio: 1 / 1.08; position: relative; overflow: hidden; border-radius: 1.8rem; background: #deddd4; }
.woocommerce ul.products li.product .hp-product-image img { width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform .55s ease; }
.hp-product-card:hover .hp-product-image img { transform: scale(1.035); }
.hp-sale { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .48rem .7rem; border-radius: 999px; background: var(--acid); color: var(--ink); font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.hp-card-arrow { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(23,27,24,.82); color: #fff; transition: transform .25s, background .25s, color .25s; }
.hp-product-card:hover .hp-card-arrow { transform: rotate(45deg); background: var(--acid); color: var(--ink); }
.hp-product-card-body { padding-top: 1rem; }
.hp-product-category, .hp-product-category a { color: #75804b; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce ul.products li.product .hp-product-card-body h2 { min-height: 2.6em; margin: .35rem 0 1rem; padding: 0; color: var(--ink); font-size: 1.28rem; line-height: 1.3; }
.hp-product-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.hp-product-card-foot strong { font-size: .8rem; }
.woocommerce .hp-price, .woocommerce .hp-price .amount { color: var(--ink); font-size: .96rem; font-weight: 800; }
.shop-empty { padding: 5rem 0; text-align: center; }
.shop-empty h2 { margin: 0; font-size: 2.7rem; }
.shop-empty p { margin: .5rem 0 2rem; color: var(--muted); }
.woocommerce nav.woocommerce-pagination { margin-top: 3rem; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: .45rem; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding: .5rem; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; }

/* WooCommerce product detail */
.product-detail-shell { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 2rem 0 7rem; }
.hp-breadcrumb { display: flex; gap: .65rem; align-items: center; margin-bottom: 2rem; color: var(--muted); font-size: .78rem; }
.hp-breadcrumb strong { color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-detail-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.hp-product-gallery { min-width: 0; }
.hp-product-main { aspect-ratio: 1 / 1.05; position: relative; overflow: hidden; border-radius: 2rem; background: #deddd4; }
.hp-product-main > img { width: 100%; height: 100%; object-fit: cover; }
.hp-replace-product-image { position: absolute; z-index: 4; top: 1rem; right: 1rem; padding: .75rem 1rem; border: 0; border-radius: 999px; background: var(--acid); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.18); font-weight: 800; cursor: pointer; }
.hp-replace-product-image:disabled { opacity: .65; cursor: wait; }
.hp-product-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; margin-top: .8rem; }
.hp-product-thumbs button { aspect-ratio: 1; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: .9rem; background: #deddd4; cursor: pointer; }
.hp-product-thumbs button.is-active { border-color: var(--ink); }
.hp-product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hp-product-summary { padding-top: 1rem; }
.hp-product-summary h1 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: 1.02; letter-spacing: -.055em; }
.hp-product-price { margin: 1.5rem 0; font-size: 1.45rem; font-weight: 850; }
.hp-product-price del { color: var(--muted); font-size: 1rem; font-weight: 500; }
.hp-product-price ins { text-decoration: none; }
.hp-product-short { max-width: 580px; color: var(--muted); font-size: 1.03rem; }
.hp-product-short:empty { display: none; }
.hp-stock { margin: 1.2rem 0; }
.hp-stock .stock { color: #516b23; font-weight: 750; }
.hp-add-to-cart { padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hp-add-to-cart form.cart { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.hp-add-to-cart .quantity .qty { min-height: 52px; width: 78px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: inherit; }
.woocommerce .hp-add-to-cart .button, .woocommerce .hp-add-to-cart button.button.alt { min-height: 52px; padding: .85rem 1.4rem; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 800; }
.woocommerce .hp-add-to-cart .button:hover, .woocommerce .hp-add-to-cart button.button.alt:hover { background: var(--acid); color: var(--ink); }
.hp-add-to-cart table.variations { margin-bottom: 1rem; }
.hp-add-to-cart table.variations td, .hp-add-to-cart table.variations th { padding: .45rem 0; }
.hp-add-to-cart select { min-height: 46px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; }
.hp-product-meta { padding: 1.25rem 0; color: var(--muted); font-size: .8rem; }
.hp-product-meta > span { display: block; margin: .3rem 0; }
.hp-service-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: 1.25rem; }
.hp-service-note > div { padding: 1rem; border-radius: 1rem; background: #e9e8e0; }
.hp-service-note span, .hp-service-note strong, .hp-service-note small { display: block; }
.hp-service-note span { color: #75804b; font-size: .68rem; font-weight: 800; }
.hp-service-note strong { margin-top: .5rem; font-size: .82rem; }
.hp-service-note small { color: var(--muted); font-size: .7rem; }
.hp-product-information { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; margin-top: 7rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.hp-product-information h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.3rem); line-height: 1.08; letter-spacing: -.05em; }
.hp-product-description { color: #4f554f; }
.hp-product-description > *:first-child { margin-top: 0; }
.hp-product-description table.shop_attributes { width: 100%; margin-top: 2rem; border: 0; }
.hp-product-description table.shop_attributes th, .hp-product-description table.shop_attributes td { padding: .9rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-style: normal; }
.hp-product-description table.shop_attributes th { width: 38%; text-align: left; }
.hp-content-gallery-title { margin: 3.2rem 0 1.25rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.2; letter-spacing: -.035em; }
.hp-content-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 0 0 2.4rem; }
.hp-content-gallery-item { aspect-ratio: 4 / 3; position: relative; overflow: hidden; margin: 0; border-radius: 1.15rem; background: #deddd4; }
.hp-content-gallery-item a { display: block; width: 100%; height: 100%; }
.hp-content-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hp-content-gallery-item a:hover img { transform: scale(1.035); }
.hp-content-gallery-item span { position: absolute; right: .7rem; bottom: .7rem; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(23,27,24,.82); color: #fff; font-size: .9rem; transition: transform .25s, background .25s, color .25s; }
.hp-content-gallery-item a:hover span { transform: rotate(45deg); background: var(--acid); color: var(--ink); }
.hp-gallery-lightbox { width: min(94vw, 1200px); max-width: none; height: min(90vh, 900px); max-height: none; padding: 0; border: 0; border-radius: 1.4rem; overflow: hidden; background: #111; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.hp-gallery-lightbox::backdrop { background: rgba(9,12,10,.82); backdrop-filter: blur(8px); }
.hp-gallery-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.hp-gallery-lightbox button { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.hp-related-products { padding: 6rem max(28px, calc((100vw - var(--max)) / 2)); background: #e5e4dc; }
.hp-related-products > .related > h2 { margin: 0 0 2.5rem; font-size: clamp(2.2rem, 4vw, 4.2rem); letter-spacing: -.05em; }

@media (max-width: 980px) {
  .site-header { height: 76px; }
  .menu-toggle { display: block; position: relative; z-index: 5; }
  nav { position: fixed; inset: 0; background: var(--ink); padding: 7rem 1.75rem 3rem; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; transform: translateY(-105%); transition: transform .35s ease; }
  nav.is-open { transform: translateY(0); }
  nav a { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 1.35rem; }
  nav .nav-cta { margin-top: 1rem; text-align: center; border: 0; }
  .hero { min-height: 760px; }
  .hero-content { padding-bottom: 6rem; }
  .hero-note { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 400px; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 560px; }
  .contact-grid { gap: 3rem; }
  .wp-post-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hp-product-information { gap: 2.5rem; }
  .hp-content-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .site-header { padding-left: 20px; padding-right: 20px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: .78rem; }
  .hero { min-height: 700px; }
  .hero-media img { object-position: 57% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(17,23,18,.9) 0%, rgba(17,23,18,.25) 85%); }
  .hero-content, .section, .intro-strip { width: calc(100% - 40px); }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .vertical-mark { display: none; }
  .intro-strip { grid-template-columns: 1fr; gap: .25rem; min-height: 160px; align-content: center; }
  .intro-line { display: none; }
  .intro-strip p:last-child { color: var(--muted); font-weight: 500; }
  .section { padding: 5.25rem 0; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
  .section-copy { margin: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-wide { grid-column: auto; }
  .product-card { min-height: 370px; }
  .about-image { min-height: 430px; }
  .about-copy { padding: 4.5rem 20px; }
  .about-values { grid-template-columns: 1fr; gap: 1.4rem; }
  .about-values div { display: grid; grid-template-columns: 35px 1fr; }
  .about-values strong { margin-top: 0; }
  .about-values small { grid-column: 2; }
  .article-grid { grid-template-columns: 1fr; gap: 2rem; }
  .article-card h3 { min-height: auto; }
  .journal-head .dark-link { justify-self: start; }
  .contact { padding-left: 20px; padding-right: 20px; }
  .contact-top { padding-bottom: 7rem; }
  .contact-arrow { right: auto; left: 0; bottom: 1.4rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-links { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; order: 3; }
  footer small { order: 4; }
  .floating-line b { display: none; }
  .content-shell { width: calc(100% - 40px); padding: 4.5rem 0 6rem; }
  .wp-post-grid { grid-template-columns: 1fr; }
  .shop-hero { min-height: 390px; padding-left: 20px; padding-right: 20px; }
  .shop-hero > span { display: none; }
  .shop-shell, .product-detail-shell { width: calc(100% - 40px); }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .woocommerce .shop-toolbar .woocommerce-result-count, .woocommerce .shop-toolbar .woocommerce-ordering { float: none; }
  .woocommerce .shop-toolbar .woocommerce-ordering { margin-top: 1rem; }
  .woocommerce .shop-toolbar select { width: 100%; }
  .hp-product-main { border-radius: 1.35rem; }
  .hp-product-summary h1 { font-size: 3rem; }
  .hp-service-note { grid-template-columns: 1fr; }
  .hp-service-note > div { display: grid; grid-template-columns: 30px 1fr; }
  .hp-service-note strong { margin: 0; }
  .hp-service-note small { grid-column: 2; }
  .hp-product-information { grid-template-columns: 1fr; margin-top: 5rem; }
  .hp-content-gallery { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hp-content-gallery-item { border-radius: .8rem; }
  .hp-related-products { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
