/*
Theme Name: Vape24
Description: Custom Czech WooCommerce storefront for Vape24.shop.
Template: storefront
Version: 0.3.0
Text Domain: epod-cz
*/

:root {
  --epod-ink: #262336;
  --epod-soft: #e8e2f1;
  --epod-sale: #b03e57;
  --epod-line: #ddd7e8;
  --epod-accent: #5d4b86;
  --epod-bg: #f7f5fa;
  --epod-footer: #231e31;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--epod-bg); color: var(--epod-ink); font-family: "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--epod-accent); }
button, input, select, textarea { font: inherit; }
.epod-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.epod-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--epod-line); box-shadow: 0 3px 16px rgba(38,35,54,.045); }
.epod-header-inner { display: flex; align-items: center; min-height: 78px; gap: 24px; }
.epod-menu-button { display: none; border: 0; background: none; color: var(--epod-ink); cursor: pointer; font-size: 26px; line-height: 1; padding: 8px; }
.epod-logo { flex: 0 0 auto; display: flex; align-items: center; }
.epod-logo a { display: flex; align-items: center; min-height: 44px; }
.epod-logo img { display: block; width: 140px; max-width: 100%; height: auto; }
.epod-wordmark { font-size: 29px; font-style: italic; font-weight: 900; letter-spacing: -2px; }
.epod-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.epod-nav a { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.epod-header-tools { display: flex; align-items: center; gap: 17px; }
.epod-icon { display: flex; align-items: center; justify-content: center; min-width: 25px; min-height: 32px; font-size: 22px; line-height: 1; }
.epod-cart-count { position: relative; top: -9px; left: -4px; font-size: 10px; font-weight: 800; }
/* Header search shares Vape24's lavender palette and rounded controls. */
.epod-header .epod-search-button { appearance: none; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid var(--epod-line); border-radius: 12px; background: var(--epod-bg); color: var(--epod-accent); box-shadow: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.epod-search-button svg { display: block; flex-shrink: 0; }
.epod-header .epod-search-button:hover { background: var(--epod-soft); border-color: var(--epod-accent); }
.epod-header .epod-search-button[aria-expanded=true] { background: var(--epod-accent); border-color: var(--epod-accent); color: #fff; }
.epod-header .epod-search-button:focus-visible, .epod-search button:focus-visible { outline: 2px solid var(--epod-accent); outline-offset: 3px; }
.epod-header .epod-search { display: none; padding: 0 24px 16px; }
.epod-header .epod-search.is-open { display: block; }
.epod-search form { display: flex; align-items: center; gap: 8px; padding: 5px; border: 1px solid var(--epod-line); border-radius: 14px; background: var(--epod-bg); transition: border-color .18s ease, box-shadow .18s ease; }
.epod-search form:focus-within { border-color: var(--epod-accent); box-shadow: 0 0 0 3px rgba(93,75,134,.1); }
.epod-header .epod-search input[type=search] { flex: 1; width: 100%; min-width: 0; min-height: 44px; margin: 0; border: 0; border-radius: 9px; background: transparent; color: var(--epod-ink); padding: 10px 12px; font-size: 16px; line-height: 1.4; box-shadow: none; }
.epod-header .epod-search input[type=search]:focus { outline: none; box-shadow: none; }
.epod-search input::placeholder { color: #787181; opacity: 1; }
.epod-search button { flex-shrink: 0; min-height: 44px; border: 0; border-radius: 10px; background: var(--epod-accent); color: #fff; padding: 10px 20px; font-size: 14px; font-weight: 650; line-height: 1.4; box-shadow: none; cursor: pointer; }
.epod-search button:hover { background: #49386e; color: #fff; }
@media (max-width: 600px) {
  .epod-header .epod-search { padding: 0 12px 12px; }
  .epod-search button { padding: 10px 16px; }
}

.epod-hero { width: 100%; overflow: hidden; background: var(--epod-footer); }
.epod-hero img { display: block; width: 100%; height: auto; }
.epod-section { padding: 54px 0; }
.epod-section-title { margin: 0 0 25px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; text-transform: uppercase; font-style: normal; letter-spacing: -.025em; font-weight: 750; }
.epod-brand-strip { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 24px 0; }
.epod-brand-strip a { border: 1px solid var(--epod-line); background: var(--epod-soft); border-radius: 8px; padding: 8px 18px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.epod-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.epod-category-card { display: block; background: #fff; border: 1px solid var(--epod-line); border-radius: 12px; box-shadow: 0 6px 18px rgba(38,35,54,.04); overflow: hidden; text-align: center; padding: 20px; }
.epod-category-card img { display: block; height: 220px; width: 100%; object-fit: contain; margin: 0 auto 15px; }
.epod-category-card strong { display: block; font-size: 18px; text-transform: uppercase; }
.epod-intro { background: var(--epod-soft); padding: 42px 0; }
.epod-intro p { max-width: 850px; margin-bottom: 0; line-height: 1.7; }
.epod-shop-link-row { display: flex; justify-content: center; margin: 32px 0 0; }
.epod-shop-link.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 25px; border: 1.5px solid var(--epod-accent); border-radius: 7px; background: transparent; color: var(--epod-accent); font-size: 14px; font-weight: 750; line-height: 1.3; text-align: center; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.epod-shop-link.button::after { content: "\2192"; font-size: 20px; font-weight: 400; line-height: 1; }
.epod-shop-link.button:hover, .epod-shop-link.button:focus-visible { background: var(--epod-accent); border-color: var(--epod-accent); color: #fff; }
.epod-shop-link.button:focus-visible { outline: 2px solid var(--epod-ink); outline-offset: 3px; }

.epod-main { padding: 35px 0 60px; min-height: 55vh; }
.epod-main.epod-wrap { padding-left: 24px; padding-right: 24px; }
.epod-main h1, .epod-main h2, .epod-main h3 { color: var(--epod-ink); }
.epod-main h1 { font-size: clamp(25px, 3vw, 36px); }
.epod-content { max-width: 1000px; line-height: 1.7; }
.epod-content img { max-width: 100%; height: auto; }
.epod-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.epod-post-card { border: 1px solid var(--epod-line); padding: 22px; }
.epod-post-card h2 { font-size: 19px; margin: 0 0 10px; }

.epod-footer { background: var(--epod-footer); color: #fff; padding: 45px 0 25px; }
.epod-footer a { color: #fff; }
.epod-footer a:hover { color: #fff; }
.epod-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.epod-footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; margin: 0 0 16px; }
.epod-footer p { color: #e9e5ef; line-height: 1.6; font-size: 13px; }
.epod-footer ul { list-style: none; margin: 0; padding: 0; }
.epod-footer li { margin: 0 0 9px; font-size: 13px; }
.epod-copyright { border-top: 1px solid rgba(255,255,255,.25); margin-top: 35px; padding-top: 18px; color: #d5cfde; font-size: 12px; }

/* WooCommerce */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce .related.products { display: block; width: 100%; clear: both; }
.woocommerce .related.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products li.product { display: flex; flex-direction: column; float: none; width: auto; min-width: 0; margin: 0; list-style: none; text-align: center; background: #fff; border: 1px solid var(--epod-line); border-radius: 12px; padding: 14px 14px 18px; box-shadow: 0 6px 18px rgba(38,35,54,.045); }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: block; flex: 1 1 auto; }
.woocommerce ul.products li.product > a.button { align-self: center; margin-top: 12px; }
.woocommerce ul.products li.product img { width: 100%; height: 260px; object-fit: contain; margin-bottom: 12px; }
.woocommerce ul.products li.product h2 { font-size: 15px; line-height: 1.45; font-weight: 700; text-transform: uppercase; color: var(--epod-ink); }
.woocommerce .price { color: var(--epod-sale) !important; font-weight: 700; }
.woocommerce .price del { color: var(--epod-ink); opacity: .8; font-weight: 400; }
.woocommerce span.onsale { background: var(--epod-sale); color: #fff; border: 0; border-radius: 0; font-size: 11px; font-weight: 800; text-transform: uppercase; min-width: auto; min-height: auto; padding: 5px 8px; line-height: 1; left: 0; top: 0; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .button, button[type=submit] { border-radius: 7px; background: var(--epod-accent); color: #fff; border: 1px solid var(--epod-accent); font-weight: 700; text-transform: uppercase; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--epod-footer); color: #fff; }
.woocommerce div.product .product_title { font-style: normal; letter-spacing: -.025em; text-transform: uppercase; font-size: clamp(24px, 3vw, 34px); }
.woocommerce div.product div.images img { max-height: 550px; object-fit: contain; }
.woocommerce .woocommerce-breadcrumb { color: #706983; text-transform: uppercase; font-size: 11px; text-align: center; margin-bottom: 28px; }
.woocommerce select, .woocommerce input.input-text, .woocommerce textarea { border: 1px solid var(--epod-line); background: #fff; }
.woocommerce table.shop_table { border-radius: 0; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--epod-accent); }
.woocommerce .epod-main > h1.page-title { margin: 0 0 24px; font-style: normal; font-weight: 750; letter-spacing: -.025em; }
.woocommerce .storefront-sorting { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; width: 100%; margin: 0 0 26px; padding: 14px 18px; background: #fff; border: 1px solid var(--epod-line); border-radius: 10px; box-shadow: 0 4px 14px rgba(38,35,54,.035); }
.woocommerce .storefront-sorting .woocommerce-ordering { position: relative; display: inline-block; float: none; margin: 0; width: auto; }
.woocommerce .storefront-sorting .woocommerce-ordering select { appearance: none; min-width: 230px; max-width: 100%; min-height: 43px; padding: 9px 38px 9px 13px; border: 1px solid var(--epod-line); border-radius: 7px; background: #fff; color: var(--epod-ink); cursor: pointer; }
.woocommerce .storefront-sorting .woocommerce-ordering::after { content: "⌄"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--epod-accent); font-size: 20px; line-height: 1; }
.woocommerce .storefront-sorting .woocommerce-ordering select:focus-visible { outline: 2px solid var(--epod-accent); outline-offset: 2px; }
.woocommerce .storefront-sorting .woocommerce-result-count { float: none; margin: 0; color: #69627a; font-size: 14px; }
.woocommerce .storefront-sorting .woocommerce-pagination { float: none; margin-left: auto; }
.woocommerce .woocommerce-pagination { margin: 24px 0 0; text-align: center; }
.woocommerce .woocommerce-pagination .page-numbers li .page-numbers { border-radius: 6px; }
.woocommerce .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--epod-accent); color: #fff; }
.epod-content table { width: 100% !important; max-width: 100%; table-layout: fixed; border-collapse: collapse; }
.epod-content table th, .epod-content table td { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: normal; border-color: var(--epod-line); }
.epod-content table th { background: var(--epod-footer); color: #fff; }
.epod-content table tr:nth-child(even) td { background: #f0ebf6; }
.epod-content iframe, .epod-content video { max-width: 100%; }
.epod-reviews-header { max-width: 720px; margin: 0 0 32px; }
.epod-reviews-header h1 { margin: 0 0 8px; font-style: normal; font-weight: 750; letter-spacing: -.025em; }
.epod-reviews-header p { margin: 0; color: #69627a; }
.epod-reviews-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.epod-review-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--epod-line); border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(38,35,54,.035); }
.epod-review-stars { color: var(--epod-accent); font-size: 19px; letter-spacing: 2px; line-height: 1; }
.epod-review-text { margin: 16px 0 24px; line-height: 1.65; overflow-wrap: anywhere; }
.epod-review-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin-top: auto; font-size: 13px; }
.epod-review-meta time { color: #777087; }
.epod-review-product { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--epod-line); color: var(--epod-accent); font-size: 13px; font-weight: 700; line-height: 1.4; }
.epod-review-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.epod-review-pagination .page-numbers { min-width: 38px; padding: 8px 12px; border: 1px solid var(--epod-line); border-radius: 7px; background: #fff; text-align: center; }
.epod-review-pagination .page-numbers.current { background: var(--epod-accent); border-color: var(--epod-accent); color: #fff; }

@media (max-width: 950px) {
  .epod-header-inner { gap: 12px; min-height: 60px; justify-content: space-between; }
  .epod-menu-button { display: block; order: 1; }
  .epod-logo { order: 2; margin: 0 auto; }
  .epod-header-tools { order: 3; gap: 11px; }
  .epod-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--epod-line); padding: 16px 22px 24px; margin: 0; flex-direction: column; align-items: flex-start; gap: 16px; box-shadow: 0 10px 20px #0001; }
  .epod-nav.is-open { display: flex; }
  .epod-category-grid { gap: 12px; }
  .epod-category-card img { height: 140px; }
  .woocommerce ul.products, .woocommerce .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .epod-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .epod-hero img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 52% center; }
  .epod-wrap { padding: 0 16px; }
  .epod-header-inner { padding: 0 12px; }
  .epod-logo img { width: 100px; }
  .epod-icon { font-size: 19px; }
  .epod-section { padding: 34px 0; }
  .epod-section-title { font-size: 23px; }
  .epod-shop-link-row { margin-top: 25px; }
  .epod-shop-link.button { width: 100%; max-width: 340px; }
  .epod-category-grid { grid-template-columns: 1fr; }
  .epod-category-card { display: flex; align-items: center; text-align: left; padding: 10px; }
  .epod-category-card img { height: 85px; width: 100px; margin: 0 15px 0 0; }
  .epod-category-card strong { font-size: 15px; }
  .woocommerce ul.products, .woocommerce .related.products ul.products { gap: 12px; }
  .woocommerce ul.products li.product img { height: 150px; }
  .woocommerce ul.products li.product h2 { font-size: 12px; }
  .woocommerce ul.products li.product > a.button { width: 100%; min-height: 42px; padding: 10px 5px; font-size: 11px; line-height: 1.25; white-space: nowrap; }
  .epod-posts, .epod-footer-grid { grid-template-columns: 1fr; }
  .epod-main { padding: 24px 0 45px; }
  .epod-main.epod-wrap { padding-left: 16px; padding-right: 16px; }
  .woocommerce .storefront-sorting { flex-direction: column; align-items: stretch; gap: 9px; padding: 13px; margin-bottom: 20px; }
  .woocommerce .storefront-sorting .woocommerce-ordering, .woocommerce .storefront-sorting .woocommerce-ordering select { width: 100%; }
  .woocommerce .storefront-sorting .woocommerce-pagination { margin: 0; }
  .epod-content table th, .epod-content table td { padding: 9px 7px !important; font-size: 13px; line-height: 1.45; }
}

/* Ink and muted plum finish across WooCommerce and content pages. */
@media (max-width: 360px) {
  .epod-logo img { width: 88px; }
}
.epod-hero img { filter: none; }
.epod-nav a, .epod-icon, .epod-menu-button { color: var(--epod-ink); }
.epod-post-card { background: #fff; border-radius: 12px; }
.epod-main h1, .epod-main h2, .epod-main h3 { color: var(--epod-ink); }
.epod-main a:not(.button):not(.added_to_cart):hover { color: var(--epod-accent); }
.woocommerce ul.products li.product h2 { font-weight: 650; }
.woocommerce ul.products li.product .onsale { background: var(--epod-sale); color: #fff; border-radius: 5px; }
.woocommerce ul.products li.product a.button { max-width: 100%; white-space: normal; overflow-wrap: break-word; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--epod-sale); }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--epod-ink); opacity: .65; }
.woocommerce div.product div.images { background: #fff; border: 1px solid var(--epod-line); border-radius: 12px; padding: 12px; }
.woocommerce div.product div.images img { border-radius: 10px; }
.woocommerce div.product .summary { color: var(--epod-ink); background: var(--epod-soft); border: 1px solid var(--epod-line); border-radius: 12px; padding: 24px; box-shadow: 0 6px 18px rgba(38,35,54,.035); }
.woocommerce div.product .summary .price { color: var(--epod-sale); }
.woocommerce div.product .woocommerce-tabs { color: var(--epod-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a, .woocommerce div.product .product_meta a { color: var(--epod-accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--epod-ink); }
.woocommerce div.product .woocommerce-tabs .panel { width: 100%; min-width: 0; overflow-wrap: break-word; }
.woocommerce div.product .related.products > h2 { margin: 0 0 24px; font-size: clamp(24px,3vw,32px); }
.woocommerce select, .woocommerce input.input-text, .woocommerce textarea, .woocommerce .quantity input { border: 1px solid var(--epod-line); border-radius: 6px; color: var(--epod-ink); background: #fff; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .button, button[type=submit] { background: var(--epod-accent); border-color: var(--epod-accent); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .5; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before, .woocommerce p.stars a { color: var(--epod-accent); }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--epod-accent); }
.woocommerce table.shop_table { border-color: var(--epod-line); border-radius: 8px; }
.woocommerce .woocommerce-tabs .panel .product-wrapper { max-width: 100%; color: var(--epod-ink) !important; }
.woocommerce .woocommerce-tabs .panel .product-wrapper div[style*="background: #f8fafc"] { background: var(--epod-soft) !important; }
.woocommerce .woocommerce-tabs .panel .product-wrapper table { border-color: var(--epod-line) !important; }
.woocommerce .woocommerce-tabs .panel .product-wrapper table tr:first-child th { background: var(--epod-footer) !important; color: #fff !important; }
.woocommerce .woocommerce-tabs .panel .product-wrapper table tr:nth-child(even) { background: #f1edf6 !important; }
.woocommerce .woocommerce-tabs .panel .product-wrapper section[style*="background: #0f172a"] { background: var(--epod-footer) !important; }
.woocommerce .woocommerce-tabs .panel .product-wrapper section[style*="background: #0f172a"] h2 { color: #fff !important; }
.wc-block-grid__products { width: 100%; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
.wc-block-grid__product { min-width: 0; max-width: 100%; box-sizing: border-box; }
.wc-block-grid__product-title { color: var(--epod-ink); }
.wc-block-grid__product-price, .wc-block-components-product-price { color: var(--epod-sale); }
.wc-block-components-button, .wc-block-grid__product-add-to-cart .wp-block-button__link { background: var(--epod-accent) !important; color: #fff !important; border-radius: 7px !important; }
.wc-block-components-button:hover, .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--epod-footer) !important; }
.wc-block-grid__product-onsale { border-color: var(--epod-sale); color: var(--epod-sale); }
.wp-block-button__link { background: var(--epod-accent); color: #fff; border-radius: 7px; }

@media (max-width: 950px) {
  .woocommerce .related.products ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .epod-reviews-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .woocommerce div.product .summary { padding: 18px; margin: 18px 0 24px; }
  .woocommerce div.product .woocommerce-tabs .panel .product-wrapper { padding: 12px !important; }
  .woocommerce .related.products ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .woocommerce .related.products ul.products li.product { padding: 10px; }
  .woocommerce .related.products ul.products li.product img { height: 150px; }
  .woocommerce .related.products ul.products li.product a.button { font-size: 11px; padding: 10px 6px; }
  .wc-block-grid__product { flex-basis: 50% !important; }
  .epod-reviews-grid { grid-template-columns: 1fr; }
  .epod-review-card { padding: 18px; }
}

/* Archive controls: the visible sort menu stays within the site palette. */
.woocommerce .storefront-sorting { position: relative; overflow: visible; }
.woocommerce .storefront-sorting .woocommerce-ordering::after { content: none; }
.woocommerce .storefront-sorting .woocommerce-ordering select.orderby {
  min-height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%235d4b86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 16px;
}
.woocommerce .storefront-sorting .woocommerce-ordering.epod-ordering-enhanced select.orderby { display: none; }
.woocommerce .storefront-sorting .woocommerce-ordering.epod-ordering-enhanced { width: min(100%, 360px); z-index: 5; }
.epod-sort-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 48px; padding: 10px 14px 10px 16px;
  border: 1px solid var(--epod-line); border-radius: 8px;
  background: #fff; color: var(--epod-ink); text-align: left;
  font-size: 14px; line-height: 1.35; cursor: pointer;
}
.epod-sort-trigger::after {
  content: ""; display: block; flex: 0 0 9px; width: 9px; height: 9px;
  border-right: 2px solid var(--epod-accent); border-bottom: 2px solid var(--epod-accent);
  transform: translateY(-2px) rotate(45deg); transition: transform .18s ease;
}
.epod-sort-open .epod-sort-trigger { border-color: var(--epod-accent); box-shadow: 0 0 0 3px rgba(93,75,134,.12); }
.woocommerce .epod-sort-trigger:hover, .woocommerce .epod-sort-trigger:focus { background: #fff; color: var(--epod-ink); }
.epod-sort-open .epod-sort-trigger::after { transform: translateY(2px) rotate(225deg); }
.epod-sort-trigger:focus-visible, .epod-sort-option:focus-visible { outline: 2px solid var(--epod-accent); outline-offset: 2px; }
.epod-sort-options {
  position: absolute; top: calc(100% + 7px); left: 0; right: 0; z-index: 20;
  max-height: min(350px, 60vh); overflow-y: auto; padding: 6px;
  background: #fff; border: 1px solid var(--epod-line); border-radius: 10px;
  box-shadow: 0 18px 38px rgba(35,30,49,.16);
}
.epod-sort-options[hidden] { display: none; }
.epod-sort-option {
  display: block; width: 100%; padding: 10px 12px;
  border: 0; border-radius: 6px; background: transparent;
  color: var(--epod-ink); text-align: left; font-size: 14px; line-height: 1.4;
  cursor: pointer;
}
.epod-sort-option:hover, .epod-sort-option:focus-visible { background: var(--epod-soft); }
.epod-sort-option[aria-selected="true"] { background: var(--epod-soft); color: var(--epod-accent); font-weight: 700; }

/* Storefront floats bottom pagination; keep it in document flow above the footer. */
.woocommerce .epod-main > nav.woocommerce-pagination {
  float: none !important; clear: both; display: flex; justify-content: center;
  width: 100%; margin: 32px 0 0; text-align: center;
}
.woocommerce nav.woocommerce-pagination > ul.page-numbers {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 7px; margin: 0; padding: 0; border: 0;
}
.woocommerce nav.woocommerce-pagination > ul.page-numbers > li { float: none; border: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination > ul.page-numbers > li > .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; min-height: 42px; padding: 7px 10px;
  border: 1px solid var(--epod-line); border-radius: 7px;
  background: #fff; color: var(--epod-ink); font-size: 15px; line-height: 1;
}
.woocommerce nav.woocommerce-pagination > ul.page-numbers > li > a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination > ul.page-numbers > li > a.page-numbers:focus-visible { border-color: var(--epod-accent); color: var(--epod-accent); background: var(--epod-soft); }
.woocommerce nav.woocommerce-pagination > ul.page-numbers > li > .page-numbers.current { background: var(--epod-accent); border-color: var(--epod-accent); color: #fff; }
.woocommerce .storefront-sorting nav.woocommerce-pagination { float: none; margin: 0 0 0 auto; }
.woocommerce .storefront-sorting nav.woocommerce-pagination > ul.page-numbers > li > .page-numbers { min-width: 34px; min-height: 34px; font-size: 13px; }

/* Product controls shared by the sampled variable products. */
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 18px; }
.woocommerce div.product form.cart .variations tbody, .woocommerce div.product form.cart .variations tr { display: block; width: 100%; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; width: 100%; padding: 0; text-align: left; }
.woocommerce div.product form.cart .variations th label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.woocommerce div.product form.cart .variations td.value select {
  appearance: none; display: block; width: 100%; max-width: 100%; min-height: 46px;
  padding: 9px 40px 9px 13px; border: 1px solid var(--epod-line);
  border-radius: 7px; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%235d4b86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 15px center; background-repeat: no-repeat; background-size: 16px;
  color: var(--epod-ink); cursor: pointer;
}
.woocommerce div.product form.cart .variations td.value select:focus-visible { outline: 2px solid var(--epod-accent); outline-offset: 2px; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 8px; color: var(--epod-accent); font-size: 13px; }
.woocommerce div.product .quantity .qty { min-height: 46px; }
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist-button {
  min-height: 40px; padding: 8px 13px; border: 1px solid var(--epod-accent) !important;
  border-radius: 7px; background: transparent !important; color: var(--epod-accent) !important;
  font-size: 13px; font-weight: 700;
}
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist-button:hover { background: #fff !important; }
body.single-product .storefront-product-pagination { display: none !important; }

@media (max-width: 600px) {
  .woocommerce .storefront-sorting .woocommerce-ordering.epod-ordering-enhanced { width: 100%; }
  .woocommerce .storefront-sorting nav.woocommerce-pagination { margin: 5px 0 0; }
  .woocommerce .epod-main > nav.woocommerce-pagination { margin-top: 24px; }
}
