:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-soft: #edf6ff;
  --text: #102235;
  --muted: #62748a;
  --line: #dce7f2;
  --blue: #1ea7ff;
  --green: #10c8a0;
  --deep: #0d243a;
  --orange: #f4a62a;
  --violet: #646dff;
  --shadow: 0 20px 55px rgba(17, 48, 79, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

.topbar { background: var(--deep); color: #d9eefc; font-size: 14px; }
.topbar-grid { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 20px; }
.topbar-item { display: flex; align-items: center; gap: 10px; }
.topbar-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 5px rgba(16, 200, 160, .15); }
.topbar-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-actions a { color: #eaf7ff; }
.lang-switch {
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 5px 10px;
  line-height: 1;
}
.lang-switch.is-active { background: #fff; color: var(--deep); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(16, 34, 53, .06); }
.header-main { min-height: 82px; display: grid; grid-template-columns: 210px minmax(280px, 1fr) auto; align-items: center; gap: 26px; }
.brand img { width: 180px; }
.search-form { display: flex; background: #eef5fb; border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 16px; color: var(--text); }
.search-form button { border: 0; background: var(--blue); color: #fff; border-radius: 999px; padding: 11px 22px; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-link { color: var(--muted); font-weight: 700; }
.cart-button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px; display: flex; gap: 8px; align-items: center; font-weight: 800; text-decoration: none; color: var(--deep); }
.cart-count { min-width: 24px; height: 24px; display: inline-grid; place-items: center; background: var(--green); color: #fff; border-radius: 999px; font-size: 13px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 9px; }
.menu-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; }
.main-nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; min-height: 54px; gap: 24px; }
.catalog-trigger { background: var(--deep); color: #fff; border-radius: 14px; padding: 10px 16px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 20px; flex: 1; }
.nav-link { color: var(--muted); font-weight: 800; }
.nav-link.is-active { color: var(--blue); }
.nav-cta { color: var(--green); font-weight: 900; }

.hero-section { padding: 54px 0 30px; background: radial-gradient(circle at 75% 20%, #dff6ff, transparent 35%), linear-gradient(180deg, #fff, var(--bg)); }
.hero-grid, .split-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center; }
.hero-copy h1, .page-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -2px; margin: 14px 0 18px; }
.hero-copy p, .page-hero p, .section-head p { color: var(--muted); font-size: 18px; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.btn { border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; box-shadow: 0 14px 30px rgba(30, 167, 255, .24); }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn-light { background: #fff; color: var(--deep); }
.btn-small { padding: 9px 14px; font-size: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 590px; }
.hero-stats div { background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.hero-stats b { display: block; font-size: 24px; }
.hero-stats span { color: var(--muted); font-size: 14px; }
.hero-visual { position: relative; }
.hero-visual img, .hero-banner-img { border-radius: 34px; box-shadow: var(--shadow); }
.floating-card { position: absolute; right: 24px; bottom: -26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); }
.floating-card span { display: block; color: var(--muted); font-size: 14px; }
.floating-card strong { font-size: 26px; }

.category-strip { padding: 26px 0 10px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: 0 12px 28px rgba(17, 48, 79, .06); }
.category-card img { width: 58px; height: 58px; }
.category-card span { font-weight: 900; }
.category-card b { color: var(--blue); }

.section { padding: 62px 0; }
.section-muted { background: #eef6fd; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
.section-head h2, .text-block h2, .faq-list h2, .table-wrap h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -1px; margin: 12px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 14px 34px rgba(17, 48, 79, .08); transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; background: #f5fbff; }
.product-media img { width: 100%; aspect-ratio: 1.34 / 1; object-fit: cover; }
.badge { position: absolute; left: 14px; top: 14px; z-index: 2; border-radius: 999px; padding: 6px 10px; color: #fff; font-weight: 900; font-size: 12px; }
.badge-sale { background: var(--orange); }
.badge-top { background: var(--green); }
.badge-new { background: var(--blue); }
.badge-pro { background: var(--violet); }
.wishlist { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.08); font-size: 20px; }
.wishlist.is-active { color: #e34b76; }
.product-info { padding: 18px; }
.product-brand { color: var(--blue); font-weight: 900; font-size: 13px; }
.product-info h3 { font-size: 20px; margin: 4px 0 8px; }
.product-info p { color: var(--muted); font-size: 14px; min-height: 44px; }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.spec-row span { background: #eff6fc; color: #466075; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 800; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-bottom strong { font-size: 22px; }

.promo-section { padding: 22px 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo-grid img { border-radius: 28px; box-shadow: var(--shadow); }
.finder-card, .why-card, .price-card, .info-card, .step-card, .table-wrap, .faq-list, .text-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: 0 14px 34px rgba(17, 48, 79, .07); }
.finder-card { display: grid; gap: 14px; }
.finder-card label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
.finder-card select, .catalog-toolbar select, .lead-form input, .search-form input { border-radius: 14px; }
.finder-card select, .catalog-toolbar select, .lead-form input { width: 100%; border: 1px solid var(--line); background: #f8fbfd; padding: 13px 14px; outline: 0; color: var(--text); }
.why-card h3 { font-size: 28px; margin-top: 0; }
.check-list { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; background: rgba(16,200,160,.12); color: var(--green); font-weight: 900; font-size: 13px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card span { display: inline-grid; width: 42px; height: 42px; place-items: center; background: var(--deep); color: #fff; border-radius: 14px; font-weight: 900; }
.step-card h3 { margin-bottom: 4px; }
.step-card p { color: var(--muted); }
.text-section { padding-top: 32px; }
.text-block p { color: var(--muted); font-size: 18px; }

.page-hero { padding: 62px 0; background: radial-gradient(circle at 82% 18%, #dff6ff, transparent 36%), linear-gradient(180deg, #fff, #f0f7ff); }
.compact-hero { text-align: left; }
.compact-hero h1 { max-width: 860px; }
.install-hero { overflow: hidden; }
.align-center { align-items: center; }
.catalog-section { padding: 42px 0 64px; }
.catalog-layout { display: grid; grid-template-columns: 286px 1fr; gap: 24px; align-items: start; }
.filters-panel { position: sticky; top: 172px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: 0 14px 34px rgba(17,48,79,.07); }
.filters-panel h2 { margin: 0 0 18px; }
.filter-group { border-top: 1px solid var(--line); padding: 18px 0; display: grid; gap: 10px; }
.filter-group h3 { margin: 0; font-size: 16px; }
.filter-group label { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.filter-chip { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 12px; text-align: left; font-weight: 800; }
.filter-chip.is-active { background: var(--deep); color: #fff; border-color: var(--deep); }
.side-banner { margin-top: 12px; border-radius: 18px; }
.catalog-toolbar { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.catalog-toolbar span { display: block; color: var(--muted); font-size: 14px; }
.catalog-grid { grid-template-columns: repeat(3, 1fr); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.pagination a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 12px; font-weight: 900; }
.pagination a.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { display: grid; gap: 12px; }
.price-card.featured { border-color: rgba(30,167,255,.55); box-shadow: 0 24px 60px rgba(30,167,255,.16); transform: translateY(-10px); }
.price-card h3 { font-size: 26px; margin: 0; }
.price-card p { color: var(--muted); margin: 0; }
.price-card strong { font-size: 30px; }
.price-card ul { margin: 0; padding-left: 19px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #f0f7ff; font-weight: 900; }
.cta-band { background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.cta-grid h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 8px; }
.cta-grid p { margin: 0; color: rgba(255,255,255,.88); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card h2 { margin-top: 0; font-size: 28px; }
.info-card p, .faq-list p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; background: #fff; }
summary { cursor: pointer; font-weight: 900; }

.site-footer { background: var(--deep); color: #d9e9f5; padding: 56px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 34px; }
.footer-logo { width: 160px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer p { color: #a8bdcc; }
.site-footer h3 { color: #fff; margin-top: 0; }
.site-footer a { display: block; color: #d9e9f5; margin: 9px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; color: #a8bdcc; }

.callback-panel { position: fixed; inset: 0; background: rgba(4, 17, 29, .58); display: none; place-items: center; z-index: 50; padding: 20px; }
.callback-panel.is-open { display: grid; }
.callback-card { width: min(470px, 100%); background: #fff; border-radius: 28px; padding: 28px; position: relative; box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.callback-close { position: absolute; top: 14px; right: 14px; border: 0; background: #eef5fb; border-radius: 999px; width: 36px; height: 36px; font-size: 22px; }
.callback-card h2 { margin: 0 0 8px; }
.callback-card p { color: var(--muted); }
.lead-form { display: grid; gap: 12px; }
.lead-form button { border: 0; background: var(--blue); color: #fff; border-radius: 14px; padding: 13px; font-weight: 900; }

@media (max-width: 1080px) {
  .header-main { grid-template-columns: 170px 1fr auto; gap: 16px; }
  .brand img { width: 155px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .topbar-grid { align-items: flex-start; padding: 10px 0; flex-direction: column; }
  .header-main { grid-template-columns: 1fr auto; min-height: 72px; }
  .search-form { grid-column: 1 / -1; order: 3; }
  .icon-link { display: none; }
  .menu-toggle { display: block; }
  .nav-inner { display: none; padding: 14px 0; align-items: flex-start; }
  .site-header.nav-open .nav-inner { display: grid; }
  .nav-links { display: grid; gap: 12px; width: 100%; }
  .catalog-trigger, .nav-cta { display: block; }
  .hero-grid, .split-grid, .catalog-layout, .service-grid { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .pricing-grid, .promo-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .cta-grid { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 22px, var(--container)); }
  .hero-section, .page-hero { padding: 36px 0 22px; }
  .hero-copy h1, .page-hero h1 { letter-spacing: -1px; }
  .product-grid, .catalog-grid, .category-grid, .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .search-form button { padding: 10px 14px; }
  .header-actions { gap: 8px; }
  .cart-button span { display: none; }
  .section { padding: 42px 0; }
  .floating-card { position: static; margin-top: 12px; }
}


/* Cart page */
.cart-hero { background: radial-gradient(circle at 84% 18%, rgba(18, 212, 180, .24), transparent 34%), linear-gradient(180deg, #ffffff, #edf8ff); }
.cart-section { padding-top: 42px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cart-main-col { display: grid; gap: 20px; }
.cart-panel, .cart-summary-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 18px 45px rgba(17, 48, 79, .08); }
.cart-panel { padding: 22px; }
.cart-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.cart-panel-head.compact { margin-bottom: 14px; }
.cart-panel-head h2 { margin: 4px 0 0; font-size: clamp(24px, 3vw, 34px); }
.continue-link, .summary-link { font-weight: 900; color: var(--blue); }
.cart-lines { display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 14px; background: #fbfdff; }
.cart-line-media { width: 112px; height: 92px; border-radius: 18px; background: linear-gradient(135deg, #eff8ff, #fff); display: grid; place-items: center; overflow: hidden; }
.cart-line-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cart-line-info h3 { margin: 4px 0 6px; font-size: 20px; }
.cart-line-info p { margin: 0; color: var(--muted); }
.cart-line-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cart-line-meta span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 800; color: var(--muted); background: #fff; }
.cart-line-actions { display: grid; justify-items: end; gap: 12px; }
.cart-line-price { font-size: 20px; font-weight: 950; color: var(--deep); }
.qty-control { display: grid; grid-template-columns: 34px 42px 34px; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-control button { border: 0; background: #fff; width: 34px; height: 34px; font-size: 18px; font-weight: 900; cursor: pointer; }
.qty-control span { text-align: center; font-weight: 900; }
.remove-cart-line { border: 0; background: transparent; color: #d24646; font-weight: 900; cursor: pointer; }
.cart-empty { text-align: center; border: 1px dashed #bfd1e0; border-radius: 24px; padding: 34px; background: #f7fbff; }
.cart-empty-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 22px; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; display: grid; place-items: center; font-size: 32px; }
.cart-empty h3 { margin: 0 0 8px; font-size: 26px; }
.cart-empty p { color: var(--muted); }
.cart-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cart-options-grid { display: grid; gap: 12px; }
.option-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 14px; cursor: pointer; background: #fbfdff; }
.option-card input { width: 18px; height: 18px; accent-color: var(--blue); }
.option-card span { display: grid; gap: 3px; }
.option-card small { color: var(--muted); }
.option-card strong { white-space: nowrap; color: var(--deep); }
.checkout-form { display: grid; gap: 16px; }
.form-grid.two-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.checkout-form label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
.checkout-form input, .checkout-form textarea, .promo-box input { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; outline: none; background: #fff; }
.checkout-form input:focus, .checkout-form textarea:focus, .promo-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 167, 255, .12); }
.delivery-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.delivery-choice { border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex !important; align-items: flex-start; gap: 10px !important; background: #fbfdff; cursor: pointer; }
.delivery-choice input { width: auto; margin-top: 3px; accent-color: var(--blue); }
.delivery-choice span { display: grid; gap: 4px; }
.delivery-choice small { color: var(--muted); font-weight: 700; }
.checkout-submit { border: 0; border-radius: 16px; padding: 15px 18px; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; font-weight: 950; cursor: pointer; }
.cart-summary-card { padding: 20px; }
.summary-sticky { position: sticky; top: 172px; display: grid; gap: 14px; }
.summary-sticky h2 { margin: 0; font-size: 30px; }
.summary-row, .summary-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; color: var(--muted); }
.summary-row strong { color: var(--deep); }
.summary-total { border-bottom: 0; padding: 12px 0 0; color: var(--deep); }
.summary-total strong { font-size: 30px; }
.promo-box { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; background: #f4faff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; }
.promo-box label { display: grid; gap: 6px; color: var(--muted); font-weight: 800; }
.promo-box button { border: 0; border-radius: 14px; padding: 13px 14px; background: var(--deep); color: #fff; font-weight: 900; }
.summary-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.full-width { width: 100%; justify-content: center; }
.summary-link { text-align: center; }
@media (max-width: 980px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary-sticky { position: static; }
  .delivery-choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cart-panel, .cart-summary-card { border-radius: 20px; padding: 16px; }
  .cart-panel-head { display: grid; }
  .cart-line { grid-template-columns: 82px 1fr; align-items: start; }
  .cart-line-media { width: 82px; height: 76px; }
  .cart-line-actions { grid-column: 1 / -1; grid-template-columns: 1fr auto auto; align-items: center; justify-items: start; }
  .form-grid.two-cols, .promo-box { grid-template-columns: 1fr; }
  .option-card { grid-template-columns: auto 1fr; }
  .option-card strong { grid-column: 2; }
}


/* ===== Ice Room update: transparent SVG logo + product page ===== */
.brand img{width:240px;height:auto;display:block}
.footer-logo{width:210px;height:auto}
.product-title-link,.product-media-link{color:inherit;text-decoration:none}
.product-media-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.btn-outline{background:#fff;color:#153565;border:1px solid rgba(21,53,101,.18)}
.btn-outline:hover{background:#f1f7ff}
.product-bottom{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.product-bottom strong{margin-right:auto}
.product-link-btn{white-space:nowrap}
.eyebrow,.section-head h2,.text-section>div>h2,.table-wrap>h2{display:none !important}
.section-head{margin-bottom:0 !important;min-height:0 !important}
.section-head p{margin-top:0}
.hero-section .hero-copy .eyebrow,.page-hero .eyebrow{display:none !important}
.product-hero{padding-top:28px}
.breadcrumbs{display:flex;gap:10px;align-items:center;color:#6a7d93;font-size:14px;margin-bottom:22px}
.breadcrumbs a{color:#375f98;text-decoration:none}
.product-hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:28px;align-items:start}
.product-gallery-card,.product-buy-card,.product-copy-card{background:#fff;border-radius:28px;box-shadow:0 20px 60px rgba(16,43,70,.08);border:1px solid rgba(15,48,84,.08)}
.product-gallery-card{padding:26px}
.product-gallery-main{min-height:380px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f9fcff,#f1f7fd);border-radius:24px;padding:18px}
.product-gallery-main img{max-width:100%;max-height:320px;display:block}
.product-gallery-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}
.thumb-box{border-radius:20px;background:#f7fbff;border:1px solid rgba(15,48,84,.08);padding:12px;min-height:110px;display:flex;align-items:center;justify-content:center}
.thumb-box img{max-width:100%;max-height:86px}
.product-buy-card{padding:32px;position:sticky;top:20px}
.product-code{margin:0 0 10px;color:#7590aa;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.product-buy-card h1{margin:0 0 12px;font-size:46px;line-height:1.04;color:#102b46}
.product-lead{font-size:17px;color:#50677f;margin:0 0 18px}
.product-tags{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.product-tags span{padding:10px 14px;border-radius:999px;background:#eff7ff;color:#17457f;font-weight:700;font-size:14px}
.buy-box-price{display:flex;align-items:baseline;gap:14px;margin-bottom:18px}
.buy-box-price strong{font-size:42px;line-height:1;color:#102b46}
.buy-box-price small{font-size:14px;color:#10a870;font-weight:700}
.buy-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.buy-highlights{margin:0;padding-left:18px;color:#50677f;display:grid;gap:8px}
.product-description-wrap{padding-top:8px}
.product-copy-grid,.product-extra-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}
.product-copy-card{padding:28px}
.product-copy-card h2{margin:0 0 14px;color:#102b46;font-size:28px}
.product-copy-card p{color:#4d667f;line-height:1.74}
.product-copy-card ul{margin:0;padding-left:18px;color:#4d667f;display:grid;gap:8px}
.specs-table th,.specs-table td{vertical-align:top}
.specs-table th{width:18%;white-space:nowrap;color:#153565;background:#f7fbff}
.specs-table td{width:32%}
.feature-bullets{margin:0;padding-left:18px;display:grid;gap:10px}
@media (max-width: 960px){
  .product-hero-grid,.product-copy-grid,.product-extra-grid{grid-template-columns:1fr}
  .product-buy-card{position:static}
  .product-buy-card h1{font-size:36px}
}
@media (max-width: 640px){
  .brand img{width:188px}
  .product-gallery-main{min-height:250px}
  .product-gallery-thumbs{grid-template-columns:1fr 1fr 1fr}
  .buy-box-price strong{font-size:32px}
  .product-buy-card h1{font-size:31px}
}


/* ===== Ice Room final cleanup ===== */
.brand img{width:205px;height:auto;display:block}
.footer-logo{width:180px;height:auto}
.site-footer h3,.callback-card h2,.cart-panel h2,.summary-sticky h2,.filters-panel h2,.filter-group h3,.info-card h2,.faq-list h2,.why-card h3,.step-card h3,.price-card h3,.product-copy-card h2,.cart-empty h3,.cta-grid h2{display:none !important}
.cart-panel-head,.section-head{margin:0 !important;min-height:0 !important;padding:0 !important}
.cart-panel-head .continue-link{margin-left:auto}
.cart-panel{padding-top:24px}
.filters-panel{padding-top:24px}
.info-card,.price-card,.step-card,.why-card,.product-copy-card{padding-top:24px}
.faq-list,.cta-grid{padding-top:0}
.site-footer .footer-grid>div{padding-top:0}
.product-buy-card h1{margin-top:0}


/* Logo/icon update */
.brand img{width:220px;max-width:100%;height:auto}
.footer-logo{width:190px;max-width:100%;height:auto}
.direct-cart-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}

/* final logo update */
.brand img{width:228px;max-width:100%;height:auto;}
.footer-logo{width:198px;max-width:100%;height:auto;}


/* ===== Catalog cart button fix ===== */
.catalog-section .product-card .product-bottom .add-cart {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(30, 167, 255, .24);
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.catalog-section .product-card .product-bottom .add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(30, 167, 255, .30);
}

.catalog-section .product-card .product-bottom .add-cart.is-added {
  background: var(--green);
  color: #fff;
}

/* ===== Product card cart button fix: homepage + catalog ===== */
.product-grid .product-card .product-bottom .add-cart,
.catalog-section .product-card .product-bottom .add-cart {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(30, 167, 255, .24);
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.product-grid .product-card .product-bottom .add-cart:hover,
.catalog-section .product-card .product-bottom .add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(30, 167, 255, .30);
}

.product-grid .product-card .product-bottom .add-cart.is-added,
.catalog-section .product-card .product-bottom .add-cart.is-added {
  background: var(--green);
  color: #fff;
}


/* ===== WordPress / WooCommerce integration ===== */
.woocommerce-notices-wrapper,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  width: min(var(--container), calc(100% - 32px));
  margin: 18px auto;
}
.woocommerce-message,
.woocommerce-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 12px 28px rgba(17, 48, 79, .06);
}
.woocommerce-error {
  background: #fff7f7;
  border: 1px solid #ffd5d5;
  border-radius: 18px;
  padding: 14px 18px;
}
.product-card .add_to_cart_button,
.product-card .added_to_cart,
.product-card .add-cart {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 167, 255, .24);
  text-decoration: none;
  white-space: nowrap;
}
.product-card .added_to_cart {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.woocommerce-order,
.woocommerce-account .woocommerce {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(17, 48, 79, .08);
}
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  text-align: left;
}
.woocommerce table.shop_table .product-thumbnail img {
  max-width: 90px;
  border-radius: 14px;
  background: #f5fbff;
}
.woocommerce .quantity input.qty {
  width: 74px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  text-align: center;
}
.woocommerce a.remove {
  color: #e34b76;
  font-weight: 900;
  text-decoration: none;
  font-size: 24px;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 167, 255, .24);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
}
.ir-wp-content {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}
.ir-wp-content .entry-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(17, 48, 79, .08);
}
.ir-wp-content h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 18px;
}
.ir-hidden-title{display:none!important}


/* WooCommerce real data update */
.section-title-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.section-title-line h2{margin:0;font-size:32px;line-height:1.15;color:#102b46}
.filters-panel .widget{margin:0 0 24px}
.filter-title{display:block;margin:0 0 12px;color:#102b46;font-size:16px;font-weight:800}
.ir-product-filters{display:grid;gap:22px}
.filter-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.filter-reset{font-weight:800;text-decoration:none;color:#50677f}
.filter-note{color:#6a7d93;line-height:1.55;margin:0}
.stock-out{font-size:14px;font-weight:800;color:#9a5260}
.filters-panel .woocommerce-widget-layered-nav-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.filters-panel .woocommerce-widget-layered-nav-list a{text-decoration:none;color:#50677f;font-weight:700}
.filters-panel .woocommerce-widget-layered-nav-list .count{color:#8aa0b8;font-size:12px}
.woocommerce-pagination{margin-top:28px}
.woocommerce-pagination ul{list-style:none;display:flex;gap:8px;margin:0;padding:0;justify-content:center}
.woocommerce-pagination a,.woocommerce-pagination span{display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;border-radius:12px;background:#fff;border:1px solid rgba(15,48,84,.12);text-decoration:none;color:#102b46;font-weight:800}
.woocommerce-pagination .current{background:#102b46;color:#fff}
.product-copy-card .product_meta{display:grid;gap:8px;color:#50677f}
.product-copy-card .product_meta a{color:#17457f;text-decoration:none;font-weight:700}


/* Standard WordPress / WooCommerce admin-friendly additions */
.standard-menu{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
.standard-menu li{position:relative;margin:0;padding:0}
.standard-menu a{font-weight:800;color:#64748b;text-decoration:none;display:inline-flex;align-items:center;min-height:34px}
.standard-menu a:hover{color:#102b46}
.standard-menu .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:20;min-width:220px;background:#fff;border:1px solid rgba(15,48,84,.1);border-radius:18px;box-shadow:0 18px 50px rgba(15,48,84,.13);padding:10px;list-style:none}
.standard-menu li:hover>.sub-menu{display:block}
.standard-menu .sub-menu a{display:block;padding:10px 12px;min-height:auto}
.custom-logo{max-width:228px;height:auto;display:block}
.page-editor-content .woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0;padding:0;list-style:none}
.page-editor-content .woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid rgba(15,48,84,.08);border-radius:26px;padding:18px;box-shadow:0 18px 50px rgba(16,43,70,.07)}
.page-editor-content .woocommerce ul.products li.product a{text-decoration:none;color:inherit}
.page-editor-content .woocommerce ul.products li.product img{border-radius:20px;background:#f7fbff;aspect-ratio:1.25/1;object-fit:contain}
.page-editor-content .woocommerce ul.products li.product .button{border-radius:999px;background:linear-gradient(135deg,#4ba9ff,#5fc7b7);color:#fff;border:0;padding:11px 16px;font-weight:800;text-decoration:none}
.page-editor-content .woocommerce .price{color:#102b46;font-weight:900}
.widget .wc-block-product-categories-list,.widget .woocommerce-widget-layered-nav-list{list-style:none;padding-left:0;margin:10px 0 0;display:grid;gap:8px}
.widget .wc-block-product-categories-list a,.widget .woocommerce-widget-layered-nav-list a{color:#31496b;text-decoration:none;font-weight:700}
.widget .wc-block-active-filters__list{list-style:none;padding-left:0}
@media (max-width:960px){.page-editor-content .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.standard-menu{flex-direction:column;align-items:flex-start;gap:8px}}
@media (max-width:640px){.page-editor-content .woocommerce ul.products{grid-template-columns:1fr}}


/* ===== v1.3 layout hardening ===== */
html, body { width: 100%; max-width: none !important; overflow-x: hidden; }
body { min-width: 320px; }
.site-header, main, .site-footer { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.site-header .container, main .container, .site-footer .container { width: min(var(--container), calc(100% - 32px)); max-width: var(--container); margin-left: auto; margin-right: auto; }
.site-header { left: auto; right: auto; }
.header-main { grid-template-columns: 210px minmax(360px, 1fr) auto; }
.nav-inner { flex-wrap: nowrap; }
.nav-links { flex-wrap: wrap; row-gap: 8px; }
.catalog-trigger { white-space: nowrap; }
.nav-cta { white-space: nowrap; margin-left: auto; }
.hero-section { overflow: hidden; }
.hero-copy h1 { color: var(--text); }
.ir-wp-content { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 54px 0; }
.ir-wp-content > article { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
@media (max-width: 1180px) {
  .header-main { grid-template-columns: 180px minmax(260px, 1fr) auto; gap: 16px; }
  .brand img, .custom-logo { max-width: 170px; }
}
@media (max-width: 900px) {
  .header-main { grid-template-columns: 1fr auto; }
  .search-form { grid-column: 1 / -1; order: 3; }
  .menu-toggle { display: block; }
  .nav-inner { display: none; padding: 14px 0; align-items: flex-start; }
  .site-header.nav-open .nav-inner { display: grid; }
  .nav-links, .standard-menu { display: grid; gap: 12px; width: 100%; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 560px) {
  .site-header .container, main .container, .site-footer .container { width: min(100% - 22px, var(--container)); }
}

/* ===== v1.4 layout + comparison fixes ===== */
.lang-switch{display:none!important}
.site-header{position:sticky;top:0;z-index:1000}
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
.header-main{grid-template-columns:190px minmax(280px,1fr) auto;gap:22px}
.nav-inner{gap:20px;align-items:center}
.nav-links{min-width:0;flex:1}.standard-menu{flex-wrap:wrap;row-gap:6px;column-gap:18px}.nav-cta{margin-left:0;white-space:nowrap}.catalog-trigger{white-space:nowrap}
.hero-section{padding:64px 0 42px}.page-hero{padding:56px 0 48px}.install-hero{padding-bottom:46px}.compact-section{padding-top:34px}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.product-card{min-width:0;display:flex;flex-direction:column}.product-info{display:flex;flex-direction:column;flex:1}.product-info p{min-height:0}.spec-row{min-height:34px}.product-bottom{margin-top:auto;align-items:flex-start}.product-bottom strong{width:100%;margin-right:0;font-size:18px}.product-bottom .btn{font-size:13px;padding:9px 12px;min-height:38px}.product-link-btn{display:none!important}
.product-media{overflow:hidden}.product-media img{object-fit:contain;padding:16px}.badge{left:auto;right:10px;top:10px}.compare-floating{position:absolute;left:12px;top:12px;width:38px;height:38px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--deep);font-weight:900;box-shadow:0 10px 24px rgba(15,48,84,.12);z-index:3}.compare-floating.is-active{background:var(--green);color:#fff;border-color:var(--green)}
.compare-header-link{display:inline-flex;gap:6px;align-items:center}.compare-count{min-width:22px;height:22px;display:inline-grid;place-items:center;border-radius:999px;background:var(--blue);color:#fff;font-size:12px}
.page-editor-content .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important;margin:0!important;padding:0!important;list-style:none!important}.page-editor-content .woocommerce ul.products::before,.page-editor-content .woocommerce ul.products::after{display:none!important}.page-editor-content .woocommerce ul.products li.product{float:none!important;clear:none!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;display:flex;flex-direction:column}.page-editor-content .woocommerce ul.products li.product img{width:100%;height:auto;object-fit:contain}.page-editor-content .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;line-height:1.25}.page-editor-content .woocommerce ul.products li.product .button{margin-top:auto!important;align-self:flex-start}
.woocommerce-cart-form,.cart-collaterals{width:100%;max-width:100%;overflow:hidden}.woocommerce-cart-form{margin-bottom:24px}.woocommerce-cart-form table.shop_table{min-width:0!important;table-layout:auto}.woocommerce-cart-form .coupon{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.woocommerce-cart-form .coupon .input-text{width:min(260px,100%)!important;border:1px solid var(--line);border-radius:14px;padding:11px 12px}.cart-collaterals .cart_totals{float:none!important;width:min(560px,100%)!important;margin-left:auto}.woocommerce-cart .wc-proceed-to-checkout{padding-top:18px}.woocommerce table.shop_table th,.woocommerce table.shop_table td{vertical-align:middle}.woocommerce table.shop_table .product-thumbnail{width:82px}.woocommerce table.shop_table .product-thumbnail img{width:64px;max-width:64px}.woocommerce-cart-form .actions{text-align:left!important}
.compare-toolbar{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}.compare-app{background:#fff;border:1px solid var(--line);border-radius:28px;padding:22px;box-shadow:0 14px 34px rgba(17,48,79,.08)}.compare-table-wrap{overflow:auto}.compare-table{min-width:760px;border-collapse:separate;border-spacing:0;width:100%}.compare-table th,.compare-table td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:16px;text-align:left;vertical-align:top;background:#fff}.compare-table th:first-child{position:sticky;left:0;z-index:2;background:#f0f7ff;min-width:190px}.compare-product-head{display:grid;gap:10px;color:var(--text);text-decoration:none;min-width:180px}.compare-product-head img{width:120px;aspect-ratio:1.3/1;object-fit:contain;border-radius:18px;background:#f7fbff}.compare-product-head strong{font-size:16px;line-height:1.25}.compare-product-head span{font-weight:900;color:var(--deep)}.compare-remove{float:right;border:0;border-radius:999px;width:28px;height:28px;background:#fff1f1;color:#d33;font-weight:900}.compare-empty,.compare-loading{background:#fff;border:1px dashed #bfd1e0;border-radius:24px;padding:34px;text-align:center;color:var(--muted)}.compare-toggle.is-active:not(.compare-floating){background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}
.woocommerce-store-notice,p.demo_store{z-index:100000!important}
@media(max-width:1180px){.header-main{grid-template-columns:160px minmax(220px,1fr) auto}.product-grid,.page-editor-content .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hero-copy h1,.page-hero h1{font-size:clamp(36px,4.8vw,58px)}}
@media(max-width:900px){.header-main{grid-template-columns:1fr auto}.search-form{grid-column:1/-1;order:3}.header-actions{justify-content:flex-end}.nav-inner{display:none}.site-header.nav-open .nav-inner{display:grid}.standard-menu{display:grid;gap:12px}.product-grid,.page-editor-content .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hero-grid,.split-grid,.catalog-layout{grid-template-columns:1fr}.hero-visual{max-width:560px}.filters-panel{position:static}.cart-collaterals .cart_totals{margin-left:0}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.topbar-actions{gap:10px}.brand img,.custom-logo{max-width:150px}.search-form input{padding:10px 12px}.search-form button{padding:10px 14px}.product-grid,.page-editor-content .woocommerce ul.products{grid-template-columns:1fr!important}.pricing-grid,.price-grid,.steps-grid,.info-grid{grid-template-columns:1fr}.hero-stats{grid-template-columns:1fr}.cart-button span{display:none}.woocommerce-cart-form table.shop_table thead{display:none}.woocommerce-cart-form table.shop_table tr{display:block;border-bottom:1px solid var(--line);padding:12px 0}.woocommerce-cart-form table.shop_table td{display:flex!important;justify-content:space-between;gap:16px;border-bottom:0!important;padding:10px 0}.woocommerce-cart-form table.shop_table td::before{content:attr(data-title);font-weight:900;color:var(--deep)}.woocommerce-cart-form table.shop_table .product-remove,.woocommerce-cart-form table.shop_table .product-thumbnail{justify-content:flex-start}.compare-app{padding:14px}.footer-grid{grid-template-columns:1fr}.page-hero{padding:34px 0}.hero-section{padding:42px 0 30px}}
.price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
@media(max-width:900px){.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.price-grid{grid-template-columns:1fr}}
@media(max-width:640px){.info-grid{grid-template-columns:1fr}}


/* Compare removed from the theme. It can be added later with a dedicated plugin. */
.compare-header-link,
.compare-toggle,
.compare-floating,
.compare-section,
.compare-hero,
.compare-app,
.compare-toolbar { display: none !important; }

/* Safer default WooCommerce product page after removing custom single-product.php. */
.single-product .site-main,
.single-product main,
.woocommerce-page .site-main,
.woocommerce-page main { max-width: 1320px; margin: 0 auto; padding: 48px 24px; }
.single-product div.product { background: #fff; border: 1px solid rgba(16, 43, 70, .10); border-radius: 28px; padding: 28px; box-shadow: 0 20px 60px rgba(16, 43, 70, .08); }
.single-product div.product .product_title { color: #102b46; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; margin: 0 0 16px; }
.single-product div.product p.price,
.single-product div.product span.price { color: #102b46; font-weight: 800; font-size: 28px; }
.single-product div.product form.cart .button,
.woocommerce div.product form.cart .button { border: 0; border-radius: 999px; padding: 14px 24px; color: #fff; font-weight: 800; background: linear-gradient(135deg, #1ea7ff, #10c8a0); box-shadow: 0 14px 30px rgba(30, 167, 255, .25); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { margin-top: 40px; }
@media (max-width: 768px) { .single-product div.product { padding: 18px; border-radius: 22px; } }


/* Catalog filters and category cards fix */
.filters-panel .filter-title,
.filters-panel .widget-title,
.filters-panel .wp-block-heading,
.filters-panel h2,
.filters-panel h3 { display:block !important; margin:0 0 12px; color:#102b46; font-size:16px; font-weight:900; line-height:1.25; }
.filters-panel ul.product-categories,
.filters-panel .woocommerce-widget-layered-nav-list,
.filters-panel .ir-stock-filter-list { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.filters-panel ul.product-categories ul.children { list-style:none; margin:8px 0 0 14px; padding:0; display:grid; gap:8px; }
.filters-panel ul.product-categories a,
.filters-panel .woocommerce-widget-layered-nav-list a,
.filters-panel .ir-stock-filter-list a { color:#50677f; text-decoration:none; font-weight:750; line-height:1.35; }
.filters-panel ul.product-categories .count,
.filters-panel .woocommerce-widget-layered-nav-list .count { color:#8aa0b8; font-size:12px; }
.filters-panel .chosen > a,
.filters-panel .woocommerce-widget-layered-nav-list .chosen a { color:#102b46; font-weight:900; }
.catalog-category-cards { margin:0 0 24px; padding:18px; border:1px solid rgba(15,48,84,.10); border-radius:24px; background:#fff; box-shadow:0 14px 34px rgba(17,48,79,.05); }
.catalog-category-title { display:block; margin:0 0 14px; color:#102b46; font-size:18px; font-weight:900; }
.catalog-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.catalog-category-card { display:flex; flex-direction:column; justify-content:space-between; min-height:92px; padding:16px; border:1px solid rgba(15,48,84,.10); border-radius:18px; background:#f7fbff; color:#102b46; text-decoration:none; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.catalog-category-card:hover { transform:translateY(-2px); border-color:rgba(30,167,255,.35); box-shadow:0 12px 28px rgba(16,43,70,.08); }
.catalog-category-card span { font-weight:900; line-height:1.25; }
.catalog-category-card small { margin-top:10px; color:#6a7d93; font-weight:750; }
@media(max-width:1180px){.catalog-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){.catalog-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.catalog-category-cards{padding:14px;}}
@media(max-width:520px){.catalog-category-grid{grid-template-columns:1fr;}}


/* Header catalog dropdown + no category filter in sidebar */
.catalog-dropdown-wrap{position:relative;display:inline-flex;align-items:center;align-self:stretch;padding:7px 0;}
.catalog-dropdown-wrap::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px;}
.catalog-dropdown-menu{position:absolute;left:0;top:calc(100% + 8px);z-index:1100;width:min(360px,calc(100vw - 32px));padding:12px;background:#fff;border:1px solid rgba(15,48,84,.12);border-radius:22px;box-shadow:0 24px 70px rgba(15,48,84,.16);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .18s ease,visibility .18s ease,transform .18s ease;}
.catalog-dropdown-wrap:hover .catalog-dropdown-menu,.catalog-dropdown-wrap:focus-within .catalog-dropdown-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);}
.catalog-dropdown-all,.catalog-dropdown-root{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:14px;color:#102b46;text-decoration:none;font-weight:900;}
.catalog-dropdown-all{background:#f0f7ff;margin-bottom:8px;}
.catalog-dropdown-all:hover,.catalog-dropdown-root:hover{background:#eef7ff;}
.catalog-dropdown-group{padding:6px 0;border-top:1px solid rgba(15,48,84,.08);}
.catalog-dropdown-group:first-of-type{border-top:0;}
.catalog-dropdown-group ul{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:2px;}
.catalog-dropdown-group li a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px 9px 24px;border-radius:12px;color:#50677f;text-decoration:none;font-weight:750;line-height:1.25;}
.catalog-dropdown-group li a:hover{background:#f7fbff;color:#102b46;}
.catalog-dropdown-group li span{min-width:24px;height:22px;display:inline-grid;place-items:center;padding:0 6px;border-radius:999px;background:#eef5fb;color:#8aa0b8;font-size:12px;font-weight:900;}
.filters-panel .widget_product_categories,.filters-panel .wc-block-product-categories,.filters-panel .wp-block-woocommerce-product-categories{display:none!important;}
@media(max-width:900px){.catalog-dropdown-wrap{display:grid;width:100%;align-self:auto;padding:0}.catalog-dropdown-menu{position:static;width:100%;margin-top:8px;opacity:1;visibility:visible;pointer-events:auto;transform:none;box-shadow:none;border-radius:18px}.catalog-dropdown-wrap::after{display:none}}

/* Pretty filter URLs + cleaned filter sidebar */
.ir-stock-filter,
.filters-panel .widget_layered_nav_filters .chosen.stock-status,
.filters-panel [class*="stock-filter"] { display:none!important; }
.ir-product-filters { display:grid; gap:18px; }
.ir-price-filter-form { display:grid; gap:12px; }
.ir-price-inputs { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ir-price-inputs input { width:100%; border:1px solid rgba(15,48,84,.14); border-radius:12px; padding:10px 12px; color:#102b46; font-weight:800; background:#fff; }
.ir-price-filter-form button { border:0; border-radius:14px; padding:11px 14px; background:#4aa9f5; color:#fff; font-weight:900; cursor:pointer; box-shadow:0 10px 24px rgba(74,169,245,.2); }
.ir-checkbox-filter { display:flex; align-items:center; gap:10px; color:#50677f; text-decoration:none; font-weight:850; line-height:1.3; }
.ir-faux-checkbox { width:18px; height:18px; flex:0 0 18px; border-radius:5px; border:2px solid #d9e3ed; background:#f4f7fa; box-shadow:inset 0 0 0 2px #fff; }
.ir-checkbox-filter.is-active .ir-faux-checkbox { background:#4cbf91; border-color:#4cbf91; position:relative; }
.ir-checkbox-filter.is-active .ir-faux-checkbox::after { content:""; position:absolute; left:5px; top:2px; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.ir-checkbox-filter:hover { color:#102b46; }
.ir-active-filter-widget .filter-reset { display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:40px; border-radius:12px; background:#eef7ff; color:#102b46; font-weight:900; }

/* Active filter chips */
.ir-active-filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 4px}
.ir-active-filter-chip{display:inline-flex;align-items:flex-start;gap:8px;max-width:100%;min-width:0;padding:8px 10px;border:1px solid #dbe8f4;border-radius:16px;background:#ffffff;color:#102b46;font-size:13px;font-weight:800;line-height:1.25;text-decoration:none;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.ir-active-filter-chip span{min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.ir-active-filter-chip em{flex:0 0 18px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-top:-1px;border-radius:50%;background:#eef4fa;color:#50677f;font-style:normal;font-weight:900;line-height:1}
.ir-active-filter-chip:hover{border-color:#9cccf4;background:#f7fbff}
.ir-active-filter-widget .filter-reset{margin-top:4px}

.ir-attribute-filter .woocommerce-widget-layered-nav-list__item a{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.ir-attribute-filter .filter-option-name{min-width:0;white-space:normal;overflow-wrap:anywhere}
.ir-attribute-filter .count,.ir-checkbox-filter .count{flex:0 0 auto;color:#8aa0b8;font-weight:900}
.ir-attribute-filter .wc-layered-nav-term.is-disabled{opacity:.45}
.ir-attribute-filter .wc-layered-nav-term.is-disabled a{pointer-events:none}

/* ===== Cart layout final polish ===== */
.page-template-page-cart .woo-page-section,
.woocommerce-cart .woo-page-section {
  padding-top: 34px;
}
.woocommerce-cart .woocommerce,
.page-template-page-cart .woocommerce {
  display: block;
  max-width: 100%;
}
.woocommerce-cart .woocommerce-notices-wrapper,
.page-template-page-cart .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.page-template-page-cart .woocommerce-message,
.page-template-page-cart .woocommerce-info,
.page-template-page-cart .woocommerce-error {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 48, 79, .07);
  color: var(--text);
  margin: 0 0 16px;
  list-style: none;
}
.woocommerce-cart-form,
.cart-collaterals {
  overflow: visible !important;
}
.woocommerce-cart-form {
  padding: 22px !important;
}
.woocommerce-cart-form table.shop_table {
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  margin: 0 !important;
}
.woocommerce-cart-form table.shop_table thead th {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: #f5f9fd;
  border-bottom: 1px solid var(--line) !important;
}
.woocommerce-cart-form table.shop_table thead th:first-child {
  border-top-left-radius: 18px;
}
.woocommerce-cart-form table.shop_table thead th:last-child {
  border-top-right-radius: 18px;
}
.woocommerce-cart-form table.shop_table th,
.woocommerce-cart-form table.shop_table td {
  padding: 16px 12px !important;
  vertical-align: middle !important;
}
.woocommerce-cart-form table.shop_table .product-remove { width: 52px; text-align: center !important; }
.woocommerce-cart-form table.shop_table .product-thumbnail { width: 96px; }
.woocommerce-cart-form table.shop_table .product-name { width: auto; }
.woocommerce-cart-form table.shop_table .product-price { width: 132px; }
.woocommerce-cart-form table.shop_table .product-quantity { width: 132px; }
.woocommerce-cart-form table.shop_table .product-subtotal { width: 142px; text-align: right !important; }
.woocommerce-cart-form table.shop_table td.product-name a {
  color: var(--deep);
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.woocommerce-cart-form table.shop_table td.product-name a:hover {
  color: var(--blue);
}
.woocommerce-cart-form table.shop_table .product-thumbnail img {
  width: 72px !important;
  max-width: 72px !important;
  height: 64px !important;
  object-fit: contain;
  padding: 8px;
  border: 1px solid rgba(15,48,84,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fcff, #eef7ff);
}
.woocommerce a.remove {
  display: inline-grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff1f3;
  color: #d33b5c !important;
  font-size: 22px !important;
  line-height: 1 !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.woocommerce a.remove:hover {
  background: #d33b5c !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.woocommerce-cart-form .product-price .amount,
.woocommerce-cart-form .product-subtotal .amount,
.cart_totals .amount {
  white-space: nowrap;
  color: var(--deep);
  font-weight: 950;
}
.woocommerce .quantity input.qty {
  height: 42px;
  width: 84px !important;
  max-width: 100%;
  font-weight: 900;
  background: #fff;
}
.woocommerce-cart-form table.shop_table td.actions {
  padding: 20px 0 0 !important;
  border-bottom: 0 !important;
}
.woocommerce-cart-form .actions {
  text-align: left !important;
}
.woocommerce-cart-form .coupon {
  display: inline-flex !important;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  margin-right: 12px;
}
.woocommerce-cart-form .coupon label {
  display: none !important;
}
.woocommerce-cart-form .coupon .input-text {
  width: 260px !important;
  max-width: 100%;
  height: 46px;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  font: inherit;
  font-weight: 800;
  color: var(--deep);
  background: #fff;
}
.woocommerce-cart-form .coupon .input-text:focus,
.woocommerce .quantity input.qty:focus {
  outline: none;
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 4px rgba(30, 167, 255, .12);
}
.woocommerce-cart-form table.shop_table button.button,
.woocommerce-cart-form table.shop_table input.button {
  min-height: 46px;
  white-space: normal;
  text-align: center;
}
.woocommerce-cart-form table.shop_table button.button[name="update_cart"] {
  float: right;
  background: var(--deep);
  box-shadow: none;
}
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled] {
  opacity: .55;
  cursor: not-allowed;
  padding: 13px 22px;
}
.cart-collaterals {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.cart-collaterals::before,
.cart-collaterals::after {
  display: none !important;
}
.cart-collaterals .cart_totals {
  float: none !important;
  width: min(460px, 100%) !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(17, 48, 79, .08);
}
.cart-collaterals .cart_totals h2 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
}
.cart-collaterals .cart_totals table.shop_table {
  border: 0 !important;
  margin: 0 !important;
}
.cart-collaterals .cart_totals table.shop_table th,
.cart-collaterals .cart_totals table.shop_table td {
  border-bottom: 1px solid var(--line) !important;
  padding: 14px 0 !important;
}
.cart-collaterals .cart_totals table.shop_table th {
  color: var(--muted);
  font-weight: 900;
}
.cart-collaterals .cart_totals table.shop_table td {
  text-align: right;
}
.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td {
  border-bottom: 0 !important;
  font-size: 18px;
}
.woocommerce-cart .wc-proceed-to-checkout {
  padding: 18px 0 0 !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  width: 100%;
  min-height: 54px;
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}
.woocommerce-cart .return-to-shop .button,
.woocommerce .cart-empty .button {
  min-height: 48px;
}
.woocommerce-cart .cart-empty,
.woocommerce-cart .woocommerce-info.cart-empty {
  text-align: center;
  padding: 32px !important;
}
.woocommerce-cart .return-to-shop {
  text-align: center;
}

@media (max-width: 900px) {
  .woocommerce-cart-form table.shop_table {
    table-layout: auto !important;
  }
  .woocommerce-cart-form table.shop_table .product-price,
  .woocommerce-cart-form table.shop_table .product-quantity,
  .woocommerce-cart-form table.shop_table .product-subtotal {
    width: auto;
  }
  .cart-collaterals {
    justify-content: stretch;
  }
  .cart-collaterals .cart_totals {
    width: 100% !important;
  }
}
@media (max-width: 640px) {
  .woocommerce-cart-form {
    padding: 14px !important;
    border-radius: 22px !important;
  }
  .woocommerce-cart-form table.shop_table,
  .woocommerce-cart-form table.shop_table tbody,
  .woocommerce-cart-form table.shop_table tfoot {
    display: block !important;
    width: 100% !important;
  }
  .woocommerce-cart-form table.shop_table thead {
    display: none !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px 12px;
    position: relative;
    padding: 14px 14px 14px 14px !important;
    margin-bottom: 14px;
    border: 1px solid var(--line) !important;
    border-radius: 20px;
    background: #fbfdff;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item td::before {
    content: none !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
    width: 82px !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-thumbnail img {
    width: 82px !important;
    max-width: 82px !important;
    height: 76px !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-name {
    grid-column: 2;
    padding-right: 38px !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-price,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-quantity,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal {
    grid-column: 2;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-price::before,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-quantity::before,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal::before {
    content: attr(data-title);
    color: var(--muted);
    font-weight: 900;
    flex: 0 0 auto;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal {
    text-align: left !important;
  }
  .woocommerce-cart-form table.shop_table td.actions {
    display: grid !important;
    gap: 12px;
    padding-top: 6px !important;
  }
  .woocommerce-cart-form .coupon {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-right: 0;
  }
  .woocommerce-cart-form .coupon .input-text,
  .woocommerce-cart-form .coupon .button,
  .woocommerce-cart-form table.shop_table button.button[name="update_cart"] {
    width: 100% !important;
    float: none !important;
  }
  .cart-collaterals .cart_totals {
    border-radius: 22px;
    padding: 18px;
  }
  .cart-collaterals .cart_totals table.shop_table th,
  .cart-collaterals .cart_totals table.shop_table td {
    display: table-cell !important;
  }
  .cart-collaterals .cart_totals table.shop_table td::before {
    content: none !important;
  }
  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    min-height: 52px;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 420px) {
  .woocommerce-cart-form table.shop_table tr.cart_item {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 12px !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-thumbnail,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-thumbnail img {
    width: 72px !important;
    max-width: 72px !important;
    height: 68px !important;
  }
  .woocommerce-cart-form table.shop_table td.product-name a {
    font-size: 14px;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-price,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-quantity,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal {
    font-size: 14px;
  }
}

/* ===== Final cart + checkout layout and Ukrainian text fixes ===== */
.woocommerce-cart .woo-page-section,
.woocommerce-checkout .woo-page-section,
body.woocommerce-cart,
body.woocommerce-checkout {
  overflow-x: hidden;
}
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 100%;
}
.woocommerce-cart-form {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.woocommerce-cart-form table.shop_table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
}
.woocommerce-cart-form table.shop_table th,
.woocommerce-cart-form table.shop_table td {
  vertical-align: middle !important;
  box-sizing: border-box;
}
.woocommerce-cart-form table.shop_table th.product-remove,
.woocommerce-cart-form table.shop_table td.product-remove { width: 54px !important; }
.woocommerce-cart-form table.shop_table th.product-thumbnail,
.woocommerce-cart-form table.shop_table td.product-thumbnail { width: 92px !important; }
.woocommerce-cart-form table.shop_table th.product-price,
.woocommerce-cart-form table.shop_table td.product-price { width: 150px !important; }
.woocommerce-cart-form table.shop_table th.product-quantity,
.woocommerce-cart-form table.shop_table td.product-quantity { width: 160px !important; }
.woocommerce-cart-form table.shop_table th.product-subtotal,
.woocommerce-cart-form table.shop_table td.product-subtotal { width: 170px !important; text-align: right !important; }
.woocommerce-cart-form table.shop_table .product-name,
.woocommerce-cart-form table.shop_table .product-name a {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
}
.woocommerce-cart-form table.shop_table td.product-thumbnail img {
  display: block;
  width: 72px !important;
  height: 64px !important;
  max-width: 72px !important;
  object-fit: contain;
  margin: 0 auto;
}
.woocommerce-cart-form table.shop_table td.product-remove a.remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(227,75,118,.08);
  color: #d64256 !important;
  line-height: 1 !important;
  font-size: 22px !important;
}
.woocommerce-cart-form table.shop_table td.actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}
.woocommerce-cart-form .coupon {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}
.woocommerce-cart-form .coupon .input-text {
  flex: 0 1 260px;
  min-width: 180px;
}
.woocommerce-cart-form .coupon .button {
  flex: 0 0 auto;
}
.woocommerce-cart-form table.shop_table button.button[name="update_cart"] {
  float: none !important;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 190px;
}
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled] {
  opacity: 1 !important;
  background: #8a96a3 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.cart-collaterals {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 460px);
  justify-content: end;
  overflow: visible !important;
}
.cart-collaterals .cart_totals {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow: hidden;
}
.cart-collaterals .cart_totals table.shop_table,
.cart-collaterals .cart_totals table.shop_table tbody,
.cart-collaterals .cart_totals table.shop_table tfoot {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}
.cart-collaterals .cart_totals table.shop_table tr {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100% !important;
  max-width: 100% !important;
  border-bottom: 1px solid var(--line);
}
.cart-collaterals .cart_totals table.shop_table tr:last-child {
  border-bottom: 0;
}
.cart-collaterals .cart_totals table.shop_table th,
.cart-collaterals .cart_totals table.shop_table td {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  border: 0 !important;
  padding: 14px 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}
.cart-collaterals .cart_totals table.shop_table td {
  text-align: right !important;
  color: var(--deep);
  font-weight: 950;
  white-space: nowrap;
}
.cart-collaterals .cart_totals .wc-proceed-to-checkout {
  width: 100%;
}

/* Checkout page cleanup */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info {
  display: block;
  width: 100%;
  border-radius: 20px;
  padding: 16px 18px !important;
  line-height: 1.45;
}
.woocommerce-checkout .checkout_coupon.woocommerce-form-coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  padding: 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  background: #fbfdff;
}
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}
.woocommerce-checkout #customer_details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  min-width: 0;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-checkout-review-order {
  min-width: 0;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
}
.woocommerce-checkout #order_review_heading {
  margin: 0 0 -10px;
}
.woocommerce-checkout .woocommerce-checkout-review-order {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(17, 48, 79, .08);
}
.woocommerce-checkout table.shop_table {
  table-layout: fixed;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  overflow-wrap: anywhere;
  vertical-align: middle;
}
.woocommerce-checkout table.shop_table td.product-name {
  width: 62%;
}
.woocommerce-checkout table.shop_table td.product-total,
.woocommerce-checkout table.shop_table tfoot td {
  text-align: right;
  font-weight: 950;
  white-space: nowrap;
}
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
  overflow-wrap: anywhere;
}
.woocommerce-checkout #payment {
  border-radius: 22px;
  overflow: hidden;
}
.woocommerce-checkout #payment .payment_methods,
.woocommerce-checkout #payment .form-row.place-order {
  padding: 18px !important;
}
.woocommerce-checkout #place_order {
  min-width: 220px;
}
.woocommerce form .form-row label .optional {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .woocommerce-cart-form table.shop_table th.product-thumbnail,
  .woocommerce-cart-form table.shop_table td.product-thumbnail { width: 78px !important; }
  .woocommerce-cart-form table.shop_table th.product-price,
  .woocommerce-cart-form table.shop_table td.product-price { width: 120px !important; }
  .woocommerce-cart-form table.shop_table th.product-quantity,
  .woocommerce-cart-form table.shop_table td.product-quantity { width: 132px !important; }
  .woocommerce-cart-form table.shop_table th.product-subtotal,
  .woocommerce-cart-form table.shop_table td.product-subtotal { width: 140px !important; }
}
@media (max-width: 960px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: 1;
  }
  .woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 16px;
  }
  .cart-collaterals {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .woocommerce-cart-form table.shop_table,
  .woocommerce-cart-form table.shop_table tbody,
  .woocommerce-cart-form table.shop_table tfoot {
    display: block !important;
    width: 100% !important;
  }
  .woocommerce-cart-form table.shop_table thead {
    display: none !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px !important;
    margin-bottom: 14px;
    border: 1px solid var(--line) !important;
    border-radius: 20px;
    background: #fbfdff;
    position: relative;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 4;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-thumbnail img {
    width: 76px !important;
    max-width: 76px !important;
    height: 70px !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-name {
    grid-column: 2;
    padding-right: 36px !important;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-price,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-quantity,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal {
    grid-column: 2;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    white-space: normal;
  }
  .woocommerce-cart-form table.shop_table tr.cart_item .product-price::before,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-quantity::before,
  .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal::before {
    content: attr(data-title);
    color: var(--muted);
    font-weight: 900;
  }
  .woocommerce-cart-form table.shop_table td.actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .woocommerce-cart-form .coupon {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .woocommerce-cart-form .coupon .input-text,
  .woocommerce-cart-form .coupon .button,
  .woocommerce-cart-form table.shop_table button.button[name="update_cart"] {
    width: 100% !important;
    min-width: 0;
  }
  .cart-collaterals .cart_totals table.shop_table tr {
    grid-template-columns: 1fr auto;
  }
}
@media (max-width: 520px) {
  .woocommerce-cart-form,
  .cart-collaterals .cart_totals,
  .woocommerce-checkout,
  .woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 14px !important;
    border-radius: 20px !important;
  }
  .woocommerce-checkout .checkout_coupon.woocommerce-form-coupon {
    display: grid;
  }
  .woocommerce-checkout #place_order {
    width: 100%;
  }
}

/* ===== v1.5.6 HARD FIX: cart + checkout layout ===== */
body.woocommerce-cart .ir-wp-content > article,
body.woocommerce-checkout .ir-wp-content > article {
  width: min(1240px, calc(100% - 48px)) !important;
  max-width: 1240px !important;
}
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
  overflow: hidden !important;
  box-sizing: border-box !important;
}
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart .woocommerce form,
body.woocommerce-checkout .woocommerce form {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Cart table: keep the product row stable and stop the coupon/update overlap */
body.woocommerce-cart .woocommerce-cart-form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 22px !important;
  border: 1px solid var(--line) !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(17, 48, 79, .08) !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table thead,
body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody,
body.woocommerce-cart .woocommerce-cart-form table.shop_table tfoot {
  display: table-header-group !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody { display: table-row-group !important; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table tfoot { display: table-footer-group !important; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table tr { display: table-row !important; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td {
  display: table-cell !important;
  float: none !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table th.product-remove,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-remove { width: 54px !important; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table th.product-thumbnail,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail { width: 94px !important; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table th.product-price,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-price { width: 150px !important; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table th.product-quantity,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-quantity { width: 150px !important; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table th.product-subtotal,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-subtotal { width: 160px !important; text-align: right !important; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name a {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  padding: 22px 0 0 !important;
  border: 0 !important;
  text-align: left !important;
  overflow: visible !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  display: grid !important;
  grid-template-columns: minmax(180px, 260px) auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  position: static !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon::before,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon::after,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions::before,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions::after {
  display: none !important;
  content: none !important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon .input-text {
  width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  margin: 0 !important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon .button,
body.woocommerce-cart .woocommerce-cart-form button.button[name="update_cart"] {
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  position: static !important;
  transform: none !important;
}
body.woocommerce-cart .woocommerce-cart-form button.button[name="update_cart"] {
  grid-column: 2 !important;
  justify-self: end !important;
  float: none !important;
  min-width: 190px !important;
  z-index: 1 !important;
}

/* Cart totals: normal table display, visible sums */
body.woocommerce-cart .cart-collaterals {
  display: grid !important;
  grid-template-columns: minmax(0, 460px) !important;
  justify-content: end !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 24px !important;
  padding: 0 !important;
  overflow: visible !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody { display: table-row-group !important; }
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr { display: table-row !important; }
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
  display: table-cell !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
  vertical-align: middle !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
  text-align: left !important;
  color: var(--muted) !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
  text-align: right !important;
  color: var(--deep) !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td::before { content: none !important; }

/* Checkout: force real 2-column placement instead of pushing the order block down */
body.woocommerce-checkout .woocommerce form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px) !important;
  grid-template-areas:
    "customer order-title"
    "customer order-review" !important;
  gap: 18px 28px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.woocommerce-checkout #customer_details {
  grid-area: customer !important;
  grid-column: auto !important;
  grid-row: auto !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  gap: 24px !important;
}
body.woocommerce-checkout #order_review_heading {
  grid-area: order-title !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: end !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
}
body.woocommerce-checkout #order_review {
  grid-area: order-review !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 20px !important;
}
body.woocommerce-checkout .woocommerce form .form-row {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #billing_email_field {
  grid-column: 1 / -1 !important;
}
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_comments_field {
  width: 100% !important;
  max-width: 100% !important;
}
body.woocommerce-checkout #order_comments {
  width: 100% !important;
  min-height: 110px !important;
  resize: vertical !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout table.shop_table,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
}
body.woocommerce-checkout table.shop_table thead { display: table-header-group !important; }
body.woocommerce-checkout table.shop_table tbody { display: table-row-group !important; }
body.woocommerce-checkout table.shop_table tfoot { display: table-footer-group !important; }
body.woocommerce-checkout table.shop_table tr { display: table-row !important; }
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
  display: table-cell !important;
  float: none !important;
  box-sizing: border-box !important;
  padding: 14px 12px !important;
  vertical-align: middle !important;
  overflow-wrap: anywhere !important;
}
body.woocommerce-checkout table.shop_table th.product-name,
body.woocommerce-checkout table.shop_table td.product-name { width: 64% !important; }
body.woocommerce-checkout table.shop_table th.product-total,
body.woocommerce-checkout table.shop_table td.product-total,
body.woocommerce-checkout table.shop_table tfoot td {
  width: 36% !important;
  text-align: right !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment .payment_methods,
body.woocommerce-checkout #payment .form-row.place-order {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout #payment .woocommerce-info,
body.woocommerce-checkout #payment .woocommerce-error,
body.woocommerce-checkout #payment .woocommerce-message {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere !important;
}
body.woocommerce-checkout #place_order {
  float: none !important;
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
}

@media (max-width: 980px) {
  body.woocommerce-checkout .woocommerce form.checkout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "customer"
      "order-title"
      "order-review" !important;
  }
  body.woocommerce-cart .cart-collaterals {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tfoot {
    display: block !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table thead { display: none !important; }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td {
    display: block !important;
    width: auto !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  body.woocommerce-cart .woocommerce-cart-form .coupon .button,
  body.woocommerce-cart .woocommerce-cart-form button.button[name="update_cart"] {
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 560px) {
  body.woocommerce-cart .ir-wp-content > article,
  body.woocommerce-checkout .ir-wp-content > article {
    width: min(100% - 22px, 1240px) !important;
  }
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 14px !important;
    border-radius: 20px !important;
  }
}

/* ===== STEP 1 CART ACTIONS FIX: coupon + update button must never overlap ===== */
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  display: grid !important;
  grid-template-columns: minmax(220px, 280px) auto minmax(20px, 1fr) auto !important;
  column-gap: 12px !important;
  row-gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 20px 0 0 !important;
  margin: 0 !important;
  border: 0 !important;
  float: none !important;
  clear: both !important;
  position: static !important;
  overflow: visible !important;
  text-align: left !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions::before,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions::after,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon::before,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon::after {
  display: none !important;
  content: none !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  display: contents !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon label {
  display: none !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon .input-text,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input#coupon_code {
  grid-column: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--deep) !important;
  box-shadow: none !important;
  position: static !important;
  transform: none !important;
  float: none !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon .button,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="apply_coupon"] {
  grid-column: 2 !important;
  width: auto !important;
  min-width: 190px !important;
  max-width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 22px !important;
  white-space: nowrap !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  z-index: auto !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="update_cart"] {
  grid-column: 4 !important;
  justify-self: end !important;
  width: auto !important;
  min-width: 190px !important;
  max-width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 22px !important;
  white-space: nowrap !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  clear: none !important;
  z-index: auto !important;
  background: #8a96a3 !important;
  box-shadow: none !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input[type="hidden"] {
  display: none !important;
}
@media (max-width: 760px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    grid-template-columns: 1fr !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon .input-text,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input#coupon_code,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon .button,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="apply_coupon"],
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="update_cart"] {
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }
}

/* ===== v1.5.7 CART CLEANUP: remove totals block and put checkout CTA instead of coupon ===== */
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-collaterals .cart_totals {
  display: none !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input#coupon_code,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="apply_coupon"] {
  display: none !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  display: grid !important;
  grid-template-columns: minmax(240px, 360px) minmax(24px, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
  padding: 22px 0 0 !important;
  border: 0 !important;
  overflow: visible !important;
  text-align: left !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .ir-cart-inline-checkout {
  grid-column: 1 !important;
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 360px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand), var(--accent)) !important;
  color: #fff !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: none !important;
  position: static !important;
  transform: none !important;
  float: none !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="update_cart"] {
  grid-column: 3 !important;
  justify-self: end !important;
  align-self: center !important;
  width: auto !important;
  min-width: 190px !important;
  max-width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  clear: none !important;
  z-index: auto !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input[type="hidden"] {
  display: none !important;
}

@media (max-width: 760px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    grid-template-columns: 1fr !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .ir-cart-inline-checkout,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="update_cart"] {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }
}

/* ===== v1.5.8 CART CHECKOUT BUTTON STEP 2 ===== */
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  display: grid !important;
  grid-template-columns: minmax(240px, 360px) auto !important;
  justify-content: start !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 22px 0 0 !important;
  border: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input#coupon_code,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="apply_coupon"] {
  display: none !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .ir-cart-inline-checkout {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 360px !important;
  min-width: 240px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand), var(--accent)) !important;
  color: #fff !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: none !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .ir-cart-inline-checkout:hover {
  filter: brightness(.98);
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="update_cart"],
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input.button[name="update_cart"] {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  align-self: center !important;
  width: auto !important;
  min-width: 190px !important;
  max-width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  clear: none !important;
  z-index: auto !important;
}

@media (max-width: 760px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    grid-template-columns: 1fr !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .ir-cart-inline-checkout,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="update_cart"],
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input.button[name="update_cart"] {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }
}



/* ===== v1.5.9 CART: no coupon, no visible update button, checkout CTA under table ===== */
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions,
body.woocommerce-cart .woocommerce-cart-form table.shop_table tr:has(td.actions),
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input#coupon_code,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="apply_coupon"],
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="update_cart"],
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input.button[name="update_cart"] {
  display: none !important;
  visibility: hidden !important;
}

body.woocommerce-cart .ir-cart-bottom-actions {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart .ir-cart-main-checkout,
body.woocommerce-cart .ir-cart-main-checkout.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 300px !important;
  max-width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand), var(--accent)) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: none !important;
}

body.woocommerce-cart .ir-cart-main-checkout:hover,
body.woocommerce-cart .ir-cart-main-checkout:focus {
  color: #fff !important;
  filter: brightness(.98);
  text-decoration: none !important;
}

@media (max-width: 760px) {
  body.woocommerce-cart .ir-cart-bottom-actions {
    justify-content: stretch !important;
  }
  body.woocommerce-cart .ir-cart-main-checkout,
  body.woocommerce-cart .ir-cart-main-checkout.button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ===== v1.6.0 CART: force visible checkout CTA after removing coupons/update ===== */
body.woocommerce-cart .woocommerce-cart-form {
  position: relative !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions,
body.woocommerce-cart .woocommerce-cart-form table.shop_table tr:has(td.actions),
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input#coupon_code,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="apply_coupon"],
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions button.button[name="update_cart"],
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions input.button[name="update_cart"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.woocommerce-cart .ir-cart-bottom-actions,
body.woocommerce-cart .ir-cart-js-bottom-actions {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  clear: both !important;
  position: relative !important;
  z-index: 5 !important;
  background: transparent !important;
}

body.woocommerce-cart a.ir-cart-main-checkout,
body.woocommerce-cart a.ir-cart-main-checkout.button,
body.woocommerce-cart .button.ir-cart-main-checkout,
body.woocommerce-cart .woocommerce a.button.ir-cart-main-checkout {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 340px !important;
  max-width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #4da3f5 0%, #55c6aa 100%) !important;
  background-color: #4da3f5 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: 0 12px 24px rgba(77, 163, 245, .22) !important;
  transform: none !important;
}

body.woocommerce-cart a.ir-cart-main-checkout:hover,
body.woocommerce-cart a.ir-cart-main-checkout:focus,
body.woocommerce-cart .button.ir-cart-main-checkout:hover,
body.woocommerce-cart .button.ir-cart-main-checkout:focus {
  color: #ffffff !important;
  background: linear-gradient(135deg, #4299ec 0%, #49bfa2 100%) !important;
  background-color: #4299ec !important;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(77, 163, 245, .28) !important;
}

@media (max-width: 760px) {
  body.woocommerce-cart .ir-cart-bottom-actions,
  body.woocommerce-cart .ir-cart-js-bottom-actions {
    justify-content: stretch !important;
  }
  body.woocommerce-cart a.ir-cart-main-checkout,
  body.woocommerce-cart a.ir-cart-main-checkout.button,
  body.woocommerce-cart .button.ir-cart-main-checkout,
  body.woocommerce-cart .woocommerce a.button.ir-cart-main-checkout {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ===== v1.6.1 CHECKOUT STEP 1: order column, table width and payment card fix ===== */
body.woocommerce-checkout {
  background: #f3f7fb !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow-x: hidden !important;
}

body.woocommerce-checkout .ir-wp-content > article {
  width: min(1240px, calc(100% - 48px)) !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  padding: 28px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 26px !important;
  box-shadow: 0 14px 34px rgba(17, 48, 79, .08) !important;
}

/* The form has class .woocommerce-checkout, so old generic rules styled it like a card.
   Reset it and let the inner columns/cards control the layout. */
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout form.checkout.woocommerce-checkout {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
  grid-template-areas:
    "customer order-heading"
    "customer order-review" !important;
  align-items: start !important;
  column-gap: 28px !important;
  row-gap: 14px !important;
}

body.woocommerce-checkout #customer_details {
  grid-area: customer !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout #order_review_heading {
  grid-area: order-heading !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 26px !important;
  line-height: 1.18 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  grid-area: order-review !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 20px !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 34px rgba(17, 48, 79, .08) !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table,
body.woocommerce-checkout #order_review table.shop_table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 0 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout #order_review table.shop_table thead { display: table-header-group !important; }
body.woocommerce-checkout #order_review table.shop_table tbody { display: table-row-group !important; }
body.woocommerce-checkout #order_review table.shop_table tfoot { display: table-footer-group !important; }
body.woocommerce-checkout #order_review table.shop_table tr { display: table-row !important; }

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
  display: table-cell !important;
  float: none !important;
  box-sizing: border-box !important;
  padding: 13px 12px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
  color: var(--text) !important;
  line-height: 1.35 !important;
  overflow: visible !important;
}

body.woocommerce-checkout #order_review table.shop_table thead th,
body.woocommerce-checkout #order_review table.shop_table tfoot th {
  background: #f3f7fb !important;
  color: var(--deep) !important;
  font-weight: 900 !important;
}

body.woocommerce-checkout #order_review table.shop_table tr:last-child th,
body.woocommerce-checkout #order_review table.shop_table tr:last-child td {
  border-bottom: 0 !important;
}

body.woocommerce-checkout #order_review table.shop_table th.product-name,
body.woocommerce-checkout #order_review table.shop_table td.product-name,
body.woocommerce-checkout #order_review table.shop_table tfoot th {
  width: auto !important;
  max-width: none !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body.woocommerce-checkout #order_review table.shop_table th.product-total,
body.woocommerce-checkout #order_review table.shop_table td.product-total,
body.woocommerce-checkout #order_review table.shop_table tfoot td {
  width: 128px !important;
  min-width: 128px !important;
  max-width: 128px !important;
  text-align: right !important;
  white-space: nowrap !important;
  color: var(--deep) !important;
  font-weight: 950 !important;
}

body.woocommerce-checkout #order_review table.shop_table .amount,
body.woocommerce-checkout #order_review table.shop_table .woocommerce-Price-amount,
body.woocommerce-checkout #order_review table.shop_table .woocommerce-Price-currencySymbol {
  white-space: nowrap !important;
}

body.woocommerce-checkout #payment {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #f0eef3 !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout #payment .payment_methods,
body.woocommerce-checkout #payment .form-row.place-order {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 18px !important;
  margin: 0 !important;
}

body.woocommerce-checkout #payment .woocommerce-info,
body.woocommerce-checkout #payment .woocommerce-error,
body.woocommerce-checkout #payment .woocommerce-message,
body.woocommerce-checkout .woocommerce-privacy-policy-text {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body.woocommerce-checkout #place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 50px !important;
  margin: 16px 0 0 !important;
  float: none !important;
  clear: both !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #4da3f5 0%, #55c6aa 100%) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .woocommerce-input-wrapper input,
body.woocommerce-checkout .woocommerce-input-wrapper select,
body.woocommerce-checkout .woocommerce-input-wrapper textarea {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout #order_comments {
  min-height: 104px !important;
  resize: vertical !important;
}

@media (max-width: 1050px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "customer"
      "order-heading"
      "order-review" !important;
  }
}

@media (max-width: 640px) {
  body.woocommerce-checkout .ir-wp-content > article {
    width: min(100% - 22px, 1240px) !important;
  }
  body.woocommerce-checkout .entry-content,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 14px !important;
    border-radius: 20px !important;
  }
  body.woocommerce-checkout #order_review table.shop_table th,
  body.woocommerce-checkout #order_review table.shop_table td {
    padding: 11px 9px !important;
    font-size: 14px !important;
  }
  body.woocommerce-checkout #order_review table.shop_table th.product-total,
  body.woocommerce-checkout #order_review table.shop_table td.product-total,
  body.woocommerce-checkout #order_review table.shop_table tfoot td {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
  }
}


/* ===== v1.6.2 CHECKOUT FIELD POLISH: region select + order notes ===== */
body.woocommerce-checkout #billing_state_field select,
body.woocommerce-checkout #billing_country_field select,
body.woocommerce-checkout #order_comments,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #dfe9f3 !important;
  border-radius: 16px !important;
  background-color: #ffffff !important;
  color: #132236 !important;
  font: inherit !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  box-shadow: 0 8px 22px rgba(17,48,79,.04) !important;
  outline: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

body.woocommerce-checkout #billing_state_field select,
body.woocommerce-checkout #billing_country_field select,
body.woocommerce-checkout .woocommerce form .form-row select {
  min-height: 48px !important;
  padding: 0 46px 0 16px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #62758a 50%),
    linear-gradient(135deg, #62758a 50%, transparent 50%),
    linear-gradient(135deg, rgba(77,163,245,.12), rgba(85,198,170,.12)) !important;
  background-position:
    calc(100% - 23px) 50%,
    calc(100% - 17px) 50%,
    calc(100% - 42px) 50% !important;
  background-size: 6px 6px, 6px 6px, 32px 32px !important;
  background-repeat: no-repeat !important;
}

body.woocommerce-checkout #order_comments,
body.woocommerce-checkout textarea#order_comments {
  min-height: 126px !important;
  padding: 14px 16px !important;
  resize: vertical !important;
  border-radius: 18px !important;
  background: #ffffff !important;
}

body.woocommerce-checkout #order_comments::placeholder,
body.woocommerce-checkout textarea::placeholder {
  color: #7e8da0 !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout #billing_state_field select:focus,
body.woocommerce-checkout #billing_country_field select:focus,
body.woocommerce-checkout #order_comments:focus,
body.woocommerce-checkout .woocommerce form .form-row textarea:focus,
body.woocommerce-checkout .woocommerce form .form-row select:focus {
  border-color: #4da3f5 !important;
  box-shadow: 0 0 0 4px rgba(77,163,245,.14), 0 10px 24px rgba(17,48,79,.06) !important;
  background-color: #fbfdff !important;
}

/* WooCommerce/SelectWoo version of the region field */
body.woocommerce-checkout .select2-container,
body.woocommerce-checkout .select2-container--default {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.woocommerce-checkout .select2-container .select2-selection--single {
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid #dfe9f3 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 22px rgba(17,48,79,.04) !important;
  outline: none !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 46px 0 16px !important;
  color: #132236 !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  width: 42px !important;
  height: 48px !important;
  right: 4px !important;
}

body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #4da3f5 !important;
  box-shadow: 0 0 0 4px rgba(77,163,245,.14), 0 10px 24px rgba(17,48,79,.06) !important;
}

body.woocommerce-checkout .select2-dropdown {
  border: 1px solid #dfe9f3 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 38px rgba(17,48,79,.12) !important;
}

/* ===== v1.6.3 CHECKOUT: fix long "Проміжний підсумок" table header ===== */
body.woocommerce-checkout #order_review table.shop_table th.product-total {
  width: 142px !important;
  min-width: 142px !important;
  max-width: 142px !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  line-height: 1.2 !important;
  font-size: 14px !important;
  text-align: right !important;
}

body.woocommerce-checkout #order_review table.shop_table td.product-total,
body.woocommerce-checkout #order_review table.shop_table tfoot td {
  width: 142px !important;
  min-width: 142px !important;
  max-width: 142px !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body.woocommerce-checkout #order_review table.shop_table th.product-name,
body.woocommerce-checkout #order_review table.shop_table td.product-name,
body.woocommerce-checkout #order_review table.shop_table tfoot th {
  width: auto !important;
  min-width: 0 !important;
}

@media (max-width: 640px) {
  body.woocommerce-checkout #order_review table.shop_table th.product-total {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  body.woocommerce-checkout #order_review table.shop_table td.product-total,
  body.woocommerce-checkout #order_review table.shop_table tfoot td {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    white-space: nowrap !important;
  }
}


/* ===== v1.6.4 FINAL MOBILE CART FIX =====
   Purpose: rebuild WooCommerce cart on phones as real cards and stop table-width conflicts. */
@media (max-width: 768px) {
  body.woocommerce-cart,
  body.woocommerce-cart .woo-page-section,
  body.woocommerce-cart .woocommerce,
  body.woocommerce-cart .entry-content {
    overflow-x: hidden !important;
  }

  body.woocommerce-cart .woo-page-section {
    padding: 20px 0 36px !important;
  }

  body.woocommerce-cart .woo-page-section > .container,
  body.woocommerce-cart .ir-wp-content > article {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart .woocommerce-cart-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
    border-radius: 22px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    background: #fff !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tfoot {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
    display: grid !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 10px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 14px !important;
    padding: 14px !important;
    border: 1px solid #dfe9f3 !important;
    border-radius: 20px !important;
    background: #fbfdff !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td {
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td::before {
    display: none !important;
    content: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 2 !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove a.remove {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(214, 66, 86, .10) !important;
    color: #d64256 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: start !important;
    width: 74px !important;
    height: 74px !important;
    border: 1px solid #e5eef7 !important;
    border-radius: 16px !important;
    background: #f7fbff !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail img {
    display: block !important;
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name {
    grid-column: 2 !important;
    padding-right: 38px !important;
    align-self: center !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name a {
    display: block !important;
    max-width: 100% !important;
    color: #132236 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.28 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-decoration: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-price,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding-top: 10px !important;
    margin-top: 2px !important;
    border-top: 1px solid #e8f0f8 !important;
    color: #132236 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-price::before {
    display: block !important;
    content: 'Ціна' !important;
    color: #6b7b90 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity::before {
    display: block !important;
    content: 'Кількість' !important;
    color: #6b7b90 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal::before {
    display: block !important;
    content: 'Проміжний підсумок' !important;
    color: #6b7b90 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 56% !important;
    line-height: 1.15 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-price .amount,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal .amount,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-price .woocommerce-Price-amount,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal .woocommerce-Price-amount {
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    text-align: right !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity .quantity {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    max-width: 112px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity input.qty {
    width: 92px !important;
    max-width: 92px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 10px !important;
    border: 1px solid #dfe9f3 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #132236 !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr:has(td.actions),
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item + tr:not(.cart_item) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart-collaterals .cart_totals {
    display: none !important;
  }

  body.woocommerce-cart .ir-cart-bottom-actions,
  body.woocommerce-cart .ir-cart-js-bottom-actions {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart a.ir-cart-main-checkout,
  body.woocommerce-cart a.ir-cart-main-checkout.button,
  body.woocommerce-cart .button.ir-cart-main-checkout,
  body.woocommerce-cart .woocommerce a.button.ir-cart-main-checkout {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 54px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #4da3f5 0%, #55c6aa 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 420px) {
  body.woocommerce-cart .woocommerce-cart-form {
    padding: 12px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 9px 10px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail {
    width: 62px !important;
    height: 62px !important;
    border-radius: 14px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name a {
    font-size: 14px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-price,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal {
    font-size: 14px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-price::before,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity::before,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal::before {
    font-size: 12px !important;
  }
}

/* ===== v1.6.5 MOBILE CART + CHECKOUT CLEANUP =====
   Final mobile override: no tables on checkout, compact cart card, no horizontal clipping. */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.woocommerce-cart .page-hero,
  body.woocommerce-checkout .page-hero {
    padding: 38px 0 34px !important;
  }

  body.woocommerce-cart .page-hero h1,
  body.woocommerce-checkout .entry-title,
  body.woocommerce-checkout .page-hero h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.8px !important;
    margin-bottom: 10px !important;
  }

  /* CART: clean mobile card */
  body.woocommerce-cart .woo-page-section,
  body.woocommerce-checkout .woo-page-section {
    padding-top: 22px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form {
    padding: 16px !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 32px rgba(17,48,79,.07) !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    padding: 14px !important;
    gap: 10px 12px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(17,48,79,.05) !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail {
    width: 68px !important;
    height: 68px !important;
    border-radius: 18px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail img {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name {
    padding-right: 42px !important;
    min-height: 68px !important;
    display: flex !important;
    align-items: center !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name a {
    font-size: 15px !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove {
    top: 13px !important;
    right: 13px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove a.remove {
    width: 34px !important;
    height: 34px !important;
    font-size: 24px !important;
    font-weight: 900 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-price,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal {
    min-height: 44px !important;
    padding-top: 12px !important;
    margin-top: 0 !important;
    align-items: center !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal::before {
    max-width: 55% !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  body.woocommerce-cart .ir-cart-bottom-actions,
  body.woocommerce-cart .ir-cart-js-bottom-actions {
    margin-top: 18px !important;
  }

  body.woocommerce-cart a.ir-cart-main-checkout,
  body.woocommerce-cart a.ir-cart-main-checkout.button,
  body.woocommerce-cart .button.ir-cart-main-checkout,
  body.woocommerce-cart .woocommerce a.button.ir-cart-main-checkout {
    min-height: 56px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }

  /* CHECKOUT: rebuild mobile as single-column cards */
  body.woocommerce-checkout .woo-page-section > .container,
  body.woocommerce-checkout .ir-wp-content > article {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.woocommerce-checkout .entry-content,
  body.woocommerce-checkout form.checkout.woocommerce-checkout,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .woocommerce-checkout-review-order,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-additional-fields {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.woocommerce-checkout .entry-content {
    padding: 16px !important;
    border-radius: 24px !important;
    background: #fff !important;
    border: 1px solid #dfe9f3 !important;
    box-shadow: 0 12px 32px rgba(17,48,79,.07) !important;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
    gap: 22px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-area: auto !important;
    display: block !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout #order_review_heading {
    font-size: 24px !important;
    line-height: 1.15 !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
  }

  body.woocommerce-checkout .woocommerce form .form-row,
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    float: none !important;
  }

  body.woocommerce-checkout .woocommerce form .form-row-first,
  body.woocommerce-checkout .woocommerce form .form-row-last {
    float: none !important;
    width: 100% !important;
  }

  body.woocommerce-checkout .woocommerce form .form-row input.input-text,
  body.woocommerce-checkout .woocommerce form .form-row textarea,
  body.woocommerce-checkout .woocommerce form .form-row select,
  body.woocommerce-checkout .select2-container .select2-selection--single {
    min-height: 48px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
  }

  body.woocommerce-checkout #order_comments,
  body.woocommerce-checkout textarea#order_comments {
    min-height: 122px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  /* Checkout order table as a readable card instead of a squeezed table */
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 14px !important;
    border-radius: 22px !important;
    background: #fff !important;
    border: 1px solid #dfe9f3 !important;
    box-shadow: 0 10px 28px rgba(17,48,79,.06) !important;
  }

  body.woocommerce-checkout #order_review table.shop_table,
  body.woocommerce-checkout #order_review table.shop_table tbody,
  body.woocommerce-checkout #order_review table.shop_table tfoot {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #f7fbff !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout #order_review table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item,
  body.woocommerce-checkout #order_review table.shop_table tfoot tr {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 13px 14px !important;
    border-bottom: 1px solid #dfe9f3 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout #order_review table.shop_table tfoot tr:last-child {
    border-bottom: 0 !important;
  }

  body.woocommerce-checkout #order_review table.shop_table th,
  body.woocommerce-checkout #order_review table.shop_table td,
  body.woocommerce-checkout #order_review table.shop_table th.product-name,
  body.woocommerce-checkout #order_review table.shop_table td.product-name,
  body.woocommerce-checkout #order_review table.shop_table th.product-total,
  body.woocommerce-checkout #order_review table.shop_table td.product-total,
  body.woocommerce-checkout #order_review table.shop_table tfoot th,
  body.woocommerce-checkout #order_review table.shop_table tfoot td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout #order_review table.shop_table th,
  body.woocommerce-checkout #order_review table.shop_table tfoot th,
  body.woocommerce-checkout #order_review table.shop_table td.product-name {
    flex: 1 1 auto !important;
    color: #132236 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.woocommerce-checkout #order_review table.shop_table td.product-total,
  body.woocommerce-checkout #order_review table.shop_table tfoot td {
    flex: 0 0 auto !important;
    color: #132236 !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1.25 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  body.woocommerce-checkout #payment,
  body.woocommerce-checkout #payment ul.payment_methods,
  body.woocommerce-checkout #payment .form-row.place-order {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 16px 0 0 !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout #payment {
    padding: 14px !important;
    background: #f0eef3 !important;
    overflow: hidden !important;
  }

  body.woocommerce-checkout #payment .woocommerce-info,
  body.woocommerce-checkout #payment .woocommerce-error,
  body.woocommerce-checkout #payment .woocommerce-message,
  body.woocommerce-checkout #payment .woocommerce-notice,
  body.woocommerce-checkout #payment .wc_payment_methods,
  body.woocommerce-checkout #payment .payment_methods,
  body.woocommerce-checkout .woocommerce-privacy-policy-text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  body.woocommerce-checkout .woocommerce-privacy-policy-text {
    padding: 14px 0 0 !important;
    background: transparent !important;
  }

  body.woocommerce-checkout #place_order {
    width: 100% !important;
    min-height: 54px !important;
    margin: 16px 0 0 !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
}

@media (max-width: 420px) {
  body.woocommerce-checkout .entry-content,
  body.woocommerce-cart .woocommerce-cart-form {
    padding: 12px !important;
    border-radius: 22px !important;
  }

  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 12px !important;
    border-radius: 20px !important;
  }

  body.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item,
  body.woocommerce-checkout #order_review table.shop_table tfoot tr {
    padding: 12px !important;
    gap: 10px !important;
  }

  body.woocommerce-checkout #order_review table.shop_table th,
  body.woocommerce-checkout #order_review table.shop_table tfoot th,
  body.woocommerce-checkout #order_review table.shop_table td.product-name,
  body.woocommerce-checkout #order_review table.shop_table td.product-total,
  body.woocommerce-checkout #order_review table.shop_table tfoot td {
    font-size: 13px !important;
  }

  body.woocommerce-checkout #payment {
    padding: 12px !important;
  }

  body.woocommerce-checkout #payment .woocommerce-info,
  body.woocommerce-checkout #payment .woocommerce-error,
  body.woocommerce-checkout #payment .woocommerce-message,
  body.woocommerce-checkout #payment .woocommerce-notice,
  body.woocommerce-checkout #payment .payment_methods,
  body.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 13px !important;
    line-height: 1.45 !important;
    padding: 11px 12px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    padding: 12px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail {
    width: 58px !important;
    height: 58px !important;
    border-radius: 15px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail img {
    width: 46px !important;
    height: 46px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name {
    min-height: 58px !important;
    padding-right: 38px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name a {
    font-size: 14px !important;
    line-height: 1.18 !important;
  }
}


/* ===== v1.6.6 mobile header cleanup ===== */
.topbar-mobile { display: none; }

@media (max-width: 640px) {
  body { overflow-x: hidden; }

  .site-header {
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 34, 53, .08);
  }

  .topbar {
    font-size: 13px;
    line-height: 1.35;
  }

  .topbar-grid {
    min-height: auto !important;
    padding: 9px 0 10px !important;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 7px !important;
    align-items: start !important;
  }

  .topbar-item {
    gap: 8px;
    min-width: 0;
    width: 100%;
  }

  .topbar-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 5px;
    box-shadow: 0 0 0 4px rgba(16, 200, 160, .15);
  }

  .topbar-full { display: none !important; }
  .topbar-mobile {
    display: inline !important;
    color: #eaf7ff;
    font-weight: 700;
  }

  .topbar-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    width: 100%;
    min-width: 0;
  }

  .topbar-actions a {
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .topbar-actions a[href^="mailto:"] {
    display: none !important;
  }

  .header-main {
    min-height: auto !important;
    padding: 10px 0 12px !important;
    display: grid !important;
    grid-template-columns: minmax(112px, 1fr) auto !important;
    grid-template-areas:
      "brand actions"
      "search search";
    align-items: center !important;
    gap: 10px 12px !important;
  }

  .brand {
    grid-area: brand;
    display: inline-flex;
    align-items: center;
    min-width: 0;
  }

  .brand img,
  .custom-logo {
    width: auto !important;
    max-width: 128px !important;
    max-height: 34px !important;
    object-fit: contain;
  }

  .header-actions {
    grid-area: actions;
    display: inline-flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0;
  }

  .cart-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid #dce7f2 !important;
  }

  .cart-button span {
    display: none !important;
  }

  .cart-count {
    min-width: 26px !important;
    height: 26px !important;
    font-size: 14px !important;
    line-height: 26px !important;
  }

  .menu-toggle {
    display: inline-grid !important;
    place-items: center;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    border: 1px solid #dce7f2 !important;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 3px 0 !important;
    border-radius: 999px;
    background: #102235;
  }

  .search-form {
    grid-area: search;
    width: 100% !important;
    min-width: 0;
    margin: 2px 0 0 !important;
    padding: 4px !important;
    border-radius: 999px !important;
    background: #eef5fb !important;
    border: 1px solid #dce7f2 !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  }

  .search-form input {
    min-width: 0;
    height: 42px;
    padding: 0 12px 0 14px !important;
    font-size: 15px;
  }

  .search-form input::placeholder {
    color: #7a8999;
  }

  .search-form button {
    flex: 0 0 auto;
    height: 42px;
    min-width: 88px;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(30, 167, 255, .22);
  }

  .main-nav {
    border-top: 1px solid #dce7f2;
  }

  .main-nav .container.nav-inner {
    width: min(100% - 22px, var(--container));
  }

  .nav-inner {
    display: none !important;
    padding: 10px 0 12px !important;
    min-height: 0 !important;
    gap: 10px !important;
  }

  .site-header.nav-open .nav-inner {
    display: grid !important;
  }

  .catalog-dropdown-wrap {
    padding: 0 !important;
    width: 100%;
  }

  .catalog-trigger {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }

  .nav-links,
  .standard-menu {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 6px !important;
  }

  .standard-menu li,
  .standard-menu a,
  .nav-link {
    width: 100%;
  }

  .standard-menu a,
  .nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f3f7fb;
    color: #102235 !important;
    font-weight: 800;
  }

  .nav-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 !important;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(16, 200, 160, .12);
    color: #0b9f82 !important;
  }

  .page-hero,
  .hero-section {
    padding-top: 30px !important;
  }

  .page-hero h1,
  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.08 !important;
    letter-spacing: -1.2px !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 370px) {
  .brand img,
  .custom-logo {
    max-width: 112px !important;
  }

  .header-actions {
    gap: 6px !important;
  }

  .cart-button,
  .menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .search-form button {
    min-width: 80px;
    padding: 0 12px !important;
  }

  .search-form input {
    font-size: 14px;
    padding-left: 12px !important;
  }
}


/* ===== v1.6.7 mobile burger hard fix ===== */
@media (max-width: 640px) {
  .header-actions .menu-toggle,
  button.menu-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    border: 1px solid #dce7f2 !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
  }

  .header-actions .menu-toggle span,
  button.menu-toggle span {
    display: block !important;
    flex: 0 0 auto !important;
    width: 20px !important;
    height: 2px !important;
    min-height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #102235 !important;
    transition: transform .18s ease, opacity .18s ease;
  }

  .site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 370px) {
  .header-actions .menu-toggle,
  button.menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
}


/* ===== v1.6.8 MOBILE CHECKOUT: place order button must fit inside payment card ===== */
@media (max-width: 760px) {
  body.woocommerce-checkout #payment {
    overflow: visible !important;
  }

  body.woocommerce-checkout #payment .form-row.place-order,
  body.woocommerce-checkout #payment p.form-row.place-order,
  body.woocommerce-checkout .woocommerce-checkout-payment .form-row.place-order {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 16px 0 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    text-align: center !important;
  }

  body.woocommerce-checkout #payment #place_order,
  body.woocommerce-checkout .woocommerce #payment #place_order,
  body.woocommerce-checkout .woocommerce-page #payment #place_order,
  body.woocommerce-checkout button#place_order,
  body.woocommerce-checkout button.button.alt#place_order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
    padding: 13px 10px !important;
    min-height: 54px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #4da3f5 0%, #55c6aa 100%) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

@media (max-width: 360px) {
  body.woocommerce-checkout #payment #place_order,
  body.woocommerce-checkout button#place_order,
  body.woocommerce-checkout button.button.alt#place_order {
    min-height: 50px !important;
    padding: 11px 8px !important;
    font-size: 13px !important;
    line-height: 1.12 !important;
  }
}

/* Final guard: hide WordPress/theme-compat sidebar dumps on shop/product pages. */
body.single-product #sidebar,
body.single-product #secondary,
body.single-product .sidebar,
body.single-product .widget-area,
body.woocommerce-page #sidebar,
body.woocommerce-page #secondary,
body.woocommerce-page .sidebar,
body.woocommerce-page .widget-area:not(.filters-panel),
.ir-wp-content + #sidebar,
.ir-wp-content + .widget-area,
main + #sidebar,
main + .widget-area {
	display: none !important;
}

/* ===== v1.6.9 Product page cleanup ===== */
.single-product div.product .summary .woocommerce-product-details__short-description,
.single-product div.product .summary .product_meta {
  display: none !important;
}
.single-product div.product .summary {
  min-width: 0;
}
.single-product div.product .product_title {
  word-break: normal;
  overflow-wrap: anywhere;
}
.ir-product-specs {
  margin: 18px 0 20px;
  padding: 18px;
  border: 1px solid #dce7f2;
  border-radius: 22px;
  background: #f7fbff;
}
.ir-product-specs h2 {
  margin: 0 0 14px;
  color: #102235;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}
.ir-product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ir-product-spec-item {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(15, 48, 84, .08);
  border-radius: 16px;
  background: #fff;
}
.ir-product-spec-item span {
  display: block;
  margin-bottom: 4px;
  color: #6a7d93;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
}
.ir-product-spec-item strong {
  display: block;
  color: #102235;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.ir-product-clean-meta {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
  background: #f3f7fb;
  border: 1px solid #dce7f2;
}
.ir-product-clean-meta-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  color: #102235;
  line-height: 1.35;
}
.ir-product-clean-meta-row span {
  color: #6a7d93;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.ir-product-clean-meta-row strong,
.ir-product-clean-meta-row div {
  min-width: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.ir-product-clean-meta-row a {
  color: #17457f;
  text-decoration: none;
  font-weight: 900;
}
.single-product .woocommerce-tabs ul.tabs li a {
  font-weight: 900;
}
.single-product .woocommerce-Tabs-panel h2,
.single-product .related.products > h2,
.single-product .upsells.products > h2 {
  color: #102235;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 950;
}
.ir-product-description-clean {
  color: #102235;
  line-height: 1.65;
}
.ir-product-description-clean p {
  max-width: 980px;
  margin: 0 0 14px;
}
.ir-product-description-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.ir-product-description-list li {
  padding: 12px 14px;
  border: 1px solid #dce7f2;
  border-radius: 16px;
  background: #f7fbff;
}
.ir-product-description-list span {
  display: block;
  margin-bottom: 4px;
  color: #6a7d93;
  font-size: 13px;
  font-weight: 800;
}
.ir-product-description-list strong {
  display: block;
  color: #102235;
  font-weight: 900;
}
.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
  min-height: 42px;
  overflow-wrap: anywhere;
}
@media (max-width: 768px) {
  .ir-product-specs {
    padding: 14px;
    border-radius: 18px;
  }
  .ir-product-specs-grid,
  .ir-product-description-list {
    grid-template-columns: 1fr;
  }
  .ir-product-clean-meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .single-product .woocommerce-Tabs-panel h2,
  .single-product .related.products > h2,
  .single-product .upsells.products > h2 {
    font-size: 24px;
  }
}

/* ===== v1.7.1 CATALOG: more square product tiles =====
   Purpose: make category/catalog product cards wider, lower and cleaner.
   Only targets catalog/category grids, not cart/checkout/product detail. */
.catalog-layout .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.catalog-layout .product-card {
  border-radius: 28px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-rows: 190px 1fr !important;
  box-shadow: 0 16px 36px rgba(17, 48, 79, .07) !important;
}

.catalog-layout .product-media {
  height: 190px !important;
  min-height: 190px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f7fbff !important;
  overflow: hidden !important;
}

.catalog-layout .product-media a,
.catalog-layout .product-media-link {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.catalog-layout .product-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  padding: 22px !important;
}

.catalog-layout .product-info {
  padding: 18px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

.catalog-layout .product-brand {
  margin-bottom: 8px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.catalog-layout .product-info h3 {
  margin: 0 0 10px !important;
  font-size: 20px !important;
  line-height: 1.24 !important;
  min-height: 50px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.catalog-layout .product-info h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.catalog-layout .product-info p {
  margin: 0 0 14px !important;
  min-height: 42px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #667a90 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.catalog-layout .product-card .spec-row {
  display: none !important;
}

.catalog-layout .product-bottom {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

.catalog-layout .product-bottom strong {
  width: auto !important;
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.catalog-layout .product-bottom .add-cart,
.catalog-layout .product-bottom .add_to_cart_button {
  min-width: 112px !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
}

@media (max-width: 1180px) {
  .catalog-layout .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .catalog-layout .product-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .catalog-layout .product-card {
    grid-template-rows: 168px 1fr !important;
    border-radius: 24px !important;
  }
  .catalog-layout .product-media {
    height: 168px !important;
    min-height: 168px !important;
  }
  .catalog-layout .product-info {
    padding: 16px !important;
  }
  .catalog-layout .product-info h3 {
    font-size: 19px !important;
    min-height: 0 !important;
  }
  .catalog-layout .product-info p {
    min-height: 0 !important;
  }
}

/* ===== v1.7.2 WooCommerce pagination polish =====
   Purpose: replace default boxed WooCommerce pagination with clean IceRoom buttons.
   Scope: catalog/category pagination only. */
.woocommerce nav.woocommerce-pagination,
.woocommerce-pagination {
  width: 100% !important;
  clear: both !important;
  margin: 34px 0 8px !important;
  display: flex !important;
  justify-content: center !important;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce-pagination ul.page-numbers,
.woocommerce-pagination ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-pagination ul.page-numbers li {
  float: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
.woocommerce-pagination .page-numbers:not(ul) {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border-radius: 14px !important;
  border: 1px solid rgba(15, 48, 84, .12) !important;
  background: #fff !important;
  color: #102b46 !important;
  box-shadow: 0 10px 24px rgba(16, 43, 70, .07) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul.page-numbers li a:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(75, 169, 255, .45) !important;
  box-shadow: 0 14px 30px rgba(75, 169, 255, .16) !important;
  color: #102b46 !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination .page-numbers.current {
  background: linear-gradient(135deg, #4ba9ff, #5fc7b7) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(75, 169, 255, .24) !important;
}

.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce-pagination a.next,
.woocommerce-pagination a.prev {
  font-size: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a.next::before,
.woocommerce-pagination a.next::before {
  content: '→';
  font-size: 20px;
  line-height: 1;
}

.woocommerce nav.woocommerce-pagination ul li a.prev::before,
.woocommerce-pagination a.prev::before {
  content: '←';
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 640px) {
  .woocommerce nav.woocommerce-pagination,
  .woocommerce-pagination {
    margin-top: 26px !important;
  }
  .woocommerce nav.woocommerce-pagination ul,
  .woocommerce-pagination ul.page-numbers,
  .woocommerce-pagination ul {
    gap: 8px !important;
  }
  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span,
  .woocommerce-pagination ul.page-numbers li a,
  .woocommerce-pagination ul.page-numbers li span,
  .woocommerce-pagination .page-numbers:not(ul) {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
  }
}

/* Category editable top/bottom text fields */
.page-hero .ir-category-rich-text {
  max-width: 820px;
  color: #607087;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
  margin-top: 18px;
}
.page-hero .ir-category-rich-text p {
  margin: 0 0 12px;
  max-width: 820px;
}
.page-hero .ir-category-rich-text p:last-child,
.ir-category-bottom-content .ir-category-rich-text p:last-child {
  margin-bottom: 0;
}
.ir-category-rich-text ul,
.ir-category-rich-text ol {
  margin: 14px 0 0 22px;
  padding: 0;
}
.ir-category-rich-text li {
  margin: 6px 0;
}
.ir-category-rich-text a {
  color: #2298e8;
  font-weight: 800;
  text-decoration: none;
}
.ir-category-rich-text a:hover {
  text-decoration: underline;
}
.ir-category-bottom-content {
  margin-top: 34px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(15, 48, 84, .1);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(16, 43, 70, .08);
}
.ir-category-bottom-content .ir-category-rich-text {
  color: #43546a;
  font-size: 16px;
  line-height: 1.75;
}
.ir-category-bottom-content h2,
.ir-category-bottom-content h3,
.ir-category-bottom-content h4 {
  color: #102033;
  line-height: 1.2;
  margin: 0 0 14px;
}
.ir-category-bottom-content h2 { font-size: clamp(24px, 2.4vw, 34px); }
.ir-category-bottom-content h3 { font-size: clamp(20px, 2vw, 26px); margin-top: 24px; }
@media (max-width: 760px) {
  .page-hero .ir-category-rich-text {
    font-size: 16px;
    line-height: 1.55;
  }
  .ir-category-bottom-content {
    margin-top: 24px;
    padding: 20px;
    border-radius: 22px;
  }
}
