/*
Theme Name: IceWorld Store
Theme URI: https://example.com/iceworld-store
Author: IceWorld Store
Description: A responsive WooCommerce storefront for home appliances, electronics, and repair services.
Version: 1.1.7
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: iceworld-store
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --iw-green: #079a36;
  --iw-green-dark: #006f2d;
  --iw-navy: #072f69;
  --iw-ink: #13233a;
  --iw-muted: #66758f;
  --iw-line: #e5edf4;
  --iw-soft: #f4fbf8;
  --iw-white: #fff;
  --iw-container: 1180px;
  --iw-radius: 12px;
  --iw-shadow: 0 12px 32px rgba(17, 54, 79, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--iw-ink);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.iw-container { width: min(calc(100% - 40px), var(--iw-container)); margin-inline: auto; }
.iw-main { min-height: 48vh; }
.iw-icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.iw-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iw-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; color: #fff; background: var(--iw-green); font-weight: 800; cursor: pointer; transition: transform .2s, background .2s; }
.iw-button:hover { color: #fff; background: var(--iw-green-dark); transform: translateY(-1px); }

/* Header */
.iw-topbar { color: #fff; background: linear-gradient(105deg, #1479ab 0%, #068b6a 56%, #06a51f 100%); font-size: 13px; }
.iw-topbar__inner { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.iw-topbar__contact, .iw-topbar__links { display: flex; align-items: center; gap: 22px; }
.iw-topbar a { display: inline-flex; align-items: center; gap: 7px; }
.iw-topbar__links a + a { position: relative; }
.iw-topbar__links a + a::before { content: ""; position: absolute; left: -11px; height: 16px; border-left: 1px solid rgba(255,255,255,.45); }
.iw-header { background: #fff; border-bottom: 1px solid var(--iw-line); }
.iw-header__inner { min-height: 86px; display: grid; grid-template-columns: 150px minmax(260px, 1fr) auto; align-items: center; gap: 30px; }
.iw-logo { display: inline-flex; align-items: center; max-width: 140px; }
.iw-logo__text { color: var(--iw-green); font-size: 30px; line-height: .86; font-weight: 950; letter-spacing: -2px; }
.iw-logo__text small { display: block; padding-left: 2px; color: #176135; font-size: 10px; letter-spacing: 2px; }
.iw-product-search { position: relative; }
.iw-product-search input { width: 100%; height: 48px; padding: 0 60px 0 20px; border: 1px solid #dbe5ef; border-radius: 999px; outline: 0; background: #fbfdff; color: var(--iw-ink); }
.iw-product-search input:focus { border-color: var(--iw-navy); box-shadow: 0 0 0 3px rgba(7,47,105,.08); }
.iw-product-search button { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--iw-navy); color: #fff; cursor: pointer; }
.iw-header-actions { display: flex; align-items: center; gap: 24px; }
.iw-header-action { position: relative; display: grid; justify-items: center; gap: 3px; color: var(--iw-navy); font-size: 11px; font-weight: 700; white-space: nowrap; }
.iw-header-action .iw-icon { width: 24px; height: 24px; }
.iw-cart-count { position: absolute; top: -7px; right: 1px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #fff; border-radius: 99px; color: #fff; background: var(--iw-green); font-size: 10px; }

/* Navigation and categories dropdown */
.iw-nav-wrap { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid var(--iw-line); box-shadow: 0 4px 13px rgba(22,59,84,.04); }
.iw-nav { min-height: 56px; display: flex; align-items: stretch; gap: 8px; }
.iw-category-menu { position: relative; flex: 0 0 205px; }
.iw-category-toggle { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 0 14px 0 0; border: 0; color: var(--iw-navy); background: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.iw-category-toggle__label { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.iw-category-toggle .iw-icon { width: 22px; height: 22px; }
.iw-category-toggle__chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.iw-category-menu.is-open .iw-category-toggle__chevron { transform: rotate(225deg) translate(-2px, -1px); }
.iw-category-dropdown { position: absolute; top: 100%; left: 0; z-index: 80; width: 264px; margin-top: 0; padding: 10px 0; border: 1px solid var(--iw-line); border-radius: 0 0 10px 10px; background: #fff; box-shadow: var(--iw-shadow); visibility: hidden; opacity: 0; transform: translateY(-5px); transition: opacity .18s, transform .18s, visibility .18s; }
.iw-category-menu.is-open .iw-category-dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
.iw-category-dropdown ul { list-style: none; margin: 0; padding: 0; }
.iw-category-dropdown li + li { border-top: 1px solid #edf2f6; }
.iw-category-dropdown a { min-height: 46px; display: grid; grid-template-columns: 25px 1fr 10px; align-items: center; gap: 11px; padding: 5px 16px; color: var(--iw-navy); font-size: 13px; font-weight: 700; }
.iw-category-dropdown a:hover { color: var(--iw-green); background: #f6fbf8; }
.iw-category-dropdown__icon { width: 23px; height: 23px; object-fit: contain; }
.iw-category-dropdown__fallback { display: grid; place-items: center; width: 23px; height: 23px; border: 1.5px solid currentColor; border-radius: 5px; font-size: 12px; }
.iw-category-dropdown__arrow { width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.iw-primary-nav { flex: 1; min-width: 0; display: flex; align-items: stretch; }
.iw-primary-nav > ul, .iw-primary-nav .menu { flex: 1; display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.iw-primary-nav li { display: flex; align-items: stretch; }
.iw-primary-nav a { display: flex; align-items: center; padding: 0 12px; color: var(--iw-navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.iw-primary-nav a:hover { color: var(--iw-green); }
.iw-deals-link { align-self: center; display: flex; align-items: center; gap: 8px; min-height: 38px; margin-left: auto; padding: 0 20px; border-radius: 999px; color: #fff; background: var(--iw-green); font-size: 13px; font-weight: 800; }
.iw-mobile-toggle { display: none; border: 0; color: var(--iw-navy); background: transparent; cursor: pointer; }

/* Homepage */
.iw-home { background: linear-gradient(180deg, #fff 0%, #f3fbfb 60%, #fff 100%); }
.iw-hero { position: relative; overflow: hidden; background: #f4fbf8; padding: 0 16px; }
.iw-hero__slides { position: relative; max-width: var(--iw-container); height: 410px; margin: 0 auto; overflow: hidden; border-radius: var(--iw-radius); background: #eaf5ef; box-shadow: 0 8px 28px rgba(15,70,45,.08); touch-action: pan-y; }
.iw-hero__slide { position: absolute; inset: 0; background-color: #c9e4da; background-position: center; background-size: cover; transform: translateX(100%); transition: transform .7s cubic-bezier(.22,.61,.36,1); z-index: 1; }
.iw-hero__slide.is-active { transform: translateX(0); z-index: 2; }
.iw-hero__slide.is-prev { transform: translateX(-100%); z-index: 1; }
.iw-hero__slide.no-transition { transition: none !important; }
.iw-hero__slide-link { position: absolute; inset: 0; z-index: 3; }
.iw-hero__caption { position: absolute; z-index: 4; left: 38px; bottom: 36px; max-width: 440px; padding: 18px 20px; border-radius: 14px; color: #fff; background: rgba(0,55,34,.82); backdrop-filter: blur(6px); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.iw-hero__caption strong { display:block; font-size: 28px; line-height: 1.08; }
.iw-hero__caption span { display:block; margin-top:6px; opacity:.92; }
.iw-hero__caption b { display:inline-flex; margin-top:12px; padding:8px 13px; border-radius:999px; background:#fff; color:#078b43; font-size:13px; }
.iw-hero__placeholder { height: 100%; display: grid; place-items: center; color: rgba(0,87,51,.15); }
.iw-hero__placeholder .iw-icon { width: 260px; height: 160px; }
.iw-hero__arrow { position:absolute; z-index:6; top:50%; transform:translateY(-50%); width:42px; height:42px; border:0; border-radius:50%; display:grid; place-items:center; cursor:pointer; color:#063b2a; background:rgba(255,255,255,.94); box-shadow:0 6px 18px rgba(0,0,0,.15); opacity:.92; transition:.2s ease; }
.iw-hero__arrow:hover { transform:translateY(-50%) scale(1.05); opacity:1; }
.iw-hero__arrow--prev { left:16px; }
.iw-hero__arrow--next { right:16px; }
.iw-hero__arrow svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.4; }
.iw-hero__dots { position:absolute; z-index:6; left:50%; bottom:14px; transform:translateX(-50%); display:flex; gap:7px; padding:7px 9px; border-radius:999px; background:rgba(255,255,255,.78); backdrop-filter:blur(5px); }
.iw-hero__dot { width:8px; height:8px; padding:0; border:0; border-radius:50%; cursor:pointer; background:#c6d2cb; transition:.2s ease; }
.iw-hero__dot.is-active { width:22px; border-radius:999px; background:#079a36; }
.iw-hero.is-paused .iw-hero__dots { opacity:.9; }
.iw-section { padding: 38px 0; }
.iw-section--tight { padding: 24px 0; }
.iw-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.iw-section-heading h2 { margin: 0; color: #075537; font-size: clamp(28px, 3.5vw, 38px); line-height: 1; letter-spacing: -1.4px; }
.iw-section-heading p { margin: 7px 0 0; color: var(--iw-muted); font-size: 13px; }
.iw-section-link { display: inline-flex; align-items: center; gap: 9px; color: var(--iw-green); font-weight: 800; white-space: nowrap; }

.iw-benefits { margin-top: -1px; background: #fff; border-bottom: 1px solid var(--iw-line); box-shadow: 0 8px 25px rgba(15,90,80,.05); }
.iw-benefits__grid { min-height: 86px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.iw-benefit { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px; padding: 8px 24px; }
.iw-benefit + .iw-benefit { border-left: 1px solid var(--iw-line); }
.iw-benefit .iw-icon { width: 38px; height: 38px; color: var(--iw-green); }
.iw-benefit strong { display: block; color: var(--iw-navy); font-size: 13px; }
.iw-benefit span { color: var(--iw-muted); font-size: 12px; }

.iw-categories { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.iw-category-tile { min-height: 130px; display: grid; grid-template-rows: 82px auto; align-items: center; justify-items: center; padding: 12px 6px; border: 1px solid var(--iw-line); border-radius: 10px; background: #fff; box-shadow: 0 5px 16px rgba(16,84,73,.04); text-align: center; transition: transform .2s, box-shadow .2s; }
.iw-category-tile:hover { transform: translateY(-3px); box-shadow: var(--iw-shadow); }
.iw-category-tile img { width: 80px; height: 70px; object-fit: contain; }
.iw-category-tile__placeholder { display: grid; place-items: center; width: 70px; height: 62px; border-radius: 12px; color: var(--iw-green); background: #ecf9f0; }
.iw-category-tile__placeholder .iw-icon { width: 34px; height: 34px; }
.iw-category-tile span { color: #07523f; font-size: 11px; font-weight: 700; line-height: 1.2; }

.iw-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
 .iw-product-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; padding: 10px 10px 9px; border: 1px solid #dde8ee; border-radius: 10px; background: #fff; box-shadow: 0 4px 14px rgba(16,84,73,.035); transition: transform .2s, box-shadow .2s; }
.iw-product-card:hover { transform: translateY(-3px); box-shadow: var(--iw-shadow); }
.iw-product-card__badge { position: absolute; top: 10px; left: 10px; z-index: 3; padding: 5px 9px; border-radius: 4px; color: #fff; background: #ff2028; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.iw-product-card__badge--featured { background: var(--iw-green); }
.iw-product-card__image { height: 142px; overflow: hidden; display: grid; place-items: center; margin-bottom: 8px; padding: 6px; border-radius: 8px; background: #fff; }
.iw-product-card__image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* Reference-card typography: strong green product/brand line, light secondary title. */
.iw-product-card__brand { display: block; margin: 0 0 3px; color: #087a2e; font-size: 14px; font-weight: 900; line-height: 1.08; text-transform: uppercase; letter-spacing: -.2px; }
.iw-product-card h3 { min-height: 36px; max-height: 36px; overflow: hidden; display: -webkit-box; margin: 0 0 5px; color: #7786a6; font-size: 11.5px; font-weight: 500; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.iw-product-card h3 a { color: inherit; }
/* Keep a rating row on every card. Real WooCommerce ratings are used when reviews exist; unrated products show empty stars. */
.iw-product-card__rating { min-height: 18px; display: flex; align-items: center; gap: 5px; margin-top: auto; color: #7e8ba5; font-size: 10px; line-height: 1; }
.iw-product-card .star-rating { float: none; width: 5.4em; margin: 0; color: #ff9d00; font-size: 12px; }
.iw-product-card__stars-empty { color: #ffb24a; font-size: 14px; line-height: 1; letter-spacing: 1px; white-space: nowrap; }
.iw-product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.iw-product-card__price { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: #087a2e; line-height: 1.1; }
.iw-product-card__price-current { color: #087a2e; font-size: 18px; font-weight: 900; letter-spacing: -.25px; white-space: nowrap; }
.iw-product-card__price-old { color: #9aa7bc; font-size: 9px; font-weight: 500; text-decoration: line-through; white-space: nowrap; }
.iw-product-card__cart .button, .iw-product-card__cart a { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; overflow: hidden; padding: 0; border: 1px solid #c8efd5; border-radius: 7px; color: #109b3d; background: #eaf9ef; font-size: 0; box-shadow: none; }
.iw-product-card__cart .button:hover, .iw-product-card__cart a:hover { color: #087a2e; background: #ddf6e6; border-color: #b6e7c6; }
.iw-product-card__cart .iw-icon { width: 22px; height: 22px; }
.iw-product-card__cart .added_to_cart { display: none; }
.iw-empty { grid-column: 1 / -1; padding: 44px; border: 1px dashed #cad8e2; border-radius: var(--iw-radius); background: #fff; color: var(--iw-muted); text-align: center; }

.iw-promos { display: grid; grid-template-columns: 1.12fr 1fr; gap: 14px; }
.iw-promo { position: relative; min-height: 220px; overflow: hidden; display: flex; align-items: center; padding: 30px; border-radius: 12px; color: #fff; background: linear-gradient(115deg, #006c38, #14aa3d); background-position: center; background-size: cover; }
.iw-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,91,47,.95), rgba(3,162,50,.42)); }
.iw-promo--repair { color: #075537; background-color: #daf7d7; background-image: linear-gradient(115deg, #e9ffe4, #b8efc9); }
.iw-promo--repair::before { background: linear-gradient(90deg, rgba(237,255,234,.98), rgba(210,250,222,.50)); }
.iw-promo__content { position: relative; z-index: 2; width: 62%; }
.iw-promo h3 { margin: 0 0 8px; font-size: 31px; line-height: 1.02; letter-spacing: -1px; }
.iw-promo p { margin: 0 0 17px; font-size: 13px; }
.iw-promo--repair .iw-button { min-height: 40px; }

.iw-newsletter { color: #fff; background: linear-gradient(105deg, #126eba, #00a331); }
.iw-newsletter__inner { min-height: 82px; display: grid; grid-template-columns: 1fr minmax(340px, 520px); align-items: center; gap: 30px; }
.iw-newsletter__copy { display: flex; align-items: center; gap: 15px; }
.iw-newsletter__copy .iw-icon { width: 36px; height: 36px; }
.iw-newsletter__copy strong { display: block; font-size: 14px; }
.iw-newsletter__copy span { font-size: 11px; opacity: .9; }
.iw-newsletter form { display: grid; grid-template-columns: 1fr 140px; gap: 14px; }
.iw-newsletter input[type="email"] { height: 44px; padding: 0 17px; border: 0; border-radius: 6px; outline: 0; }
.iw-newsletter button { border: 0; border-radius: 6px; color: #fff; background: #00a01f; font-weight: 800; cursor: pointer; }
.iw-newsletter__message { grid-column: 1 / -1; margin: -8px 0 0; font-size: 12px; }
.iw-honeypot { position: absolute; left: -9999px; }

/* Footer and general content */
.iw-footer { padding: 36px 0 16px; color: #c8d2df; background: #111b2a; }
.iw-footer__grid { display: grid; grid-template-columns: 1.05fr .9fr .8fr .9fr 1.1fr; gap: 34px; }
.iw-footer h3 { margin: 0 0 13px; color: #fff; font-size: 13px; }
.iw-footer ul { list-style: none; margin: 0; padding: 0; }
.iw-footer li, .iw-footer p { margin: 0 0 7px; font-size: 12px; }
.iw-footer a:hover { color: #fff; }
.iw-footer__contact a { display: flex; align-items: center; gap: 8px; }
.iw-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.09); font-size: 11px; }
.iw-content { padding: 48px 0; }
.iw-content__card { padding: 32px; border: 1px solid var(--iw-line); border-radius: var(--iw-radius); background: #fff; }
.iw-content h1 { color: #075537; }

/* WooCommerce compatibility */
.woocommerce .woocommerce-breadcrumb { margin: 24px 0; color: var(--iw-muted); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { padding: 14px; border: 1px solid var(--iw-line); border-radius: 10px; background: #fff; }
.woocommerce span.onsale { background: var(--iw-green); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { color: #fff; background: var(--iw-green); border-radius: 6px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: #fff; background: var(--iw-green-dark); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--iw-green); }

@media (max-width: 1100px) {
  .iw-container { width: min(calc(100% - 30px), var(--iw-container)); }
  .iw-header__inner { grid-template-columns: 130px minmax(220px, 1fr) auto; gap: 18px; }
  .iw-header-actions { gap: 14px; }
  .iw-primary-nav a { padding: 0 7px; font-size: 11px; }
  .iw-categories { grid-template-columns: repeat(4, 1fr); }
  .iw-products { grid-template-columns: repeat(4, 1fr); }
  .iw-product-card:nth-child(n+9) { display: none; }
}

@media (max-width: 820px) {
  .iw-topbar__links { display: none; }
  .iw-topbar__inner { justify-content: center; }
  .iw-header__inner { min-height: 76px; grid-template-columns: 120px 1fr auto; }
  .iw-header-actions .iw-header-action:not(.iw-header-action--cart) { display: none; }
  .iw-mobile-toggle { display: inline-flex; align-self: center; padding: 10px; }
  .iw-nav { min-height: 52px; }
  .iw-category-menu { flex-basis: 180px; }
  .iw-primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 10px 15px 18px; border-top: 1px solid var(--iw-line); background: #fff; box-shadow: var(--iw-shadow); }
  .iw-primary-nav.is-open { display: block; }
  .iw-primary-nav > ul, .iw-primary-nav .menu { display: block; }
  .iw-primary-nav li, .iw-primary-nav a { display: block; }
  .iw-primary-nav a { padding: 10px; }
  .iw-deals-link { margin-left: auto; }
  .iw-hero { min-height: 360px; }
  .iw-hero__inner { min-height: 360px; }
  .iw-hero__content { width: 58%; padding-left: 0; margin-left: 0; }
  .iw-hero__media { left: 45%; }
  .iw-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .iw-benefit:nth-child(3) { border-left: 0; }
  .iw-benefit:nth-child(n+3) { border-top: 1px solid var(--iw-line); }
  .iw-products { grid-template-columns: repeat(3, 1fr); }
  .iw-product-card:nth-child(n+7) { display: none; }
  .iw-promos { grid-template-columns: 1fr; }
  .iw-newsletter__inner { grid-template-columns: 1fr; gap: 14px; padding-block: 18px; }
  .iw-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .iw-container { width: min(calc(100% - 24px), var(--iw-container)); }
  .iw-topbar__contact { width: 100%; justify-content: space-around; gap: 10px; }
  .iw-topbar__contact a { font-size: 11px; }
  .iw-header__inner { grid-template-columns: 105px 1fr auto; gap: 9px; }
  .iw-logo__text { font-size: 25px; }
  .iw-product-search input { height: 42px; padding-left: 13px; font-size: 11px; }
  .iw-product-search button { width: 34px; height: 34px; }
  .iw-header-action span:not(.iw-cart-count), .iw-deals-link { display: none; }
  .iw-category-menu { flex-basis: 166px; }
  .iw-category-dropdown { width: 250px; }
  .iw-hero { min-height: 510px; }
  .iw-hero__inner { min-height: 510px; align-items: flex-start; }
  .iw-hero__content { width: 100%; padding: 35px 4px; }
  .iw-hero__content h1 { max-width: 330px; font-size: 44px; }
  .iw-hero__copy { max-width: 300px; font-size: 15px; }
  .iw-hero__media { inset: 53% 0 0; }
  .iw-hero__media::after { background: linear-gradient(180deg, #e8f5ef 0%, rgba(232,245,239,.04) 38%); }
  .iw-benefits__grid { grid-template-columns: 1fr 1fr; }
  .iw-benefit { grid-template-columns: 32px 1fr; padding: 12px 8px; }
  .iw-benefit .iw-icon { width: 29px; height: 29px; }
  .iw-categories { grid-template-columns: repeat(2, 1fr); }
  .iw-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iw-product-card:nth-child(n+7) { display: flex; }
  .iw-product-card__image { height: 145px; }
  .iw-product-card h3 { min-height: 34px; }
  .iw-product-card__price { font-size: 15px; }
  .iw-section { padding: 30px 0; }
  .iw-promo { min-height: 210px; padding: 24px; }
  .iw-promo__content { width: 82%; }
  .iw-promo h3 { font-size: 27px; }
  .iw-newsletter form { grid-template-columns: 1fr 108px; gap: 8px; }
  .iw-footer__grid { grid-template-columns: 1fr 1fr; }
  .iw-footer__bottom { display: block; }
}

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

/* =========================================================
   IceWorld Store v1.1.2 final polish
   ========================================================= */

/* Navigation: compact, confident green category control */
.iw-nav { align-items: center; }
.iw-category-menu { flex: 0 0 192px; padding: 7px 0; }
.iw-category-toggle {
  height: 42px;
  padding: 0 14px;
  border: 1px solid #05772d;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(180deg,#079f3a 0%,#078731 100%);
  box-shadow: 0 2px 6px rgba(0,111,45,.16);
  font-size: 12px;
  letter-spacing: -.05px;
}
.iw-category-toggle:hover { background: #087f31; }
.iw-category-toggle .iw-icon { width: 20px; height: 20px; }
.iw-category-toggle__chevron { width: 7px; height: 7px; border-width: 2px; }
.iw-category-dropdown {
  top: calc(100% - 7px);
  width: 270px;
  padding: 7px 0;
  border: 1px solid #e3ebf1;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(20,50,74,.16);
  overflow: hidden;
}
.iw-category-dropdown li + li { border-top: 1px solid #edf2f5; }
.iw-category-dropdown a {
  min-height: 45px;
  grid-template-columns: 27px minmax(0,1fr) 10px;
  gap: 10px;
  padding: 7px 14px;
  color: #073f83;
  font-size: 12.5px;
  font-weight: 650;
  background: #fff;
}
.iw-category-dropdown a:hover { color: #078d35; background: #f3faf6; }
.iw-category-line-icon { width: 25px; height: 25px; display: grid; place-items: center; color: #0b4ba0; }
.iw-category-line-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iw-category-dropdown__arrow { justify-self: end; color: #0b4ba0; }
.iw-category-dropdown a:hover .iw-category-line-icon,
.iw-category-dropdown a:hover .iw-category-dropdown__arrow { color: #079a36; }
.iw-primary-nav a { font-weight: 650; }
.iw-deals-link { border-radius: 999px; }

/* Homepage promo trio */
.iw-promos { grid-template-columns: 1.08fr 1fr; }
.iw-promo--dummy {
  grid-column: 1 / -1;
  min-height: 176px;
  background:
    radial-gradient(circle at 85% 50%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(105deg,#073f83 0%,#0879b8 52%,#08a34a 100%);
}
.iw-promo--dummy::before { background: linear-gradient(90deg,rgba(4,52,104,.88),rgba(0,120,98,.22)); }
.iw-promo--dummy .iw-promo__content { width: 56%; }
.iw-promo__eyebrow { display: inline-block; margin-bottom: 8px; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; opacity: .9; }

/* Category/shop archive shell */
.woocommerce.archive .iw-content,
.post-type-archive-product .iw-content,
.tax-product_cat .iw-content { padding-top: 34px; padding-bottom: 58px; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 14px; font-size: 12px; }
.woocommerce .woocommerce-products-header__title.page-title,
.woocommerce h1.page-title { margin: 0 0 24px; color: #075537; font-size: clamp(28px,3vw,40px); font-weight: 720; letter-spacing: -.7px; }
.woocommerce .woocommerce-result-count { color: #65758d; font-size: 13px; }
.woocommerce .woocommerce-ordering select { min-width: 180px; height: 40px; padding: 0 38px 0 12px; border: 1px solid #dbe5ec; border-radius: 8px; background: #fff; color: #20334d; }

/* Category product cards use the same visual language as Hot Deals */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  clear: both;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 10px 10px 9px;
  border: 1px solid #dde8ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16,84,73,.035);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--iw-shadow); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; min-height: 100%; }
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 180px;
  margin: 0 0 9px;
  padding: 6px;
  object-fit: contain;
  background: #fff;
}
.woocommerce ul.products li.product .onsale {
  top: 10px;
  right: auto;
  left: 10px;
  min-width: 0;
  min-height: 0;
  line-height: 1;
  margin: 0;
  padding: 7px 9px;
  border-radius: 5px;
  background: #ff2028;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.iw-loop-brand {
  display: block;
  margin: 1px 0 3px;
  color: #087a2e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 37px;
  max-height: 37px;
  overflow: hidden;
  display: -webkit-box;
  padding: 0;
  margin: 0 0 5px;
  color: #78869f;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.iw-loop-rating { min-height: 18px; display: flex; align-items: center; gap: 5px; margin: 1px 0 6px; color: #7e8ba5; font-size: 10px; }
.iw-loop-rating .star-rating { float: none; margin: 0; color: #ff9d00; font-size: 12px; }
.iw-loop-stars-empty { color: #ffb24a; font-size: 14px; letter-spacing: 1px; }
.woocommerce ul.products li.product .price {
  min-height: 24px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 44px 0 0;
  color: #087a2e;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.12;
}
.woocommerce ul.products li.product .price ins { color: #087a2e; font-weight: 850; text-decoration: none; }
.woocommerce ul.products li.product .price del { color: #8f9bb0; font-size: 11px; font-weight: 500; opacity: 1; }
.woocommerce ul.products li.product .button {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #c8efd5;
  border-radius: 7px;
  background-color: #eaf9ef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23109b3d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 21px;
  color: transparent !important;
  font-size: 0;
  box-shadow: none;
}
.woocommerce ul.products li.product .button:hover { background-color: #ddf6e6; }
.woocommerce ul.products li.product .added_to_cart { display: none; }

/* Single product page: lighter typography, clearer price, aligned buying actions */
.single-product .iw-content { padding-top: 34px; }
.single-product div.product { display: flow-root; }
.single-product div.product .product_title {
  margin: 0 0 16px;
  color: #075537;
  font-size: clamp(27px,3vw,38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.65px;
}
.single-product div.product p.price,
.single-product div.product span.price { margin: 0 0 18px; color: #079a36; font-size: 22px; font-weight: 720; }
.single-product div.product p.price ins { color: #079a36; font-weight: 760; text-decoration: none; }
.single-product div.product p.price del { color: #63b47f; font-size: 16px; font-weight: 500; opacity: 1; margin-right: 8px; }
.single-product div.product .woocommerce-product-details__short-description { color: #263b53; font-size: 14px; line-height: 1.65; }
.single-product div.product .woocommerce-product-details__short-description strong,
.single-product div.product .woocommerce-product-details__short-description b { font-weight: 650; }
.single-product div.product form.cart { display: flex; align-items: center; gap: 8px; margin: 20px 0 14px; }
.single-product div.product form.cart .quantity .qty { width: 62px; height: 44px; border: 1px solid #ccd8df; border-radius: 7px; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 7px;
  background: #079a36;
  font-weight: 700;
}
.single-product div.product form.cart .single_add_to_cart_button:hover { background: #067b2d; }
.single-product .product_meta { color: #6d7a8d; font-size: 12px; }
.single-product .woocommerce-product-gallery { margin-bottom: 28px; }
.single-product .woocommerce-product-gallery__image img { border-radius: 8px; }
.single-product .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px !important; }
.single-product .flex-control-thumbs li { border: 1px solid #e0e8ee; border-radius: 7px; overflow: hidden; }

.iw-product-trust { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 16px 0 10px; }
.iw-product-trust__item { min-height: 58px; display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid #dbeee1; border-radius: 8px; background: #f7fcf8; }
.iw-product-trust__item .iw-icon { width: 24px; height: 24px; color: #079a36; flex: 0 0 auto; }
.iw-product-trust__item strong { display: block; color: #075537; font-size: 11px; font-weight: 700; }
.iw-product-trust__item span { display: block; margin-top: 1px; color: #84909f; font-size: 9px; }
.single-product .woocommerce-tabs { margin-top: 42px; }
.single-product .woocommerce-tabs ul.tabs { padding-left: 0 !important; border-bottom: 1px solid #e4ebef; }
.single-product .woocommerce-tabs ul.tabs::before { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li { margin: 0 4px 0 0 !important; border: 0 !important; border-radius: 7px 7px 0 0 !important; background: #f3f6f8 !important; }
.single-product .woocommerce-tabs ul.tabs li.active { background: #079a36 !important; }
.single-product .woocommerce-tabs ul.tabs li a { font-weight: 650 !important; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.single-product .woocommerce-Tabs-panel { max-width: 900px; color: #33475e; font-size: 14px; line-height: 1.7; }
.single-product .woocommerce-Tabs-panel h2,
.single-product .woocommerce-Tabs-panel h3 { color: #075537; font-weight: 700; }
.single-product .related.products { margin-top: 52px; }
.single-product .related.products > h2 { color: #075537; font-size: 26px; font-weight: 700; }
.iw-single-promos { clear: both; display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin: 46px 0 12px; }
.iw-single-promo { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 28px; border-radius: 12px; color: #fff !important; box-shadow: 0 8px 24px rgba(22,59,84,.08); }
.iw-single-promo--blue { background: linear-gradient(115deg,#0750a0,#0ea7d9); }
.iw-single-promo--green { background: linear-gradient(115deg,#079a36,#46c45e); }
.iw-single-promo strong { display: block; font-size: 24px; line-height: 1; }
.iw-single-promo small { display: block; margin-top: 5px; font-size: 12px; opacity: .92; }
.iw-single-promo b { flex: 0 0 auto; padding: 9px 12px; border-radius: 999px; background: #fff; color: #075537; font-size: 10px; }

/* Services page */
.iw-service-page { padding-bottom: 64px; }
.iw-service-hero { padding: 68px 0; background: linear-gradient(120deg,#effaf3 0%,#f7fbff 48%,#edf7ff 100%); border-bottom: 1px solid #e4edf1; }
.iw-service-hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center; }
.iw-service-kicker { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #087a2e; background: #e5f7eb; font-size: 11px; font-weight: 800; letter-spacing: .6px; }
.iw-service-hero h1 { max-width: 720px; margin: 12px 0 14px; color: #075537; font-size: clamp(36px,5vw,58px); line-height: 1.02; letter-spacing: -1.5px; }
.iw-service-hero p { max-width: 650px; margin: 0 0 24px; color: #5d6d82; font-size: 16px; }
.iw-service-hero__panel { padding: 24px; border: 1px solid #dce9e2; border-radius: 16px; background: #fff; box-shadow: var(--iw-shadow); }
.iw-service-hero__panel h3 { margin: 0 0 12px; color: #075537; }
.iw-service-hero__panel ul { margin: 0; padding: 0; list-style: none; }
.iw-service-hero__panel li { display: flex; gap: 9px; align-items: center; padding: 9px 0; border-top: 1px solid #edf2ef; color: #33475e; }
.iw-service-hero__panel li:first-child { border-top: 0; }
.iw-service-hero__panel li::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: #079a36; font-size: 11px; font-weight: 900; }
.iw-service-section { padding: 58px 0 0; }
.iw-service-section__head { max-width: 720px; margin-bottom: 24px; }
.iw-service-section__head h2 { margin: 0 0 8px; color: #075537; font-size: 32px; }
.iw-service-section__head p { margin: 0; color: #6a788b; }
.iw-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.iw-service-card { padding: 22px; border: 1px solid #e0eaf0; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(17,54,79,.045); }
.iw-service-card__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 10px; color: #079a36; background: #eaf8ef; }
.iw-service-card__icon .iw-category-line-icon { color: inherit; }
.iw-service-card h3 { margin: 0 0 7px; color: #0a3e72; font-size: 17px; }
.iw-service-card p { margin: 0; color: #718096; font-size: 13px; line-height: 1.55; }
.iw-service-process { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.iw-service-step { padding: 22px; border-radius: 12px; background: #f7fbf8; border: 1px solid #dfeee4; }
.iw-service-step b { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; color: #fff; background: #079a36; }
.iw-service-step h3 { margin: 0 0 6px; color: #075537; }
.iw-service-step p { margin: 0; color: #6a788b; font-size: 13px; }
.iw-service-cta { margin-top: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; border-radius: 14px; color: #fff; background: linear-gradient(110deg,#075537,#079a36); }
.iw-service-cta h2 { margin: 0 0 6px; color: #fff; }
.iw-service-cta p { margin: 0; opacity: .9; }
.iw-service-cta .iw-button { background: #fff; color: #075537; }

@media (max-width: 980px) {
  .woocommerce ul.products,.woocommerce-page ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .iw-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .iw-category-menu { flex-basis: 174px; }
  .iw-single-promos { grid-template-columns: 1fr; }
  .iw-service-hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .iw-category-menu { flex-basis: 166px; }
  .iw-category-toggle { height: 40px; font-size: 11px; }
  .iw-category-dropdown { width: min(270px,calc(100vw - 24px)); }
  .woocommerce ul.products,.woocommerce-page ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .woocommerce ul.products li.product a img { height: 145px; }
  .woocommerce ul.products li.product .price { font-size: 15px; }
  .iw-product-trust { grid-template-columns: 1fr 1fr; }
  .iw-single-promo { min-height: 118px; padding: 20px; }
  .iw-single-promo strong { font-size: 20px; }
  .iw-service-grid,.iw-service-process { grid-template-columns: 1fr; }
  .iw-service-hero { padding: 46px 0; }
  .iw-service-cta { align-items: flex-start; flex-direction: column; }
}
.iw-category-tile__placeholder .iw-category-line-icon { width: 42px; height: 42px; color: #0b4ba0; }
.iw-category-tile__placeholder .iw-category-line-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }


/* v1.1.3 managed hero slider */
@media (max-width: 700px) {
  .iw-hero { padding: 0 10px; }
  .iw-hero__slides { height: 230px; border-radius: 10px; }
  .iw-hero__arrow { width: 34px; height: 34px; }
  .iw-hero__arrow--prev { left: 8px; }
  .iw-hero__arrow--next { right: 8px; }
  .iw-hero__caption { left: 16px; right: 16px; bottom: 30px; max-width:none; padding:12px 14px; }
  .iw-hero__caption strong { font-size:20px; }
  .iw-hero__caption span { font-size:12px; }
}
@media (prefers-reduced-motion: reduce) {
  .iw-hero__slide { transition:none !important; }
}


/* v1.1.4: visible demo slides when only one real homepage banner is configured */
.iw-hero__slide--demo{background-image:none!important;overflow:hidden;}
.iw-hero__slide--demo-blue{background:linear-gradient(120deg,#063b77 0%,#087dc2 46%,#33b8df 100%);}
.iw-hero__slide--demo-green{background:linear-gradient(120deg,#075f3d 0%,#0aa34f 50%,#67cf72 100%);}
.iw-hero__slide--demo .iw-hero__caption{left:54px;bottom:auto;top:50%;transform:translateY(-50%);background:transparent;box-shadow:none;backdrop-filter:none;padding:0;max-width:480px;}
.iw-hero__slide--demo .iw-hero__caption strong{font-size:42px;line-height:1.03;max-width:430px;}
.iw-hero__slide--demo .iw-hero__caption span{font-size:17px;line-height:1.55;max-width:390px;}
.iw-hero__slide--demo .iw-hero__caption b{background:#fff;color:#08703e;padding:11px 17px;font-size:14px;}
.iw-hero__demo-art{position:absolute;inset:0;pointer-events:none;}
.iw-hero__demo-ring{position:absolute;border:2px solid rgba(255,255,255,.18);border-radius:50%;}
.iw-hero__demo-ring--1{width:500px;height:500px;right:-95px;top:-120px;}
.iw-hero__demo-ring--2{width:310px;height:310px;right:120px;bottom:-145px;}
.iw-hero__demo-appliance{position:absolute;right:160px;top:85px;width:180px;height:240px;border-radius:24px;background:rgba(255,255,255,.94);display:grid;place-items:center;box-shadow:0 24px 60px rgba(0,0,0,.16);transform:rotate(4deg);}
.iw-hero__demo-appliance--2{right:55px;top:155px;width:145px;height:190px;transform:rotate(-5deg);}
.iw-hero__demo-appliance .iw-category-line-icon{width:92px;height:92px;color:#0a8b4b;}
.iw-hero__demo-appliance .iw-category-line-icon svg{width:100%;height:100%;}
@media(max-width:760px){.iw-hero__slide--demo .iw-hero__caption{left:24px;right:24px;max-width:70%;}.iw-hero__slide--demo .iw-hero__caption strong{font-size:28px}.iw-hero__demo-appliance{right:28px;top:100px;width:100px;height:145px}.iw-hero__demo-appliance--2{display:none}}


/* v1.1.5 hero slider reliability */
.iw-hero__slides[data-slider-ready="1"] .iw-hero__slide {
  will-change: transform;
}
.iw-hero__arrow,
.iw-hero__dots {
  visibility: visible !important;
}
.iw-hero__slide {
  pointer-events: none;
}
.iw-hero__slide.is-active {
  pointer-events: auto;
}

/* v1.1.6 hero slider: autoplay never pauses on hover; JS drives transforms directly. */


/* ==========================================================
   v1.1.7 — Single product layout approved from HTML preview
   Natural image ratio, framed gallery, balanced product info
   ========================================================== */

.single-product .iw-content {
  max-width: 1180px;
  padding-top: 34px;
  padding-bottom: 48px;
}

/* Keep WooCommerce's two-column structure but make it feel like
   the approved preview instead of stretching the product image. */
.single-product div.product {
  display: flow-root;
}

.single-product div.product div.images.woocommerce-product-gallery {
  width: 48% !important;
  float: left !important;
  margin: 0 0 34px !important;
  padding: 18px;
  border: 1px solid #dfe9e3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20,70,45,.025);
}

/* Main gallery viewport */
.single-product .woocommerce-product-gallery .flex-viewport {
  min-height: 500px;
  border-radius: 12px;
  background: #fff;
}

/* Natural image ratio — never stretch/crop the source image */
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image > a {
  height: 100%;
}

.single-product .woocommerce-product-gallery__image {
  min-height: 500px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.single-product .woocommerce-product-gallery__image > a {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 500px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 10px;
}

/* Zoom icon */
.single-product .woocommerce-product-gallery__trigger {
  top: 16px !important;
  right: 16px !important;
  border: 1px solid #dfe9e3 !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
}

/* Thumbnails like the approved HTML preview */
.single-product .flex-control-thumbs {
  display: flex !important;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}

.single-product .flex-control-thumbs li {
  width: 74px !important;
  height: 74px !important;
  float: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #dfe9e3;
  border-radius: 9px;
  background: #fff;
}

.single-product .flex-control-thumbs li img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 5px;
  opacity: .72;
}

.single-product .flex-control-thumbs li img.flex-active {
  opacity: 1;
  box-shadow: 0 0 0 2px #079a36;
}

/* Product information column */
.single-product div.product div.summary {
  width: 48% !important;
  float: right !important;
  margin: 0 0 34px !important;
  padding: 4px 0 0;
}

.single-product div.product .product_title {
  margin: 0 0 18px;
  color: #075537;
  font-size: clamp(30px, 3.1vw, 40px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.7px;
}

.single-product div.product p.price,
.single-product div.product span.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  color: #079a36;
  font-size: 28px;
  font-weight: 760;
  line-height: 1.15;
}

.single-product div.product p.price del,
.single-product div.product span.price del {
  margin: 0;
  color: #87978f;
  font-size: 17px;
  font-weight: 500;
  opacity: 1;
}

.single-product div.product p.price ins,
.single-product div.product span.price ins {
  color: #079a36;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.single-product div.product .woocommerce-product-details__short-description {
  margin-top: 2px;
  color: #20362c;
  font-size: 16px;
  line-height: 1.6;
}

.single-product div.product .woocommerce-product-details__short-description p {
  margin: 0 0 12px;
}

.single-product div.product .woocommerce-product-details__short-description ul {
  margin: 8px 0 18px;
  padding-left: 20px;
}

.single-product div.product .woocommerce-product-details__short-description li {
  margin: 4px 0;
}

.single-product div.product form.cart {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 24px 0 16px;
}

.single-product div.product form.cart .quantity .qty {
  width: 64px;
  height: 50px;
  border: 1px solid #cddbd4;
  border-radius: 8px;
  background: #fff;
  color: #17352b;
  font-size: 16px;
  text-align: center;
}

.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 50px;
  padding: 0 23px;
  border-radius: 9px;
  background: #079a36;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: none;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
  background: #067b2d;
}

/* Trust items from the preview */
.single-product .iw-product-trust {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin: 18px 0 12px;
}

.single-product .iw-product-trust__item {
  min-height: 66px;
  padding: 12px;
  border: 1px solid #d8e9dd;
  border-radius: 10px;
  background: #f8fcf9;
}

.single-product .iw-product-trust__item strong {
  font-size: 12px;
}

.single-product .iw-product-trust__item span {
  margin-top: 2px;
  font-size: 10px;
}

/* Everything following gallery + summary begins below both columns */
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .up-sells,
.single-product .iw-single-promos {
  clear: both;
}

/* Tablet/mobile */
@media (max-width: 900px) {
  .single-product div.product div.images.woocommerce-product-gallery,
  .single-product div.product div.summary {
    width: 100% !important;
    float: none !important;
  }

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

  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image > a {
    min-height: 420px;
  }

  .single-product .woocommerce-product-gallery__image img {
    max-height: 420px !important;
  }
}

@media (max-width: 560px) {
  .single-product .iw-content {
    padding-top: 18px;
  }

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

  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image > a {
    min-height: 320px;
  }

  .single-product .woocommerce-product-gallery__image img {
    max-height: 320px !important;
  }

  .single-product .flex-control-thumbs li {
    width: 62px !important;
    height: 62px !important;
  }

  .single-product div.product .product_title {
    font-size: 28px;
  }

  .single-product div.product p.price,
  .single-product div.product span.price {
    font-size: 25px;
  }

  .single-product .iw-product-trust {
    grid-template-columns: 1fr 1fr;
  }
}
