/* WolfStack Store: WordPress and WooCommerce parts. The design itself is in wolfstack.css. */

/* Buttons that became links in WordPress keep the same look. */
.ms-b > a.l {display: block; padding: 16px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: 600 19px var(--f-display); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); cursor: pointer;}
.foot li a {display: inline; padding: 0; border: 0; background: none; color: var(--ink2); font-size: 14.5px; text-decoration: none; cursor: pointer; text-align: left;}
.foot li a:hover {color: var(--brand);}
.pk a {display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg); text-align: left; cursor: pointer; transition: border-color 0.15s, background 0.15s;}
.pk a:hover {border-color: var(--line2);}
.pk a.on {border-color: var(--brand); background: var(--brand-soft);}
.pk a.on .rd {border-color: var(--brand);}
.pk a.on .rd::after {content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand);}
.ps-in > a {display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 15px; border: 0; border-radius: 999px; background: none; color: var(--on-deep2); font: 600 13.5px var(--f-sans); cursor: pointer; white-space: nowrap; transition: background 0.15s, color 0.15s;}
.ps-in > a:hover {color: #fff;}
.ps-in > a[aria-pressed="true"] {background: rgb(255 255 255 / 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);}
.ps-in > a i {width: 7px; height: 7px; border-radius: 50%; background: var(--on-deep2); opacity: 0.6;}
.ps-in > a[aria-pressed="true"] i {background: var(--lime); opacity: 1;}
.ms-ps a {height: 44px; border: 0; border-radius: 11px; background: none; color: var(--ink2); font: 600 14.5px var(--f-sans); cursor: pointer;}
.ms-ps a[aria-pressed="true"] {background: var(--bg); color: var(--ink); box-shadow: var(--sh1, 0 1px 3px rgb(0 0 0 / 0.12));}
@media (max-width: 640px) { .ps-in > a {padding: 0 12px; font-size: 13px;} }
.crumbs a {padding: 0; border: 0; background: none; color: var(--ink2); font: inherit; text-decoration: none; cursor: pointer;}
.crumbs a:hover {color: var(--brand);}
.pb-links a {padding: 6px; border: 0; background: none; color: var(--ink2); font: 500 13.5px var(--f-sans); cursor: pointer;}
.pb-links a:first-child {border-right: 1px solid var(--line);}
.pb-links a:hover {color: var(--brand);}
a.dchip, .nav-r a.login, .ps-in > a, .ms-ps a, .pk a, .crumbs a, a.pill-new, a.btn, a.tlink, .mi { text-decoration: none; }
.ms-ps a { display: grid; place-items: center; height: 44px; border-radius: 11px; color: var(--ink2); font: 600 14.5px var(--f-sans); }
.ms-ps a[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--sh1, 0 1px 3px rgb(0 0 0 / 0.12)); }
.ac-l[data-href] { cursor: pointer; }
.nav-r a.login { display: inline-flex; align-items: center; }
@media (max-width: 960px) { .nav-r a.login:not(.wss-cart) { display: none; } }

[hidden] { display: none !important; }

/* Hovers stay in the green family, whatever a card's own colour is. */
.pcard:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }

/* Monthly / yearly prices. */
html:not([data-bill="m"]) .bill-m, html[data-bill="m"] .bill-y { display: none !important; }

/* Edition switch: .ws-e blocks show for their editions only. */
.wss-ed[data-ed="0"] .ws-e:not(.ws-e0), .wss-ed[data-ed="1"] .ws-e:not(.ws-e1), .wss-ed[data-ed="2"] .ws-e:not(.ws-e2) { display: none; }
.ws-e { display: contents; }
.pd-buy .ws-e { display: block; }

/* Header basket. */
.nav-r .wss-cart { position: relative; display: inline-grid; place-items: center; width: 40px; padding: 0; }
.wss-cart-n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font: 700 11px/18px var(--f-mono); text-align: center; }
.wss-cart-n[hidden] { display: none; }
@media (max-width: 960px) { .nav-r .wss-cart { display: inline-grid; } }

/* Skip link. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; z-index: 100; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 12px; background: var(--bg); color: var(--ink); box-shadow: var(--sh3); }

/* Honeypot field. */
.wss-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Plain pages and posts. */
.wss-prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--ink2); }
.wss-prose h2, .wss-prose h3, .wss-prose h4 { color: var(--ink); font-family: var(--f-display); letter-spacing: -0.02em; line-height: 1.2; margin: 1.6em 0 .5em; }
.wss-prose a { color: var(--brand); text-underline-offset: 3px; }
.wss-prose a:hover { color: var(--brand-ink, var(--brand)); }
.wss-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.wss-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); }
.wss-prose pre, .wss-prose code { font-family: var(--f-mono); font-size: .9em; }
.wss-prose pre { padding: 16px; border-radius: 14px; background: var(--s2); overflow: auto; }
.wss-pager .nav-links { display: flex; gap: 8px; margin-top: 30px; }
.wss-pager .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink2); text-decoration: none; }
.wss-pager .page-numbers.current, .wss-pager a.page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; }
.search-form .search-submit { height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--brand); color: var(--on-brand); font: 600 15px var(--f-sans); cursor: pointer; }
.search-form .search-submit:hover { background: var(--brand-ink, #175840); }

/* Notices. */
.wss-notices { padding-top: 120px; margin-bottom: -90px; position: relative; z-index: 2; }
.wss-notices:not(:has(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice)) { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px; background: var(--brand-soft); color: var(--ink); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.woocommerce-error { border-left-color: var(--bad, #b42318); background: var(--bg); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* WooCommerce: buttons and fields in the WolfStack look. */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; background: var(--brand); color: var(--on-brand); font: 600 15px var(--f-sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--brand-ink, #175840); color: var(--on-brand); }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce #place_order { background: var(--lime); color: var(--on-lime); }
.woocommerce .button.alt:hover, .woocommerce #place_order:hover { background: color-mix(in srgb, var(--lime) 85%, var(--deep)); color: var(--on-lime); }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .55; cursor: not-allowed; }
.woocommerce .inp, .woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .woocommerce .select2-container .select2-selection, .woocommerce .quantity .qty {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--bg); color: var(--ink); font: 400 15px var(--f-sans); box-sizing: border-box;
}
.woocommerce .quantity .qty { width: 80px; }
.woocommerce .inp:focus, .woocommerce input.input-text:focus, .woocommerce textarea:focus, .woocommerce select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.woocommerce form .form-row .required { color: var(--ink3); text-decoration: none; }
.woocommerce .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 7px); display: inline-block; vertical-align: top; }
.woocommerce form .form-row-first { margin-right: 10px; }
.woocommerce form .form-row-wide { width: 100%; }
@media (max-width: 720px) { .woocommerce .col2-set { grid-template-columns: 1fr; } .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; margin-right: 0; } }

/* Tables: basket, orders, account. */
.wss-woo table.shop_table, .wss-woo .woocommerce-orders-table, .wss-woo table.woocommerce-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); font-size: 15px; }
.wss-woo table.shop_table th, .wss-woo table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.wss-woo table.shop_table thead th { background: var(--s2); font: 600 12.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.wss-woo table.shop_table tr:last-child td { border-bottom: 0; }
.wss-woo .product-remove a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink3); text-decoration: none; font-size: 20px; }
.wss-woo .product-remove a:hover { background: var(--brand-soft); color: var(--brand); }
.wss-woo .product-thumbnail img { width: 56px; height: auto; border-radius: 10px; }
.wss-woo a { color: var(--brand); }
.wss-woo .cart_totals, .wss-woo .woocommerce-checkout-review-order, .wss-woo #order_review { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--s1, var(--bg)); }
.wss-woo .cart-collaterals { display: grid; justify-content: end; margin-top: 26px; }
.wss-woo .cart_totals { width: min(440px, 100%); }
.wss-woo .coupon { display: flex; gap: 10px; flex-wrap: wrap; }
.wss-woo .coupon .input-text { width: 200px; }
.wss-woo #payment { margin-top: 18px; border-radius: 16px; background: var(--s2); padding: 16px; }
.wss-woo #payment ul.payment_methods { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.wss-woo .woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.wss-woo .woocommerce-checkout > .col2-set { grid-template-columns: 1fr; }
.wss-woo .woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0; }
.wss-woo .woocommerce-checkout #order_review { grid-column: 2; }
@media (max-width: 900px) { .wss-woo .woocommerce-checkout { grid-template-columns: 1fr; } .wss-woo .woocommerce-checkout #order_review_heading, .wss-woo .woocommerce-checkout #order_review { grid-column: 1; } }
.wss-woo h2, .wss-woo h3 { font-family: var(--f-display); letter-spacing: -0.02em; color: var(--ink); }

/* My Account. */
.wss-woo .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.wss-woo .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.wss-woo .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 2px; }
.wss-woo .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink2); text-decoration: none; font-weight: 500; }
.wss-woo .woocommerce-MyAccount-navigation a:hover { background: var(--s2); color: var(--ink); }
.wss-woo .woocommerce-MyAccount-navigation .is-active a { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.wss-woo .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) { display: block; }
.wss-woo .u-columns.col2-set { gap: 28px; }
.wss-woo .u-column1, .wss-woo .u-column2, .wss-woo .woocommerce-form-login, .wss-woo .woocommerce-form-register { padding: 24px; border: 1px solid var(--line); border-radius: 22px; }
@media (max-width: 860px) { .wss-woo .woocommerce { grid-template-columns: 1fr; } }

/* Product pages for normal products. */
.wss-gen-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: start; }
.wss-gen-img img { width: 100%; height: auto; border-radius: 22px; }
.wss-generic .product_title { font: 650 clamp(30px, 3.6vw, 44px)/1.1 var(--f-display); letter-spacing: -0.03em; margin: 0 0 12px; }
.wss-generic .price { font: 650 26px var(--f-display); color: var(--ink); }
.wss-generic form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.wss-generic .variations { width: 100%; margin-bottom: 10px; }
.wss-generic .woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; padding: 0; margin: 34px 0 18px; border-bottom: 1px solid var(--line); }
.wss-generic .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px; color: var(--ink2); text-decoration: none; font-weight: 600; }
.wss-generic .woocommerce-tabs ul.tabs li.active a { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
@media (max-width: 860px) { .wss-gen-g { grid-template-columns: 1fr; } }
.pc-art .pc-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.wss-prose.pd-lead p:first-child { margin-top: 0; }

/* Elementor editor: show empty WolfStack widgets. */
.elementor-editor-active [class*="elementor-widget-wss-"]:empty::before { content: "WolfStack section"; display: block; padding: 30px; text-align: center; color: var(--ink3); border: 1px dashed var(--line2); }
