/*
Theme Name: AMPRO STORE
Theme URI: https://amprostore.com/
Author: AMPRO
Description: قالب متجر AMPRO STORE — واجهة عربية RTL لووكومرس: رئيسية بأقسام وعروض، صفحة متجر بفلاتر، صفحة منتج بخانة "صممها باسمك" ورفع صورة العميل.
Version: 1.0.0
Requires at least: 6.4
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: ampro-store
WC requires at least: 8.0
*/

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(assets/fonts/cairo-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(assets/fonts/cairo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(assets/fonts/cairo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
	--navy: #061E52;
	--ink: #0A1330;
	--blue: #0756D9;
	--blue-d: #0B4CCB;
	--blue-dd: #063C9E;
	--red: #E11D48;
	--text-2: #5B6584;
	--text-3: #3A4562;
	--muted: #7A85A3;
	--muted-2: #94A0BA;
	--faint: #A8B1C7;
	--line: #E8EDF6;
	--line-2: #EDF1F9;
	--line-3: #E4EAF5;
	--soft: #F8FAFE;
	--tint: #F4F8FF;
	--tint-a: #EAF1FF;
	--tint-b: #F5F8FE;
	--pill: #E4EEFF;
	--footer: #061229;
	--wa: #25D366;
	--font: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
	--num: 'Inter', 'Cairo', sans-serif;
	--shadow-card: 0 2px 12px rgba(10, 19, 48, 0.05);
	--gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 .5em; font-weight: 900; }
p { margin: 0 0 1em; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: #CFE0FF; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.num, .amount, .price, .woocommerce-Price-amount { font-family: var(--num); font-feature-settings: "tnum"; }
.ico { flex: none; vertical-align: middle; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.site-main { min-height: 40vh; }

/* ---------- Buttons ---------- */
.btn, .pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 14.5px; line-height: 1.5; padding: 12px 26px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; text-align: center; transition: transform .14s, box-shadow .22s, background .2s; }
.btn:hover, .pbtn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(7, 86, 217, 0.26); }
.btn:active, .pbtn:active { transform: translateY(0) scale(.98); }
.btn-lg { font-size: 16px; padding: 15px 34px; border-radius: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(7, 86, 217, 0.24); }
.btn-primary:hover { color: #fff; background: var(--blue-d); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, 0.3); }

.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--blue); background: var(--pill); padding: 7px 14px; border-radius: 999px; letter-spacing: .04em; }
.pill-glass { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ico-box { width: 44px; height: 44px; border-radius: 12px; background: var(--pill); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.card { transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s, border-color .24s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(7, 86, 217, 0.14); border-color: #CFE0FF; }

.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #B4C3E0; background: linear-gradient(145deg, var(--tint-a), var(--tint-b)); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.tb-start { display: inline-flex; align-items: center; gap: 7px; }
.tb-center { color: rgba(255, 255, 255, 0.86); }
.tb-social { display: inline-flex; align-items: center; gap: 12px; min-width: 20px; }
.tb-social a { color: rgba(255, 255, 255, 0.8); display: inline-flex; }
.tb-social a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-in { display: flex; align-items: center; gap: 24px; padding-block: 16px; }
.brand, .custom-logo-link { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 36px; width: auto; display: block; }
.custom-logo-link img { max-height: 44px; width: auto; display: block; }
.brand-name { font-weight: 900; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.brand-name span { color: var(--blue); }
.search { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--tint); border: 1px solid var(--line-3); border-radius: 14px; padding: 0 16px; color: var(--muted-2); min-width: 0; }
.search:focus-within { border-color: #CFE0FF; box-shadow: 0 0 0 3px rgba(7, 86, 217, 0.08); }
.search input[type="search"] { border: 0; background: transparent; outline: 0; font-size: 14.5px; width: 100%; color: var(--ink); padding: 12px 0; -webkit-appearance: none; appearance: none; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.hact { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--text-3); padding: 4px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; line-height: 1.3; transition: color .16s, background .16s; }
.hact:hover { color: var(--blue); background: #F0F5FF; }
.cart-btn { display: flex; align-items: center; gap: 9px; background: var(--blue); color: #fff; padding: 11px 16px; border-radius: 13px; font-weight: 800; font-size: 13.5px; line-height: 1.4; }
.cart-btn:hover { color: #fff; background: var(--blue-d); }
.cart-count { background: #fff; color: var(--blue); min-width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; padding: 0 5px; }
.menu-btn, .nav-head, .sub-toggle { display: none; }
.menu-btn, .nav-close, .sub-toggle { background: none; border: 0; padding: 8px; border-radius: 10px; color: var(--ink); cursor: pointer; line-height: 0; }

/* ---------- Navigation + mega menu ---------- */
.site-nav { border-top: 1px solid #F1F4FA; background: #fff; }
.nav-in { position: relative; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.nav-list ul { list-style: none; margin: 0; padding: 0; }
.navitem { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--ink); padding: 12px 12px; border-radius: 10px; white-space: nowrap; transition: color .16s, background .16s; }
.navitem .ico { opacity: .5; }
.navitem:hover, .megawrap.is-current > .navitem { color: var(--blue); background: #F0F5FF; }
.megawrap.accent > .navitem { color: var(--red); }
.mega { position: absolute; top: 100%; inset-inline: 0; z-index: 95; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(10, 19, 48, 0.14); padding: 24px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.mega-eyebrow { font-size: 12px; font-weight: 800; color: var(--muted-2); letter-spacing: .06em; margin-bottom: 14px; }
.mega-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 24px; }
.mlink { font-size: 14px; font-weight: 600; color: var(--text-3); display: inline-flex; align-items: center; gap: 7px; transition: color .14s, padding-inline-start .14s; }
.mlink:hover { color: var(--blue); padding-inline-start: 4px; }
.mega-links .star .mlink { font-weight: 800; color: var(--blue); }

@media (min-width: 1024px) {
	.megawrap.has-mega:hover > .mega, .megawrap.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.sec { padding-top: 72px; }
.sec-features { padding-top: 36px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head h2 { font-size: 32px; margin: 0; }
.sec-head p { font-size: 15px; color: var(--muted); margin: 5px 0 0; }
.sec-eyebrow { display: block; font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .06em; margin-bottom: 4px; }
.sec-link { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.center-title { font-size: 32px; text-align: center; margin: 0 0 8px; }
.center-sub { font-size: 15.5px; color: var(--muted); text-align: center; margin: 0 0 34px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); border-bottom: 1px solid #F1F4FA; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-block: 56px 60px; }
.hero h1 { font-size: 56px; line-height: 1.12; margin: 20px 0 16px; letter-spacing: -0.02em; }
.hero-text p { font-size: 18px; color: var(--text-2); margin: 0 0 30px; max-width: 420px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 150px 150px; gap: 14px; position: relative; }
.hm { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 26px rgba(10, 19, 48, 0.10); }
.hm-main { grid-row: span 2; border-radius: 22px; box-shadow: 0 18px 44px rgba(7, 86, 217, 0.18); }
.hero-stat { position: absolute; inset-inline-start: -18px; bottom: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: 0 14px 34px rgba(10, 19, 48, 0.14); display: flex; align-items: center; gap: 11px; }
.hero-stat .ico-box { width: 38px; height: 38px; border-radius: 11px; }
.hero-stat .n { font-weight: 900; font-size: 15px; color: var(--blue); line-height: 1.2; }
.hero-stat .l { font-size: 11.5px; color: var(--muted); font-weight: 700; }

/* ---------- Features / trust ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { display: flex; align-items: center; gap: 14px; background: var(--soft); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; font-weight: 800; font-size: 14.5px; }
.trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.trust-item { text-align: center; background: var(--soft); border: 1px solid var(--line-2); border-radius: 18px; padding: 26px 18px; font-weight: 800; font-size: 14px; }
.trust-item .ico-box { width: 50px; height: 50px; border-radius: 14px; margin: 0 auto 14px; display: flex; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow-card); }
.cat-card:hover { color: var(--ink); }
.cat-media { aspect-ratio: 16 / 9; position: relative; }
.cat-body { padding: 20px; }
.cat-body .t { font-weight: 900; font-size: 18px; margin-bottom: 5px; }
.cat-body .d { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.cat-body .go { font-size: 13.5px; font-weight: 800; color: var(--blue); }

/* ---------- Banners ---------- */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.banner { border-radius: 22px; padding: 40px; color: #fff; position: relative; overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(140deg, var(--blue), var(--blue-dd)); }
.banner-2 { background: linear-gradient(140deg, var(--navy), #0B3B8F); }
.banner::before { content: ""; position: absolute; inset-inline-end: -60px; top: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%); }
.banner-img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 42%; }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(6, 30, 82, 0.96) 0%, rgba(6, 30, 82, 0.9) 52%, rgba(6, 30, 82, 0.12) 100%); }
.banner-text { position: relative; max-width: 62%; }
.banner .eyebrow { font-size: 12px; font-weight: 800; opacity: .82; letter-spacing: .06em; }
.banner h3 { font-size: 28px; margin: 8px 0; }
.banner p { font-size: 15px; opacity: .88; margin: 0 0 20px; }
.banner-2 .btn-white { color: var(--navy); }

/* ---------- Product cards ---------- */
ul.products { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
ul.products::before, ul.products::after { display: none !important; }
ul.products.cols-4, ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; text-align: start; position: relative; transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s, border-color .24s; }
ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(7, 86, 217, 0.14); border-color: #CFE0FF; }
.pcard-media { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--tint-a); overflow: hidden; }
ul.products li.product:nth-child(even) .pcard-media { background: var(--tint-b); }
ul.products li.product .pcard-media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; display: block; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; color: #fff; font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 999px; line-height: 1.5; }
.badge-sale { background: var(--red); }
.badge-dark { background: var(--ink); }
.badge-blue { background: var(--blue); }
.chip-custom { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(255, 255, 255, 0.94); color: var(--blue); font-size: 11.5px; font-weight: 800; padding: 6px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; line-height: 1.4; }
.pcard-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 11.5px; color: var(--muted-2); font-weight: 700; margin-bottom: 5px; }
.pcard-title { display: block; font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 10px; line-height: 1.45; min-height: 42px; }
.pcard-title:hover { color: var(--blue); }
.pcard-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 14px; font-weight: 900; font-size: 18px; color: var(--blue); line-height: 1.4; }
.pcard-price ins { order: 1; text-decoration: none; }
.pcard-price del { order: 2; font-size: 13.5px; font-weight: 500; color: var(--faint); }
.pcard-body .pbtn { margin-top: auto; }
.pbtn { width: 100%; background: var(--blue); color: #fff; padding: 11px 12px; font-size: 14px; }
.pbtn:hover { color: #fff; background: var(--blue-d); }
.pbtn-soft { background: #F0F5FF; color: var(--blue); border-color: #D9E6FF; }
.pbtn-soft:hover { background: var(--pill); color: var(--blue); box-shadow: none; }
.pbtn.loading { opacity: .6; pointer-events: none; }
.pbtn.added::after { content: " ✓"; }
.added_to_cart { display: block; text-align: center; font-size: 12.5px; font-weight: 800; margin-top: 9px; }

ul.products.scroller { display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 10px; margin: -6px -2px 0 !important; scroll-snap-type: x proximity; }
ul.products.scroller::-webkit-scrollbar { display: none; }
ul.products.scroller li.product { flex: 0 0 258px; scroll-snap-align: start; }

/* ---------- Personalised CTA ---------- */
.cta-custom { background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%); border-radius: 26px; padding: 48px; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-custom::before { content: ""; position: absolute; inset-inline-end: -60px; top: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%); }
.cta-custom.no-tiles { grid-template-columns: 1fr; }
.cta-text { position: relative; }
.cta-custom h2 { font-size: 38px; margin: 18px 0 14px; line-height: 1.2; }
.cta-custom p { font-size: 16.5px; color: rgba(255, 255, 255, 0.86); margin: 0 0 28px; max-width: 400px; }
.cta-tiles { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); display: block; }
.tile-name { position: absolute; inset-inline: 0; bottom: 0; padding: 22px 16px 12px; background: linear-gradient(to top, rgba(4, 18, 48, 0.9), rgba(4, 18, 48, 0)); font-size: 13px; font-weight: 800; color: #fff; }

/* ---------- Frames ---------- */
.frames { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.frames-solo { grid-template-columns: 1fr; }
.frame-hero { grid-row: span 2; background: linear-gradient(160deg, var(--tint) 0%, #E6EFFF 100%); border: 1px solid #E0EAFC; border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 24px; }
.frames-solo .frame-hero { flex-direction: row; align-items: center; }
.frames-solo .frame-stage { flex: 0 0 300px; }
.frame-stage { flex: 1; display: flex; align-items: center; justify-content: center; }
.frame-art { width: 78%; aspect-ratio: 4 / 5; background: #2B2118; padding: 14px; border-radius: 4px; box-shadow: 0 26px 50px rgba(10, 19, 48, 0.28), inset 0 0 0 2px rgba(255, 255, 255, 0.06); }
.frame-art .mount { width: 100%; height: 100%; background: #FBFAF7; padding: 12%; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.18); }
.photo { width: 100%; height: 100%; position: relative; background: #EEF1F6; overflow: hidden; }
.frame-hero .t { font-weight: 900; font-size: 21px; margin-bottom: 6px; }
.frame-hero p { font-size: 14px; color: var(--text-2); margin: 0 0 16px; }
.sizes { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.sizes span { font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #D9E3F5; color: var(--text-3); }
.frame-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow-card); }
.frame-card:hover { color: var(--ink); }
.frame-thumb { padding: 26px; display: flex; align-items: center; justify-content: center; flex: 1; }
.frame-mini { width: 58%; aspect-ratio: 4 / 5; padding: 9px; border-radius: 3px; box-shadow: 0 14px 28px rgba(10, 19, 48, 0.2); }
.ft-wood { background: #F7F3EE; } .ft-wood .frame-mini { background: #6B4A2F; }
.ft-acrylic { background: var(--pill); } .ft-acrylic .frame-mini { background: rgba(255, 255, 255, 0.55); border-radius: 8px; aspect-ratio: 1 / 1; padding: 7px; }
.ft-black { background: #F1F3F7; } .ft-black .frame-mini { background: #14181F; aspect-ratio: 5 / 4; padding: 8px; }
.ft-white { background: var(--tint-a); } .ft-white .frame-mini { background: #F2F4F8; }
.frame-info { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.frame-info .t { font-weight: 800; font-size: 15px; line-height: 1.45; }
.frame-info .price { font-weight: 900; font-size: 14.5px; color: var(--blue); white-space: nowrap; }
.frame-info .price del { display: none; }
.frame-info .price ins { text-decoration: none; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 0 16px; }
.step-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.step-top .n { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; flex: none; }
.step-top .line { flex: 1; height: 2px; background: var(--line-3); }
.step .t { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.step .s { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Box CTA ---------- */
.cta-box { background: var(--tint); border: 1px solid #E0EAFC; border-radius: 26px; padding: 48px; display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: center; }
.cta-box h2 { font-size: 36px; margin: 18px 0 14px; line-height: 1.2; }
.cta-box p { font-size: 16.5px; color: var(--text-2); margin: 0 0 28px; max-width: 460px; }
.box-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.box-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.box-step .ico-box { width: 40px; height: 40px; border-radius: 11px; background: var(--tint-a); margin-bottom: 12px; }
.box-step .t { font-weight: 800; font-size: 14px; }
.box-step .s { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- WhatsApp CTA ---------- */
.cta-wa { background: var(--ink); border-radius: 24px; padding: 42px 48px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.wa-text { display: flex; align-items: center; gap: 20px; }
.wa-ico { width: 62px; height: 62px; border-radius: 18px; background: var(--wa); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cta-wa h2 { font-size: 26px; margin: 0 0 6px; }
.cta-wa p { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin: 0; }

/* ---------- Shop archive ---------- */
.wc-main { padding-top: 22px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink); font-weight: 700; margin: 0 0 18px; }
.crumbs a { color: var(--muted); font-weight: 400; }
.crumbs .sep { color: var(--muted); }
.shop-banner { background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%); border-radius: 24px; padding: 38px 42px; color: #fff; position: relative; overflow: hidden; margin-bottom: 26px; }
.shop-banner::before { content: ""; position: absolute; inset-inline-end: -70px; top: -90px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%); }
.shop-banner-in { position: relative; }
.shop-banner .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .06em; opacity: .85; }
.shop-banner h1 { font-size: 38px; margin: 10px 0 8px; letter-spacing: -0.02em; }
.shop-banner p { font-size: 15px; color: rgba(255, 255, 255, 0.82); margin: 0; }
.shop-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 26px; align-items: start; }
.filters-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-card); }
.filters-box summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: default; margin-bottom: 20px; }
.filters-box summary::-webkit-details-marker { display: none; }
.filters-title { font-weight: 900; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.filters-reset { font-size: 12.5px; font-weight: 800; }
.filters-label { font-weight: 800; font-size: 13.5px; margin-bottom: 12px; }
.filter-cats { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fcat { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 13.5px; font-weight: 600; }
.fcat .box { width: 19px; height: 19px; border-radius: 6px; border: 1.5px solid #D3DCEC; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.fcat .box .ico { opacity: 0; }
.fcat .n, .filter-subcats .n { margin-inline-start: auto; font-size: 12px; color: var(--faint); }
.fcat.is-on { color: var(--ink); font-weight: 800; }
.fcat.is-on .box { background: var(--blue); border-color: var(--blue); }
.fcat.is-on .box .ico { opacity: 1; }
.filter-subcats { list-style: none; margin: 8px 0 2px; padding: 0; padding-inline-start: 29px; display: flex; flex-direction: column; gap: 6px; }
.filter-subcats a { display: flex; font-size: 13px; color: var(--muted); }
.filter-subcats a.is-on { color: var(--blue); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { font-size: 12.5px; font-weight: 800; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line-3); background: #fff; color: var(--text-3); line-height: 1.5; }
.chip-pill { border-radius: 999px; border-width: 1.5px; padding: 6px 13px; }
.chip-tag { font-weight: 700; background: var(--soft); border-width: 1px; }
.chip.is-on { border-color: var(--blue); background: var(--pill); color: var(--blue); }
.chip.is-on-solid { border-color: var(--blue); background: var(--blue); color: #fff; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1.5px solid var(--line-3); border-radius: 14px; padding: 14px; margin-top: 10px; }
.toggle .t { display: block; font-weight: 800; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.toggle .s { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.toggle .track { width: 40px; height: 23px; border-radius: 999px; background: #D3DCEC; position: relative; flex: none; transition: background .2s; }
.toggle .knob { position: absolute; top: 3px; inset-inline-start: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(10, 19, 48, 0.25); transition: inset-inline-start .2s; }
.toggle.is-on { background: #F0F5FF; border-color: var(--blue); }
.toggle.is-on .track { background: var(--blue); }
.toggle.is-on .knob { inset-inline-start: 20px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--soft); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 18px; margin-bottom: 20px; }
.shop-toolbar .count { font-size: 13.5px; color: var(--text-2); font-weight: 700; }
.sorts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sorts-label { font-size: 13px; color: var(--muted); font-weight: 700; }
.sorts-list { display: flex; gap: 6px; flex-wrap: wrap; }
.empty-box { text-align: center; padding: 60px 20px; background: var(--soft); border: 1px solid var(--line-2); border-radius: 20px; }
.empty-title { font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.empty-box p { font-size: 14px; color: var(--muted); margin: 0 0 18px; }

.woocommerce-pagination, .navigation.pagination { margin-top: 34px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul, .navigation.pagination .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span, .navigation.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-3); background: #fff; color: var(--text-3); font-family: var(--num); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.woocommerce nav.woocommerce-pagination ul li span.current, .navigation.pagination .page-numbers.current { border-color: var(--blue); background: var(--blue); color: #fff; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--pill); color: var(--blue); }
.woocommerce nav.woocommerce-pagination ul li a.next, .woocommerce nav.woocommerce-pagination ul li a.prev { color: var(--blue); }

/* ---------- Single product ---------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 42px; align-items: start; position: relative; }
.single-product div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; width: auto !important; float: none !important; margin: 0 !important; position: relative; }
.single-product div.product > .summary { grid-column: 2; grid-row: 1; width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product > .p-badge { grid-column: 1; grid-row: 1; z-index: 5; justify-self: start; align-self: start; margin: 16px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; pointer-events: none; }
.single-product div.product > .p-badge-dark { background: var(--ink); }
.single-product div.product > .woocommerce-tabs, .single-product div.product > .related, .single-product div.product > .upsells { grid-column: 1 / -1; min-width: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child, .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { border-radius: 22px; overflow: hidden; background: var(--tint-b); border: 1px solid var(--line); }
.woocommerce-product-gallery img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery:has(.flex-control-thumbs) { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; align-items: start; }
.single-product div.product > .woocommerce-product-gallery:has(.flex-control-thumbs) ~ .p-badge, .single-product div.product:has(.flex-control-thumbs) > .p-badge { margin-inline-start: 112px; }
.woocommerce-product-gallery:has(.flex-control-thumbs) .flex-viewport { grid-column: 2; grid-row: 1; }
.woocommerce div.product div.images .flex-control-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 100%; float: none; margin: 0; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 13px; border: 2px solid var(--line); opacity: 1; background: var(--tint-b); cursor: pointer; aspect-ratio: 1 / 1; object-fit: cover; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { border-color: var(--blue); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { right: auto; left: 14px; top: 14px; z-index: 6; }
.p-eyebrow { font-size: 12px; font-weight: 800; color: var(--muted-2); letter-spacing: .05em; margin-bottom: 9px; }
.p-eyebrow a { color: inherit; }
.p-eyebrow a:hover { color: var(--blue); }
.woocommerce div.product .product_title { font-size: 30px; line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 14px; }
.woocommerce div.product .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; }
.woocommerce .star-rating { float: none; color: #F5A623; margin: 0; }
.woocommerce .woocommerce-review-link { color: var(--text-2); }
.p-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 22px; font-weight: 900; font-size: 34px; color: var(--blue); letter-spacing: -0.02em; line-height: 1.3; }
.p-price ins { order: 1; text-decoration: none; }
.p-price del { order: 2; font-size: 17px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.p-price .save { order: 3; background: #FFE9EE; color: var(--red); font-family: var(--font); font-size: 12.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; letter-spacing: 0; align-self: center; }
.woocommerce-product-details__short-description { color: var(--text-2); font-size: 14.5px; margin-bottom: 20px; }

.woocommerce div.product form.cart { margin: 0 0 22px; }
.woocommerce div.product form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.woocommerce div.product form.cart table.variations { margin: 0 0 6px; border: 0; width: 100%; display: block; }
.woocommerce div.product form.cart table.variations tbody, .woocommerce div.product form.cart table.variations tr, .woocommerce div.product form.cart table.variations th, .woocommerce div.product form.cart table.variations td { display: block; padding: 0; text-align: start; line-height: 1.7; }
.woocommerce div.product form.cart table.variations tr { margin-bottom: 18px; }
.woocommerce div.product form.cart table.variations th.label label { font-weight: 800; font-size: 13.5px; margin-bottom: 9px; display: block; }
.woocommerce div.product form.cart table.variations select { min-width: 220px; max-width: 100%; padding: 11px 14px; border: 1.5px solid var(--line-3); border-radius: 12px; background: #fff; font-weight: 700; }
.woocommerce div.product form.cart table.variations select.is-chipped { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-width: 0; padding: 0; }
.woocommerce div.product form.cart .reset_variations { font-size: 12.5px; font-weight: 800; margin-top: 8px; display: inline-block; }
.var-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.var-chip { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-3); background: #fff; font-size: 13px; font-weight: 800; color: var(--text-3); line-height: 1.5; }
.var-chip .dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(10, 19, 48, 0.14); }
.var-chip.is-on { border-color: var(--blue); background: var(--pill); color: var(--blue); }
.var-chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.woocommerce-variation-price { margin-bottom: 14px; font-weight: 900; font-size: 20px; color: var(--blue); }
.woocommerce-variation-price del { font-size: 14px; font-weight: 500; color: var(--faint); }
.woocommerce-variation-price ins { text-decoration: none; }
.woocommerce div.product .stock { font-size: 13px; font-weight: 800; color: #15803D; margin: 0 0 12px; }
.woocommerce div.product .out-of-stock { color: var(--red); }

.custom-box { flex: 0 0 100%; background: var(--tint-b); border: 1px solid #DEE8FA; border-radius: 18px; padding: 20px; margin-bottom: 10px; }
.custom-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.custom-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.custom-head .t { font-weight: 900; font-size: 15px; line-height: 1.5; }
.custom-head .s { font-size: 12px; color: var(--muted); font-weight: 600; }
.custom-box > label, .custom-label { display: block; font-size: 12.5px; font-weight: 800; color: var(--text-3); margin-bottom: 7px; }
.custom-box input[type="text"] { width: 100%; padding: 12px 15px; border-radius: 12px; border: 1.5px solid #D9E3F5; background: #fff; font-size: 14.5px; font-weight: 700; margin-bottom: 16px; outline: 0; }
.custom-box input[type="text"]:focus { border-color: var(--blue); }
.font-opts { display: flex; gap: 8px; margin-bottom: 18px; }
.font-opt { flex: 1; cursor: pointer; position: relative; }
.font-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.font-opt span { display: block; text-align: center; padding: 10px 8px; border-radius: 12px; border: 1.5px solid var(--line-3); background: #fff; font-size: 13px; font-weight: 800; color: var(--text-3); }
.font-opt input:checked + span { border-color: var(--blue); background: var(--pill); color: var(--blue); }
.font-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.custom-preview { background: #fff; border: 1px dashed #C4D4F0; border-radius: 14px; padding: 20px; text-align: center; }
.custom-preview .k { font-size: 11.5px; font-weight: 800; color: var(--muted-2); margin-bottom: 8px; }
.custom-preview .v { font-size: 26px; font-weight: 900; color: var(--blue); min-height: 40px; line-height: 1.5; overflow-wrap: anywhere; }
.custom-preview .v.font-classic { font-family: 'Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', Georgia, 'Times New Roman', serif; font-weight: 700; }
.custom-preview .v.font-hand { font-family: 'Aref Ruqaa', 'Segoe Script', 'Brush Script MT', 'Comic Sans MS', cursive; font-weight: 700; font-style: italic; }
.custom-upload { display: flex !important; align-items: center; justify-content: center; gap: 9px; margin: 14px 0 6px !important; padding: 16px; border: 1.5px dashed #9DB7EA; border-radius: 14px; background: #fff; color: var(--blue) !important; font-size: 13.5px !important; cursor: pointer; position: relative; text-align: center; }
.custom-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.custom-upload.has-file { border-style: solid; background: var(--pill); }
.custom-hint { font-size: 12px; color: var(--muted); }

.woocommerce div.product form.cart div.quantity, .woocommerce .quantity { float: none; margin: 0; display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--line-3); border-radius: 14px; padding: 4px; flex: none; background: #fff; }
.woocommerce .quantity .qty { width: 46px; border: 0; background: transparent; text-align: center; font-family: var(--num); font-weight: 900; font-size: 16px; padding: 0; height: 42px; -moz-appearance: textfield; appearance: textfield; outline: 0; }
.woocommerce .quantity .qty::-webkit-outer-spin-button, .woocommerce .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 36px; height: 42px; border: 0; background: none; cursor: pointer; font-size: 20px; font-weight: 800; color: var(--blue); border-radius: 10px; line-height: 1; }
.qty-btn:hover { background: var(--pill); }
.woocommerce div.product form.cart .single_add_to_cart_button { float: none; flex: 1 1 200px; background: var(--blue); color: #fff; border: 0; padding: 15px; border-radius: 14px; font-weight: 900; font-size: 15.5px; cursor: pointer; box-shadow: 0 10px 26px rgba(7, 86, 217, 0.28); line-height: 1.5; opacity: 1; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--blue-d); }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.buy-now { flex: 0 0 100%; background: #fff; color: var(--blue); border: 1.5px solid var(--blue); padding: 13px; border-radius: 14px; font-weight: 900; font-size: 15px; cursor: pointer; line-height: 1.5; transition: background .2s; }
.buy-now:hover { background: var(--pill); }
.buy-now:disabled { opacity: .5; cursor: not-allowed; }
.assurances { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.assurances > div { display: flex; align-items: center; gap: 10px; background: var(--soft); border: 1px solid var(--line-2); border-radius: 13px; padding: 13px; font-size: 12.5px; font-weight: 700; color: var(--text-3); line-height: 1.4; }
.assurances .ico { color: var(--blue); }
.woocommerce div.product .product_meta { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.product_meta a { color: var(--text-3); font-weight: 700; }

.woocommerce div.product .woocommerce-tabs { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 32px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1px solid var(--line-3); background: #fff; border-radius: 12px; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 11px 22px; font-size: 14px; font-weight: 800; color: var(--text-3); display: block; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--blue); border-color: var(--blue); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; margin: 0; padding: 0; font-size: 14.5px; color: var(--text-3); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 19px; color: var(--ink); margin: 0 0 12px; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { position: relative; padding: 11px 0; padding-inline-start: 17px; border-bottom: 1px solid #F1F4FA; line-height: 1.65; }
.dot-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid #F1F4FA; padding: 11px 0; font-style: normal; background: none !important; text-align: start; }
.woocommerce table.shop_attributes th { width: 160px; font-weight: 800; color: var(--ink); }
.woocommerce table.shop_attributes td p { padding: 0; }
.related, .upsells { margin-top: 26px; }
.related > h2, .upsells > h2 { font-size: 24px; margin: 0 0 20px; letter-spacing: -0.02em; }

/* ---------- WooCommerce: shared UI ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .wc-block-components-button:not(.is-link), .wp-block-button__link, .wp-element-button { background: var(--blue); color: #fff; border: 0; border-radius: 12px; font-weight: 800; font-size: 14.5px; padding: 12px 24px; line-height: 1.5; font-family: var(--font); }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .wc-block-components-button:not(.is-link):hover, .wp-block-button__link:hover { background: var(--blue-d); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--blue); color: #fff; opacity: .5; padding: 12px 24px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { border: 1px solid var(--line-2); border-top: 0; border-inline-start: 4px solid var(--blue); background: var(--soft); border-radius: 14px; color: var(--ink); font-size: 14px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 14px 18px; padding-inline-start: 48px; margin: 0 0 22px; list-style: none; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { inset-inline-start: 16px; left: auto; right: auto; top: 14px; color: var(--blue); }
.woocommerce-error { border-inline-start-color: var(--red); }
.woocommerce-error::before { color: var(--red); }
.woocommerce-message .button, .woocommerce-info .button { float: inline-end; padding: 7px 16px; font-size: 13px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single, .entry input[type="text"], .entry input[type="email"], .entry input[type="tel"], .entry input[type="password"], .entry textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { border: 1.5px solid var(--line-3); border-radius: 12px; padding: 11px 14px; background: #fff; font-size: 14.5px; outline: 0; width: 100%; }
.select2-container--default .select2-selection--single { height: 46px; padding: 8px 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .entry input:focus, .entry textarea:focus { border-color: var(--blue); }
.woocommerce form .form-row label { font-weight: 800; font-size: 13px; color: var(--text-3); }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; border-collapse: separate; }
.woocommerce table.shop_table th { font-weight: 800; background: var(--soft); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line-2); padding: 14px 16px; text-align: start; }
.woocommerce table.shop_table td.product-name a { color: var(--ink); font-weight: 800; }
.woocommerce table.cart img { width: 64px; border-radius: 10px; }
.woocommerce a.remove { color: var(--red) !important; }
.woocommerce a.remove:hover { background: var(--red); color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3, .woocommerce-account h2, .woocommerce-account h3 { font-size: 20px; }
.woocommerce #payment, .woocommerce-checkout #payment { background: var(--soft); border: 1px solid var(--line-2); border-radius: 16px; }
.woocommerce #payment div.payment_box { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; }
.woocommerce #payment div.payment_box::before { display: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text-3); font-weight: 800; font-size: 14px; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--pill); border-color: #CFE0FF; color: var(--blue); }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon { border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
dl.variation { font-size: 12.5px; color: var(--text-2); margin: 6px 0 0; }
dl.variation dt { font-weight: 800; float: inline-start; clear: both; margin-inline-end: 6px; }
dl.variation dd { margin: 0; }
dl.variation dd p { margin: 0; }
/* Cart + checkout blocks */
.wc-block-components-product-name { color: var(--ink); font-weight: 800; }
.wc-block-cart-items .wc-block-cart-items__row img, .wc-block-components-order-summary-item__image img { border-radius: 10px; }
.wc-block-components-totals-item__value, .wc-block-components-product-price, .wc-block-formatted-money-amount { font-family: var(--num); }
.wc-block-components-text-input input, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea { border-radius: 12px !important; font-family: var(--font); }
.wc-block-cart, .wc-block-checkout { font-family: var(--font); }
.wc-block-components-quantity-selector { border-radius: 12px; }

/* ---------- Pages / posts ---------- */
.page-wrap { padding-top: 34px; }
.page-wrap.narrow { max-width: 860px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: 34px; margin: 0; letter-spacing: -0.02em; }
.entry { font-size: 15.5px; color: var(--text-3); }
.entry h2 { font-size: 24px; color: var(--ink); margin-top: 1.4em; }
.entry h3 { font-size: 19px; color: var(--ink); margin-top: 1.3em; }
.entry ul, .entry ol { padding-inline-start: 22px; }
.entry img { border-radius: 14px; }
.entry table { width: 100%; border-collapse: collapse; }
.entry > .alignwide { margin-inline: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); }
.post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 18px; }
.post-body h2 { font-size: 17px; margin: 4px 0 8px; }
.post-body h2 a { color: var(--ink); }
.post-body p { font-size: 13.5px; color: var(--muted); margin: 0; }
.post-date { font-size: 12px; color: var(--muted-2); font-weight: 700; }
.post-hero { border-radius: 20px; overflow: hidden; margin-bottom: 26px; }
.post-hero img { display: block; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; margin-top: 80px; padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.foot-grid > div:only-child, .foot-brand { min-width: 0; }
.foot-brand img { height: 34px; width: auto; margin-bottom: 14px; display: block; }
.foot-tagline { font-size: 15px; font-weight: 800; color: #6FA0FF; margin-bottom: 12px; }
.site-footer p { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.75; margin: 0 0 18px; max-width: 300px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, 0.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.foot-social a:hover { background: rgba(255, 255, 255, 0.16); }
.foot-title { font-weight: 800; font-size: 14.5px; margin-bottom: 16px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-links a, .foot-widget a { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); }
.foot-links a:hover, .foot-widget a:hover { color: #fff; }
.foot-extra { grid-column: -2 / -1; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 20px 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.copy { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chips span { background: rgba(255, 255, 255, 0.08); border-radius: 7px; padding: 5px 11px; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.72); }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.header-in { flex-wrap: wrap; gap: 12px 14px; padding-block: 12px; }
	.menu-btn { display: inline-flex; margin-inline-start: -8px; }
	.brand, .custom-logo-link { margin-inline-end: auto; }
	.search { order: 5; flex: 0 0 100%; }
	.search input[type="search"] { padding: 11px 0; }

	.site-nav { position: fixed; inset-block: 0; inset-inline-start: 0; width: min(340px, 88vw); z-index: 120; border: 0; overflow-y: auto; transform: translateX(105%); transition: transform .26s cubic-bezier(.22, 1, .36, 1); box-shadow: 0 0 60px rgba(10, 19, 48, 0.25); visibility: hidden; }
	.site-nav.is-open { transform: translateX(0); visibility: visible; }
	.nav-backdrop { position: fixed; inset: 0; background: rgba(6, 18, 41, 0.5); z-index: 110; }
	.nav-in { padding: 0 0 30px; }
	.nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); font-weight: 900; font-size: 16px; position: sticky; top: 0; background: #fff; z-index: 2; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 10px; }
	.megawrap { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #F1F4FA; }
	.navitem { flex: 1; padding: 14px 10px; font-size: 15px; white-space: normal; }
	.navitem .ico { display: none; }
	.sub-toggle { display: inline-flex; padding: 12px; color: var(--muted); transition: transform .2s; }
	.megawrap.is-open > .sub-toggle { transform: rotate(180deg); color: var(--blue); }
	.mega { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; border-radius: 0; padding: 0 10px 14px; flex: 0 0 100%; display: none; transition: none; }
	.megawrap.is-open > .mega { display: block; }
	.mega-eyebrow { margin-bottom: 10px; }
	.mega-links { grid-template-columns: 1fr 1fr; gap: 10px 14px; }

	.hero-in { grid-template-columns: 1fr; gap: 30px; padding-block: 40px 44px; }
	.hero h1 { font-size: 44px; }
	.hero-stat { inset-inline-start: 12px; }
	.features { grid-template-columns: repeat(2, 1fr); }
	.trust { grid-template-columns: repeat(3, 1fr); }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	ul.products, ul.products.cols-4, ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cta-custom, .cta-box { grid-template-columns: 1fr; padding: 36px; }
	.frames { grid-template-columns: 1fr 1fr; }
	.frame-hero { grid-column: 1 / -1; grid-row: auto; flex-direction: row; align-items: center; }
	.frame-stage { flex: 0 0 40%; }
	.process { grid-template-columns: 1fr 1fr; gap: 26px 0; }
	.shop-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.sorts, .sorts-list { min-width: 0; max-width: 100%; }
	.filters-box summary { cursor: pointer; margin-bottom: 0; }
	.filters-box[open] summary { margin-bottom: 20px; }
	.filters-box:not([open]) { padding: 14px 18px; }
	.single-product div.product { grid-template-columns: 1fr; gap: 26px; }
	.single-product div.product > .summary { grid-column: 1; grid-row: 2; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-brand, .foot-extra { grid-column: 1 / -1; }
	.post-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	:root { --gutter: 16px; }
	.admin-bar .site-header { top: 0; }
	.topbar-in { justify-content: center; }
	.tb-start, .tb-social { display: none; }
	.brand img { height: 30px; }
	.brand-name { font-size: 17px; }
	.header-actions { gap: 6px; }
	.hact span, .cart-label { display: none; }
	.hact { padding: 9px; }
	.cart-btn { padding: 10px 12px; gap: 7px; }

	.sec { padding-top: 48px; }
	.sec-features { padding-top: 24px; }
	.sec-head { margin-bottom: 18px; align-items: center; }
	.sec-head h2, .center-title { font-size: 24px; }
	.sec-head p, .center-sub { font-size: 13.5px; }
	.center-sub { margin-bottom: 24px; }
	.sec-link { font-size: 13px; }

	.hero-in { padding-block: 30px 34px; gap: 24px; }
	.hero h1 { font-size: 36px; margin: 16px 0 12px; }
	.hero-text p { font-size: 16px; margin-bottom: 22px; }
	.hero-cta .btn { flex: 1; padding-inline: 16px; }
	.hero-media { grid-template-rows: 120px 120px; gap: 10px; }
	.hero-stat { padding: 9px 12px; bottom: 12px; }

	.features { gap: 10px; }
	.feature { padding: 12px; gap: 10px; font-size: 12.5px; line-height: 1.5; border-radius: 14px; }
	.feature .ico-box { width: 36px; height: 36px; border-radius: 10px; }
	.feature .ico-box .ico { width: 18px; height: 18px; }
	.trust { grid-template-columns: 1fr 1fr; gap: 10px; }
	.trust-item { padding: 18px 12px; font-size: 13px; }
	.trust-item:last-child { grid-column: 1 / -1; }

	.cat-grid { gap: 12px; }
	.cat-body { padding: 14px; }
	.cat-body .t { font-size: 15px; }
	.cat-body .d { display: none; }
	.cat-body .go { font-size: 12.5px; }
	.banners { grid-template-columns: 1fr; gap: 12px; }
	.banner { padding: 28px 24px; min-height: 200px; }
	.banner h3 { font-size: 23px; }
	.banner-text { max-width: 78%; }

	ul.products, ul.products.cols-4, ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.pcard-body { padding: 12px; }
	.pcard-title { font-size: 13.5px; min-height: 39px; margin-bottom: 8px; }
	.pcard-price { font-size: 16px; margin-bottom: 12px; }
	.pcard-price del { font-size: 12px; }
	.pbtn { font-size: 13px; padding: 10px 8px; }
	.pbtn .ico { display: none; }
	.badge { top: 9px; inset-inline-start: 9px; font-size: 10.5px; padding: 4px 9px; }
	.chip-custom { bottom: 9px; inset-inline-start: 9px; font-size: 10.5px; padding: 5px 9px; }
	ul.products.scroller { margin-inline: calc(var(--gutter) * -1) !important; padding-inline: var(--gutter); }
	ul.products.scroller li.product { flex-basis: 190px; }

	.cta-custom, .cta-box { padding: 28px 22px; border-radius: 22px; gap: 26px; }
	.cta-custom h2, .cta-box h2 { font-size: 28px; }
	.cta-custom p, .cta-box p { font-size: 15px; margin-bottom: 22px; }
	.cta-tiles, .box-steps { gap: 10px; }
	.box-step { padding: 14px; }
	.frames { grid-template-columns: 1fr 1fr; gap: 12px; }
	.frame-hero, .frames-solo .frame-hero { flex-direction: column; align-items: stretch; padding: 22px; }
	.frame-stage, .frames-solo .frame-stage { flex: none; }
	.frame-art { width: 62%; }
	.frame-thumb { padding: 18px; }
	.frame-info { flex-direction: column; align-items: flex-start; padding: 12px 14px; gap: 2px; }
	.frame-info .t { font-size: 13.5px; }
	.process { grid-template-columns: 1fr; gap: 18px; }
	.step { padding: 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
	.step-top { grid-row: span 2; margin: 0; align-self: start; }
	.step-top .line { display: none; }
	.cta-wa { padding: 28px 22px; }
	.cta-wa h2 { font-size: 21px; }
	.cta-wa .btn { width: 100%; }
	.wa-ico { width: 50px; height: 50px; border-radius: 14px; }

	.wc-main { padding-top: 16px; }
	.shop-banner { padding: 26px 22px; border-radius: 20px; margin-bottom: 16px; }
	.shop-banner h1 { font-size: 27px; }
	.shop-toolbar { padding: 12px 14px; }
	.sorts-label { display: none; }
	.sorts-list { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
	.sorts-list .chip { white-space: nowrap; }

	.woocommerce-product-gallery:has(.flex-control-thumbs) { grid-template-columns: 1fr; }
	.woocommerce-product-gallery:has(.flex-control-thumbs) .flex-viewport { grid-column: 1; grid-row: 1; }
	.woocommerce div.product div.images .flex-control-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; }
	.woocommerce div.product div.images .flex-control-thumbs li { width: 68px; }
	.single-product div.product:has(.flex-control-thumbs) > .p-badge { margin-inline-start: 16px; }
	.woocommerce div.product .product_title { font-size: 24px; }
	.p-price { font-size: 28px; padding-bottom: 18px; margin-bottom: 18px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 14px; font-size: 13px; }
	.custom-box { padding: 16px; }

	.page-head h1 { font-size: 26px; }
	.post-grid { grid-template-columns: 1fr; }
	.site-footer { margin-top: 56px; padding-top: 40px; }
	.foot-grid { gap: 28px 20px; padding-bottom: 30px; }
	.foot-bottom { flex-direction: column; align-items: flex-start; }
	.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

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

/* ---------- Comments ---------- */
.comments { margin-top: 44px; border-top: 1px solid var(--line-2); padding-top: 30px; max-width: 860px; }
.comments-title, .comment-reply-title { font-size: 20px; }
.comment-list { list-style: none; margin: 0 0 26px; padding: 0; }
.comment-list ol { list-style: none; padding-inline-start: 26px; }
.comment-body { background: var(--soft); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; margin-bottom: 12px; font-size: 14px; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-inline-end: 8px; }
.comment-metadata { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.comment-form label { display: block; font-weight: 800; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.comment-form .submit { background: var(--blue); color: #fff; border: 0; border-radius: 12px; font-weight: 800; padding: 12px 24px; cursor: pointer; }

/* ---------- Classic cart coupon ---------- */
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.woocommerce table.cart td.actions .coupon .input-text { width: 170px; float: none; margin: 0; border: 1.5px solid var(--line-3); border-radius: 12px; padding: 11px 14px; }
