/*
Theme Name: Victory Torch Clean Commerce
Theme URI: https://victorytorch.com/
Author: Apple Orange Marketing
Description: Clean red, white and blue WooCommerce theme for Victory Torch. Widget-driven homepage, WordPress menu navigation, WooCommerce default product hooks, and no hard-coded product loops.
Version: 2.0.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: victorytorchclean
Woo: 9.0+
*/

:root {
  --vt-navy: #05285f;
  --vt-blue: #0b4da2;
  --vt-red: #d71920;
  --vt-red-dark: #ad1117;
  --vt-white: #ffffff;
  --vt-offwhite: #f7f9fc;
  --vt-border: #dfe6f1;
  --vt-text: #071b3d;
  --vt-muted: #5f6d82;
  --vt-shadow: 0 12px 30px rgba(5, 40, 95, .10);
  --vt-radius: 10px;
  --vt-container: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--vt-white);
  color: var(--vt-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: var(--vt-navy); text-decoration: none; }
a:hover, a:focus { color: var(--vt-red); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus { clip: auto !important; clip-path: none; display: block; height: auto; left: 8px; top: 8px; width: auto; z-index: 100000; background: #fff; padding: 10px 14px; border: 2px solid var(--vt-red); }

.vt-container {
  width: min(var(--vt-container), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.vt-topbar {
  background: var(--vt-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.vt-topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.vt-topbar__inner {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.vt-topbar__center { text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.vt-topbar__right { text-align: right; }
.vt-topbar .widget { margin: 0; }

.vt-site-header {
  background: #fff;
  border-bottom: 1px solid var(--vt-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-bar .vt-site-header { top: 32px; }
.vt-header__inner {
  min-height: 102px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.vt-branding { min-width: 210px; }
.vt-logo-fallback, .custom-logo-link { display: inline-flex; align-items: center; }
.vt-logo-fallback img, .custom-logo-link img { display: block; max-height: 74px; width: auto; }
.site-title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.05; }
.site-description { margin: 4px 0 0; color: var(--vt-muted); font-size: 13px; }

.vt-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--vt-border);
  background: #fff;
  color: var(--vt-navy);
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.main-navigation { justify-self: center; }
.main-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation li { position: relative; margin: 0; padding: 0; }
.main-navigation a {
  display: block;
  padding: 14px 13px;
  color: var(--vt-navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation a:hover,
.main-navigation a:focus { color: var(--vt-red); }
.main-navigation ul ul {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  display: block;
  background: #fff;
  border: 1px solid var(--vt-border);
  box-shadow: var(--vt-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 100;
}
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation ul ul a { padding: 11px 14px; font-size: 13px; white-space: nowrap; }
.main-navigation ul ul ul { left: 100%; top: 0; }

.vt-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 260px;
}
.vt-header-search .widget { margin: 0; }
.vt-header-actions { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.vt-header-actions a { color: var(--vt-navy); }
.vt-header-actions a:hover { color: var(--vt-red); }
.vt-cart-link { position: relative; display: inline-flex; gap: 5px; align-items: center; }
.vt-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--vt-red);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

/* Search forms */
.search-form,
.woocommerce-product-search {
  display: flex;
  align-items: stretch;
  max-width: 320px;
}
.search-form label { flex: 1; }
.search-field,
.woocommerce-product-search .search-field {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--vt-border);
  border-radius: 5px 0 0 5px;
  padding: 9px 12px;
  background: #fff;
}
.search-submit,
.woocommerce-product-search button {
  min-height: 42px;
  border: 1px solid var(--vt-border);
  border-left: 0;
  border-radius: 0 5px 5px 0;
  background: #fff;
  color: var(--vt-navy);
  padding: 8px 13px;
  cursor: pointer;
  font-weight: 800;
}
.search-submit:hover,
.woocommerce-product-search button:hover { color: var(--vt-red); }

/* Generic content */
.vt-main { padding: 44px 0; }
.entry-title, .page-title { color: var(--vt-navy); line-height: 1.1; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.wp-block-button__link, .button, button.button, input.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  border-radius: 4px !important;
  background: var(--vt-navy) !important;
  color: #fff !important;
  border: 2px solid var(--vt-navy) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 12px 20px !important;
  line-height: 1.1 !important;
}
.wp-block-button__link:hover, .button:hover, button.button:hover, input.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--vt-red) !important; border-color: var(--vt-red) !important; color: #fff !important; }
.wp-block-button.is-style-outline .wp-block-button__link { background: #fff !important; color: var(--vt-navy) !important; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--vt-navy) !important; color: #fff !important; }

/* Widget-driven homepage */
.vt-home-section { padding: 46px 0; }
.vt-home-section .widget { margin: 0; }
.vt-home-section .widget + .widget { margin-top: 24px; }
.vt-home-hero {
  padding: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 48%, rgba(233,241,252,.92) 100%),
    linear-gradient(135deg, transparent 0 58%, rgba(215,25,32,.12) 58% 66%, transparent 66% 73%, rgba(5,40,95,.12) 73% 100%);
  border-bottom: 1px solid var(--vt-border);
}
.vt-home-hero .vt-container { padding: 56px 0; }
.vt-home-hero h1,
.vt-home-hero .wp-block-heading {
  max-width: 680px;
  margin: 0 0 16px;
  color: var(--vt-navy);
  font-size: clamp(42px, 6vw, 76px);
  line-height: .96;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
.vt-home-hero p { max-width: 620px; font-size: 19px; color: #102a55; }
.vt-home-featured h2,
.vt-home-categories h2,
.vt-home-custom h2,
.vt-home-content h2 { color: var(--vt-navy); text-transform: uppercase; letter-spacing: .04em; }
.vt-home-featured { background: #fff; }
.vt-home-categories { background: var(--vt-offwhite); border-block: 1px solid var(--vt-border); }
.vt-home-custom .wp-block-group,
.vt-home-custom .widget_block > .wp-block-group {
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius);
  box-shadow: 0 6px 20px rgba(5,40,95,.06);
}

/* Footer */
.vt-site-footer { background: var(--vt-navy); color: #fff; margin-top: 48px; }
.vt-site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.vt-footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 38px 0; }
.vt-footer-widgets .widget { margin: 0; }
.vt-footer-widgets h2, .vt-footer-widgets h3 { color: #fff; margin-top: 0; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.vt-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.vt-footer-nav ul { display: flex; gap: 16px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }

/* WooCommerce layout through default hooks */
.vt-shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; align-items: start; padding: 42px 0; }
.vt-shop-main { min-width: 0; }
.vt-shop-sidebar { border: 1px solid var(--vt-border); border-radius: var(--vt-radius); padding: 20px; background: #fff; }
.vt-shop-sidebar:empty { display: none; }
.vt-shop-sidebar .widget { margin: 0 0 24px; }
.vt-shop-sidebar .widget:last-child { margin-bottom: 0; }
.vt-shop-sidebar .widget-title, .vt-shop-sidebar h2 { margin: 0 0 12px; color: var(--vt-navy); font-size: 16px; line-height: 1.2; text-transform: uppercase; letter-spacing: .035em; }
.vt-shop-sidebar ul { margin: 0; padding-left: 18px; }

.woocommerce-products-header { margin-bottom: 24px; padding: 26px; background: var(--vt-offwhite); border: 1px solid var(--vt-border); border-radius: var(--vt-radius); }
.woocommerce-products-header__title, .woocommerce .woocommerce-products-header__title.page-title { margin: 0; color: var(--vt-navy); font-size: clamp(34px, 4vw, 48px); line-height: 1.05; }
.woocommerce-products-header .term-description { margin-top: 10px; color: var(--vt-muted); max-width: 760px; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 16px; color: var(--vt-muted); font-size: 14px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--vt-muted); }
.woocommerce .woocommerce-result-count { margin: 0 0 20px; color: var(--vt-muted); }
.woocommerce .woocommerce-ordering { margin: 0 0 20px; }
.woocommerce .woocommerce-ordering select { min-height: 42px; border: 1px solid var(--vt-border); border-radius: 5px; padding: 8px 10px; background: #fff; }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 28px !important; padding: 0 !important; list-style: none !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; clear: none !important; margin: 0 !important; padding: 18px !important; background: #fff; border: 1px solid var(--vt-border); border-radius: 8px; text-align: center; box-shadow: 0 4px 16px rgba(5,40,95,.05); display: flex; flex-direction: column; min-height: 100%; transition: box-shadow .18s ease, transform .18s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-2px); box-shadow: var(--vt-shadow); }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 16px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--vt-navy); font-size: 17px !important; line-height: 1.3; font-weight: 800; padding: 0 !important; margin: 0 0 10px !important; }
.woocommerce ul.products li.product .price { color: #111 !important; font-size: 18px !important; margin: 0 0 14px !important; }
.woocommerce ul.products li.product .button { margin-top: auto !important; width: 100%; text-align: center; }
.woocommerce span.onsale { background: var(--vt-red); color: #fff; min-height: 42px; min-width: 42px; line-height: 42px; font-weight: 800; }

.woocommerce nav.woocommerce-pagination ul { border: 1px solid var(--vt-border); }
.woocommerce nav.woocommerce-pagination ul li { border-right: 1px solid var(--vt-border); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--vt-navy); color: #fff; }

.woocommerce div.product { padding: 42px 0; }
.woocommerce div.product .product_title { color: var(--vt-navy); font-size: clamp(34px, 4vw, 50px); line-height: 1.05; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--vt-red); font-weight: 800; }
.woocommerce div.product form.cart .button { background: var(--vt-red) !important; border-color: var(--vt-red) !important; }
.woocommerce div.product form.cart .button:hover { background: var(--vt-red-dark) !important; border-color: var(--vt-red-dark) !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border: 1px solid var(--vt-border); border-radius: var(--vt-radius); background: #fff; }
.woocommerce div.product div.images img { object-fit: contain; }
.woocommerce-tabs ul.tabs li a { color: var(--vt-navy); font-weight: 800; }

.woocommerce table.shop_table { border-color: var(--vt-border); }
.woocommerce table.shop_table th { color: var(--vt-navy); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--vt-red); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--vt-red); }

@media (min-width: 1200px) { .woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .vt-header__inner { grid-template-columns: auto auto; }
  .vt-header-tools { grid-column: 1 / -1; justify-content: space-between; min-width: 0; padding-bottom: 18px; }
  .main-navigation { justify-self: end; }
}
@media (max-width: 880px) {
  .vt-topbar__inner { grid-template-columns: 1fr; text-align: center; padding: 8px 0; }
  .vt-topbar__right { text-align: center; }
  .vt-menu-toggle { display: inline-flex; justify-self: end; }
  .main-navigation { display: none; grid-column: 1 / -1; justify-self: stretch; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: block; }
  .main-navigation a { padding: 12px 0; border-top: 1px solid var(--vt-border); }
  .main-navigation ul ul { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 18px; }
  .vt-header__inner { min-height: 84px; gap: 16px; }
  .vt-header-tools { flex-direction: column; align-items: stretch; }
  .search-form, .woocommerce-product-search { max-width: none; }
  .vt-shop-layout { grid-template-columns: 1fr; }
  .vt-shop-sidebar { order: 2; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-footer-widgets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .vt-container { width: min(100% - 24px, var(--vt-container)); }
  .vt-logo-fallback img, .custom-logo-link img { max-height: 58px; }
  .vt-home-hero .vt-container { padding: 38px 0; }
  .vt-home-section { padding: 34px 0; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .vt-footer-widgets { grid-template-columns: 1fr; }
}


/* Header/navigation icon cleanup v2.0.2 */
.vt-site-header {
  background: #fff;
  border-top: 4px solid var(--vt-navy);
  border-bottom: 1px solid var(--vt-border);
}

.vt-header__inner {
  width: min(1480px, calc(100% - 56px));
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
}

.vt-branding {
  min-width: 0;
}

.vt-logo-fallback img,
.custom-logo-link img {
  max-height: 84px;
  max-width: 280px;
  width: auto;
}

.main-navigation {
  justify-self: center;
  min-width: 0;
}

.main-navigation > ul,
.main-navigation .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.main-navigation a {
  padding: 10px 0;
  color: var(--vt-navy);
  font-size: clamp(14px, .9vw, 17px);
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.2;
}

.vt-header-tools {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
}

.vt-header-search {
  display: none !important;
}

.vt-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 0;
  font-weight: 800;
  text-transform: none;
}

.vt-header-icon-button,
.vt-header-actions .vt-header-icon-button {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--vt-border);
  border-radius: 999px;
  background: #fff;
  color: var(--vt-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.vt-header-icon-button i {
  font-size: 19px;
  line-height: 1;
}

.vt-header-icon-button:hover,
.vt-header-icon-button:focus {
  background: var(--vt-navy);
  border-color: var(--vt-navy);
  color: #fff;
  transform: translateY(-1px);
}

.vt-cart-link .vt-cart-count,
.vt-header-icon-button .vt-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--vt-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vt-menu-toggle {
  gap: 8px;
}

.vt-menu-toggle i {
  font-size: 16px;
}

body.vt-search-modal-open {
  overflow: hidden;
}

.vt-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vt-search-modal.is-open {
  display: flex;
}

.vt-search-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 40, 95, .82);
}

.vt-search-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: clamp(30px, 5vw, 48px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .30);
}

.vt-search-modal__dialog h2 {
  margin: 0 0 24px;
  color: var(--vt-navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.vt-search-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--vt-offwhite);
  color: var(--vt-navy);
  cursor: pointer;
}

.vt-search-modal__close:hover,
.vt-search-modal__close:focus {
  background: var(--vt-red);
  color: #fff;
}

.vt-search-modal__form .woocommerce-product-search,
.vt-search-modal__form .search-form {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.vt-search-modal__form .search-field,
.vt-search-modal__form input[type="search"] {
  min-height: 58px;
  flex: 1;
  border: 1px solid var(--vt-border);
  border-radius: 9px;
  padding: 0 18px;
  font-size: 18px;
}

.vt-search-modal__form button,
.vt-search-modal__form .search-submit,
.vt-search-modal__form input[type="submit"] {
  min-height: 58px;
  border: 0;
  border-radius: 9px;
  background: var(--vt-red);
  color: #fff;
  padding: 0 26px;
  font-weight: 900;
  text-transform: uppercase;
}

.vt-search-modal__form button:hover,
.vt-search-modal__form .search-submit:hover,
.vt-search-modal__form input[type="submit"]:hover {
  background: var(--vt-navy);
  color: #fff;
}

/* Single product no-sidebar + cleaner shop sidebar v2.0.2 */
.single-product .vt-shop-layout,
.vt-shop-layout--single-product {
  display: block;
  max-width: 1280px;
}

.single-product .vt-shop-main,
.vt-shop-layout--single-product .vt-shop-main {
  width: 100%;
}

.single-product .vt-shop-sidebar {
  display: none !important;
}

.vt-shop-sidebar {
  border: 1px solid var(--vt-border);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(5, 40, 95, .06);
}

@media (min-width: 981px) {
  .vt-shop-sidebar {
    position: sticky;
    top: 136px;
  }
}

.vt-shop-sidebar .widget {
  margin: 0;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--vt-border);
}

.vt-shop-sidebar .widget + .widget {
  padding-top: 24px;
}

.vt-shop-sidebar .widget:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vt-shop-sidebar .widget-title,
.vt-shop-sidebar h2,
.vt-shop-sidebar h3 {
  margin: 0 0 14px;
  color: var(--vt-navy);
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.vt-shop-sidebar ul,
.vt-shop-sidebar ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vt-shop-sidebar li {
  margin: 0;
  padding: 0;
}

.vt-shop-sidebar li + li {
  border-top: 1px solid rgba(223, 230, 241, .85);
}

.vt-shop-sidebar li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  color: var(--vt-navy);
  font-weight: 700;
  line-height: 1.25;
}

.vt-shop-sidebar li a:hover,
.vt-shop-sidebar li a:focus {
  color: var(--vt-red);
}

.vt-shop-sidebar .search-form,
.vt-shop-sidebar .woocommerce-product-search {
  max-width: none;
}

.vt-shop-sidebar select,
.vt-shop-sidebar input[type="search"],
.vt-shop-sidebar input[type="text"],
.vt-shop-sidebar input[type="number"] {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1180px) {
  .vt-header__inner {
    width: min(100% - 40px, 1480px);
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) auto;
    gap: 22px;
  }

  .vt-logo-fallback img,
  .custom-logo-link img {
    max-height: 72px;
    max-width: 240px;
  }

  .main-navigation > ul,
  .main-navigation .menu {
    gap: 22px;
  }

  .main-navigation a {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .vt-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .vt-header-tools {
    grid-column: auto;
    justify-content: flex-end;
    min-width: 0;
    padding-bottom: 0;
    flex-direction: row;
    align-items: center;
  }

  .main-navigation {
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .vt-header__inner {
    grid-template-columns: 1fr auto auto;
    min-height: 88px;
  }

  .vt-branding {
    grid-column: 1;
    grid-row: 1;
  }

  .vt-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .vt-header-tools {
    grid-column: 3;
    grid-row: 1;
  }

  .main-navigation {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation > ul,
  .main-navigation .menu {
    display: block;
    padding-top: 14px;
  }

  .main-navigation a {
    padding: 13px 0;
    border-top: 1px solid var(--vt-border);
    font-size: 15px;
  }

  .main-navigation ul ul {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding-left: 18px;
  }

  .vt-shop-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vt-shop-sidebar {
    order: 2;
    position: static;
  }
}

@media (max-width: 640px) {
  .vt-header__inner {
    width: min(100% - 24px, 1480px);
    gap: 12px;
  }

  .vt-logo-fallback img,
  .custom-logo-link img {
    max-height: 58px;
    max-width: 190px;
  }

  .vt-menu-toggle span {
    display: none;
  }

  .vt-menu-toggle {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 999px;
  }

  .vt-header-actions {
    gap: 7px;
  }

  .vt-header-icon-button,
  .vt-header-actions .vt-header-icon-button {
    width: 42px;
    height: 42px;
  }

  .vt-header-icon-button i {
    font-size: 17px;
  }

  .vt-search-modal__form .woocommerce-product-search,
  .vt-search-modal__form .search-form {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .vt-logo-fallback img,
  .custom-logo-link img {
    max-width: 158px;
  }

  .vt-header-icon-button,
  .vt-header-actions .vt-header-icon-button,
  .vt-menu-toggle {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .vt-cart-link .vt-cart-count,
  .vt-header-icon-button .vt-cart-count {
    top: -6px;
    right: -6px;
  }
}


.vt-theme-contact-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.vt-theme-contact-form label {
  display: block;
  margin-bottom: 16px;
  color: #1f2f46;
  font-weight: 700;
  font-size: 14px;
}

.vt-theme-contact-form input,
.vt-theme-contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px 16px;
  border: 1px solid #d8dee8;
  border-radius: 10px;
  background: #f8fafc;
  color: #1f2f46;
  font-size: 15px;
  box-sizing: border-box;
}

.vt-theme-contact-form input:focus,
.vt-theme-contact-form textarea:focus {
  outline: none;
  border-color: #c8192e;
  box-shadow: 0 0 0 3px rgba(200, 25, 46, 0.14);
  background: #ffffff;
}

.vt-theme-contact-form textarea {
  min-height: 140px;
}

.vt-theme-contact-form .vt-theme-submit,
.vt-theme-contact-form input[type="submit"] {
  background: #c8192e;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}

.vt-theme-contact-form .vt-theme-submit:hover,
.vt-theme-contact-form input[type="submit"]:hover {
  background: #102f5e;
}
.vt-required {
  color: #c8192e;
  font-weight: 900;
  margin-left: 3px;
}

#menu-footer-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu-footer-menu li {
  margin: 0;
  padding: 0;
}

#menu-footer-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
	line-height:60px;
}

#menu-footer-menu a:hover {
  color: #d71920;
  text-decoration: none;
}

@media (max-width: 600px) {
  #menu-footer-menu {
    flex-direction: column;
    gap: 12px;
  }
}