:root {
    --sm-bg: #f7f5fb;
    --sm-surface: #ffffff;
    --sm-surface-soft: #f5f1ff;
    --sm-text: #171327;
    --sm-muted: #6f6a7d;
    --sm-border: #e9e4f3;
    --sm-primary: #6f35d8;
    --sm-primary-2: #8a3fe9;
    --sm-primary-dark: #5624b5;
    --sm-success: #0f9f6e;
    --sm-danger: #c73b52;
    --sm-radius: 18px;
    --sm-radius-lg: 26px;
    --sm-shadow: 0 14px 40px rgba(45, 28, 77, .09);
    --sm-shadow-soft: 0 8px 26px rgba(45, 28, 77, .06);
    --sm-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--sm-text);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--sm-primary); text-decoration: none; }
a:hover { color: var(--sm-primary-dark); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.025em; margin-top: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }
.screen-reader-text,
.sm-honeypot { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.sm-container { width: min(calc(100% - 40px), var(--sm-container)); margin-inline: auto; }
.sm-main { min-height: 60vh; }
.sm-section { padding: 88px 0; }
.sm-section-tight { padding-top: 72px; }
.sm-section-soft { background: var(--sm-bg); }
.sm-skip-link { position: fixed; left: 12px; top: -50px; z-index: 99999; background: #111; color: #fff; padding: 10px 14px; border-radius: 8px; }
.sm-skip-link:focus { top: 12px; }
.sm-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--sm-primary); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.sm-eyebrow::before { content:""; width: 24px; height: 2px; background: currentColor; border-radius: 999px; }

/* Header */
.sm-site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(233,228,243,.9); overflow: visible; }
.sm-header-inner { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.sm-brand-text { color: var(--sm-text); font-size: 1.42rem; font-weight: 850; letter-spacing: -.05em; }
.sm-brand-text span { color: var(--sm-primary); }
.sm-brand .custom-logo-link { display: flex; align-items: center; }
.sm-brand .custom-logo { max-height: 48px; width: auto; }
.sm-primary-nav { justify-self: center; }
.sm-nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sm-nav-list > li { position: relative; }
.sm-nav-list a { display: block; padding: 12px 13px; color: #40394f; font-size: .95rem; font-weight: 650; border-radius: 10px; }
.sm-nav-list a:hover, .sm-nav-list .current-menu-item > a, .sm-nav-list .current-menu-ancestor > a { color: var(--sm-primary); background: var(--sm-surface-soft); }
.sm-nav-list .sub-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 255px; list-style: none; margin: 0; padding: 10px; background:#fff; border:1px solid var(--sm-border); border-radius: 14px; box-shadow: var(--sm-shadow); }
.sm-nav-list li:hover > .sub-menu, .sm-nav-list li:focus-within > .sub-menu { display: block; }
.sm-nav-list .sub-menu a { padding: 10px 12px; }
.sm-header-actions { display: flex; align-items: center; gap: 8px; }
.sm-account-link, .sm-cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; color: var(--sm-text); background: #fff; border: 1px solid var(--sm-border); border-radius: 12px; font-size: .9rem; font-weight: 700; }
.sm-account-link:hover, .sm-cart-link:hover { color: var(--sm-primary); border-color: #d9cdf0; }
.sm-account-link svg, .sm-cart-icon svg { width: 20px; height: 20px; }
.sm-cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display:inline-grid; place-items:center; background: var(--sm-primary); color:#fff; font-size:.72rem; font-weight:800; }
.sm-menu-toggle { display:none; border:0; background: transparent; padding: 9px; }
.sm-menu-toggle-lines { display:grid; gap:4px; }
.sm-menu-toggle-lines i { display:block; width:24px; height:2px; background:var(--sm-text); border-radius:999px; }

/* Hero */
.sm-hero { overflow: hidden; background: radial-gradient(circle at 78% 15%, rgba(138,63,233,.12), transparent 30%), linear-gradient(180deg,#fff 0%,#fbf9ff 100%); padding: 86px 0 92px; }
.sm-hero-grid { display:grid; grid-template-columns: 1.02fr .98fr; align-items:center; gap:70px; }
.sm-hero-copy h1 { max-width: 760px; margin-bottom: 22px; }
.sm-hero-copy h1 span { color: var(--sm-primary); }
.sm-hero-copy > p { max-width: 690px; color: var(--sm-muted); font-size: 1.12rem; }
.sm-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.sm-btn { display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:48px; padding: 0 21px; border: 1px solid transparent; border-radius: 12px; cursor:pointer; font-weight:800; font-size:.95rem; transition:.2s ease; text-align:center; }
.sm-btn:hover { transform: translateY(-2px); }
.sm-btn-primary { color:#fff !important; background:linear-gradient(135deg,var(--sm-primary),var(--sm-primary-2)); box-shadow:0 10px 24px rgba(111,53,216,.22); }
.sm-btn-primary:hover { background:linear-gradient(135deg,var(--sm-primary-dark),#7631d2); box-shadow:0 14px 28px rgba(111,53,216,.28); }
.sm-btn-secondary { color:var(--sm-primary) !important; background:#fff; border-color:#dcd2ef; }
.sm-btn-secondary:hover { background:var(--sm-surface-soft); border-color:#cbbce8; }
.sm-btn-light { background:#fff; color:var(--sm-primary) !important; }
.sm-trust-row { display:flex; flex-wrap:wrap; gap:18px; margin-top:28px; color:#5c556b; font-size:.9rem; font-weight:650; }
.sm-hero-visual { position:relative; min-height:440px; }
.sm-dashboard-card { background:#fff; border:1px solid #eee8f7; border-radius:24px; box-shadow:0 30px 80px rgba(70,38,119,.15); }
.sm-dashboard-main { position:absolute; inset:40px 18px 20px 30px; transform:rotate(2.5deg); overflow:hidden; }
.sm-dashboard-top { height:44px; border-bottom:1px solid #eee8f7; display:flex; gap:6px; align-items:center; padding:0 16px; }
.sm-dashboard-top span { width:8px; height:8px; border-radius:99px; background:#d8cee9; }
.sm-dashboard-content { display:grid; grid-template-columns:74px 1fr; min-height:340px; }
.sm-mini-sidebar { background:#f7f3ff; border-right:1px solid #ece5f6; padding:26px 16px; display:grid; align-content:start; gap:15px; }
.sm-mini-sidebar i { height:8px; border-radius:999px; background:#cdbceb; }
.sm-mini-main { padding:30px; }
.sm-mini-title { width:48%; height:18px; border-radius:999px; background:#312645; margin-bottom:26px; }
.sm-mini-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.sm-mini-grid i { height:76px; border-radius:14px; background:linear-gradient(135deg,#f1eaff,#fff); border:1px solid #e7ddf5; }
.sm-mini-chart { height:110px; margin-top:20px; border-radius:14px; background:#faf8fd; border:1px solid #ece5f6; display:flex; align-items:flex-end; gap:12px; padding:18px; }
.sm-mini-chart b { flex:1; background:linear-gradient(180deg,var(--sm-primary-2),var(--sm-primary)); border-radius:8px 8px 3px 3px; }
.sm-mini-chart b:nth-child(1){height:35%}.sm-mini-chart b:nth-child(2){height:55%}.sm-mini-chart b:nth-child(3){height:45%}.sm-mini-chart b:nth-child(4){height:78%}.sm-mini-chart b:nth-child(5){height:65%}
.sm-float-card { position:absolute; z-index:2; display:grid; gap:2px; padding:14px 16px; background:#fff; border:1px solid #ece5f6; border-radius:15px; box-shadow:var(--sm-shadow); }
.sm-float-card strong { color:var(--sm-primary); font-size:.85rem; }
.sm-float-card span { color:#625a72; font-size:.78rem; }
.sm-float-card-a { left:-8px; top:16px; }
.sm-float-card-b { right:-14px; top:110px; }
.sm-float-card-c { left:10px; bottom:-4px; }

/* Sections */
.sm-section-heading { margin-bottom:34px; }
.sm-section-heading h2 { margin-bottom:12px; }
.sm-section-heading p { color:var(--sm-muted); max-width:720px; margin-bottom:0; }
.sm-section-heading-center { text-align:center; max-width:800px; margin-inline:auto; margin-bottom:42px; }
.sm-section-heading-center .sm-eyebrow { justify-content:center; }
.sm-section-heading-center p { margin-inline:auto; }
.sm-section-heading-split { display:flex; align-items:end; justify-content:space-between; gap:30px; }
.sm-section-heading-split > div { max-width:760px; }
.sm-solution-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.sm-solution-card { display:block; padding:26px; color:inherit; background:#fff; border:1px solid var(--sm-border); border-radius:var(--sm-radius); box-shadow:var(--sm-shadow-soft); transition:.22s ease; }
.sm-solution-card:hover { color:inherit; transform:translateY(-5px); border-color:#d7c7ef; box-shadow:var(--sm-shadow); }
.sm-solution-card h3 { margin:20px 0 10px; }
.sm-solution-card p { color:var(--sm-muted); font-size:.94rem; min-height:76px; }
.sm-icon-box { width:52px; height:52px; border-radius:14px; display:inline-grid; place-items:center; background:linear-gradient(135deg,#eee6ff,#fbf9ff); border:1px solid #e4d8f8; color:var(--sm-primary); font-size:.85rem; font-weight:900; letter-spacing:-.02em; }
.sm-text-link { font-weight:800; color:var(--sm-primary); }
.sm-home-products { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.sm-home-products .product { list-style:none; }
.sm-process-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.sm-process-copy p { color:var(--sm-muted); font-size:1.04rem; }
.sm-process-list { list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.sm-process-list li { display:grid; grid-template-columns:58px 1fr; gap:18px; padding:22px; background:#fff; border:1px solid var(--sm-border); border-radius:16px; }
.sm-process-list li > span { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; background:var(--sm-surface-soft); color:var(--sm-primary); font-weight:900; }
.sm-process-list h3 { margin:2px 0 5px; }
.sm-process-list p { margin:0; color:var(--sm-muted); }
.sm-cta-section { padding-top:20px; }
.sm-cta-card { display:flex; align-items:center; justify-content:space-between; gap:34px; padding:46px 52px; border-radius:28px; color:#fff; background:linear-gradient(135deg,#4c1f9c,#7d36db 65%,#9a54eb); box-shadow:0 20px 45px rgba(91,42,172,.2); }
.sm-cta-card .sm-eyebrow { color:#efe5ff; }
.sm-cta-card h2 { max-width:700px; margin-bottom:10px; }
.sm-cta-card p { color:#eee5fb; margin:0; }

/* Inner pages */
.sm-inner-hero { background:radial-gradient(circle at 82% 10%,rgba(138,63,233,.13),transparent 30%),linear-gradient(180deg,#fff,#faf8ff); padding:70px 0; border-bottom:1px solid #f0ebf7; }
.sm-inner-hero-small { padding:62px 0; }
.sm-inner-hero .sm-container > p, .sm-inner-hero-grid p { max-width:780px; color:var(--sm-muted); font-size:1.08rem; }
.sm-inner-hero h1 { font-size:clamp(2.25rem,4vw,4rem); margin-bottom:18px; }
.sm-inner-hero-grid { display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:50px; }
.sm-ai-orbit { position:relative; width:300px; height:300px; margin-left:auto; border-radius:50%; border:1px dashed #cdbceb; display:grid; place-items:center; }
.sm-ai-orbit::before { content:""; position:absolute; inset:50px; border-radius:50%; background:linear-gradient(135deg,#6f35d8,#8a3fe9); box-shadow:0 20px 45px rgba(111,53,216,.28); }
.sm-ai-orbit strong { position:relative; z-index:2; color:#fff; font-size:2rem; }
.sm-ai-orbit span { position:absolute; width:58px; height:58px; border-radius:16px; display:grid; place-items:center; background:#fff; border:1px solid var(--sm-border); box-shadow:var(--sm-shadow-soft); color:var(--sm-primary); font-size:.75rem; font-weight:900; }
.sm-ai-orbit span:nth-child(1){top:5px;left:120px}.sm-ai-orbit span:nth-child(2){top:116px;right:-12px}.sm-ai-orbit span:nth-child(3){bottom:2px;left:120px}.sm-ai-orbit span:nth-child(4){top:116px;left:-12px}
.sm-tool-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.sm-tool-card { padding:30px; color:inherit; background:#fff; border:1px solid var(--sm-border); border-radius:20px; box-shadow:var(--sm-shadow-soft); transition:.2s ease; }
.sm-tool-card:hover { color:inherit; transform:translateY(-4px); border-color:#d5c6ee; box-shadow:var(--sm-shadow); }
.sm-tool-card h2 { font-size:1.5rem; margin:20px 0 10px; }
.sm-tool-card p { color:var(--sm-muted); }
.sm-price-grid { display:grid; grid-template-columns:repeat(2,minmax(0,420px)); justify-content:center; gap:24px; }
.sm-price-card { position:relative; padding:32px; border-radius:22px; background:#fff; border:1px solid var(--sm-border); box-shadow:var(--sm-shadow-soft); }
.sm-price-card > span:not(.sm-badge) { color:var(--sm-muted); font-size:.9rem; }
.sm-price-card h3 { margin:10px 0 6px; font-size:1.8rem; }
.sm-price-card strong { display:block; color:var(--sm-primary); font-size:2rem; margin-bottom:18px; }
.sm-price-card ul, .sm-package-card ul { list-style:none; padding:0; margin:0 0 24px; display:grid; gap:9px; color:#4e485d; }
.sm-price-card-featured { border:2px solid #bca4e8; box-shadow:0 20px 45px rgba(111,53,216,.12); }
.sm-badge { position:absolute; top:18px; right:18px; padding:6px 10px; border-radius:999px; background:var(--sm-primary); color:#fff; font-size:.72rem; font-weight:800; }
.sm-generator-section { background:#fff; }
.sm-generator-shell { padding:22px; background:#fff; border:1px solid var(--sm-border); border-radius:22px; box-shadow:var(--sm-shadow-soft); overflow:hidden; }
.sm-generator-info { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.sm-check-list { display:grid; gap:10px; }
.sm-check-list p { margin:0; padding:13px 16px; border-radius:12px; background:#fff; border:1px solid var(--sm-border); }
.sm-three-features { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.sm-three-features article { padding:26px; border-radius:18px; background:#fff; border:1px solid var(--sm-border); }
.sm-three-features h2 { font-size:1.3rem; margin:18px 0 8px; }
.sm-three-features p { color:var(--sm-muted); margin:0; }

/* Packages */
.sm-package-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.sm-package-card { position:relative; padding:30px; border-radius:20px; background:#fff; border:1px solid var(--sm-border); box-shadow:var(--sm-shadow-soft); }
.sm-package-card h2 { font-size:1.55rem; margin:12px 0 12px; }
.sm-package-card > p { color:var(--sm-muted); }
.sm-package-label { display:inline-flex; padding:6px 10px; border-radius:999px; background:var(--sm-surface-soft); color:var(--sm-primary); font-size:.78rem; font-weight:850; }
.sm-package-featured { border:2px solid #bda7e6; background:linear-gradient(180deg,#fff,#fbf8ff); }
.sm-table-wrap { overflow-x:auto; background:#fff; border:1px solid var(--sm-border); border-radius:18px; }
.sm-compare-table { width:100%; border-collapse:collapse; min-width:740px; }
.sm-compare-table th, .sm-compare-table td { padding:17px 18px; border-bottom:1px solid #eee9f6; text-align:center; }
.sm-compare-table th:first-child, .sm-compare-table td:first-child { text-align:left; }
.sm-compare-table thead th { background:#faf8fd; font-size:.86rem; }

/* FAQ */
.sm-faq-wrap { max-width:900px; }
.sm-faq { border:1px solid var(--sm-border); border-radius:15px; background:#fff; overflow:hidden; margin-bottom:12px; }
.sm-faq summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 22px; font-weight:800; }
.sm-faq summary::-webkit-details-marker { display:none; }
.sm-faq summary span { color:var(--sm-primary); font-size:1.4rem; }
.sm-faq[open] summary { background:#fbf9ff; }
.sm-faq[open] summary span { transform:rotate(45deg); }
.sm-faq > div { padding:0 22px 20px; color:var(--sm-muted); }
.sm-faq p { margin:0; }

/* Contact */
.sm-contact-grid { display:grid; grid-template-columns:.78fr 1.22fr; gap:42px; }
.sm-contact-info, .sm-contact-form-card { padding:30px; border:1px solid var(--sm-border); border-radius:20px; background:#fff; box-shadow:var(--sm-shadow-soft); }
.sm-contact-item { display:grid; gap:3px; padding:15px 0; border-bottom:1px solid #eee9f6; }
.sm-contact-item span { color:var(--sm-muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; font-weight:750; }
.sm-contact-note { margin-top:22px; padding:16px; border-radius:13px; background:var(--sm-surface-soft); color:#5b5369; }
.sm-contact-form { display:grid; gap:17px; }
.sm-field-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.sm-contact-form label { display:grid; gap:7px; font-size:.9rem; font-weight:750; }
.sm-contact-form input[type=text], .sm-contact-form input[type=email], .sm-contact-form select, .sm-contact-form textarea { width:100%; border:1px solid #dcd5e8; border-radius:11px; padding:12px 13px; background:#fff; color:var(--sm-text); outline:none; }
.sm-contact-form input:focus, .sm-contact-form select:focus, .sm-contact-form textarea:focus { border-color:#a787e0; box-shadow:0 0 0 3px rgba(111,53,216,.09); }
.sm-consent { grid-template-columns:auto 1fr !important; align-items:start; font-weight:500 !important; color:#625a71; }
.sm-consent input { margin-top:4px; }
.sm-notice { padding:14px 16px; border-radius:12px; margin-bottom:18px; font-weight:700; }
.sm-notice-success { background:#eafaf3; color:#0d7d58; border:1px solid #bdebd8; }
.sm-notice-error { background:#fff0f2; color:#a12d42; border:1px solid #f2c9d0; }

/* Generic pages / prose */
.sm-page-shell { padding:56px 0 88px; }
.sm-page-heading { margin-bottom:34px; }
.sm-page-heading-compact h1 { font-size:clamp(2.1rem,4vw,3.7rem); }
.sm-prose { max-width:920px; color:#332d3e; }
.sm-prose h2 { margin-top:42px; font-size:1.7rem; }
.sm-prose h3 { margin-top:30px; }
.sm-prose p, .sm-prose li { color:#514a5e; }
.sm-prose a { text-decoration:underline; text-underline-offset:3px; }
.sm-prose table { width:100%; border-collapse:collapse; overflow:hidden; border-radius:12px; }
.sm-prose td, .sm-prose th { border:1px solid var(--sm-border); padding:12px; }
.sm-breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:24px 0 10px; color:#8a8394; font-size:.84rem; }
.sm-breadcrumbs a { color:#6d6677; }
.sm-reading-width { max-width:880px; padding:54px 0 90px; }
.sm-article-heading h1 { font-size:clamp(2.2rem,4.3vw,4rem); }
.sm-post-meta { color:#8a8394; font-size:.88rem; }
.sm-single-thumb { margin:25px 0 34px; border-radius:20px; overflow:hidden; }
.sm-post-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.sm-post-card { overflow:hidden; border:1px solid var(--sm-border); border-radius:18px; background:#fff; }
.sm-post-thumb { display:block; aspect-ratio:16/10; overflow:hidden; background:#f6f3fb; }
.sm-post-thumb img { width:100%; height:100%; object-fit:cover; }
.sm-post-card-body { padding:22px; }
.sm-post-card h2 { font-size:1.25rem; }
.sm-post-card h2 a { color:var(--sm-text); }
.sm-post-card p { color:var(--sm-muted); }
.sm-empty-state { text-align:center; padding:110px 0; }
.sm-empty-state h1 { font-size:clamp(2rem,4vw,3rem); }

/* Legal */
.sm-legal-page .sm-page-shell { max-width:1000px; }
.sm-legal-page .sm-prose, .sm-legal-card { max-width:960px; padding:36px; background:#fff; border:1px solid var(--sm-border); border-radius:20px; box-shadow:var(--sm-shadow-soft); }
.sm-legal-page .sm-prose h2 { padding-top:8px; }
.sm-legal-facts { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:28px 0; }
.sm-legal-facts > div { display:grid; gap:3px; padding:16px; border:1px solid var(--sm-border); border-radius:12px; }
.sm-legal-facts span { color:var(--sm-muted); font-size:.8rem; text-transform:uppercase; font-weight:800; letter-spacing:.05em; }
.sm-legal-card { margin:60px 0 90px; }
.sm-legal-card h1 { font-size:3rem; }

/* WooCommerce global */
.sm-woo-main { padding-bottom:90px; }
.woocommerce .woocommerce-breadcrumb { display:none; }
.woocommerce-products-header { padding:28px 0 12px; }
.woocommerce-products-header__title.page-title { font-size:clamp(2rem,4vw,3.5rem); margin-bottom:12px; }
.term-description { max-width:800px; color:var(--sm-muted); }
.sm-shop-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:18px 0 24px; }
.woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count { float:none; margin:0; color:var(--sm-muted); }
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering { float:none; margin:0; }
.woocommerce .woocommerce-ordering select { border:1px solid #dcd5e8; border-radius:10px; padding:10px 34px 10px 12px; background:#fff; }

.woocommerce ul.products,
.woocommerce-page ul.products { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px !important; margin:0 !important; padding:0 !important; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display:none !important; content:none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.sm-home-products .product { float:none !important; clear:none !important; width:100% !important; max-width:100% !important; margin:0 !important; padding:15px 15px 18px !important; display:flex !important; flex-direction:column !important; min-width:0 !important; position:relative; background:#fff; border:1px solid var(--sm-border); border-radius:18px; box-shadow:var(--sm-shadow-soft); transition:.22s ease; overflow:hidden; }
.woocommerce ul.products li.product:hover,
.sm-home-products .product:hover { transform:translateY(-4px); border-color:#d7c8ed; box-shadow:var(--sm-shadow); }
.woocommerce ul.products li.product a img,
.sm-home-products .product a img { width:100% !important; height:240px !important; object-fit:contain !important; margin:0 0 16px !important; padding:12px; border-radius:13px; background:#f7f4fb; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.sm-home-products .product .woocommerce-loop-product__title { padding:0 !important; margin:0 0 9px !important; color:var(--sm-text); font-size:1.05rem !important; line-height:1.35; font-weight:800; }
.woocommerce ul.products li.product .price,
.sm-home-products .product .price { display:block; margin:auto 0 14px !important; color:var(--sm-primary) !important; font-size:1.2rem !important; font-weight:850 !important; }
.woocommerce ul.products li.product .price del { color:#9991a3 !important; font-size:.9rem; }
.woocommerce ul.products li.product .price ins { text-decoration:none; }
.woocommerce ul.products li.product .button,
.sm-home-products .product .button { width:100%; margin:0 !important; padding:12px 14px !important; text-align:center; border-radius:10px !important; background:linear-gradient(135deg,var(--sm-primary),var(--sm-primary-2)) !important; color:#fff !important; font-size:.9rem !important; font-weight:800 !important; box-shadow:none !important; }
.woocommerce ul.products li.product .button:hover { background:linear-gradient(135deg,var(--sm-primary-dark),#7430d1) !important; }
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale { min-height:0 !important; min-width:0 !important; line-height:1 !important; padding:7px 10px !important; top:24px !important; right:24px !important; left:auto !important; margin:0 !important; border-radius:999px !important; background:var(--sm-primary) !important; color:#fff !important; font-size:.72rem !important; font-weight:850 !important; }

/* Single product */
.single-product div.product { display:grid; grid-template-columns:1fr 1fr; gap:54px; padding-top:20px; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { float:none !important; width:auto !important; margin:0 !important; }
.single-product div.product .woocommerce-product-gallery { background:#f8f6fb; border:1px solid var(--sm-border); border-radius:20px; padding:18px; align-self:start; }
.single-product .product_title { font-size:clamp(2rem,3.5vw,3.1rem); margin-bottom:14px; }
.single-product div.product p.price { color:var(--sm-primary); font-size:1.7rem; font-weight:850; }
.single-product .woocommerce-product-details__short-description { color:var(--sm-muted); }
.single-product div.product form.cart { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:24px; }
.single-product div.product form.cart .quantity .qty { min-height:48px; width:72px; border:1px solid #dcd5e8; border-radius:10px; }
.single-product div.product form.cart .button { min-height:48px; padding:0 22px; border-radius:11px; background:linear-gradient(135deg,var(--sm-primary),var(--sm-primary-2)); color:#fff; font-weight:800; }
.single-product .product_meta { margin-top:22px; padding-top:18px; border-top:1px solid var(--sm-border); color:#817989; font-size:.86rem; }
.single-product .woocommerce-tabs { grid-column:1/-1; margin-top:20px; }
.single-product .woocommerce-tabs ul.tabs { display:flex; gap:8px; padding:0 !important; margin:0 0 18px !important; border:0 !important; }
.single-product .woocommerce-tabs ul.tabs::before { display:none !important; }
.single-product .woocommerce-tabs ul.tabs li { margin:0 !important; padding:0 !important; border:1px solid var(--sm-border) !important; background:#fff !important; border-radius:10px !important; }
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display:none !important; }
.single-product .woocommerce-tabs ul.tabs li a { padding:10px 14px !important; }
.single-product .woocommerce-Tabs-panel { padding:28px !important; border:1px solid var(--sm-border); border-radius:16px; }
.single-product section.related.products { grid-column:1/-1; margin-top:44px; }

/* Forms general */
.woocommerce form .form-row label { font-weight:750; color:#3c3547; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single { min-height:46px; border:1px solid #dcd5e8; border-radius:10px; background:#fff; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea { padding:11px 12px; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered { line-height:44px; padding-left:12px; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow { height:44px; }
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus { border-color:#a78ade; box-shadow:0 0 0 3px rgba(111,53,216,.08); outline:none; }
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit { border-radius:10px; font-weight:800; }
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt { background:linear-gradient(135deg,var(--sm-primary),var(--sm-primary-2)); color:#fff; }
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover { background:linear-gradient(135deg,var(--sm-primary-dark),#7631d2); }

/* Cart legacy */
.sm-cart-page .sm-main, .sm-checkout-page .sm-main, .sm-account-page .sm-main { background:var(--sm-bg); }
.sm-cart-page .sm-page-shell, .sm-checkout-page .sm-page-shell, .sm-account-page .sm-page-shell { max-width:1180px; }
.woocommerce-cart .woocommerce { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr); gap:28px; align-items:start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .cart-empty,
.woocommerce-cart .woocommerce > .return-to-shop,
.woocommerce-cart .woocommerce > .cross-sells { grid-column:1/-1; }
.woocommerce-cart form.woocommerce-cart-form { min-width:0; }
.woocommerce-cart table.shop_table { margin:0 !important; border:1px solid var(--sm-border) !important; border-radius:16px !important; background:#fff; border-collapse:separate !important; overflow:hidden; }
.woocommerce-cart table.shop_table th { padding:16px 14px !important; background:#faf8fd; font-size:.82rem; text-transform:uppercase; letter-spacing:.04em; }
.woocommerce-cart table.shop_table td { padding:16px 14px !important; border-top:1px solid #eee9f6 !important; }
.woocommerce-cart table.shop_table .product-thumbnail img { width:74px; border-radius:10px; background:#f5f2fa; }
.woocommerce-cart table.shop_table .product-name a { color:var(--sm-text); font-weight:800; }
.woocommerce-cart table.shop_table input.qty { border:1px solid #dcd5e8; border-radius:9px; min-height:40px; }
.woocommerce-cart .cart-collaterals { width:100% !important; }
.woocommerce-cart .cart-collaterals .cart_totals { float:none !important; width:100% !important; margin:0 !important; padding:24px; background:#fff; border:1px solid var(--sm-border); border-radius:16px; box-shadow:var(--sm-shadow-soft); }
.woocommerce-cart .cart_totals h2 { font-size:1.35rem; }
.woocommerce-cart .cart_totals table { border:0 !important; }
.woocommerce-cart .cart_totals td, .woocommerce-cart .cart_totals th { border-top:1px solid #eee9f6 !important; padding:14px 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout { padding-bottom:0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width:100%; margin:10px 0 0; padding:15px 18px; border-radius:11px; background:linear-gradient(135deg,var(--sm-primary),var(--sm-primary-2)); font-size:1rem; }
.woocommerce-cart .coupon { display:flex; gap:8px; }
.woocommerce-cart .coupon input.input-text { min-width:180px !important; border:1px solid #dcd5e8 !important; border-radius:9px; padding:9px 11px !important; }
.woocommerce-cart .cart-empty { text-align:center; padding:38px; background:#fff; border:1px solid var(--sm-border); border-radius:16px; font-size:1.1rem; }
.woocommerce-cart .return-to-shop { text-align:center; }

/* Checkout legacy */
.woocommerce-checkout form.checkout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr); gap:30px; align-items:start; }
.woocommerce-checkout #customer_details { float:none !important; width:auto !important; padding:26px; background:#fff; border:1px solid var(--sm-border); border-radius:18px; box-shadow:var(--sm-shadow-soft); }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { float:none !important; width:100% !important; }
.woocommerce-checkout h3 { font-size:1.35rem; }
.woocommerce-checkout #order_review_heading { display:none; }
.woocommerce-checkout #order_review { float:none !important; width:auto !important; margin:0 !important; padding:26px; background:#fff; border:1px solid var(--sm-border); border-radius:18px; box-shadow:var(--sm-shadow-soft); position:sticky; top:100px; }
.woocommerce-checkout-review-order-table { border:0 !important; margin-bottom:18px !important; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { padding:13px 0 !important; border-top:1px solid #eee9f6 !important; }
.woocommerce-checkout #payment { background:#f8f6fb !important; border-radius:14px !important; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom:1px solid var(--sm-border) !important; }
.woocommerce-checkout #payment div.form-row { padding:18px !important; }
.woocommerce-checkout #place_order { width:100%; min-height:52px; font-size:1rem; border-radius:11px; }
.sm-checkout-note { margin:0 0 15px; padding:14px 15px; border-radius:12px; background:#f3ecff; color:#51435e; font-size:.88rem; }
.woocommerce-terms-and-conditions-wrapper { color:#686071; font-size:.88rem; }
.woocommerce-error, .woocommerce-info, .woocommerce-message { border-top-color:var(--sm-primary) !important; background:#fff !important; border-radius:12px; box-shadow:var(--sm-shadow-soft); }
.woocommerce-info::before, .woocommerce-message::before { color:var(--sm-primary) !important; }

/* Woo Blocks cart/checkout */
.wc-block-cart,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { max-width:none !important; }
.wc-block-components-sidebar-layout { align-items:start !important; gap:26px; }
.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar { background:#fff; border:1px solid var(--sm-border); border-radius:18px; padding:24px !important; }
.wc-block-components-sidebar { box-shadow:var(--sm-shadow-soft); }
.wc-block-components-button:not(.is-link) { min-height:50px; border-radius:11px !important; background:linear-gradient(135deg,var(--sm-primary),var(--sm-primary-2)) !important; color:#fff !important; font-weight:800 !important; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input { border-radius:10px !important; }
.wc-block-cart-items { border:0 !important; }
.wc-block-cart-items .wc-block-cart-items__row { border-bottom:1px solid #eee9f6 !important; }

/* Account */
/*
 * A WooCommerce a .woocommerce-notices-wrapper elemet is kozvetlen gyermekkent
 * beszurja. Emiatt egy altalanos grid a navigaciot es a tartalmat el tudja tolni.
 * A vendeget es a belepett fiokot kulon rendezzuk.
 */
.woocommerce-account .woocommerce {
    display:block;
    width:100%;
    min-width:0;
}

/* Kijelentkezett allapot – belepes + regisztracio */
.sm-account-guest .woocommerce > .woocommerce-notices-wrapper {
    max-width:960px;
    margin:0 auto 18px;
}
.sm-account-guest #customer_login,
.sm-account-guest .woocommerce .u-columns.col2-set {
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:24px !important;
    width:min(100%, 960px) !important;
    max-width:960px !important;
    margin:0 auto !important;
}
.sm-account-guest #customer_login::before,
.sm-account-guest #customer_login::after,
.sm-account-guest .woocommerce .u-columns.col2-set::before,
.sm-account-guest .woocommerce .u-columns.col2-set::after {
    content:none !important;
    display:none !important;
}
.sm-account-guest #customer_login .u-column1,
.sm-account-guest #customer_login .u-column2,
.sm-account-guest .woocommerce .u-column1,
.sm-account-guest .woocommerce .u-column2 {
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    float:none !important;
    clear:none !important;
    margin:0 !important;
    padding:30px !important;
    background:#fff;
    border:1px solid var(--sm-border);
    border-radius:18px;
    box-shadow:var(--sm-shadow-soft);
}
.sm-account-guest #customer_login h2 {
    margin:0 0 22px;
    font-size:1.55rem;
    line-height:1.2;
}
.sm-account-guest form.login,
.sm-account-guest form.register {
    border:0 !important;
    padding:0 !important;
    margin:0 !important;
}
.sm-account-guest form.login p,
.sm-account-guest form.register p {
    margin:0 0 16px;
}
.sm-account-guest form.login label,
.sm-account-guest form.register label {
    display:block;
    margin:0 0 7px;
    color:var(--sm-text);
    font-weight:700;
    font-size:.92rem;
}
.sm-account-guest form.login .input-text,
.sm-account-guest form.register .input-text,
.sm-account-guest form.login input[type="text"],
.sm-account-guest form.login input[type="email"],
.sm-account-guest form.login input[type="password"],
.sm-account-guest form.register input[type="text"],
.sm-account-guest form.register input[type="email"],
.sm-account-guest form.register input[type="password"] {
    width:100% !important;
    max-width:none !important;
    min-height:48px;
    box-sizing:border-box;
    padding:11px 13px !important;
    border:1px solid #d9d2e4 !important;
    border-radius:10px !important;
    background:#fff !important;
    color:var(--sm-text) !important;
    font-size:1rem !important;
}
.sm-account-guest form.login .input-text:focus,
.sm-account-guest form.register .input-text:focus {
    border-color:var(--sm-primary) !important;
    box-shadow:0 0 0 3px rgba(111,47,232,.10) !important;
    outline:none !important;
}
.sm-account-guest .woocommerce-form-login__rememberme {
    display:flex !important;
    align-items:center;
    gap:8px;
    margin:2px 0 14px !important;
}
.sm-account-guest .woocommerce-form-login__rememberme input {
    width:17px;
    height:17px;
}
.sm-account-guest .woocommerce-button,
.sm-account-guest button.button {
    min-height:46px;
    padding:11px 20px !important;
    border:0 !important;
    border-radius:10px !important;
    background:linear-gradient(135deg,var(--sm-primary),var(--sm-primary-2)) !important;
    color:#fff !important;
    font-weight:800 !important;
}
.sm-account-guest .woocommerce-LostPassword {
    margin-top:13px !important;
}
.sm-account-guest .woocommerce-privacy-policy-text {
    color:#6e6678;
    font-size:.9rem;
    line-height:1.65;
}

/* Belepetett allapot – bal oldali fiokmenu + jobb oldali tartalom */
.sm-account-auth .woocommerce {
    display:grid !important;
    grid-template-columns:240px minmax(0, 1fr) !important;
    gap:24px !important;
    align-items:start !important;
}
.sm-account-auth .woocommerce > .woocommerce-notices-wrapper {
    grid-column:1 / -1 !important;
    width:100%;
    margin:0 !important;
}
.sm-account-auth .woocommerce-MyAccount-navigation {
    grid-column:1 !important;
    width:100% !important;
    max-width:none !important;
    float:none !important;
    margin:0 !important;
    padding:12px !important;
    background:#fff;
    border:1px solid var(--sm-border);
    border-radius:16px;
    box-shadow:var(--sm-shadow-soft);
    align-self:start;
    position:sticky;
    top:96px;
}
.sm-account-auth .woocommerce-MyAccount-navigation ul {
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap:3px;
}
.sm-account-auth .woocommerce-MyAccount-navigation li {
    margin:0;
    padding:0;
}
.sm-account-auth .woocommerce-MyAccount-navigation li a {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:10px 12px;
    border-radius:9px;
    color:#51495f;
    font-weight:700;
    line-height:1.25;
}
.sm-account-auth .woocommerce-MyAccount-navigation li.is-active a,
.sm-account-auth .woocommerce-MyAccount-navigation li a:hover {
    background:var(--sm-surface-soft);
    color:var(--sm-primary);
}
.sm-account-auth .woocommerce-MyAccount-content {
    grid-column:2 !important;
    min-width:0 !important;
    width:100% !important;
    max-width:none !important;
    float:none !important;
    margin:0 !important;
    padding:28px !important;
    background:#fff;
    border:1px solid var(--sm-border);
    border-radius:16px;
    box-shadow:var(--sm-shadow-soft);
}
.sm-account-auth .woocommerce-MyAccount-content > :first-child { margin-top:0; }
.sm-account-auth .woocommerce-MyAccount-content > :last-child { margin-bottom:0; }
.sm-account-auth .woocommerce-MyAccount-content p { line-height:1.65; }
.sm-account-auth .woocommerce-MyAccount-content table {
    width:100%;
    border-collapse:separate;
    border-spacing:0;
}
.sm-account-auth .woocommerce-MyAccount-content .button {
    border-radius:9px !important;
}

/* Footer */
.sm-site-footer { margin-top:0; background:#171221; color:#d7d0df; }
.sm-footer-grid { display:grid; grid-template-columns:1.35fr .9fr .85fr 1fr; gap:42px; padding:58px 0 42px; }
.sm-footer-logo { display:inline-block; color:#fff; margin-bottom:14px; }
.sm-footer-brand p { max-width:380px; color:#aaa1b5; }
.sm-footer-contact { display:flex; flex-direction:column; gap:4px; }
.sm-footer-contact a { color:#d8cfdf; }
.sm-site-footer h2 { margin:5px 0 14px; color:#fff; font-size:1rem; letter-spacing:0; }
.sm-site-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.sm-site-footer li a { color:#aea5b9; font-size:.9rem; }
.sm-site-footer li a:hover { color:#fff; }
.sm-footer-bottom { display:flex; justify-content:space-between; gap:30px; align-items:center; padding:22px 0 28px; border-top:1px solid rgba(255,255,255,.1); font-size:.84rem; color:#91889d; }
.sm-footer-bottom > div:first-child { display:flex; flex-wrap:wrap; gap:14px; }
.sm-payment-badges { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.sm-pay-pill { padding:5px 8px; border-radius:7px; background:#282131; color:#f0ebf5; border:1px solid rgba(255,255,255,.1); font-weight:800; font-size:.72rem; }

/* Pagination */
.sm-pagination { margin-top:32px; }
.nav-links { display:flex; flex-wrap:wrap; gap:7px; }
.page-numbers { min-width:38px; height:38px; padding:0 10px; display:grid; place-items:center; border:1px solid var(--sm-border); border-radius:9px; background:#fff; }
.page-numbers.current { background:var(--sm-primary); color:#fff; border-color:var(--sm-primary); }

/* Responsive */
@media (max-width: 1100px) {
    .sm-header-inner { grid-template-columns:auto 1fr auto; }
    .sm-menu-toggle { display:block; justify-self:end; position:relative; z-index:1402; }
    .sm-header-actions { justify-self:end; }
    .sm-account-link span, .sm-cart-text { display:none; }
    .sm-hero-grid { gap:35px; }
    .sm-solution-grid { grid-template-columns:repeat(2,1fr); }
    .sm-home-products, .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    .sm-footer-grid { grid-template-columns:1.3fr 1fr 1fr; }
    .sm-footer-grid > section:last-child { grid-column:2/4; }
}

@media (max-width: 860px) {
    .sm-section { padding:64px 0; }
    .sm-hero { padding:62px 0 70px; }
    .sm-hero-grid, .sm-inner-hero-grid, .sm-process-grid, .sm-generator-info, .sm-contact-grid { grid-template-columns:1fr; }
    .sm-hero-visual { min-height:380px; max-width:600px; width:100%; margin-inline:auto; }
    .sm-ai-orbit { margin:30px auto 0; }
    .sm-three-features { grid-template-columns:1fr; }
    .sm-post-grid { grid-template-columns:repeat(2,1fr); }
    .woocommerce-cart .woocommerce, .woocommerce-checkout form.checkout, .woocommerce-account .woocommerce { grid-template-columns:1fr; }
    .woocommerce-checkout #order_review { position:static; }
    .single-product div.product { grid-template-columns:1fr; gap:30px; }
    .woocommerce-account .u-columns { grid-template-columns:1fr; }
    .sm-footer-grid { grid-template-columns:1fr 1fr; }
    .sm-footer-grid > section:last-child { grid-column:auto; }
    .sm-cta-card { align-items:flex-start; flex-direction:column; padding:36px; }
}

@media (max-width: 620px) {
    .sm-container { width:min(calc(100% - 28px), var(--sm-container)); }
    .sm-header-inner { min-height:68px; gap:10px; grid-template-columns:1fr auto auto; }
    .sm-account-link { display:none; }
    .sm-cart-link { padding:0 9px; }
    .sm-hero { padding-top:44px; }
    .sm-hero-copy > p { font-size:1rem; }
    .sm-hero-actions { display:grid; grid-template-columns:1fr; }
    .sm-btn { width:100%; }
    .sm-trust-row { display:grid; gap:8px; }
    .sm-hero-visual { min-height:310px; }
    .sm-dashboard-main { inset:25px 0 10px 12px; }
    .sm-dashboard-content { grid-template-columns:54px 1fr; min-height:250px; }
    .sm-mini-main { padding:20px; }
    .sm-mini-grid i { height:58px; }
    .sm-mini-chart { height:80px; padding:12px; gap:7px; }
    .sm-float-card { padding:10px 12px; }
    .sm-float-card-b { right:-6px; }
    .sm-solution-grid, .sm-home-products, .sm-tool-grid, .sm-price-grid, .sm-package-grid, .sm-post-grid { grid-template-columns:1fr; }
    .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns:1fr !important; }
    .sm-section-heading-split { display:block; }
    .sm-section-heading-split .sm-text-link { display:inline-block; margin-top:10px; }
    .sm-solution-card p { min-height:0; }
    .sm-field-row { grid-template-columns:1fr; }
    .sm-legal-facts { grid-template-columns:1fr; }
    .sm-legal-page .sm-prose, .sm-legal-card { padding:22px; }
    .sm-shop-toolbar { align-items:flex-start; flex-direction:column; }
    .woocommerce-cart table.shop_table_responsive tr td { padding:12px 14px !important; }
    .woocommerce-cart .coupon { flex-direction:column; }
    .woocommerce-cart .coupon input.input-text { width:100% !important; min-width:0 !important; }
    .woocommerce-cart .coupon .button { width:100% !important; }
    .sm-footer-grid { grid-template-columns:1fr; gap:28px; }
    .sm-footer-bottom { align-items:flex-start; flex-direction:column; }
    .sm-generator-shell { padding:10px; border-radius:16px; }
}
.sm-commerce-shell { padding-top:42px; }
.sm-commerce-content { width:100%; }
.sm-digital-consent { margin:14px 0 !important; padding:14px !important; background:#fff7e8; border:1px solid #edd39a; border-radius:11px; }
.sm-digital-consent label { display:flex !important; align-items:flex-start; gap:8px; font-size:.86rem; line-height:1.45; }
.sm-digital-consent input { margin-top:4px !important; flex:0 0 auto; }

/* =========================================================
   v0.1.1 – kompaktabb tipográfia, WooCommerce és pénztár
   ========================================================= */

/* Kisebb, arányosabb címsorok */
h1 { font-size: clamp(2rem, 3.6vw, 3.75rem); }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.35rem); }
.sm-hero-copy h1 { font-size: clamp(2.5rem, 4.4vw, 4.15rem); }
.sm-inner-hero h1 { font-size: clamp(2rem, 3.4vw, 3.25rem); }
.sm-page-heading-compact h1 { font-size: clamp(1.95rem, 3vw, 3rem); }
.sm-article-heading h1 { font-size: clamp(2rem, 3.4vw, 3.25rem); }
.sm-legal-card h1 { font-size: clamp(2rem, 3vw, 2.6rem); }
.woocommerce-products-header__title.page-title { font-size: clamp(2rem, 3vw, 2.85rem); }

/* A lenyíló menü és a fő menüpont között ne legyen egérrel átugrandó rés. */
@media (min-width: 1101px) {
    .sm-nav-list .sub-menu {
        top: calc(100% - 2px);
        padding-top: 14px;
    }
    .sm-nav-list > li.menu-item-has-children::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 14px;
    }
}

/* WooCommerce tartalom ténylegesen középre húzva */
.sm-shop-container {
    width: min(calc(100% - 48px), 1140px) !important;
    margin-inline: auto !important;
}
.sm-woo-main { padding-bottom: 72px; }
.woocommerce-products-header { padding: 18px 0 8px; }
.sm-shop-toolbar { padding: 12px 0 20px; }

/* Kompaktabb termékrács */
.woocommerce ul.products,
.woocommerce-page ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    padding: 12px 12px 15px !important;
    border-radius: 15px;
}
.woocommerce ul.products li.product a img {
    height: 185px !important;
    margin-bottom: 12px !important;
    padding: 9px !important;
    border-radius: 11px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: .94rem !important;
    line-height: 1.32 !important;
    margin-bottom: 7px !important;
}
.woocommerce ul.products li.product .price {
    font-size: 1.08rem !important;
    margin-bottom: 11px !important;
}
.woocommerce ul.products li.product .button {
    padding: 10px 12px !important;
    font-size: .84rem !important;
}

/* A főoldali termékek maradjanak kicsit hangsúlyosabbak. */
.sm-home-products { grid-template-columns: repeat(3, minmax(0,1fr)); gap:18px; }
.sm-home-products .product { padding:13px 13px 16px !important; }
.sm-home-products .product a img { height:210px !important; }

/* Egyedi termékoldal: kisebb térközök, kisebb címek, rendezettebb leírás */
.single-product div.product {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 38px;
    padding-top: 10px;
}
.single-product div.product .woocommerce-product-gallery { padding: 14px; border-radius: 17px; }
.single-product div.product .woocommerce-product-gallery img {
    max-height: 545px;
    width: 100%;
    object-fit: contain;
}
.single-product .product_title { font-size: clamp(1.85rem, 2.8vw, 2.55rem); line-height:1.12; }
.single-product div.product p.price { font-size: 1.5rem; }
.single-product .woocommerce-tabs { margin-top: 10px; }
.single-product .woocommerce-Tabs-panel { padding: 26px !important; }
.single-product .woocommerce-Tabs-panel > h2:first-child { margin-top:0; }
.single-product .woocommerce-Tabs-panel h2,
.single-product .woocommerce-product-details__short-description h2,
.single-product .entry-content h2 { font-size: clamp(1.55rem, 2.2vw, 2rem) !important; line-height:1.18 !important; margin-top:32px; }
.single-product .woocommerce-Tabs-panel h3,
.single-product .woocommerce-product-details__short-description h3,
.single-product .entry-content h3 { font-size: 1.3rem !important; line-height:1.25 !important; }
.single-product .woocommerce-Tabs-panel p,
.single-product .woocommerce-Tabs-panel li { font-size: .98rem; }
.single-product section.related.products { margin-top: 32px; }

/* Kereskedelmi oldalak ne legyenek túlságosan szélesek. */
.sm-cart-page .sm-page-shell,
.sm-checkout-page .sm-page-shell,
.sm-account-page .sm-page-shell {
    max-width: 1120px;
    padding-top: 34px;
}
.sm-cart-page .sm-page-heading,
.sm-checkout-page .sm-page-heading { margin-bottom: 24px; }

/* Klasszikus kosár: termékek balra, összesítő jobbra */
.woocommerce-cart .woocommerce {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
    gap: 24px;
}
.woocommerce-cart .cart-collaterals {
    align-self: start;
    position: sticky;
    top: 96px;
}

/* WooCommerce Blocks kosár – stabil kétoszlopos asztali elrendezés */
.sm-cart-page .wc-block-components-sidebar-layout,
.sm-cart-page .wc-block-cart .wc-block-components-sidebar-layout,
.sm-cart-page .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr) !important;
    gap: 24px !important;
    align-items: start !important;
}
.sm-cart-page .wc-block-components-sidebar-layout .wc-block-components-main,
.sm-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
.sm-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    position: sticky;
    top: 96px;
}

/* Klasszikus pénztár: adatok balra, rendelés összesítő jobbra */
.woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.28fr) minmax(350px, .72fr);
    gap: 26px;
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review { padding: 22px; }

/* WooCommerce Blocks pénztár – rendelés összesítő jobb oldalon */
.sm-checkout-page .wc-block-components-sidebar-layout,
.sm-checkout-page .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.28fr) minmax(350px, .72fr) !important;
    gap: 26px !important;
    align-items: start !important;
}
.sm-checkout-page .wc-block-components-sidebar-layout .wc-block-components-main,
.sm-checkout-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
.sm-checkout-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    position: sticky;
    top: 96px;
}
.sm-checkout-page .wc-block-components-sidebar-layout .wc-block-components-main,
.sm-checkout-page .wc-block-components-sidebar-layout .wc-block-components-sidebar,
.sm-cart-page .wc-block-components-sidebar-layout .wc-block-components-main,
.sm-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    padding: 20px !important;
    border-radius: 16px;
}

/* A blockos checkouton a rendelésösszesítő címe és termékszövege se legyen túl nagy. */
.wc-block-components-title.wc-block-components-title,
.wc-block-components-checkout-step__heading h2 { font-size: 1.25rem !important; }
.wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: .92rem !important; line-height:1.3 !important; }

@media (max-width: 1180px) and (min-width: 861px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}

@media (max-width: 860px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    .sm-cart-page .wc-block-components-sidebar-layout,
    .sm-cart-page .wc-block-cart .wc-block-components-sidebar-layout,
    .sm-cart-page .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
    .sm-checkout-page .wc-block-components-sidebar-layout,
    .sm-checkout-page .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr !important;
    }
    .sm-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar,
    .sm-checkout-page .wc-block-components-sidebar-layout .wc-block-components-sidebar,
    .woocommerce-cart .cart-collaterals,
    .woocommerce-checkout #order_review { position: static !important; }
}

@media (max-width: 620px) {
    .sm-shop-container { width: min(calc(100% - 28px), 1140px) !important; }
    .woocommerce ul.products,
    .woocommerce-page ul.products { grid-template-columns: 1fr !important; }
    .woocommerce ul.products li.product a img { height: 220px !important; }
    .single-product .woocommerce-Tabs-panel { padding: 18px !important; }
}


/* =========================================================
   v0.1.2 – mobil termékoldal + valóban görgethető mobilmenü
   ========================================================= */

/* A v0.1.1 asztali kétoszlopos termékelrendezése mobilon ne maradjon aktív. */
@media (max-width: 860px) {
    .single-product .sm-shop-container {
        width: min(calc(100% - 28px), 1140px) !important;
    }

    .single-product div.product {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-top: 6px !important;
    }

    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .summary {
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .single-product div.product .woocommerce-product-gallery {
        padding: 12px !important;
        border-radius: 16px;
    }

    .single-product div.product .woocommerce-product-gallery img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain;
    }

    .single-product .product_title {
        font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
        line-height: 1.08 !important;
        overflow-wrap: anywhere;
        word-break: normal;
        margin-bottom: 12px !important;
    }

    .single-product div.product p.price {
        font-size: 1.45rem !important;
        margin-bottom: 18px !important;
    }

    .single-product .woocommerce-product-details__short-description {
        font-size: 1rem !important;
        line-height: 1.62 !important;
        max-width: none !important;
    }

    .single-product .woocommerce-product-details__short-description p,
    .single-product .woocommerce-product-details__short-description li {
        font-size: inherit !important;
        line-height: inherit !important;
    }

    .single-product div.product form.cart {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: stretch !important;
        width: 100% !important;
        margin-top: 20px !important;
    }

    .single-product div.product form.cart > *,
    .single-product div.product form.cart label,
    .single-product div.product form.cart .quantity {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .single-product div.product form.cart input[type="text"],
    .single-product div.product form.cart input[type="url"],
    .single-product div.product form.cart input[type="email"],
    .single-product div.product form.cart select,
    .single-product div.product form.cart textarea,
    .single-product div.product form.cart .quantity .qty {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 46px;
    }

    .single-product div.product form.cart .single_add_to_cart_button,
    .single-product div.product form.cart .button {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 48px !important;
        justify-content: center;
        text-align: center;
    }

    .single-product .product_meta {
        overflow-wrap: anywhere;
    }

    .single-product .woocommerce-tabs {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .single-product .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }

    .single-product section.related.products,
    .single-product section.upsells.products {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 620px) {
    body.single-product {
        overflow-x: hidden;
    }

    .single-product .sm-breadcrumbs {
        gap: 5px;
        padding-top: 16px;
        font-size: .78rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .single-product div.product {
        gap: 20px !important;
    }

    .single-product .product_title {
        font-size: clamp(1.65rem, 8vw, 2rem) !important;
    }

    .single-product div.product p.price {
        font-size: 1.35rem !important;
    }

    .single-product .woocommerce-Tabs-panel {
        padding: 16px !important;
    }

    .single-product .woocommerce-Tabs-panel h2,
    .single-product .woocommerce-product-details__short-description h2,
    .single-product .entry-content h2 {
        font-size: 1.45rem !important;
        margin-top: 26px !important;
    }

    .single-product .woocommerce-Tabs-panel h3,
    .single-product .woocommerce-product-details__short-description h3,
    .single-product .entry-content h3 {
        font-size: 1.18rem !important;
    }
}


/* =========================================================
   v0.1.3 – telefonon a termékoldal minden eleme egy oszlopban
   ========================================================= */
@media (max-width: 900px) {
    body.single-product .sm-shop-container,
    body.single-product .woocommerce,
    body.single-product .woocommerce div.product,
    body.single-product div.product.product,
    body.single-product .product.type-product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Nem grid/flex: kényszerített, klasszikus függőleges dokumentumfolyam. */
    body.single-product .woocommerce div.product,
    body.single-product div.product.product,
    body.single-product .product.type-product {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
    }

    body.single-product .woocommerce div.product div.images,
    body.single-product .woocommerce div.product div.summary,
    body.single-product .woocommerce-product-gallery,
    body.single-product .summary.entry-summary {
        display: block !important;
        float: none !important;
        clear: both !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.single-product .woocommerce div.product div.images,
    body.single-product .woocommerce-product-gallery {
        margin-bottom: 22px !important;
    }

    body.single-product .woocommerce div.product div.images img,
    body.single-product .woocommerce-product-gallery img,
    body.single-product .woocommerce-product-gallery__image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.single-product .summary.entry-summary {
        padding: 0 !important;
    }

    body.single-product .summary.entry-summary > * {
        max-width: 100% !important;
    }

    body.single-product .woocommerce-tabs,
    body.single-product section.related.products,
    body.single-product section.upsells.products {
        display: block !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 620px) {
    body.single-product .sm-shop-container {
        width: calc(100% - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.single-product .woocommerce-product-gallery {
        padding: 10px !important;
        border-radius: 14px !important;
    }

    body.single-product .product_title {
        font-size: 1.75rem !important;
        line-height: 1.12 !important;
        margin-top: 0 !important;
    }

    body.single-product div.product p.price {
        font-size: 1.3rem !important;
    }

    body.single-product div.product form.cart,
    body.single-product div.product form.cart .quantity,
    body.single-product div.product form.cart .single_add_to_cart_button,
    body.single-product div.product form.cart .button {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* =========================================================
   v0.1.6 – stabil mobilmenü: a fejlécen belüli fixed-position hiba javítva
   ========================================================= */
@media (max-width: 1100px) {
    html.sm-menu-open,
    body.sm-menu-open {
        overflow: hidden !important;
        overscroll-behavior: none !important;
    }

    /* Zárt állapot: a navigáció ténylegesen nincs a layoutban. */
    .sm-primary-nav,
    .sm-primary-nav[aria-hidden="true"] {
        display: none !important;
    }

    /*
       A nav a .sm-site-header belsejében van. A header backdrop-filtert használ,
       ezért mobil Chromiumon a position:fixed leszármazott hibásan a header
       magasságához tud igazodni. Emiatt korábban csak egy keskeny görgethető
       sáv látszott. Mobilon ezért a menü abszolút pozicionált a sticky headerhez,
       és saját, viewport-magasságú görgetőteret kap.
    */
    .sm-primary-nav.is-open,
    .sm-primary-nav[aria-hidden="false"] {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100vw !important;
        height: calc(100dvh - var(--sm-mobile-nav-top, 76px)) !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: calc(100dvh - var(--sm-mobile-nav-top, 76px)) !important;
        margin: 0 !important;
        padding: 10px 20px calc(28px + env(safe-area-inset-bottom)) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: contain !important;
        touch-action: pan-y !important;
        background: #fff !important;
        border: 0 !important;
        border-top: 1px solid var(--sm-border) !important;
        border-radius: 0 !important;
        box-shadow: 0 22px 55px rgba(24, 17, 38, .12) !important;
        z-index: 1400 !important;
    }

    .sm-primary-nav .sm-nav-list {
        display: block !important;
        width: min(100%, 680px) !important;
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .sm-primary-nav .sm-nav-list > li {
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #f0ecf5;
    }

    .sm-primary-nav .sm-nav-list > li:last-child {
        border-bottom: 0;
    }

    .sm-primary-nav .sm-nav-list > li > a {
        display: block !important;
        width: 100% !important;
        padding: 15px 48px 15px 4px !important;
        border-radius: 10px !important;
        color: #30283d !important;
        background: transparent !important;
        font-size: 1rem !important;
        line-height: 1.35 !important;
        font-weight: 750 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .sm-primary-nav .sm-nav-list > li.current-menu-item > a,
    .sm-primary-nav .sm-nav-list > li.current-menu-ancestor > a,
    .sm-primary-nav .sm-nav-list > li > a:hover,
    .sm-primary-nav .sm-nav-list > li > a:focus-visible {
        color: var(--sm-primary) !important;
        background: var(--sm-surface-soft) !important;
    }

    /* Mobilon az almenük alapból csukva vannak; külön gomb nyitja őket. */
    .sm-primary-nav .sm-nav-list .sub-menu {
        display: none !important;
        position: static !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 2px 0 6px 14px !important;
        list-style: none !important;
        background: transparent !important;
        border: 0 !important;
        border-left: 2px solid #eee7f6 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .sm-primary-nav .sm-nav-list li.sm-submenu-open > .sub-menu {
        display: block !important;
    }

    .sm-primary-nav .sub-menu li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .sm-primary-nav .sub-menu a {
        display: block !important;
        padding: 11px 12px !important;
        border-radius: 9px !important;
        color: #5b5368 !important;
        background: transparent !important;
        font-size: .92rem !important;
        line-height: 1.35 !important;
        font-weight: 650 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .sm-primary-nav .sub-menu a:hover,
    .sm-primary-nav .sub-menu a:focus-visible,
    .sm-primary-nav .sub-menu .current-menu-item > a {
        color: var(--sm-primary) !important;
        background: #f7f3ff !important;
    }

    .sm-submenu-toggle {
        display: grid !important;
        place-items: center !important;
        position: absolute !important;
        top: 8px !important;
        right: 0 !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: transparent !important;
        color: #5f566c !important;
        cursor: pointer !important;
        z-index: 2 !important;
    }

    .sm-submenu-toggle::before {
        content: "";
        width: 9px;
        height: 9px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform .18s ease;
    }

    .sm-submenu-toggle[aria-expanded="true"]::before {
        transform: translateY(2px) rotate(225deg);
    }

    .sm-submenu-toggle:hover,
    .sm-submenu-toggle:focus-visible {
        color: var(--sm-primary) !important;
        background: var(--sm-surface-soft) !important;
        outline: none !important;
    }

    /* Hamburgerből X. */
    .sm-menu-toggle-lines i {
        transition: transform .18s ease, opacity .18s ease;
        transform-origin: center;
    }
    .sm-menu-toggle[aria-expanded="true"] .sm-menu-toggle-lines i:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .sm-menu-toggle[aria-expanded="true"] .sm-menu-toggle-lines i:nth-child(2) {
        opacity: 0;
    }
    .sm-menu-toggle[aria-expanded="true"] .sm-menu-toggle-lines i:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

@media (max-width: 620px) {
    .sm-primary-nav.is-open,
    .sm-primary-nav[aria-hidden="false"] {
        height: calc(100dvh - var(--sm-mobile-nav-top, 68px)) !important;
        max-height: calc(100dvh - var(--sm-mobile-nav-top, 68px)) !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .sm-primary-nav .sm-nav-list > li > a {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        font-size: .98rem !important;
    }
}

@media (min-width: 1101px) {
    .sm-submenu-toggle { display: none !important; }
    .sm-primary-nav[aria-hidden="true"],
    .sm-primary-nav[aria-hidden="false"] { display: block !important; }
}


/* =========================================================
   v0.1.7 – egységes termékkép-keret a termékoldalakon
   ========================================================= */
/*
   A különböző képarányú termékfotók (álló, fekvő, négyzetes)
   ugyanakkora vizuális keretbe kerülnek. Így egy magas kép sem
   tudja széthúzni vagy eltolni a termékoldal két fő oszlopát.
*/
body.single-product .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

body.single-product .woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #f8f6fb !important;
}

body.single-product .woocommerce-product-gallery__image > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

body.single-product .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
}

/* A bélyegképek maradjanak természetes arányúak. */
body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

@media (max-width: 620px) {
    body.single-product .woocommerce-product-gallery__image {
        aspect-ratio: 1 / 1 !important;
    }
}


/* =========================================================
   v0.1.8 – mobilmenü mindig a látható viewportban nyíljon meg
   ========================================================= */
@media (max-width: 1100px) {
    /*
       Nyitáskor a JS a nav elemet ideiglenesen közvetlenül a body alá mozgatja.
       Így a menü pozíciója nem függ a sticky header / backdrop-filter
       containing block viselkedésétől, és akkor is a látható képernyőn nyílik,
       ha az oldal közepén vagy alján nyitják meg.
    */
    body > .sm-primary-nav.sm-mobile-nav-portal.is-open,
    body > .sm-primary-nav.sm-mobile-nav-portal[aria-hidden="false"] {
        display: block !important;
        position: fixed !important;
        top: var(--sm-mobile-nav-top, 68px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 10px 20px calc(28px + env(safe-area-inset-bottom)) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        touch-action: pan-y !important;
        background: #fff !important;
        border: 0 !important;
        border-top: 1px solid var(--sm-border) !important;
        border-radius: 0 !important;
        box-shadow: 0 22px 55px rgba(24, 17, 38, .14) !important;
        z-index: 2147483000 !important;
    }

    body.sm-menu-open .sm-site-header {
        z-index: 2147483001 !important;
    }
}

@media (max-width: 620px) {
    body > .sm-primary-nav.sm-mobile-nav-portal.is-open,
    body > .sm-primary-nav.sm-mobile-nav-portal[aria-hidden="false"] {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}


/* =========================================================
   v0.1.9 – mobilmenü nyitva: a fejléc/hamburger mindig látható
   ========================================================= */
@media (max-width: 1100px) {
    /*
       A menü body-portálként a viewporthoz van rögzítve. Nyitott állapotban
       a sticky fejlécet is fixáljuk, különben egyes mobil böngészők az
       overflow-lock után kiveszik a látható sticky pozícióból. Így az X-re
       váltó hamburger mindig a menü fölött marad, bárhol nyitják meg az oldalon.
    */
    body.sm-menu-open .sm-site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        z-index: 2147483001 !important;
        background: #fff !important;
        border-bottom: 1px solid var(--sm-border) !important;
        box-shadow: 0 4px 18px rgba(24, 17, 38, .06) !important;
        transform: none !important;
    }

    body.sm-menu-open .sm-site-header .sm-header-inner {
        position: relative !important;
        z-index: 2 !important;
    }

    body.sm-menu-open .sm-menu-toggle {
        display: block !important;
        position: relative !important;
        z-index: 2147483002 !important;
        pointer-events: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* A menü közvetlenül a fix fejléc alatt kezdődjön. */
    body > .sm-primary-nav.sm-mobile-nav-portal.is-open,
    body > .sm-primary-nav.sm-mobile-nav-portal[aria-hidden="false"] {
        z-index: 2147483000 !important;
    }
}

/* =========================================================
   v0.1.10 – főoldali népszerű termékek mobilon 1 oszlopban
   ========================================================= */
@media (max-width: 700px) {
    .sm-section .sm-home-products,
    ul.products.sm-home-products {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .sm-home-products li.product,
    .sm-home-products .product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 14px 14px 16px !important;
        border-radius: 17px !important;
    }

    .sm-home-products li.product a,
    .sm-home-products .product a {
        min-width: 0 !important;
    }

    .sm-home-products li.product a img,
    .sm-home-products .product a img {
        display: block !important;
        width: 100% !important;
        height: 220px !important;
        max-height: 220px !important;
        object-fit: contain !important;
        padding: 10px !important;
        margin: 0 0 14px !important;
        border-radius: 13px !important;
    }

    .sm-home-products .woocommerce-loop-product__title {
        font-size: 1.08rem !important;
        line-height: 1.3 !important;
        margin: 0 0 9px !important;
        overflow-wrap: anywhere !important;
    }

    .sm-home-products .price {
        font-size: 1.22rem !important;
        margin: 0 0 13px !important;
    }

    .sm-home-products .button,
    .sm-home-products a.button {
        width: 100% !important;
        min-height: 46px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 14px !important;
        font-size: .92rem !important;
        text-align: center !important;
    }

    .sm-section-heading-split {
        margin-bottom: 24px !important;
    }

    .sm-section-heading-split h2 {
        font-size: 1.8rem !important;
        line-height: 1.12 !important;
    }
}


/* =========================================================
   v0.1.11 – Fiókom oldal stabil elrendezése
   ========================================================= */
@media (max-width: 860px) {
    .sm-account-guest #customer_login,
    .sm-account-guest .woocommerce .u-columns.col2-set {
        grid-template-columns:1fr !important;
        gap:18px !important;
    }

    .sm-account-auth .woocommerce {
        grid-template-columns:1fr !important;
        gap:18px !important;
    }

    .sm-account-auth .woocommerce > .woocommerce-notices-wrapper,
    .sm-account-auth .woocommerce-MyAccount-navigation,
    .sm-account-auth .woocommerce-MyAccount-content {
        grid-column:1 !important;
    }

    .sm-account-auth .woocommerce-MyAccount-navigation {
        position:static !important;
    }
}

@media (max-width: 620px) {
    .sm-account-page .sm-page-shell {
        padding-top:26px !important;
    }

    .sm-account-page .sm-page-heading {
        margin-bottom:20px !important;
    }

    .sm-account-guest #customer_login .u-column1,
    .sm-account-guest #customer_login .u-column2,
    .sm-account-guest .woocommerce .u-column1,
    .sm-account-guest .woocommerce .u-column2,
    .sm-account-auth .woocommerce-MyAccount-content {
        padding:20px !important;
        border-radius:14px !important;
    }

    .sm-account-guest #customer_login h2 {
        font-size:1.35rem !important;
    }

    .sm-account-auth .woocommerce-MyAccount-navigation {
        padding:9px !important;
        border-radius:14px !important;
    }

    .sm-account-auth .woocommerce-MyAccount-navigation ul {
        grid-template-columns:1fr 1fr;
        gap:5px;
    }

    .sm-account-auth .woocommerce-MyAccount-navigation li a {
        min-height:42px;
        padding:9px 10px;
        font-size:.88rem;
    }
}

@media (max-width: 430px) {
    .sm-account-auth .woocommerce-MyAccount-navigation ul {
        grid-template-columns:1fr;
    }
}

/* =========================================================
   v0.1.12 – szakmaspecifikus SEO árajánlat oldalak
   ========================================================= */
.sm-seo-quote-page {
    background:#fff;
}
.sm-seo-quote-page .sm-page-shell.sm-seo-quote-shell {
    width:min(calc(100% - 40px), 1180px);
    max-width:1180px;
    padding-top:34px;
    padding-bottom:90px;
}
.sm-seo-quote-page .sm-breadcrumbs {
    margin-bottom:26px;
}
.sm-seo-quote-content {
    max-width:none !important;
    width:100%;
    color:#332d3e;
}
.sm-seo-quote-content > .sm-seo-intro,
.sm-seo-quote-content > .sm-seo-section {
    width:100%;
}
.sm-seo-quote-content .sm-seo-intro {
    position:relative;
    overflow:hidden;
    padding:46px;
    margin-bottom:28px;
    background:
        radial-gradient(circle at 88% 12%, rgba(138,63,233,.14), transparent 32%),
        linear-gradient(145deg,#fff 0%,#fbf8ff 100%);
    border:1px solid var(--sm-border);
    border-radius:26px;
    box-shadow:var(--sm-shadow-soft);
}
.sm-seo-quote-content .sm-seo-intro::after {
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    right:-110px;
    bottom:-140px;
    border-radius:50%;
    background:rgba(111,53,216,.07);
    pointer-events:none;
}
.sm-seo-quote-content .sm-seo-intro > * {
    position:relative;
    z-index:1;
}
.sm-seo-quote-content .sm-seo-intro h1 {
    max-width:900px;
    margin:0 0 18px;
    font-size:clamp(2.25rem,4.2vw,4rem);
    line-height:1.04;
    letter-spacing:-.045em;
}
.sm-seo-quote-content .sm-seo-intro h1 + p {
    max-width:850px;
    margin-bottom:22px;
    color:var(--sm-muted);
    font-size:1.08rem;
    line-height:1.72;
}
.sm-seo-quote-content .sm-seo-trust {
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin:18px 0 8px !important;
}
.sm-seo-quote-content .sm-seo-trust span {
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:6px 10px;
    border:1px solid #ddd3f2;
    border-radius:999px;
    background:#fff;
    color:#51475f;
    font-size:.86rem;
    font-weight:750;
}
.sm-seo-quote-content .sm-seo-cta-link,
.sm-seo-quote-content a[href*="/arajanlat-keszito/"]:not(.sm-no-button) {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    margin:5px 10px 5px 0;
    padding:0 20px;
    border-radius:11px;
    background:linear-gradient(135deg,var(--sm-primary),var(--sm-primary-2));
    color:#fff !important;
    text-decoration:none !important;
    font-weight:800;
    box-shadow:0 10px 22px rgba(111,53,216,.18);
    transition:.2s ease;
}
.sm-seo-quote-content .sm-seo-cta-link:hover,
.sm-seo-quote-content a[href*="/arajanlat-keszito/"]:not(.sm-no-button):hover {
    transform:translateY(-2px);
    background:linear-gradient(135deg,var(--sm-primary-dark),#7631d2);
    box-shadow:0 14px 26px rgba(111,53,216,.25);
}
.sm-seo-quote-content .sm-seo-section {
    margin-top:24px;
    padding:38px 40px;
    background:#fff;
    border:1px solid var(--sm-border);
    border-radius:22px;
    box-shadow:var(--sm-shadow-soft);
}
.sm-seo-quote-content .sm-seo-section:nth-of-type(even) {
    background:#fcfbfe;
}
.sm-seo-quote-content .sm-seo-section > h2:first-child {
    margin:0 0 14px;
    padding:0;
    border:0;
    font-size:clamp(1.55rem,2.5vw,2.25rem);
}
.sm-seo-quote-content .sm-seo-section > h2:first-child + p {
    max-width:900px;
    color:var(--sm-muted);
}
.sm-seo-quote-content h2 {
    color:var(--sm-text);
}
.sm-seo-quote-content h3 {
    color:var(--sm-text);
    font-size:1.08rem;
    line-height:1.28;
}
.sm-seo-quote-content p,
.sm-seo-quote-content li {
    color:#554d62;
}
.sm-seo-quote-content ul,
.sm-seo-quote-content ol {
    padding-left:1.25rem;
}
.sm-seo-quote-content li + li {
    margin-top:7px;
}
.sm-seo-quote-content .sm-seo-card-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-top:24px;
}
.sm-seo-quote-content .sm-seo-card-grid.sm-seo-steps {
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.sm-seo-quote-content .sm-seo-card-grid.sm-seo-uses {
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.sm-seo-quote-content .sm-seo-mini-card {
    min-width:0;
    padding:20px;
    background:#faf8fd;
    border:1px solid #e9e2f4;
    border-radius:16px;
}
.sm-seo-quote-content .sm-seo-mini-card h3 {
    margin:0 0 8px;
}
.sm-seo-quote-content .sm-seo-mini-card p:last-child,
.sm-seo-quote-content .sm-seo-mini-card ul:last-child {
    margin-bottom:0;
}
.sm-seo-quote-content .sm-seo-table-wrap {
    width:100%;
    overflow-x:auto;
    margin:22px 0;
    border:1px solid var(--sm-border);
    border-radius:15px;
    background:#fff;
}
.sm-seo-quote-content .sm-seo-table-wrap table {
    min-width:680px;
    margin:0;
    border:0;
    border-radius:0;
}
.sm-seo-quote-content table {
    width:100%;
    border-collapse:collapse;
    background:#fff;
}
.sm-seo-quote-content th {
    background:#f5f1ff;
    color:#3a3047;
    font-weight:800;
    text-align:left;
}
.sm-seo-quote-content th,
.sm-seo-quote-content td {
    padding:13px 14px;
    border:0;
    border-bottom:1px solid #eee9f5;
}
.sm-seo-quote-content tr:last-child td {
    border-bottom:0;
}
.sm-seo-quote-content details {
    margin:10px 0;
    background:#fff;
    border:1px solid var(--sm-border);
    border-radius:13px;
    overflow:hidden;
}
.sm-seo-quote-content details summary {
    position:relative;
    cursor:pointer;
    list-style:none;
    padding:15px 46px 15px 16px;
    color:#30283b;
    font-weight:760;
}
.sm-seo-quote-content details summary::-webkit-details-marker { display:none; }
.sm-seo-quote-content details summary::after {
    content:"+";
    position:absolute;
    right:17px;
    top:50%;
    transform:translateY(-50%);
    color:var(--sm-primary);
    font-size:1.25rem;
    font-weight:800;
}
.sm-seo-quote-content details[open] summary::after { content:"−"; }
.sm-seo-quote-content details[open] summary {
    background:#faf8fd;
    border-bottom:1px solid var(--sm-border);
}
.sm-seo-quote-content details > :not(summary) {
    margin-left:16px;
    margin-right:16px;
}
.sm-seo-quote-content details > p:first-of-type { margin-top:14px; }
.sm-seo-quote-content details > p:last-child { margin-bottom:16px; }
.sm-seo-quote-content .sm-seo-related-links {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}
.sm-seo-quote-content .sm-seo-related-links a {
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:7px 12px;
    border:1px solid #ddd3f0;
    border-radius:10px;
    background:#fff;
    color:var(--sm-primary);
    text-decoration:none;
    font-weight:750;
}
.sm-seo-quote-content .sm-seo-related-links a:hover {
    background:var(--sm-surface-soft);
}
.sm-seo-quote-content blockquote {
    margin:22px 0;
    padding:18px 20px;
    border-left:4px solid var(--sm-primary);
    border-radius:0 12px 12px 0;
    background:#f8f4ff;
    color:#4f465b;
}

@media (max-width: 900px) {
    .sm-seo-quote-content .sm-seo-card-grid,
    .sm-seo-quote-content .sm-seo-card-grid.sm-seo-steps,
    .sm-seo-quote-content .sm-seo-card-grid.sm-seo-uses {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 620px) {
    .sm-seo-quote-page .sm-page-shell.sm-seo-quote-shell {
        width:min(calc(100% - 28px), 1180px);
        padding-top:20px;
        padding-bottom:58px;
    }
    .sm-seo-quote-page .sm-breadcrumbs {
        margin-bottom:16px;
        font-size:.82rem;
    }
    .sm-seo-quote-content .sm-seo-intro {
        padding:25px 20px;
        border-radius:19px;
    }
    .sm-seo-quote-content .sm-seo-intro h1 {
        font-size:clamp(2rem,10vw,2.75rem);
    }
    .sm-seo-quote-content .sm-seo-intro h1 + p {
        font-size:1rem;
    }
    .sm-seo-quote-content .sm-seo-section {
        margin-top:16px;
        padding:25px 20px;
        border-radius:18px;
    }
    .sm-seo-quote-content .sm-seo-card-grid,
    .sm-seo-quote-content .sm-seo-card-grid.sm-seo-steps,
    .sm-seo-quote-content .sm-seo-card-grid.sm-seo-uses {
        grid-template-columns:1fr;
        gap:11px;
    }
    .sm-seo-quote-content .sm-seo-mini-card {
        padding:17px;
    }
    .sm-seo-quote-content .sm-seo-cta-link,
    .sm-seo-quote-content a[href*="/arajanlat-keszito/"]:not(.sm-no-button) {
        width:100%;
        margin-right:0;
    }
    .sm-seo-quote-content .sm-seo-trust {
        display:grid;
        grid-template-columns:1fr;
    }
}
.sm-seo-quote-content .sm-seo-card-kicker {
    display:inline-grid;
    place-items:center;
    min-width:42px;
    width:max-content;
    height:42px;
    margin:0 0 14px !important;
    padding:0 10px;
    border-radius:11px;
    background:#efe7ff;
    color:var(--sm-primary) !important;
    font-size:.78rem;
    line-height:1;
    font-weight:900;
}
