/*
Theme Name: Tara24
Theme URI: https://tara24.lv
Author: WPX
Author URI: https://wpx.lv
Description: Custom WooCommerce theme for Tara24.lv - glass jars, bottles and packaging e-commerce store.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tara24
Tags: e-commerce, woocommerce, custom-menu, featured-images
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
  --t24-blue: #0047BB;
  --t24-blue-dark: #003182;
  --t24-bg: #F2F3F4;
  --t24-white: #FFFFFF;
  --t24-text-primary: #1C1D22;
  --t24-text-gray: #6D7178;
  --t24-text-gray-light: #71717A;
  --t24-red: #C4301C;
  --t24-blue-light-bg: #BCD7ED;
  --t24-search-bg: #F2EFEF;
  --t24-border: #E3E5E8;
  --t24-border-light: #E5E5E5;
  --t24-footer-border: #EEEFF1;
  --t24-gray-dot: #D9D9D9;
  --t24-black: #000000;
  --t24-text-dark: #121212;
  --t24-text-link-blue: #003182;
  --t24-gray-696: #696969;
}

/* ==========================================================================
   Base / Reset
   ========================================================================== */

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--t24-bg);
  color: var(--t24-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--t24-blue);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */

.announcement-bar {
  background-color: var(--t24-blue-dark);
  padding: 8px 0;
  position: relative;
  z-index: 100;
}

.announcement-bar__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcement-bar__text {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.announcement-bar__text strong {
  font-weight: 500;
}

.announcement-bar__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.announcement-bar__chevron:hover {
  opacity: 1;
}

.announcement-bar__chevron img {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */

.top-bar {
  background-color: var(--t24-white);
  padding: 8px 0;
  border-bottom: none;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: normal;
  color: var(--t24-text-link-blue);
  white-space: nowrap;
}

.top-bar__link img {
  width: 13px;
  height: 13px;
}

.top-bar__nav-link {
  font-size: 12px;
  line-height: 18px;
  color: var(--t24-text-link-blue);
  letter-spacing: -0.16px;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.top-bar__dropdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--t24-text-link-blue);
  letter-spacing: -0.2px;
  cursor: pointer;
}

.top-bar__dropdown img {
  width: 10px;
  height: 10px;
}

/* ==========================================================================
   Header / Logo / Search
   ========================================================================== */

.site-header {
  background-color: var(--t24-white);
  padding: 0;
  position: relative;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
}

.site-header__logo {
  flex-shrink: 0;
  width: 281px;
  height: 50px;
  display: block;
  margin-right: 36px;
}

.site-header__logo img {
  width: 281px;
  height: 50px;
  display: block;
}

.site-header__search {
  flex: 1;
  position: relative;
  max-width: 615px;
}

.site-header__search-form {
  display: flex;
  align-items: center;
  background-color: var(--t24-search-bg);
  border-radius: 50px;
  padding: 12px 16px;
  position: relative;
}

.site-header__search-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.site-header__search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-text-primary);
  letter-spacing: -0.2px;
  outline: none;
}

.site-header__search-input::placeholder {
  color: var(--t24-gray-696);
  opacity: 0.7;
}

.site-header__search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background-color: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0 18px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: -0.32px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.site-header__search-btn:hover {
  background-color: var(--t24-blue-dark);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header__action {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.site-header__action-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--t24-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-header__action-icon svg {
  width: 22px;
  height: 22px;
}

.site-header__action-icon svg path {
  stroke: #fff;
}

.site-header__action-icon--cart {
  position: relative;
}

.site-header__cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background-color: var(--t24-red);
  color: var(--t24-white);
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

.site-header__cart-count.is-empty {
  display: none;
}

.site-header__action-text {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  line-height: normal;
  color: var(--t24-black);
}

/* ==========================================================================
   Main Navigation
   ========================================================================== */

.main-nav {
  background-color: var(--t24-white);
  box-shadow: 0px 1px 4px 0px rgba(12, 12, 13, 0.1), 0px 1px 4px 0px rgba(12, 12, 13, 0.05);
  position: relative;
  z-index: 80;
  padding: 4px 0;
}

.main-nav__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--bs-gutter-x, 12px);
}

.main-nav__inner {
  display: flex;
  align-items: center;
  padding: 0;
  gap: 0;
}

.main-nav__left {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  flex-shrink: 0;
}

.main-nav__catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background-color: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.main-nav__catalog-btn:hover {
  background-color: var(--t24-blue-dark);
}

.main-nav__catalog-btn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.main-nav__catalog-btn span {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.2px;
  padding: 0 8px;
  color: #fff;
}

.main-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav__link {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-text-primary);
  letter-spacing: -0.2px;
  white-space: nowrap;
  padding: 10px 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.main-nav__link:hover {
  background-color: var(--t24-bg);
  color: var(--t24-text-primary);
}

.main-nav__link--sale {
  color: var(--t24-red);
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-right: 4px;
}

.main-nav__link--sale img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.main-nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 4px 0;
  margin-left: auto;
  flex-shrink: 0;
}

.main-nav__right-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 19.5px;
  color: var(--t24-black);
  letter-spacing: -0.16px;
  white-space: nowrap;
}

.main-nav__right-link img {
  height: 16px;
  width: auto;
  flex-shrink: 0;
}

/* ==========================================================================
   Catalog Mega Menu
   ========================================================================== */

.main-nav__catalog-wrap {
  position: relative;
  flex-shrink: 0;
}

.main-nav__catalog-wrap.is-open .main-nav__catalog-btn {
  background-color: var(--t24-blue-dark);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  display: flex;
  width: 900px;
  max-width: calc(100vw - 32px);
  min-height: 420px;
  background: var(--t24-white);
  border: 1px solid var(--t24-border);
  border-radius: 12px;
  box-shadow: 0px 12px 32px 0px rgba(12, 12, 13, 0.14), 0px 2px 8px 0px rgba(12, 12, 13, 0.08);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.main-nav__catalog-wrap.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sidebar: top-level categories */

.mega-menu__sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--t24-bg);
  border-right: 1px solid var(--t24-border);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}

.mega-menu__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 20px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: var(--t24-text-primary);
}

.mega-menu__cat-arrow {
  flex-shrink: 0;
  color: var(--t24-text-gray);
  transition: transform 0.15s ease, color 0.15s ease;
}

.mega-menu__cat:hover,
.mega-menu__cat.is-active {
  background: var(--t24-white);
  color: var(--t24-blue);
}

.mega-menu__cat.is-active .mega-menu__cat-arrow {
  color: var(--t24-blue);
  transform: translateX(2px);
}

.mega-menu__all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: auto 20px 8px;
  padding-top: 14px;
  border-top: 1px solid var(--t24-border);
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--t24-text-link-blue);
}

.mega-menu__all-link:hover {
  color: var(--t24-blue);
}

/* Content panels: subcategories */

.mega-menu__content {
  flex: 1;
  padding: 24px 28px;
  overflow-y: auto;
}

.mega-menu__panel {
  display: none;
}

.mega-menu__panel.is-active {
  display: block;
}

.mega-menu__panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--t24-border-light);
}

.mega-menu__panel-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--t24-text-primary);
  margin: 0;
}

.mega-menu__panel-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--t24-text-link-blue);
  white-space: nowrap;
}

.mega-menu__panel-view-all:hover {
  color: var(--t24-blue);
}

.mega-menu__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 24px;
}

.mega-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--t24-text-primary);
}

.mega-menu__link:hover {
  background: var(--t24-bg);
  color: var(--t24-blue);
}

.mega-menu__link-count {
  font-size: 12px;
  line-height: 18px;
  color: var(--t24-text-gray-light);
  background: var(--t24-bg);
  border-radius: 10px;
  padding: 0 8px;
  flex-shrink: 0;
}

.mega-menu__link:hover .mega-menu__link-count {
  background: var(--t24-white);
}

.mega-menu__empty {
  font-size: 14px;
  color: var(--t24-text-gray);
  margin: 0;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.hero-slider {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  max-width: 1400px;
  margin: 40px auto 0;
  height: 532px;
}

.hero-slider__slide {
  position: relative;
  height: 532px;
  display: flex;
  align-items: flex-start;
}

.hero-slider__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.hero-slider__content {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-slider__title {
  position: absolute;
  top: 70px;
  left: 70px;
  width: calc(100% - 140px);
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t24-blue-dark);
  margin: 0;
}

.hero-slider__text {
  position: absolute;
  top: 205px;
  left: 70px;
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--t24-black);
  opacity: 0.7;
  max-width: 513px;
  margin: 0;
}

.hero-slider__btn {
  position: absolute;
  bottom: 70px;
  left: 70px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.hero-slider__btn:hover {
  background-color: var(--t24-blue-dark);
  color: #fff;
}

.hero-slider__btn img {
  width: 18px;
  height: 18px;
}

.hero-slider__nav-prev,
.hero-slider__nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  z-index: 5;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.hero-slider__nav-prev {
  left: -25px;
}

.hero-slider__nav-next {
  right: -25px;
}

.hero-slider__nav-prev img,
.hero-slider__nav-next img {
  width: 100%;
  height: 100%;
}

.hero-slider__dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  padding: 6px 10px;
}

button.hero-slider__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #fff !important;
  border: 1.5px solid #C4C7CC !important;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  padding: 0;
  appearance: none;
  outline: none;
  box-shadow: none;
}

button.hero-slider__dot.active {
  background-color: var(--t24-blue) !important;
  border-color: var(--t24-blue) !important;
}

/* ==========================================================================
   Category Cards
   ========================================================================== */

.category-cards {
  max-width: 1400px;
  margin: 20px auto 0;
  padding: 0;
}

.category-cards .row {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: center;
}

.category-cards .col {
  flex: 0 0 264px;
  max-width: 264px;
  padding: 0;
}

.category-card {
  background-color: var(--t24-white);
  border-radius: 20px;
  text-align: center;
  padding: 20px 20px 24px;
  transition: box-shadow 0.3s;
  height: 267px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.category-card__img {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.category-card__img img {
  width: 185px;
  height: 115px;
  object-fit: cover;
  max-width: none;
  border-radius: 20px;
}

.category-card__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--t24-black);
  margin-bottom: 2px;
}

.category-card__desc {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: var(--t24-text-gray-light);
  text-align: center;
  max-width: 165px;
  margin: 0 auto;
}

/* ==========================================================================
   Products Section
   ========================================================================== */

.products-section {
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 0;
}

.products-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.products-section__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  color: var(--t24-black);
}

.products-section__view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  color: var(--t24-blue);
  text-transform: capitalize;
}

.products-section__view-all:hover {
  color: var(--t24-blue-dark);
}

.products-section__view-all img {
  width: 16px;
  height: 16px;
}

.products-section .row {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: center;
}

.products-section .col {
  flex: 0 0 264px;
  max-width: 264px;
  padding: 0;
}

.product-card {
  background-color: var(--t24-white);
  border-radius: 20px;
  text-align: center;
  padding: 20px 20px 24px;
  transition: box-shadow 0.3s;
  height: 249px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.product-card__img {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.product-card__img img {
  width: 185px;
  height: 115px;
  object-fit: cover;
  max-width: none;
  border-radius: 20px;
}

.product-card__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--t24-black);
  margin-bottom: 2px;
}

.product-card__count {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--t24-text-gray-light);
}

/* ==========================================================================
   USP Bar
   ========================================================================== */

.usp-bar {
  margin-top: 60px;
  position: relative;
  height: 152px;
  background-color: var(--t24-blue-light-bg);
}

.usp-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(50% - 600px);
  height: 100%;
  background-color: var(--t24-blue);
  min-width: 100px;
}

.usp-bar__content {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.usp-bar__logo-wrap {
  width: 152px;
  height: 152px;
  flex-shrink: 0;
  position: relative;
}

.usp-bar__logo-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200vw;
  height: 100%;
  background-color: var(--t24-blue);
  transform: translateX(-100%);
  z-index: 0;
}

.usp-bar__logo-wrap img {
  width: 152px;
  height: 152px;
  max-width: none;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.usp-bar__list {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  padding: 0 20px 0 40px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.usp-item__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--t24-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-item__icon img {
  width: 27px;
  height: 27px;
  max-width: none;
}

.usp-item__text {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-black);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--t24-white);
  margin-top: 0;
}

.site-footer__main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 20px;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.site-footer__logo {
  width: 236px;
  height: 42px;
}

.site-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--t24-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.site-footer__social-link:hover {
  border-color: var(--t24-blue);
}

.site-footer__social-link img {
  width: 24px;
  height: 24px;
}

.site-footer__columns {
  display: flex;
  gap: 20px;
}

.site-footer__col {
  flex: 1;
}

.site-footer__col--newsletter {
  max-width: 420px;
  padding-left: 40px;
}

.site-footer__col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-text-primary);
  letter-spacing: -0.2px;
  margin-bottom: 12px;
}

.site-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__col-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-text-gray);
  letter-spacing: -0.2px;
}

.site-footer__col-link--regular {
  font-weight: 400;
}

.site-footer__col-link img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0;
}

.site-footer__col-link:hover {
  color: var(--t24-blue);
}

.site-footer__hours-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-text-primary);
  letter-spacing: -0.2px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.site-footer__hours-row {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.site-footer__hours-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--t24-text-gray);
}

.site-footer__hours-value {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--t24-text-primary);
}

/* Newsletter Box */
.newsletter-box {
  background-color: var(--t24-bg);
  border-radius: 10px;
  padding: 24px;
}

.newsletter-box__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  color: var(--t24-text-dark);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.newsletter-box__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--t24-text-gray);
  letter-spacing: -0.2px;
  margin-bottom: 20px;
}

.newsletter-box__input-wrap {
  position: relative;
  margin-bottom: 10px;
}

.newsletter-box__input {
  width: 100%;
  background-color: var(--t24-white);
  border: 1px solid var(--t24-border);
  border-radius: 20px;
  padding: 12px 12px 12px 44px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-text-primary);
  letter-spacing: -0.2px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-box__input::placeholder {
  color: var(--t24-text-gray);
  opacity: 0.7;
}

.newsletter-box__input:focus {
  border-color: var(--t24-blue);
}

.newsletter-box__input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.newsletter-box__btn {
  width: 100%;
  background-color: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.newsletter-box__btn:hover {
  background-color: var(--t24-blue-dark);
}

/* ==========================================================================
   Payment / Delivery Logos Bar
   ========================================================================== */

.logos-bar {
  background-color: var(--t24-white);
  border-top: 1px solid var(--t24-footer-border);
  padding: 20px 0;
}

.logos-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.logos-bar__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
}

.logos-bar__group img {
  height: 24px;
  width: auto;
  object-fit: contain;
  max-width: none;
  flex-shrink: 0;
}

.logos-bar__separator {
  width: 6px;
  height: 6px;
  background-color: var(--t24-gray-dot);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 32px;
}

/* ==========================================================================
   Copyright Bar
   ========================================================================== */

.copyright-bar {
  background-color: var(--t24-footer-border);
  padding: 40px 20px;
}

.copyright-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright-bar__text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  color: var(--t24-black);
}

.copyright-bar__text a {
  color: var(--t24-black);
}

.copyright-bar__dev {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copyright-bar__dev-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  color: var(--t24-black);
}

.copyright-bar__dev-logo {
  width: 67px;
  height: 25px;
  max-width: none;
}

/* ==========================================================================
   Sticky Nav
   ========================================================================== */

.main-nav--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ==========================================================================
   Layout container (Bootstrap override)
   ========================================================================== */

@media (min-width: 1400px) {
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1400px;
  }
}

.container-wide {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 100px;
}

@media (max-width: 1599px) {
  .container-wide {
    padding: 0 20px;
  }
}

/* ==========================================================================
   WooCommerce Archive / Shop
   ========================================================================== */

/* Breadcrumbs */
.shop-breadcrumbs {
  padding: 24px 0 20px;
  background: transparent;
}

.shop-breadcrumbs__nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: var(--t24-text-gray);
}

.shop-breadcrumbs__nav a {
  color: var(--t24-blue);
}

.shop-breadcrumbs__sep {
  margin: 0 12px;
  color: var(--t24-border-light);
  font-weight: 300;
}

/* Category Header */
.shop-header {
  padding: 0 0 24px;
}

.shop-header__box {
  background: var(--t24-white);
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  min-height: 226px;
  position: relative;
  overflow: hidden;
}

.shop-header__content {
  flex: 1;
}

.shop-header__title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--t24-blue-dark);
  margin: 0 0 12px;
}

.shop-header__desc {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--t24-text-gray);
}

.shop-header__desc p {
  margin: 0;
}

.shop-header__image {
  flex-shrink: 0;
  width: 389px;
  height: 214px;
  border-radius: 16px;
  overflow: hidden;
}

.shop-header__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* Shop Layout */
.shop-layout {
  padding-bottom: 60px;
}

.shop-layout__inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* Sidebar */
.shop-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: static;
  top: auto;
}

.shop-filter {
  background: var(--t24-white);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.shop-filter__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-text-primary);
  margin: 0 0 12px;
}

.shop-filter__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-filter__item {
  margin-bottom: 4px;
}

.shop-filter__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: var(--t24-text-gray);
  padding: 4px 0;
  transition: color 0.2s;
}

.shop-filter__link:hover,
.shop-filter__link--active {
  color: var(--t24-blue);
  font-weight: 500;
}

.shop-filter__count {
  font-size: 12px;
  color: var(--t24-text-gray-light);
}

.shop-filter__sublist {
  list-style: none;
  padding: 0 0 0 16px;
  margin: 0;
}

.shop-filter__price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.shop-filter__price-input {
  width: 100%;
  border: 1px solid var(--t24-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.shop-filter__price-input:focus {
  border-color: var(--t24-blue);
}

.shop-filter__price-dash {
  color: var(--t24-text-gray-light);
  flex-shrink: 0;
}

.shop-filter__price-btn {
  width: 100%;
  background: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.shop-filter__price-btn:hover {
  background: var(--t24-blue-dark);
}

/* Filter facets (uzladets-style stepped filters) */
.t24-filter-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shop-filter__facet {
  border-bottom: 1px solid var(--t24-border);
}

.shop-filter__facet:last-child {
  border-bottom: 0;
}

.shop-filter__facet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--t24-text-primary);
  cursor: pointer;
  list-style: none;
}

.shop-filter__facet-title::-webkit-details-marker {
  display: none;
}

.shop-filter__facet-title::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--t24-text-gray);
  border-bottom: 2px solid var(--t24-text-gray);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.shop-filter__facet[open] .shop-filter__facet-title::after {
  transform: rotate(-135deg);
}

.shop-filter__facet-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 16px;
}

.shop-filter__option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--t24-text-gray);
  cursor: pointer;
}

.shop-filter__option--active {
  color: var(--t24-blue);
  font-weight: 600;
}

.shop-filter__option--muted {
  opacity: 0.5;
}

.shop-filter__checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--t24-blue);
  flex-shrink: 0;
}

.shop-filter__option-label {
  flex: 1;
  min-width: 0;
}

.shop-filter__option-count {
  font-size: 12px;
  color: var(--t24-text-gray-light);
  flex-shrink: 0;
}

.shop-filter__crumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.shop-filter__crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--t24-text-gray);
  text-decoration: none;
}

.shop-filter__crumb:hover {
  color: var(--t24-blue);
}

.shop-filter__divider {
  border: 0;
  border-top: 1px solid var(--t24-border);
  margin: 0 0 12px;
}

.shop-filter__children {
  margin: 4px 0 8px 20px;
  padding-left: 12px;
  border-left: 2px solid var(--t24-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-filter__price-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--t24-text-gray-light);
  margin-bottom: 12px;
}

.shop-filter__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-filter__option-item--extra {
  display: none;
}

.shop-filter__options.is-expanded .shop-filter__option-item--extra {
  display: block;
}

.shop-filter__toggle-more {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--t24-blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop-filter__toggle-more:hover {
  color: var(--t24-blue-dark);
}

.shop-filter__options.is-expanded + .shop-filter__toggle-more .shop-filter__toggle-more-label--more,
.shop-filter__toggle-more[aria-expanded="true"] .shop-filter__toggle-more-label--more {
  display: none;
}

.shop-filter__options.is-expanded + .shop-filter__toggle-more .shop-filter__toggle-more-label--less,
.shop-filter__toggle-more[aria-expanded="true"] .shop-filter__toggle-more-label--less {
  display: inline;
}

.shop-filter__options:not(.is-expanded) + .shop-filter__toggle-more .shop-filter__toggle-more-label--less,
.shop-filter__toggle-more[aria-expanded="false"] .shop-filter__toggle-more-label--less {
  display: none;
}

.shop-filter__options:not(.is-expanded) + .shop-filter__toggle-more .shop-filter__toggle-more-label--more,
.shop-filter__toggle-more[aria-expanded="false"] .shop-filter__toggle-more-label--more {
  display: inline;
}

/* Filter panel shell */
.shop-filter-panel__card {
  background: var(--t24-white);
  border-radius: 16px;
  border: 1px solid var(--t24-border);
  overflow: visible;
}

.shop-filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--t24-border);
  background: var(--t24-bg);
}

.shop-filter-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--t24-text-primary);
}

.shop-filter-panel__badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--t24-blue);
  background: var(--t24-blue-light-bg);
  border-radius: 999px;
  padding: 2px 8px;
}

.shop-filter-panel__head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-filter-panel__clear-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--t24-blue);
  text-decoration: none;
}

.shop-filter-panel__clear-link:hover {
  text-decoration: underline;
}

.shop-filter-panel__close {
  display: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--t24-white);
  color: var(--t24-text-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.shop-filter-panel__body {
  padding: 0 20px 16px;
}

.shop-filter-panel__foot {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--t24-border);
  background: var(--t24-bg);
  border-radius: 0 0 16px 16px;
}

.shop-filter-panel__foot .t24-apply-filters {
  flex: 1;
}

.shop-filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 29, 34, 0.45);
  z-index: 10040;
}

.shop-filter-backdrop.is-open {
  display: block;
}

.shop-sort__filter-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--t24-border);
  border-radius: 8px;
  background: var(--t24-white);
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--t24-text-primary);
  cursor: pointer;
}

.shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.shop-active-filters__label {
  font-size: 12px;
  color: var(--t24-text-gray);
}

.shop-active-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--t24-bg);
  border: 1px solid var(--t24-border);
  font-size: 13px;
  color: var(--t24-text-primary);
  text-decoration: none;
}

.shop-active-filters__chip:hover {
  border-color: var(--t24-blue);
  color: var(--t24-blue);
}

.shop-active-filters__clear {
  font-size: 12px;
  font-weight: 600;
  color: var(--t24-blue);
  text-decoration: none;
  margin-left: 4px;
}

.shop-active-filters__clear:hover {
  text-decoration: underline;
}

[data-t24-shop-main].t24-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* Shop Content */
.shop-content {
  flex: 1;
  min-width: 0;
}

/* Sort Bar */
.shop-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--t24-blue-dark);
  margin-bottom: 20px;
}

.shop-sort__count {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: var(--t24-text-dark);
}

.shop-sort__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.shop-sort__ordering {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  cursor: pointer;
}

.shop-sort__ordering-label {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  color: var(--t24-text-dark);
}

.shop-sort__ordering img {
  width: 14px;
  height: 14px;
}

.shop-sort__ordering .woocommerce-ordering {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
}

.shop-sort__ordering .woocommerce-ordering select {
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.shop-sort__vat {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.shop-sort__vat-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--t24-blue-dark);
  cursor: pointer;
}

.shop-sort__vat-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-dark);
}

.shop-sort__views {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shop-sort__view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--t24-border);
  background: var(--t24-white);
  cursor: pointer;
  padding: 8px;
  transition: background 0.2s, border-color 0.2s;
}

.shop-sort__view-btn:not(.shop-sort__view-btn--active) img {
  filter: brightness(0) saturate(100%) invert(50%);
}

.shop-sort__view-btn img {
  width: 20px;
  height: 20px;
  max-width: none;
}

.shop-sort__view-btn--active {
  background: var(--t24-blue-dark);
  border-color: var(--t24-blue-dark);
}

.shop-sort__view-btn--active img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  -webkit-filter: brightness(0) invert(1);
}

/* Product Row (List View) */
.shop-product-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--t24-white);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s;
}

.shop-product-row:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.shop-product-row__image {
  width: 140px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.shop-product-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.shop-product-row__info {
  flex: 1;
  min-width: 0;
}

.shop-product-row__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--t24-text-primary);
  margin: 0 0 4px;
}

.shop-product-row__title a {
  color: inherit;
}

.shop-product-row__title a:hover {
  color: var(--t24-blue);
}

.shop-product-row__meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--t24-text-gray);
  margin-bottom: 8px;
}

.shop-product-row__stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 24px;
}

.shop-product-row__stock-badge--instock {
  color: #16a34a;
}

.shop-product-row__stock-badge--outofstock {
  color: var(--t24-red);
}

.shop-product-row__stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}

/* Price */
.shop-product-row__price {
  text-align: right;
  flex-shrink: 0;
  min-width: 80px;
}

.shop-product-row__price .price,
.shop-product-row__price .t24-tier-card__unit-value {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--t24-text-primary);
  display: block;
}

.shop-product-row__price .price del {
  font-size: 13px;
  font-weight: 400;
  color: var(--t24-text-gray);
  display: block;
}

.shop-product-row__price .price ins {
  text-decoration: none;
  color: var(--t24-red);
}

.shop-product-row__vat {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--t24-text-gray-light);
  display: block;
  margin-top: 2px;
}

.shop-product-row__volume-price {
  display: block;
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--t24-text-primary);
}

.shop-product-row__volume-price .woocommerce-Price-amount {
  font-size: 12px;
  font-weight: 600;
}

.shop-product-row__pricing {
  width: 100%;
  max-width: 360px;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  margin: 10px 0;
}

.shop-product-row__pricing th {
  font-weight: 500;
  font-size: 11px;
  color: #707780;
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--t24-bg);
}

.shop-product-row__pricing td {
  padding: 6px 8px;
  color: var(--t24-text-primary);
  border-bottom: 1px solid var(--t24-bg);
  font-weight: 500;
}

.t24-tier-pick-row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.shop-product-row__tier-save {
  text-align: right;
  color: var(--t24-blue);
  font-weight: 600;
}

.shop-product-row__price-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
}

.shop-product-row__price-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-text-gray);
}

.shop-product-row__price-line .t24-tier-card__total-value,
.shop-product-row__price-line .t24-tier-card__total-excl,
.shop-product-row__price-line .t24-tier-card__unit-excl {
  font-weight: 600;
  color: var(--t24-text-primary);
}

/* Actions */
.shop-product-row__actions {
  flex-shrink: 0;
}

.shop-product-row__cart-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-product-row__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--t24-border);
  border-radius: 8px;
  overflow: hidden;
}

.shop-product-row__qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--t24-bg);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--t24-text-primary);
  transition: background 0.2s;
}

.shop-product-row__qty-btn:hover {
  background: var(--t24-border);
}

.shop-product-row__qty-input {
  width: 36px;
  height: 32px;
  border: none;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  -moz-appearance: textfield;
}

.shop-product-row__qty-input::-webkit-inner-spin-button,
.shop-product-row__qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shop-product-row__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  text-decoration: none;
}

.shop-product-row__add-btn:hover {
  background: var(--t24-blue-dark);
  color: #fff;
}

/* Pagination */
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 0;
}

.shop-pagination a,
.shop-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--t24-text-primary);
  background: var(--t24-white);
  text-decoration: none;
  transition: all 0.2s;
}

.shop-pagination a:hover {
  background: var(--t24-blue);
  color: #fff;
}

.shop-pagination .current {
  background: var(--t24-blue);
  color: #fff;
}

.shop-pagination .dots {
  background: transparent;
}

/* Recently Viewed */
.recently-viewed {
  padding: 40px 0 60px;
}

.recently-viewed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.recently-viewed__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--t24-black);
}

.recently-viewed__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--t24-blue);
}

.recently-viewed__link:hover {
  color: var(--t24-blue-dark);
}

/* Product Grid Card */
.recently-viewed__grid {
  display: flex;
  gap: 16px;
}

.product-grid-card {
  flex: 1;
  background: var(--t24-white);
  border-radius: 20px;
  border: 2px solid var(--t24-bg);
  display: flex;
  flex-direction: column;
}

.product-grid-card__image {
  display: block;
  margin: 12px 12px 0;
  height: 202px;
  overflow: hidden;
  border-radius: 20px;
}

.product-grid-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.product-grid-card__body {
  padding: 12px 12px 0;
  flex: 1;
}

.product-grid-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--t24-black);
  margin: 0 0 2px;
}

.product-grid-card__title a { color: inherit; }
.product-grid-card__title a:hover { color: var(--t24-blue); }

.product-grid-card__sku {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #707780;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.product-grid-card__divider {
  height: 2px;
  background: var(--t24-bg);
  margin: 0 0 8px;
}

/* Pricing table with pill rows */
.product-grid-card__pricing {
  width: 100%;
  border-collapse: separate;
  border-spacing: 3px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
}

.product-grid-card__pricing th {
  font-weight: 500;
  color: #707780;
  text-align: left;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: -0.3px;
}

.product-grid-card__pricing td {
  padding: 5px 10px;
  border: 1.5px solid var(--t24-bg);
  border-radius: 20px;
  color: #707780;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.product-grid-card__tier-pick,
.shop-product-row__tier-pick {
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.product-grid-card__tier-pick:hover,
.shop-product-row__tier-pick:hover,
.t24-tier-pick-row:hover {
  background: rgba(0, 102, 204, 0.08);
  border-color: rgba(0, 102, 204, 0.2);
  color: var(--t24-blue);
}

.t24-tier-pick--active,
.t24-tier-pick-row--active {
  background: rgba(0, 102, 204, 0.12) !important;
  border-color: rgba(0, 102, 204, 0.35) !important;
  color: var(--t24-blue) !important;
  font-weight: 600 !important;
}

.t24-tier-pick:focus-visible,
.t24-tier-pick-row:focus-visible {
  outline: 2px solid var(--t24-blue);
  outline-offset: 1px;
}

.product-grid-card__prices {
  padding-top: 12px;
  border-top: 2px solid var(--t24-bg);
  margin-bottom: 8px;
}

.product-grid-card__price-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
}

.product-grid-card__price-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--t24-text-gray);
}

.product-grid-card__price-label {
  flex-shrink: 0;
}

.product-grid-card__price-line .t24-tier-card__total-value,
.product-grid-card__price-line .t24-tier-card__total-excl,
.product-grid-card__price-line .t24-tier-card__unit-excl {
  font-weight: 600;
  color: var(--t24-text-primary);
}

/* Price */
.product-grid-card__price {
  margin-bottom: 0;
  border-top: none;
  padding-top: 0;
}

.product-grid-card__price span.woocommerce-Price-amount,
.t24-tier-card__unit-value {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  color: var(--t24-black) !important;
}

.product-grid-card__price .price del {
  font-size: 13px;
  font-weight: 400;
  color: var(--t24-text-gray);
}

.product-grid-card__price .price ins { text-decoration: none; }

.product-grid-card__vat {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #a9adaf;
  display: block;
  margin-bottom: 8px;
}

.product-grid-card__volume-price {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--t24-text-primary);
  margin-bottom: 8px;
}

.product-grid-card__volume-price .woocommerce-Price-amount {
  font-size: 12px;
  font-weight: 600;
}

.t24-tier-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--t24-text-gray);
}

/* Stock */
.product-grid-card__stock {
  padding-top: 8px;
  border-top: 2px solid var(--t24-bg);
  margin-bottom: 12px;
}

.product-grid-card__stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.2px;
}

.product-grid-card__stock-badge--in { color: #0d804a; }
.product-grid-card__stock-badge--out { color: var(--t24-red); }

.product-grid-card__stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b76a;
}

/* Footer */
.product-grid-card__footer {
  padding: 0 12px 12px;
}

.product-grid-card__cart {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-grid-card__qty {
  display: flex;
  align-items: center;
  background: var(--t24-bg);
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  height: 42px;
}

.product-grid-card__qty-btn {
  width: 36px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--t24-text-primary);
}

.product-grid-card__qty-btn:hover { color: var(--t24-blue); }

.product-grid-card__qty-input {
  width: 32px;
  height: 42px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  outline: none;
  -moz-appearance: textfield;
}

.product-grid-card__qty-input::-webkit-inner-spin-button,
.product-grid-card__qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.product-grid-card__add-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 20px;
  height: 42px;
  padding: 0 16px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  text-decoration: none;
  opacity: 0.9;
}

.product-grid-card__add-btn:hover {
  background: var(--t24-blue-dark);
  color: #fff;
}

.product-grid-card__add-btn--full { width: 100%; }

/* List / Grid View Toggle */
.shop-products[data-view="list"] .shop-products__list { display: block; }
.shop-products[data-view="list"] .shop-products__grid { display: none; }
.shop-products[data-view="grid"] .shop-products__list { display: none; }
.shop-products[data-view="grid"] .shop-products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

@media (max-width: 1199px) {
  .shop-products[data-view="grid"] .shop-products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .shop-products[data-view="grid"] .shop-products__grid { grid-template-columns: 1fr; }
}

/* No products */
.shop-no-products {
  background: var(--t24-white);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--t24-text-gray);
}

.shop-no-products p {
  margin: 0;
}

/* ==========================================================================
   Single Product
   ========================================================================== */

.sp-main {
  padding: 0 0 40px;
}

.sp-main__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Left Column */
.sp-left {
  flex: 1;
  min-width: 0;
}

/* Gallery */
.sp-gallery {
  margin-bottom: 24px;
}

.sp-gallery__main {
  background: var(--t24-white);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
  height: 627px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sp-gallery__img {
  max-width: 65%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.sp-gallery__thumbs {
  display: flex;
  gap: 8px;
}

.sp-gallery__thumb {
  width: 98px;
  height: 98px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--t24-white);
  cursor: pointer;
  transition: border-color 0.2s;
}

.sp-gallery__thumb--active,
.sp-gallery__thumb:hover {
  border-color: var(--t24-blue);
}

.sp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* Product Info */
.sp-info {
  flex: 1;
  min-width: 0;
  max-width: 50%;
}

.sp-info__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--t24-black);
  margin: 0 0 8px;
}

.sp-info__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sp-info__sku {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-gray);
}

.sp-info__discount-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--t24-blue);
  text-decoration: underline;
}

.sp-info__stock {
  margin-bottom: 20px;
}

.sp-info__stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
}

.sp-info__stock-badge--in { color: #0d804a; }
.sp-info__stock-badge--out { color: var(--t24-red); }

.sp-info__stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12b76a;
}

.sp-info__stock-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.sp-info__delivery-note {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-gray);
}

/* Bulk Pricing */
.sp-pricing {
  background: var(--t24-white);
  border: 1px solid var(--t24-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.sp-pricing__heading {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--t24-text-primary);
  margin: 0 0 12px;
}

.sp-pricing__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  font-family: 'Inter', sans-serif;
}

.sp-pricing__table th {
  font-weight: 500;
  font-size: 11px;
  color: #707780;
  text-align: left;
  padding: 0 10px;
}

.sp-pricing__table td {
  padding: 6px 10px;
  border: 1.5px solid var(--t24-bg);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #707780;
}

/* Purchase Area */
.sp-purchase {
  margin-bottom: 20px;
}

.sp-pallet-inquiry {
  margin-bottom: 12px;
}

.sp-pallet-inquiry__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1.5px solid var(--t24-border);
  border-radius: 16px;
  background: var(--t24-white);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sp-pallet-inquiry__toggle:hover,
.sp-pallet-inquiry__toggle--open {
  border-color: rgba(0, 102, 204, 0.35);
  background: rgba(0, 102, 204, 0.04);
}

.sp-pallet-inquiry__toggle-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--t24-text-primary);
}

.sp-pallet-inquiry__toggle-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-text-gray);
}

.sp-pallet-inquiry__toggle-icon {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--t24-blue);
  border-bottom: 2px solid var(--t24-blue);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.sp-pallet-inquiry__toggle--open .sp-pallet-inquiry__toggle-icon {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.sp-pallet-inquiry__panel {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--t24-bg);
  border-radius: 16px;
  background: #fafbfc;
}

.sp-pallet-inquiry__title {
  margin: 0 0 6px;
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--t24-text-primary);
}

.sp-pallet-inquiry__intro {
  margin: 0 0 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--t24-text-gray);
}

.sp-pallet-inquiry__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.sp-pallet-inquiry__field {
  flex: 1;
  min-width: 0;
}

.sp-pallet-inquiry__field--full {
  margin-bottom: 12px;
}

.sp-pallet-inquiry__label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--t24-text-primary);
}

.sp-pallet-inquiry__label span {
  color: var(--t24-red);
}

.sp-pallet-inquiry__input,
.sp-pallet-inquiry__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--t24-border);
  border-radius: 12px;
  background: var(--t24-white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-primary);
}

.sp-pallet-inquiry__input:focus,
.sp-pallet-inquiry__textarea:focus {
  outline: 2px solid rgba(0, 102, 204, 0.2);
  border-color: var(--t24-blue);
}

.sp-pallet-inquiry__textarea {
  resize: vertical;
  min-height: 84px;
}

.sp-pallet-inquiry__feedback {
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}

.sp-pallet-inquiry__feedback.is-success {
  color: #0d804a;
}

.sp-pallet-inquiry__feedback.is-error {
  color: var(--t24-red);
}

.sp-pallet-inquiry__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 22px;
  background: var(--t24-blue);
  color: var(--t24-white);
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.sp-pallet-inquiry__submit:hover {
  filter: brightness(0.95);
}

.sp-pallet-inquiry__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.sp-purchase__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.sp-purchase__price-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--t24-text-gray);
}

.sp-purchase__price-value,
.sp-purchase__price-value span.woocommerce-Price-amount {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  color: var(--t24-black) !important;
}

.sp-purchase__form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-purchase__qty {
  display: flex;
  align-items: center;
  background: var(--t24-white);
  border: 1px solid var(--t24-border);
  border-radius: 20px;
  overflow: hidden;
  height: 48px;
}

.sp-purchase__qty-btn {
  width: 40px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--t24-text-primary);
}

.sp-purchase__qty-btn:hover { color: var(--t24-blue); }

.sp-purchase__qty-input {
  width: 40px;
  height: 48px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 18px;
  outline: none;
  -moz-appearance: textfield;
}

.sp-purchase__qty-input::-webkit-inner-spin-button,
.sp-purchase__qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.sp-purchase__add-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 20px;
  height: 48px;
  padding: 0 24px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.sp-purchase__add-btn:hover {
  background: var(--t24-blue-dark);
}

/* Payment Icons */
.sp-payments {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 20px;
  background: var(--t24-white);
  border-radius: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.sp-payments img {
  height: 22px;
  width: auto;
  max-width: none;
}

/* Delivery Info */
.sp-delivery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-delivery__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--t24-text-primary);
}

.sp-delivery__icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.sp-delivery__item strong {
  display: block;
  font-weight: 600;
}

.sp-delivery__item span {
  color: var(--t24-text-gray);
  font-size: 13px;
}

/* Gallery Arrows */
.sp-gallery__main {
  position: relative;
}

.sp-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--t24-white);
  border: 1px solid var(--t24-border);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t24-text-primary);
  z-index: 2;
  transition: background 0.2s;
}

.sp-gallery__arrow:hover { background: var(--t24-bg); }
.sp-gallery__arrow--prev { left: 12px; }
.sp-gallery__arrow--next { right: 12px; }

/* Accordion Group */
.sp-accordion-group {
  background: var(--t24-white);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Configuration Section */
.sp-config {
  padding: 16px 20px;
  border-bottom: 1px solid var(--t24-footer-border);
}

.sp-config__label {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--t24-text-primary);
  margin-bottom: 12px;
}

.sp-config__items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sp-config__item--lid {
  cursor: pointer;
  color: var(--t24-blue);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  background: var(--t24-white);
  padding: 0;
  border: 1.5px solid var(--t24-border);
}

.sp-config__browse-lids {
  display: inline-flex;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--t24-blue);
  text-decoration: none;
}

.sp-config__browse-lids:hover {
  text-decoration: underline;
}

.sp-config__previews {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  max-height: 132px;
  overflow-y: auto;
  padding-right: 4px;
}

.sp-config__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 56px;
  min-height: 56px;
  padding: 4px;
  border: 1.5px solid var(--t24-border);
  border-radius: 12px;
  background: var(--t24-white);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sp-config__preview:hover {
  border-color: rgba(0, 102, 204, 0.35);
  background: rgba(0, 102, 204, 0.04);
}

.sp-config__lid-pick--active {
  border-color: var(--t24-blue);
  box-shadow: 0 0 0 1px rgba(0, 102, 204, 0.15);
}

.sp-config__preview-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

.sp-config__preview-img--icon {
  opacity: 0.7;
}

.sp-config__preview-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  line-height: 1.2;
  color: var(--t24-text-gray);
  text-align: center;
  max-width: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-config__item {
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--t24-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
}

.sp-config__item--add {
  cursor: pointer;
  color: var(--t24-blue);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  background: var(--t24-white);
  padding: 0;
}

.sp-config__item--add:focus-visible {
  outline: 2px solid var(--t24-blue);
  outline-offset: 2px;
}

.sp-config__lid-icon {
  width: 28px;
  height: 28px;
  max-width: none;
  object-fit: contain;
}

.sp-config__lid-icon--photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.sp-config__lid-label {
  line-height: 1.2;
  text-align: center;
}

.sp-config-attrs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-config-attrs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--t24-bg);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}

.sp-config-attrs li:last-child {
  border-bottom: none;
}

.sp-config-attrs__label {
  color: var(--t24-text-gray);
}

.sp-config-attrs__value {
  color: var(--t24-text-primary);
  font-weight: 500;
  text-align: right;
}

.sp-lid-picker__hint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-text-gray);
  margin: 0 0 12px;
}

.sp-lid-picker__browse {
  display: inline-flex;
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--t24-blue);
  text-decoration: none;
}

.sp-lid-picker__browse:hover {
  text-decoration: underline;
}

.sp-lid-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.sp-lid-option {
  display: block;
  cursor: pointer;
}

.sp-lid-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sp-lid-option__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 118px;
  padding: 10px 8px;
  border: 1.5px solid var(--t24-border);
  border-radius: 12px;
  background: var(--t24-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-lid-option__input:checked + .sp-lid-option__card {
  border-color: var(--t24-blue);
  box-shadow: 0 0 0 1px var(--t24-blue);
}

.sp-lid-option__thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.sp-lid-option__name {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1.3;
  color: var(--t24-text-primary);
  text-align: center;
}

.sp-lid-option__price {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--t24-blue);
}

.sp-lid-option__card--none {
  color: var(--t24-blue);
}

.sp-config__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.sp-config__plus {
  width: 22px;
  height: 22px;
  max-width: none;
  flex-shrink: 0;
}

/* Accordion */
.sp-accordion {
  border: none;
  border-bottom: 1px solid var(--t24-footer-border);
  border-radius: 0;
  margin-bottom: 0;
}

.sp-accordion:last-child {
  border-bottom: none;
}

.sp-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--t24-text-primary);
  text-align: left;
  gap: 8px;
}

.sp-accordion__detail {
  font-weight: 400;
  font-size: 12px;
  color: var(--t24-text-gray);
  margin-left: auto;
}

.sp-accordion__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  max-width: none;
}

.sp-accordion__icon--minus { display: none; }
.sp-accordion__icon--plus { display: block; }
.sp-accordion__trigger--open .sp-accordion__icon--minus { display: block; }
.sp-accordion__trigger--open .sp-accordion__icon--plus { display: none; }

.sp-accordion__panel {
  display: none;
  padding: 0 20px 16px;
}

.sp-accordion__panel--open { display: block; }

.sp-accordion__empty {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-gray);
  margin: 0;
}

/* Bulk Pricing Table */
.sp-bulk-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}

.sp-bulk-table thead th {
  font-weight: 500;
  font-size: 12px;
  color: #707780;
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--t24-bg);
}

.sp-bulk-table tbody td {
  padding: 8px 12px;
  color: var(--t24-text-primary);
  border-bottom: 1px solid var(--t24-bg);
  font-weight: 500;
}

.sp-bulk-table__row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.sp-bulk-table__row:hover {
  background: rgba(0, 102, 204, 0.06);
}

.sp-bulk-table__row--active {
  background: rgba(0, 102, 204, 0.1);
}

.sp-bulk-table__row--active td:first-child {
  color: var(--t24-blue);
  font-weight: 600;
}

.sp-bulk-table__row:focus-visible {
  outline: 2px solid var(--t24-blue);
  outline-offset: -2px;
}

.sp-bulk-table__save {
  text-align: right !important;
  color: var(--t24-blue) !important;
  font-weight: 600 !important;
}

/* Tabs */
.sp-tabs {
  background: var(--t24-white);
  border-radius: 20px;
  overflow: hidden;
}

.sp-tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--t24-bg);
}

.sp-tabs__btn {
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--t24-text-gray);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.sp-tabs__btn:hover { color: var(--t24-text-primary); }

.sp-tabs__btn--active {
  color: var(--t24-text-primary);
  border-bottom-color: var(--t24-blue-dark);
}

.sp-tabs__panel { display: none; padding: 20px; }
.sp-tabs__panel--active { display: block; }

.sp-tabs__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--t24-text-gray);
}

.sp-tabs__desc p { margin: 0 0 12px; }
.sp-tabs__empty { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--t24-text-gray); margin: 0; }

/* Attributes Table */
.sp-attrs {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.sp-attrs th {
  text-align: left;
  font-weight: 500;
  color: var(--t24-text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--t24-bg);
  width: 180px;
}

.sp-attrs td {
  text-align: right;
  padding: 10px 0;
  color: var(--t24-text-gray);
  border-bottom: 1px solid var(--t24-bg);
  font-weight: 500;
}

/* Purchase Prices Row */
.sp-purchase__prices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-top: 0;
}

.sp-purchase__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.sp-purchase__price-row--total .sp-purchase__price-total-value,
.sp-purchase__price-row--total .sp-purchase__price-total-value span.woocommerce-Price-amount {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  color: var(--t24-black) !important;
}

.sp-purchase__price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sp-purchase__price-excl {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--t24-text-gray);
}

.sp-purchase__price-excl .woocommerce-Price-amount {
  font-weight: 500;
}

/* Stock & Delivery Info */
.sp-stock-info {
  background: var(--t24-white);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
}

.sp-stock-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--t24-text-primary);
  padding: 16px 20px;
  border-bottom: 1px solid var(--t24-footer-border);
}

.sp-stock-info__item:last-child {
  border-bottom: none;
}

.sp-stock-info__icon { width: 36px; height: 36px; flex-shrink: 0; max-width: none; }
.sp-stock-info__item strong { display: block; font-weight: 600; margin-bottom: 2px; }
.sp-stock-info__item span { color: var(--t24-text-gray); font-size: 13px; }
span.sp-stock-info__qty { color: #0d804a !important; }
span.sp-stock-info__order { color: #0d804a !important; }

/* Delivery Options */
.sp-delivery-options {
  background: var(--t24-white);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
}

.sp-delivery-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--t24-footer-border);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.sp-delivery-option:last-child {
  border-bottom: none;
}

.sp-delivery-option__icon { width: 36px; height: 36px; flex-shrink: 0; max-width: none; }
.sp-delivery-option__info { flex: 1; }
.sp-delivery-option__info small { display: block; color: var(--t24-text-gray); font-size: 13px; }
.sp-delivery-option__info strong { display: block; font-weight: 600; }
.sp-delivery-option__price {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--t24-text-primary);
  white-space: nowrap;
}

/* Product USP Cards */
.sp-usp-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.sp-usp-card {
  flex: 1;
  background: var(--t24-white);
  border-radius: 12px;
  border: 1px solid var(--t24-border);
  padding: 20px 16px;
}

.sp-usp-card__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  max-width: none;
}

.sp-usp-card__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--t24-text-primary);
  margin-bottom: 4px;
}

.sp-usp-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: var(--t24-text-gray);
}

/* Single product responsive - tablet */
@media (max-width: 1199px) {
  .sp-main__inner { gap: 24px; }
  .sp-info { max-width: none; }
  .sp-info__title { font-size: 24px; }
}

/* Single product responsive - mobile */
@media (max-width: 767px) {
  .sp-main__inner { flex-direction: column; gap: 20px; }
  .sp-left { width: 100%; }
  .sp-info { max-width: none; }
  .sp-gallery__main { height: 400px; }
  .sp-info__title { font-size: 22px; }
  .sp-purchase__prices { flex-direction: column; gap: 4px; }
  .sp-pallet-inquiry__row { flex-direction: column; gap: 0; }
  .sp-purchase__form { flex-wrap: wrap; }
  .sp-purchase__add-btn { width: 100%; flex: none; }
  .sp-tabs__nav { overflow-x: auto; }
  .sp-attrs th { width: 120px; }
  .sp-stock-info__item { padding: 12px; }
  .sp-delivery-option { flex-wrap: wrap; }
  .sp-usp-cards { flex-direction: column; }
}

/* Archive responsive - tablet */
@media (max-width: 1199px) {
  .shop-sidebar { width: 240px; }
  .shop-header__box { padding: 24px; }
  .shop-header__title { font-size: 22px; }
  .shop-header__image { width: 280px; height: 180px; }
  .shop-product-row__image { width: 100px; height: 90px; }
}

/* Archive responsive - mobile off-canvas filters */
@media (max-width: 991px) {
  .shop-sort__filter-toggle {
    display: inline-flex;
  }

  .shop-layout__inner .shop-sidebar.shop-filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(360px, 100vw);
    max-width: 100%;
    z-index: 10050;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: hidden;
    pointer-events: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--t24-white);
    box-shadow: -8px 0 32px rgba(12, 12, 13, 0.12);
  }

  .shop-layout__inner .shop-sidebar.shop-filter-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .shop-layout__inner .shop-sidebar.shop-filter-panel::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .shop-filter-panel__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    border-radius: 0;
    border: 0;
    border-left: 1px solid var(--t24-border);
  }

  .shop-filter-panel__head {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .shop-filter-panel__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .shop-filter-panel__foot {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 2;
    border-radius: 0;
  }

  .shop-filter-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .shop-layout__inner {
    flex-direction: column;
  }

  .shop-layout__inner .shop-content {
    width: 100%;
  }

  .shop-header__box { flex-direction: column; padding: 20px; }
  .shop-header__title { font-size: 18px; }
  .shop-header__image { width: 100%; height: 140px; }
  .shop-product-row { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .shop-product-row__image { width: 100px; height: 80px; }
  .shop-product-row__info { flex: 1 1 calc(100% - 120px); }
  .shop-product-row__price { flex-basis: auto; text-align: left; }
  .shop-product-row__actions { flex-basis: 100%; }
  .shop-product-row__cart-form { width: 100%; }
  .shop-product-row__add-btn { flex: 1; }
  .shop-sort { flex-wrap: wrap; gap: 12px; }
  .shop-sort__right { gap: 12px; flex-wrap: wrap; }
  .shop-sort__ordering-label { font-size: 13px; }
  .recently-viewed__grid { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 8px; }
  .recently-viewed__grid .product-grid-card { flex: 0 0 260px; }
}

/* ==========================================================================
   Side Cart Drawer
   ========================================================================== */

.side-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 29, 34, 0.5);
  z-index: 10050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.side-cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.side-cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100vw;
  background: var(--t24-white);
  z-index: 10060;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.side-cart.open {
  transform: translateX(0);
}

.tara24-mini-cart {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.side-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--t24-border);
  flex-shrink: 0;
}

.side-cart__title {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--t24-text-primary);
}

.side-cart__count {
  font-weight: 600;
  color: var(--t24-text-gray);
}

.side-cart__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--t24-bg);
  color: var(--t24-text-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.side-cart__close:hover {
  background: var(--t24-border);
}

.side-cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  min-height: 0;
}

.side-cart__empty {
  margin: 24px 0;
  text-align: center;
  color: var(--t24-text-gray);
  font-size: 15px;
}

.side-cart__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px dashed var(--t24-border);
}

.side-cart__item-info {
  min-width: 0;
}

.side-cart__item:last-child {
  border-bottom: 0;
}

.side-cart__item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--t24-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-cart__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-cart__item-title {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--t24-text-primary);
  text-decoration: none;
}

.side-cart__item-title:hover {
  color: var(--t24-blue);
}

.side-cart__item-sku {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t24-text-gray-light);
}

.side-cart__item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
}

.side-cart__item-qty {
  font-size: 13px;
  color: var(--t24-text-gray);
}

.side-cart__item-remove {
  display: inline;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--t24-text-gray-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  width: auto;
  height: auto;
  border-radius: 0;
}

.side-cart__item-remove::before,
.side-cart__item-remove::after {
  content: none !important;
  display: none !important;
}

.side-cart__item-remove:hover {
  color: var(--t24-red);
  text-decoration: underline;
}

/* Override WooCommerce default .remove icon styles inside side cart */
.side-cart a.remove,
.side-cart .woocommerce-mini-cart .remove,
.side-cart .remove_from_cart_button.remove {
  display: inline !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.4 !important;
  border-radius: 0 !important;
  text-indent: 0 !important;
  overflow: visible !important;
  color: var(--t24-text-gray-light) !important;
}

.side-cart a.remove::before,
.side-cart .woocommerce-mini-cart .remove::before {
  content: none !important;
  display: none !important;
}

.side-cart__item-price {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--t24-text-primary);
  white-space: nowrap;
  text-align: right;
}

.side-cart__foot {
  border-top: 1px solid var(--t24-border);
  padding: 20px 24px;
  background: var(--t24-bg);
  flex-shrink: 0;
}

.side-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.side-cart__total-label {
  font-size: 14px;
  color: var(--t24-text-gray);
}

.side-cart__total-value {
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--t24-text-primary);
}

.side-cart__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Cart Notification Toast
   ========================================================================== */

.cart-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--t24-white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10000;
  max-width: 420px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cart-notification--visible {
  transform: translateY(0);
  opacity: 1;
}

.cart-notification--error {
  border-left: 4px solid var(--t24-red);
}

.cart-notification__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #12b76a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.cart-notification__icon--error {
  background: var(--t24-red);
}

.cart-notification__text {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--t24-text-primary);
}

.cart-notification__text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-notification__count {
  display: block;
  font-size: 13px;
  color: var(--t24-text-gray);
  margin-top: 2px;
}

.cart-notification__btn {
  flex-shrink: 0;
  background: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.cart-notification__btn:hover {
  background: var(--t24-blue-dark);
  color: #fff;
}

.cart-notification__close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--t24-text-gray);
  cursor: pointer;
  padding: 0 0 0 4px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cart-notification {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* ==========================================================================
   Tara24 shared UI (cart + checkout)
   ========================================================================== */

.t24-card {
  background: var(--t24-white);
  border: 1px solid var(--t24-border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.t24-card-pad { padding: 24px; }

.t24-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.t24-btn-primary {
  background: var(--t24-blue);
  color: #fff !important;
  border-color: var(--t24-blue);
}

.t24-btn-primary:hover {
  background: var(--t24-blue-dark);
  border-color: var(--t24-blue-dark);
  color: #fff !important;
}

/* WooCommerce .button beats .t24-btn-primary on specificity — force theme blue */
.woocommerce button.button.t24-btn,
.woocommerce .woocommerce-Button.button.t24-btn,
.woocommerce a.button.t24-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.woocommerce button.button.t24-btn-primary,
.woocommerce .woocommerce-Button.button.t24-btn-primary,
.woocommerce a.button.t24-btn-primary {
  background: var(--t24-blue) !important;
  background-color: var(--t24-blue) !important;
  border: 1px solid var(--t24-blue) !important;
  color: #fff !important;
}

.woocommerce button.button.t24-btn-primary:hover,
.woocommerce .woocommerce-Button.button.t24-btn-primary:hover,
.woocommerce a.button.t24-btn-primary:hover {
  background: var(--t24-blue-dark) !important;
  background-color: var(--t24-blue-dark) !important;
  border-color: var(--t24-blue-dark) !important;
  color: #fff !important;
}

.woocommerce button.button.t24-btn-block,
.woocommerce .woocommerce-Button.button.t24-btn-block,
.woocommerce a.button.t24-btn-block {
  width: 100% !important;
}

.t24-btn-outline {
  background: var(--t24-white);
  color: var(--t24-text-primary);
  border-color: var(--t24-border);
}

.t24-btn-outline:hover {
  border-color: var(--t24-blue);
  color: var(--t24-blue);
}

.t24-btn-ghost {
  background: transparent;
  color: var(--t24-text-primary);
}

.t24-btn-ghost:hover {
  background: var(--t24-bg);
}

.t24-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.t24-btn-lg { padding: 14px 24px; font-size: 16px; }
.t24-btn-block { width: 100%; }

.t24-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--t24-border);
  border-radius: 12px;
  background: var(--t24-white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--t24-text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.t24-field:focus {
  border-color: var(--t24-blue);
  box-shadow: 0 0 0 3px rgba(0, 71, 187, 0.12);
}

/* Password show/hide toggle (WC layout styles are dequeued in theme) */
.woocommerce form .password-input,
.account-form .password-input,
.account-auth .password-input {
  display: block;
  position: relative;
  width: 100%;
}

.woocommerce form .password-input input[type="password"],
.woocommerce form .password-input input[type="text"],
.account-form .password-input input[type="password"],
.account-form .password-input input[type="text"],
.account-auth .password-input input[type="password"],
.account-auth .password-input input[type="text"] {
  width: 100%;
  padding-right: 48px !important;
}

.woocommerce form .password-input input::-ms-reveal,
.account-form .password-input input::-ms-reveal,
.account-auth .password-input input::-ms-reveal {
  display: none;
}

.woocommerce form .show-password-input,
.account-form .show-password-input,
.account-auth .show-password-input {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--t24-text-gray);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.woocommerce form .show-password-input:hover,
.account-form .show-password-input:hover,
.account-auth .show-password-input:hover {
  background: rgba(0, 71, 187, 0.08);
  color: var(--t24-blue);
}

.woocommerce form .show-password-input::before,
.account-form .show-password-input::before,
.account-auth .show-password-input::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C6.2 4.1 2.8 6.1 1 9.4C3.2 13.8 6.9 15.6 10 15.6C13.1 15.6 16.8 13.8 19 9.4C17.2 6.1 13.8 4.1 10 4ZM10 13.6C7.8 13.6 6.1 11.9 6.1 9.7C6.1 7.5 7.8 5.8 10 5.8C12.2 5.8 13.9 7.5 13.9 9.7C13.9 11.9 12.2 13.6 10 13.6ZM10 7.2C8.7 7.2 7.6 8.3 7.6 9.6C7.6 10.9 8.7 12 10 12C11.3 12 12.4 10.9 12.4 9.6C12.4 8.3 11.3 7.2 10 7.2Z' fill='%236B7280'/%3E%3C/svg%3E");
}

.woocommerce form .show-password-input.display-password::before,
.account-form .show-password-input.display-password::before,
.account-auth .show-password-input.display-password::before {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.3 3.3C16.9 2.9 16.2 2.9 15.7 3.3L13.3 5.7C12.2 5.3 11.1 5.1 10 5.1C6.2 5.2 2.8 7.2 1 10.5C1.2 10.9 1.5 11.3 1.8 11.7C2.6 12.8 3.6 13.7 4.7 14.4L3 16.1C2.6 16.5 2.5 17.2 3 17.7C3.4 18.1 4.1 18.2 4.6 17.7L17.3 4.9C17.7 4.4 17.7 3.7 17.3 3.3ZM6.7 12.3L5.4 13.6C4.2 12.9 3.1 11.9 2.3 10.7C3.5 9 5.1 7.8 7 7.2C5.7 8.6 5.6 10.8 6.7 12.3ZM10.1 9C9.6 8.5 9.7 7.7 10.2 7.2C10.7 6.8 11.4 6.8 11.9 7.2L10.1 9ZM18.3 9.5C17.8 8.8 17.2 8.1 16.5 7.6L15.5 8.6C16.3 9.2 17 9.9 17.6 10.8C15.9 13.4 13 15 9.9 15H9.1L8.1 16C8.8 15.9 9.4 16 10 16C13.3 16 16.4 14.4 18.3 11.7C18.6 11.3 18.8 10.9 19.1 10.5C18.8 10.2 18.6 9.8 18.3 9.5ZM14 10L10 14C12.2 14 14 12.2 14 10Z' fill='%236B7280'/%3E%3C/svg%3E");
}

.t24-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--t24-text-primary);
  margin-bottom: 6px;
}

.t24-checkbox,
.t24-radio {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--t24-border);
  background: var(--t24-white);
  border-radius: 5px;
  flex-shrink: 0;
  cursor: pointer;
}

.t24-radio { border-radius: 50%; }

.t24-checkbox:checked,
.t24-radio:checked {
  background: var(--t24-blue);
  border-color: var(--t24-blue);
}

.t24-steps-wrap {
  padding: 24px 0 0;
}

.t24-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.t24-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-gray);
}

.t24-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--t24-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.t24-step--active,
.t24-step--done {
  color: var(--t24-text-primary);
  font-weight: 600;
}

.t24-step--active .t24-step__num {
  background: var(--t24-blue);
  border-color: var(--t24-blue);
  color: #fff;
}

.t24-step--done .t24-step__num {
  background: #12b76a;
  border-color: #12b76a;
  color: #fff;
}

.t24-step-divider {
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: var(--t24-border);
  border-radius: 2px;
}

.t24-step-divider--done { background: #12b76a; }

div.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--t24-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--t24-white);
}

div.qty button {
  width: 36px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--t24-bg);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--t24-text-primary);
  padding: 0;
}

div.qty button:hover { background: var(--t24-border); }

div.qty input {
  width: 42px;
  height: 38px;
  border: none !important;
  border-left: 1px solid var(--t24-border) !important;
  border-right: 1px solid var(--t24-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--t24-text-primary);
  background: var(--t24-white);
  padding: 0 !important;
  margin: 0 !important;
  -moz-appearance: textfield;
  appearance: textfield;
}

div.qty input:focus { outline: none; }

div.qty input::-webkit-inner-spin-button,
div.qty input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* WC notices — always inside themed containers */
.t24-wc-notices {
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.t24-wc-notices:empty {
  display: none;
}

.t24-wc-notices--inline {
  margin-bottom: 12px;
}

.t24-wc-notices .woocommerce-NoticeGroup,
.t24-wc-notices .woocommerce-NoticeGroup-checkout,
.t24-wc-notices .woocommerce-NoticeGroup-updateOrderReview {
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  list-style: none;
}

.cart-notices-wrap,
.checkout-notices-wrap {
  padding-top: 16px;
}

.checkout-notices-wrap {
  padding-bottom: 0;
}

/* Hide orphan notices that escaped outside our slots */
body.woocommerce-cart #main-content > .woocommerce-notices-wrapper:not(.t24-wc-notices),
body.woocommerce-checkout #main-content > .woocommerce-notices-wrapper:not(.t24-wc-notices),
body.woocommerce-cart .woocommerce-cart-form > .woocommerce-NoticeGroup,
body.woocommerce-cart .woocommerce-cart-form > .woocommerce-error,
body.woocommerce-cart .woocommerce-cart-form > .woocommerce-message,
body.woocommerce-cart .woocommerce-cart-form > .woocommerce-info,
form.checkout.woocommerce-checkout > .woocommerce-NoticeGroup,
form.checkout.woocommerce-checkout > .woocommerce-error,
form.checkout.woocommerce-checkout > .woocommerce-message,
form.checkout.woocommerce-checkout > .woocommerce-info {
  display: none !important;
}

/* WC notices on cart/checkout */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.t24-wc-notices .woocommerce-message,
.t24-wc-notices .woocommerce-info,
.t24-wc-notices .woocommerce-error,
.t24-wc-notices .woocommerce-error li {
  margin: 0 0 10px;
  padding: 12px 16px !important;
  border-radius: 12px;
  border: 1px solid;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
}

.t24-wc-notices .woocommerce-message:last-child,
.t24-wc-notices .woocommerce-info:last-child,
.t24-wc-notices .woocommerce-error:last-child {
  margin-bottom: 0;
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before,
.woocommerce-cart .woocommerce-error::before,
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-error::before,
.t24-wc-notices .woocommerce-message::before,
.t24-wc-notices .woocommerce-info::before,
.t24-wc-notices .woocommerce-error::before {
  display: none !important;
  content: none !important;
}

.woocommerce-cart .woocommerce-message,
.t24-wc-notices .woocommerce-message {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.woocommerce-cart .woocommerce-info,
.t24-wc-notices .woocommerce-info {
  background: #ecfeff;
  border-color: #a5f0f5;
  color: #155e68;
}

.woocommerce-cart .woocommerce-error,
.t24-wc-notices .woocommerce-error,
.t24-wc-notices .woocommerce-error li {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.woocommerce-cart .woocommerce-message .button,
.woocommerce-cart .woocommerce-info .button,
.t24-wc-notices .woocommerce-message .button,
.t24-wc-notices .woocommerce-info .button {
  display: none;
}

/* Reset WC/Bootstrap button bleed on cart/checkout */
.woocommerce-cart .button,
.woocommerce-checkout .button,
.woocommerce-cart a.button,
.woocommerce-checkout a.button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  text-shadow: none;
  box-shadow: none;
}

/* ==========================================================================
   Cart page
   ========================================================================== */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
  padding: 32px 0 60px;
}

.cart-layout__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cart-layout__title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--t24-text-primary);
  margin: 0;
}

.cart-layout__count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-gray);
}

.cart-items-card { overflow: hidden; }

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--t24-footer-border);
}

.cart-item:last-of-type { border-bottom: none; }

.cart-item__thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: var(--t24-bg);
  border: 1px solid var(--t24-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: none;
}

.cart-item__title {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--t24-text-primary);
  margin-bottom: 6px;
}

.cart-item__title:hover { color: var(--t24-blue); }

.cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-text-gray);
}

.cart-item__stock--in { color: #047857; }
.cart-item__stock--out { color: var(--t24-red); }

.cart-item__remove-wrap { margin-top: 10px; }

.cart-item__remove {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-red);
  text-decoration: none;
}

.cart-item__remove:hover { text-decoration: underline; }

.cart-item__subtotal {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--t24-text-primary);
  white-space: nowrap;
}

.cart-item__unit-price {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-text-gray);
  margin-top: 4px;
  text-align: right;
}

.cart-items-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--t24-bg);
  border-top: 1px solid var(--t24-footer-border);
}

.cart-coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-coupon__input {
  width: auto;
  min-width: 160px;
  padding: 10px 14px;
  font-size: 14px;
}

.cart-continue { margin-top: 16px; }

.cart-layout__sidebar {
  position: sticky;
  top: 100px;
}

.cart-summary__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--t24-footer-border);
}

.cart-summary__lines { display: flex; flex-direction: column; gap: 10px; }

.cart-summary__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.cart-summary__label { color: var(--t24-text-gray); }
.cart-summary__value { font-weight: 600; color: var(--t24-text-primary); }
.cart-summary__value--sale { color: var(--t24-red); }
.cart-summary__hint { font-size: 12px; color: var(--t24-text-gray); text-align: right; }

.cart-summary__divider {
  border: none;
  border-top: 1px solid var(--t24-footer-border);
  margin: 20px 0;
}

.cart-summary__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.cart-summary__total-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.cart-summary__total-value {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--t24-blue);
}

.cart-summary__total-value .amount { color: inherit; }

.cart-summary .wc-proceed-to-checkout {
  padding: 0;
  margin: 0 0 12px;
}

.cart-summary__note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-text-gray);
  text-align: center;
  margin: 12px 0 0;
}

.cart-empty-wrap {
  padding: 48px 0 80px;
}

.cart-empty {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.cart-empty__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--t24-blue-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cart-empty__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 10px;
}

.cart-empty__text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--t24-text-gray);
  margin: 0 0 24px;
}

/* Cross-sells on cart */
.woocommerce-cart .cross-sells {
  margin-top: 24px;
}

.woocommerce-cart .cross-sells > h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Checkout page
   ========================================================================== */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
  padding: 32px 0 60px;
}

.checkout-layout__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#customer_details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.checkout-section { margin-bottom: 0; }

.checkout-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
}

.checkout-section-title__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--t24-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.checkout-section__login {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--t24-text-gray);
}

.checkout-section__login a {
  color: var(--t24-blue);
  font-weight: 600;
}

.checkout-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-fields-grid .form-row-wide { grid-column: 1 / -1; }

.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce-additional-fields .form-row,
.woocommerce-account-fields .form-row {
  margin: 0;
}

.checkout-account-fields {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--t24-footer-border);
}

.checkout-ship-toggle { margin: 0 0 16px; }

.checkout-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.checkout-notes-title {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.checkout-review-card {
  overflow: visible;
  position: sticky;
  top: 100px;
}

.checkout-review-card__head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--t24-footer-border);
}

.checkout-review-card__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.checkout-review-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 24px;
  border-bottom: 1px solid var(--t24-footer-border);
  overflow: visible;
}

.checkout-review-item__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--t24-bg);
  border: 1px solid var(--t24-border);
  overflow: visible;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-review-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: none;
  border-radius: 9px;
}

.checkout-review-item__qty {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--t24-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  line-height: 1;
}

.checkout-review-item__info { flex: 1; min-width: 0; }

.checkout-review-item__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}

.checkout-review-item__meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-text-gray);
  margin-top: 4px;
}

.checkout-review-item__price {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.checkout-review-totals {
  padding: 20px 24px;
  background: var(--t24-bg);
}

.checkout-review-totals__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.checkout-review-totals__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.checkout-review-totals__line > span:first-child { color: var(--t24-text-gray); }
.checkout-review-totals__sale { color: var(--t24-red); }

.checkout-review-totals__divider {
  border: none;
  border-top: 1px solid var(--t24-border);
  margin: 14px 0;
}

.checkout-review-totals__total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.checkout-review-totals__total .amount {
  font-size: 24px;
  color: var(--t24-blue);
}

.checkout-payment-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout-payment-method {
  margin-bottom: 12px;
}

.checkout-payment-method:last-child { margin-bottom: 0; }

.checkout-payment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--t24-border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.checkout-payment-card:hover,
.checkout-payment-method.is-active .checkout-payment-card,
.checkout-payment-card:has(input:checked) {
  border-color: var(--t24-blue);
}

.checkout-payment-card__info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.checkout-payment-card__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.checkout-payment .payment_box {
  margin-top: 10px;
  padding: 14px;
  background: var(--t24-bg);
  border: 1px solid var(--t24-border);
  border-radius: 12px;
  font-size: 14px;
}

.checkout-payment #payment {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.checkout-place-order { margin-top: 20px; }

.checkout-submit,
.checkout-payment #place_order {
  margin-top: 16px;
}

.checkout-terms { margin-bottom: 16px; }

.checkout-privacy {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--t24-text-gray);
  margin-bottom: 12px;
}

.checkout-privacy a { color: var(--t24-blue); }

.checkout-terms .woocommerce-terms-and-conditions { display: none; }

.checkout-notices:empty { display: none; }

#t24-cart-notices {
  margin-bottom: 16px;
}

.checkout-login-required {
  padding: 48px 0;
}

.checkout-login-required__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

/* Select2 in checkout */
.woocommerce-checkout .select2-container .select2-selection--single {
  height: 46px !important;
  border: 1px solid var(--t24-border) !important;
  border-radius: 12px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px !important;
  padding-left: 14px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
}

/* Responsive */
@media (max-width: 1199px) {
  .cart-layout { grid-template-columns: 1fr 320px; }
  .checkout-layout { grid-template-columns: 1fr 340px; gap: 24px; }
}

@media (max-width: 991px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-layout__sidebar,
  .checkout-review-card {
    position: static;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
    grid-template-areas:
      "thumb info"
      "qty subtotal";
  }

  .cart-item__thumb { grid-area: thumb; width: 72px; height: 72px; }
  .cart-item__info { grid-area: info; }
  .cart-item__qty-col { grid-area: qty; }
  .cart-item__subtotal-col { grid-area: subtotal; text-align: right; }

  .checkout-fields-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .cart-layout__title { font-size: 22px; }
  .cart-items-card__actions { flex-direction: column; align-items: stretch; }
  .cart-coupon { flex-direction: column; align-items: stretch; }
  .cart-coupon__input { width: 100%; min-width: 0; }
  .t24-steps { gap: 6px; }
  .t24-step { font-size: 12px; }
  .t24-step-divider { min-width: 12px; }
}

/* ==========================================================================
   Mobile-only elements (hidden on desktop)
   ========================================================================== */

.site-header__hamburger,
.site-header__search-toggle {
  display: none;
  background-color: var(--t24-blue);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.site-header__hamburger img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  max-width: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: 2px 0 20px rgba(0,0,0,0.15);
}

.mobile-menu.is-open {
  left: 0;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--t24-border-light);
}

.mobile-menu__logo img {
  height: 32px;
  width: auto;
  max-width: none;
}

.mobile-menu__close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--t24-text-primary);
  padding: 4px 8px;
}

.mobile-menu__body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__catalog-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--t24-blue);
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
}

.mobile-menu__catalog-btn img {
  filter: brightness(0) invert(1);
}

.mobile-menu__link {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--t24-text-primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--t24-bg);
}

.mobile-menu__link--sale {
  color: var(--t24-red);
}

.mobile-menu__link--small {
  font-size: 14px;
  color: var(--t24-text-gray);
}

.mobile-menu__divider {
  border: none;
  border-top: 1px solid var(--t24-border-light);
  margin: 8px 0;
}

/* Search Overlay */
.search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
}

.search-overlay.is-open {
  display: block;
}

.search-overlay__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}

.search-overlay__form {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: var(--t24-search-bg);
  border-radius: 50px;
  padding: 10px 16px;
  gap: 8px;
  position: relative;
}

.search-overlay__inner {
  position: relative;
}

/* Live search dropdown */
.t24-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--t24-white);
  border: 1px solid var(--t24-border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  max-height: min(70vh, 420px);
  overflow: auto;
}

.t24-search-dropdown.is-hidden {
  display: none;
}

.t24-search-section {
  padding: 10px 12px 12px;
}

.t24-search-section + .t24-search-section {
  border-top: 1px solid var(--t24-border-light);
}

.t24-search-section__title {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--t24-text-gray);
  margin-bottom: 8px;
}

.t24-search-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.t24-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.t24-search-item:hover,
.t24-search-item.is-keyboard {
  background: var(--t24-search-bg);
}

.t24-search-item--cat {
  justify-content: space-between;
}

.t24-search-item__title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: var(--t24-text-primary);
}

.t24-search-item__meta {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--t24-text-gray);
  margin-top: 2px;
}

.t24-search-item__count {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t24-text-gray);
  background: var(--t24-bg);
  border-radius: 999px;
  padding: 2px 8px;
}

.t24-search-item__thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--t24-bg);
}

.t24-search-item__body {
  min-width: 0;
  flex: 1;
}

.t24-search-item__price {
  display: block;
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--t24-blue);
}

.t24-search-item__price .woocommerce-Price-amount {
  font-size: 13px;
}

.t24-search-dropdown mark {
  background: rgba(0, 71, 187, 0.12);
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
}

.t24-search-loading,
.t24-search-empty {
  padding: 16px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-gray);
}

.t24-search-footer {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--t24-white);
  background: var(--t24-blue);
  text-decoration: none;
  border-radius: 0 0 15px 15px;
}

.t24-search-footer:hover {
  background: var(--t24-blue-dark);
  color: var(--t24-white);
}

.search-overlay__form input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.search-overlay__submit {
  background-color: var(--t24-blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 18px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

.search-overlay__close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--t24-text-gray);
  padding: 0 4px;
}

/* ==========================================================================
   Text Page (Par mums, Kontakti, etc.)
   ========================================================================== */

.text-page-breadcrumbs {
  padding: 30px 0 0;
}

.text-page-breadcrumbs__inner {
  display: flex;
  align-items: center;
}

.text-page-breadcrumbs__link {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  color: #666;
}

.text-page-breadcrumbs__link:hover {
  color: var(--t24-blue);
}

.text-page-breadcrumbs__sep {
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0 12px;
  flex-shrink: 0;
}

.text-page-breadcrumbs__current {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  color: #000;
}

.text-page {
  padding: 40px 0 80px;
}

.text-page__layout {
  display: flex;
  gap: 19px;
  align-items: flex-start;
}

.text-page__sidebar {
  width: 335px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.text-page__sidebar-card {
  background: #fff;
  border: 1px solid #f2f3f4;
  border-radius: 20px;
  padding: 20px 29px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.text-page__sidebar-link {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 17px;
  color: #000;
  transition: color 0.2s ease;
}

.text-page__sidebar-link:hover {
  color: var(--t24-blue);
}

.text-page__sidebar-link--active {
  font-weight: 600;
  color: var(--t24-blue);
}

.text-page__sidebar-promo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 424px;
}

.text-page__sidebar-promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-page__sidebar-promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.text-page__sidebar-promo-content {
  position: absolute;
  inset: 0;
  padding: 50px 29px;
  display: flex;
  flex-direction: column;
}

.text-page__sidebar-promo-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 5px;
}

.text-page__sidebar-promo-subtitle {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  color: #fff;
  margin: 5px 0 0;
}

.text-page__sidebar-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-top: auto;
}

.text-page__sidebar-promo-link:hover {
  color: #fff;
  opacity: 0.8;
}

.text-page__sidebar-promo-link svg {
  flex-shrink: 0;
}

.text-page__content {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #f2f3f4;
  border-radius: 20px;
  padding: 40px;
}

.text-page__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: normal;
  color: #111b20;
  margin: 0 0 21px;
}

.text-page__text {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #384146;
  margin: 0 0 18px;
}

.text-page__subtitle {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  color: #384146;
  margin: 18px 0 16px;
}

.text-page__list {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #384146;
  margin: 0 0 18px;
  padding-left: 24px;
  list-style-type: disc;
}

/* Editor-driven content ("Teksta lapa" template) inherits the same typography */

.text-page__body p {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #384146;
  margin: 0 0 18px;
}

.text-page__body h2,
.text-page__body h3,
.text-page__body h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: #384146;
  margin: 18px 0 16px;
}

.text-page__body h2 { font-size: 20px; }
.text-page__body h3 { font-size: 16px; }
.text-page__body h4 { font-size: 16px; }

.text-page__body ul,
.text-page__body ol {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #384146;
  margin: 0 0 18px;
  padding-left: 24px;
}

.text-page__body ul { list-style-type: disc; }

.text-page__body li { margin-bottom: 4px; }

.text-page__body a {
  color: var(--t24-text-link-blue);
  text-decoration: underline;
}

.text-page__body a:hover {
  color: var(--t24-blue);
}

.text-page__list li {
  margin-bottom: 6px;
}

.text-page__list li:last-child {
  margin-bottom: 0;
}

.text-page__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--t24-blue);
  color: #f2f3f4;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: normal;
  border-radius: 20px;
  padding: 14px 25px;
  margin-top: 20px;
  opacity: 0.9;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.text-page__cta-btn:hover {
  color: #f2f3f4;
  opacity: 1;
  background: var(--t24-blue-dark);
}

/* ==========================================================================
   Contact Page Sections
   ========================================================================== */

.contact-map {
  background: #fff;
  border: 2px solid #f2f3f4;
  border-radius: 20px;
  padding: 29px 33px;
  margin-bottom: 40px;
}

.contact-map__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #071b2e;
  margin: 0 0 7px;
}

.contact-map__address {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #455157;
  margin: 0 0 20px;
}

.contact-map__embed {
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.contact-map__embed iframe {
  display: block;
  width: 100%;
}

.contact-cards {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-cards__item {
  flex: 1;
  background: #fff;
  border: 2px solid #f2f3f4;
  border-radius: 20px;
  padding: 20px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-cards__icon {
  margin-bottom: 25px;
}

.contact-cards__heading {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: normal;
  color: #071b2e;
  margin: 0 0 36px;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.contact-cards__desc {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--t24-blue-dark);
  letter-spacing: 0.16px;
  text-align: center;
  margin: 0 0 auto;
  padding-bottom: 24px;
}

.contact-cards__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--t24-blue);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16.8px;
  border-radius: 20px;
  padding: 10px 30px;
  transition: background 0.2s ease;
}

.contact-cards__btn:hover {
  background: var(--t24-blue-dark);
  color: #fff;
}

.contact-info {
  background: #fff;
  border: 2px solid #f2f3f4;
  border-radius: 20px;
  padding: 32px 37px;
  display: flex;
  gap: 50px;
  margin-bottom: 32px;
}

.contact-info__left {
  flex: 1;
}

.contact-info__divider {
  width: 1px;
  background: #e3e5e8;
  flex-shrink: 0;
}

.contact-info__right {
  flex: 1;
}

.contact-info__label {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #071b2e;
  margin: 0 0 10px;
}

.contact-info__label:not(:first-child) {
  margin-top: 26px;
}

.contact-info__value {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #455157;
  margin: 0;
}

.contact-form {
  background: #fff;
  border: 2px solid #f2f3f4;
  border-radius: 20px;
  padding: 32px 44px;
}

.contact-form__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #071b2e;
  margin: 0 0 28px;
}

.contact-form__row {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
}

.contact-form__field {
  flex: 1;
  min-width: 0;
}

.contact-form__field--full {
  margin-bottom: 18px;
}

.contact-form__label {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 25px;
  color: #111b20;
  margin-bottom: 5px;
}

.contact-form__req {
  color: #d32f2f;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cbcbcb;
  border-radius: 8px;
  padding: 9px 14px;
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #111b20;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  border-color: var(--t24-blue);
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23455157' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  color: #455157;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 86px;
}

.contact-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}

.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  color: #384146;
  cursor: pointer;
}

.contact-form__checkbox input[type="checkbox"] {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border: 1px solid #cbcbcb;
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  margin: 0;
  background: #fff;
}

.contact-form__checkbox input[type="checkbox"]:checked {
  background: var(--t24-blue);
  border-color: var(--t24-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' fill='none'%3E%3Cpath d='M1 5l4 4L13 1' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-form__checkbox a {
  color: var(--t24-blue);
  text-decoration: underline;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--t24-blue);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 20px;
  padding: 10px 30px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form__submit:hover {
  background: var(--t24-blue-dark);
}

/* ==========================================================================
   TABLET (768px - 1199px)
   ========================================================================== */

@media (max-width: 1199px) {

  /* Top bar: hide nav links, keep phone + email + right side */
  .top-bar__nav-link { display: none; }

  /* Header */
  .site-header__logo { width: 200px; margin-right: 20px; }
  .site-header__logo img { width: 200px; height: auto; }
  .site-header__action-text { display: none; }
  .site-header__actions { gap: 10px; }

  /* Nav: hide right-side links, make left scrollable */
  .main-nav__right { display: none; }
  .mega-menu { display: none; }
  .main-nav__container { padding: 0 16px; }
  .main-nav__left { gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .main-nav__left::-webkit-scrollbar { display: none; }
  .main-nav__link { font-size: 14px; padding: 8px 6px; }
  .main-nav__catalog-btn { padding: 12px 16px; }
  .main-nav__catalog-btn span { font-size: 14px; }

  /* Hero slider */
  .hero-slider { height: 400px; margin-top: 24px; }
  .hero-slider__slide { height: 400px; }
  .hero-slider__title { font-size: 36px; top: 40px; left: 40px; width: calc(100% - 80px); }
  .hero-slider__text { top: 175px; left: 40px; max-width: 400px; font-size: 14px; }
  .hero-slider__btn { bottom: 40px; left: 40px; }
  .hero-slider__nav-prev { left: -20px; }
  .hero-slider__nav-next { right: -20px; }
  .hero-slider__nav-prev img,
  .hero-slider__nav-next img { width: 40px; height: 40px; }

  /* Category & product cards: horizontal scroll */
  .category-cards .row,
  .products-section .row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .category-cards .row::-webkit-scrollbar,
  .products-section .row::-webkit-scrollbar { display: none; }
  .category-cards .col,
  .products-section .col {
    flex: 0 0 220px;
    max-width: 220px;
    scroll-snap-align: start;
  }
  .category-card { height: auto; min-height: 230px; padding: 16px; }
  .product-card { height: auto; min-height: 210px; padding: 16px; }
  .category-card__img img,
  .product-card__img img { width: 160px; height: 100px; }

  /* Text page */
  .text-page__layout { gap: 16px; }
  .text-page__sidebar { width: 260px; }
  .text-page__sidebar-promo-title { font-size: 24px; }
  .text-page__sidebar-promo { height: 340px; }
  .text-page__content { padding: 30px; }
  .text-page__title { font-size: 26px; }

  /* Contact page */
  .contact-cards { gap: 16px; }
  .contact-cards__heading { font-size: 20px; }
  .contact-cards__item { padding: 16px 20px; }
  .contact-info { gap: 30px; padding: 24px 28px; }
  .contact-form { padding: 24px 28px; }

  /* USP bar */
  .usp-bar__blue { width: 0; overflow: hidden; }
  .usp-bar::before { display: none; }
  .usp-bar__logo-wrap { display: none; }
  .usp-bar__content { padding: 24px 20px; box-sizing: border-box; }
  .usp-bar__list { flex: none; width: 100%; padding: 0; flex-wrap: wrap; gap: 20px; justify-content: center; }
  .usp-item { flex: 0 0 calc(50% - 10px); min-width: 0; }
  .usp-item__icon { width: 50px; height: 50px; }
  .usp-item__icon img { width: 22px; height: 22px; }
  .usp-item__text { font-size: 14px; white-space: normal; }
  .usp-bar { height: auto; overflow: hidden; }

  /* Footer columns */
  .site-footer__columns { flex-wrap: wrap; }
  .site-footer__col { flex: 0 0 calc(50% - 10px); max-width: none !important; }
  .site-footer__col--newsletter { flex: 0 0 100%; max-width: none !important; padding-left: 0; margin-top: 24px; }

  /* Logos bar */
  .logos-bar__inner { flex-wrap: wrap; gap: 16px; padding: 16px 20px; }
  .logos-bar__separator { display: none; }
  .logos-bar__group { flex: 0 0 100%; justify-content: center; }

  /* Copyright */
  .copyright-bar { padding: 24px 20px; }
}

/* ==========================================================================
   MOBILE (< 768px)
   ========================================================================== */

@media (max-width: 767px) {

  /* Top bar: hide entirely */
  .top-bar { display: none; }

  /* Header: show hamburger + search toggle, hide desktop search */
  .site-header__hamburger { display: flex; }
  .site-header__search-toggle { display: flex; }
  .site-header__search { display: none; }
  .site-header__inner { padding: 12px 0; gap: 12px; }
  .site-header__logo { width: auto; margin: 0 auto 0 0; height: auto; }
  .site-header__logo img { width: 140px; height: auto; display: block; max-width: none; }
  .site-header__action-icon { width: 40px; height: 40px; }
  .site-header__action-icon svg { width: 18px; height: 18px; }
  .site-header__actions { gap: 8px; margin-left: 0; }
  .site-header__hamburger { width: 40px; height: 40px; }
  .site-header__hamburger img { width: 20px; height: 20px; }
  .site-header__search-toggle { width: 40px; height: 40px; }
  .site-header__search-toggle svg { width: 18px; height: 18px; }

  /* Nav: hide entirely on mobile, use mobile drawer instead */
  .main-nav { display: none; }

  /* Hero slider */
  .hero-slider { height: 320px; margin-top: 16px; border-radius: 12px; }
  .hero-slider__slide { height: 320px; }
  .hero-slider__title { font-size: 24px; top: 24px; left: 24px; width: calc(100% - 48px); letter-spacing: 1px; }
  .hero-slider__text { top: 150px; left: 24px; max-width: 280px; font-size: 13px; }
  .hero-slider__btn { bottom: 24px; left: 24px; padding: 10px 16px; font-size: 14px; }
  .hero-slider__nav-prev,
  .hero-slider__nav-next { display: none; }
  .hero-slider__dots { bottom: 12px; right: 12px; padding: 4px 8px; }
  .hero-slider__dots .hero-slider__dot { width: 10px; height: 10px; }

  /* Cards: horizontal scroll */
  .category-cards { margin-top: 16px; }
  .category-cards .row,
  .products-section .row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 8px;
    margin: 0;
    scroll-snap-type: x mandatory;
  }
  .category-cards .col,
  .products-section .col {
    flex: 0 0 200px;
    max-width: 200px;
    scroll-snap-align: start;
  }
  .category-card { height: auto; min-height: 200px; padding: 14px; }
  .product-card { height: auto; min-height: 190px; padding: 14px; }
  .category-card__img img,
  .product-card__img img { width: 140px; height: 90px; }
  .category-card__title,
  .product-card__title { font-size: 16px; }
  .category-card__desc { font-size: 13px; max-width: 140px; }
  .product-card__count { font-size: 13px; }

  /* Products section header */
  .products-section { margin-top: 32px; }
  .products-section__title { font-size: 22px; }
  .products-section__view-all { font-size: 13px; }
  .products-section__header { padding: 0 16px; }

  /* Text page */
  .text-page-breadcrumbs { padding: 20px 0 0; }
  .text-page { padding: 24px 0 0; }
  .text-page__layout { flex-direction: column; gap: 24px; }
  .text-page__sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .text-page__sidebar-card {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 16px 20px;
  }
  .text-page__sidebar-link { font-size: 14px; }
  .text-page__sidebar-promo { width: 100%; height: 280px; }
  .text-page__sidebar-promo-title { font-size: 22px; }
  .text-page__sidebar-promo-subtitle { font-size: 16px; margin-bottom: 16px; }
  .text-page__content { padding: 24px 20px; }
  .text-page__title { font-size: 24px; margin-bottom: 16px; }
  .text-page__text { font-size: 15px; }
  .text-page__subtitle { font-size: 15px; }
  .text-page__list { font-size: 15px; }

  /* Contact page mobile */
  .contact-cards { flex-direction: column; gap: 16px; }
  .contact-cards__heading { font-size: 20px; min-height: auto; }
  .contact-cards__item { padding: 20px; }
  .contact-info { flex-direction: column; gap: 24px; padding: 20px; }
  .contact-info__divider { width: 100%; height: 1px; }
  .contact-form { padding: 20px; }
  .contact-form__row { flex-direction: column; gap: 16px; margin-bottom: 0; }
  .contact-form__field { margin-bottom: 16px; }
  .contact-form__field--full { margin-bottom: 16px; }
  .contact-map { padding: 20px; }
  .contact-map__embed iframe { height: 250px; }

  /* USP bar */
  .usp-bar { height: auto !important; overflow: hidden; }
  .usp-bar::before { display: none !important; }
  .usp-bar__logo-wrap { display: none !important; }
  .usp-bar__content { padding: 0 16px !important; }
  .usp-bar__list {
    flex: none !important;
    width: 100% !important;
    padding: 24px 16px !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .usp-item { flex: 0 0 calc(50% - 8px) !important; }

  /* Footer */
  .site-footer { overflow: hidden; }
  .site-footer__main { padding: 32px 16px; max-width: 100%; box-sizing: border-box; }
  .site-footer__top { flex-direction: column; gap: 16px; align-items: flex-start; margin-bottom: 32px; }
  .site-footer__logo { width: 180px; height: auto; }
  .site-footer__logo img { width: 180px; height: auto; }
  .site-footer__social { gap: 8px; }
  .site-footer__social-link { width: 40px; height: 40px; }
  .site-footer__columns { flex-direction: column; gap: 32px; }
  .site-footer__col { flex: 0 0 100%; max-width: none !important; }
  .site-footer__col--newsletter { padding-left: 0; }
  .site-footer__col-link { font-size: 14px; }
  .site-footer__col-title { font-size: 15px; }
  .site-footer__hours-row { flex-wrap: wrap; }
  .newsletter-box { padding: 20px; }
  .newsletter-box__title { font-size: 18px; line-height: 26px; }
  .newsletter-box__input { font-size: 14px; }

  /* Logos bar */
  .logos-bar__inner { padding: 16px; }
  .logos-bar__group { gap: 16px; }

  /* Copyright */
  .copyright-bar { padding: 20px 16px; }
  .copyright-bar__inner { flex-direction: column; gap: 12px; text-align: center; }
  .copyright-bar__dev { justify-content: center; }
}

/* ==========================================================================
   WooCommerce My Account
   ========================================================================== */

.account-page {
  padding: 32px 0 64px;
}

.account-page__header {
  margin-bottom: 24px;
}

.account-page__title {
  font-family: 'Archivo', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--t24-text-primary);
  margin: 0;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-nav {
  position: sticky;
  top: 120px;
}

.account-nav__list {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--t24-white);
  border: 1px solid var(--t24-border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.account-nav__item {
  margin: 0;
}

.account-nav__link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--t24-text-primary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.account-nav__link:hover {
  background: rgba(0, 71, 187, 0.06);
  color: var(--t24-blue);
}

.account-nav__item.is-active .account-nav__link,
.account-nav__item.woocommerce-MyAccount-navigation-link--active .account-nav__link {
  background: rgba(0, 71, 187, 0.1);
  color: var(--t24-blue);
  font-weight: 600;
}

.account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--t24-border);
}

.account-layout__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account-panel {
  margin: 0;
}

.account-panel__title {
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--t24-text-primary);
}

.account-panel__greeting,
.account-panel__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--t24-text-primary);
  margin: 0 0 12px;
}

.account-panel__desc a,
.account-form__lost a,
.account-order-link,
.account-layout__content a:not(.t24-btn):not(.button) {
  color: var(--t24-blue);
  text-decoration: none;
}

.account-panel__desc a:hover,
.account-form__lost a:hover,
.account-order-link:hover,
.account-layout__content a:not(.t24-btn):not(.button):hover {
  text-decoration: underline;
}

.account-order-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account-order-status-card {
  padding: 20px 24px;
}

.account-order-status__text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--t24-text-primary);
}

.account-order-status__text mark {
  background: transparent;
  color: inherit;
  font-weight: 600;
}

.account-order-status__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.account-order-status--pending,
.account-order-status--on-hold {
  background: rgba(255, 186, 0, 0.16);
  color: #9a7200;
}

.account-order-status--processing {
  background: rgba(0, 71, 187, 0.12);
  color: var(--t24-blue);
}

.account-order-status--completed {
  background: rgba(0, 138, 32, 0.12);
  color: #008a20;
}

.account-order-status--cancelled,
.account-order-status--failed,
.account-order-status--refunded {
  background: rgba(170, 0, 0, 0.1);
  color: #a00;
}

.account-order-notes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-order-notes__item {
  padding: 16px;
  border: 1px solid var(--t24-border);
  border-radius: 14px;
  background: var(--t24-bg-light, #f8f9fb);
}

.account-order-notes__meta {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--t24-text-gray);
}

.account-order-notes__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--t24-text-primary);
}

.account-order-notes__body p {
  margin: 0;
}

.account-table-wrap {
  overflow: hidden;
  border: 1px solid var(--t24-border);
  border-radius: 14px;
  background: var(--t24-white);
}

.woocommerce table.shop_table {
  border: 0;
  margin: 0;
  border-radius: 0;
}

.account-orders-table,
.account-order-table,
.account-layout__content .woocommerce-orders-table,
.account-layout__content .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  background: transparent;
  border: 0;
}

.account-orders-table th,
.account-orders-table td,
.account-order-table th,
.account-order-table td,
.account-layout__content .woocommerce-orders-table th,
.account-layout__content .woocommerce-orders-table td,
.account-layout__content .woocommerce-table--order-details th,
.account-layout__content .woocommerce-table--order-details td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--t24-border);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  vertical-align: middle;
}

.account-orders-table thead th,
.account-order-table thead th,
.account-layout__content .woocommerce-orders-table thead th,
.account-layout__content .woocommerce-table--order-details thead th {
  background: var(--t24-bg-light, #f8f9fb);
  font-size: 12px;
  font-weight: 700;
  color: var(--t24-text-gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--t24-border);
}

.account-orders-table tbody tr,
.account-order-table tbody tr {
  transition: background 0.15s ease;
}

.account-orders-table tbody tr:hover,
.account-order-table tbody tr:hover {
  background: rgba(0, 71, 187, 0.03);
}

.account-orders-table .woocommerce-orders-table__cell-order-actions,
.account-orders-table .woocommerce-orders-table__header-order-actions {
  text-align: right;
  white-space: nowrap;
}

.account-orders-table tbody tr:last-child td,
.account-orders-table tbody tr:last-child th,
.account-order-table tbody tr:last-child td,
.account-order-table tfoot tr:last-child th,
.account-order-table tfoot tr:last-child td,
.account-layout__content .woocommerce-orders-table tbody tr:last-child td,
.account-layout__content .woocommerce-orders-table tbody tr:last-child th,
.account-layout__content .woocommerce-table--order-details tbody tr:last-child td,
.account-layout__content .woocommerce-table--order-details tbody tr:last-child th {
  border-bottom: 0;
}

.account-order-table tfoot th,
.account-order-table tfoot td {
  background: var(--t24-bg-light, #f8f9fb);
}

.account-order-table__totals th {
  font-weight: 600;
  color: var(--t24-text-primary);
  width: 55%;
}

.account-order-table__totals tr:last-child th,
.account-order-table__totals tr:last-child td {
  font-size: 16px;
  font-weight: 700;
}

.account-order-link {
  font-weight: 600;
}

.account-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.account-empty p {
  margin: 0;
  font-size: 15px;
  color: var(--t24-text-gray);
}

.account-pagination {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.account-addresses__intro {
  margin: 0 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--t24-text-gray);
}

.account-addresses__grid {
  display: grid;
  gap: 20px;
  width: 100%;
}

.account-addresses__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-addresses__grid--1 {
  grid-template-columns: minmax(0, 1fr);
}

.account-address-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--t24-border);
  border-radius: 16px;
  background: var(--t24-bg-light, #f8f9fb);
}

.account-address-card--readonly {
  background: var(--t24-white);
}

.account-address-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-address-card__title {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--t24-text-primary);
}

.account-address-card__body {
  margin: 0;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--t24-text-primary);
  white-space: pre-line;
}

.account-address-card__empty {
  color: var(--t24-text-gray);
}

.account-address-card__meta {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--t24-text-gray);
}

.account-order-addresses .account-addresses__grid {
  margin-top: 4px;
}

.account-layout__content .col2-set::before,
.account-layout__content .col2-set::after,
.account-layout__content .u-columns::before,
.account-layout__content .u-columns::after {
  display: none;
}

.account-layout__content .col2-set .col-1,
.account-layout__content .col2-set .col-2,
.account-layout__content .col2-set .u-column1,
.account-layout__content .col2-set .u-column2,
.account-layout__content .woocommerce-columns .woocommerce-column,
.account-layout__content .woocommerce-columns .col-1,
.account-layout__content .woocommerce-columns .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}

.account-auth {
  max-width: 960px;
  margin: 0 auto;
}

.account-auth__head {
  text-align: center;
  margin-bottom: 32px;
}

.account-auth__head--narrow {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.account-auth__title {
  font-family: 'Archivo', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--t24-text-primary);
}

.account-auth__lead {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--t24-text-gray);
  margin: 0;
}

.account-auth__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.account-auth__card-title {
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--t24-text-primary);
}

.account-auth__card--single {
  max-width: 520px;
  margin: 0 auto;
}

.account-auth__register-note {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--t24-text-gray);
  margin-top: 16px;
}

.account-form .form-row {
  margin: 0 0 16px;
}

.account-form__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.account-form__remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--t24-text-primary);
  cursor: pointer;
}

.account-form__lost {
  margin: 16px 0 0;
  font-size: 14px;
}

.account-form__hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--t24-text-gray);
}

.account-form__fieldset {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--t24-border);
}

.account-form__legend {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--t24-text-primary);
  padding: 0;
  margin-bottom: 16px;
}

.account-form__submit {
  margin: 24px 0 0;
}

.account-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-fields-grid .form-row {
  margin-bottom: 0;
}

.account-layout__content .woocommerce-address-fields,
.account-layout__content .woocommerce-MyAccount-paymentMethods {
  background: var(--t24-white);
  border: 1px solid var(--t24-border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 24px;
}

.account-layout__content .button:not(.t24-btn),
.account-layout__content .woocommerce-button:not(.t24-btn),
.account-auth .button:not(.t24-btn),
.account-auth .woocommerce-button:not(.t24-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid var(--t24-blue);
  background: var(--t24-blue);
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.account-layout__content .button:not(.t24-btn):hover,
.account-layout__content .woocommerce-button:not(.t24-btn):hover,
.account-auth .button:not(.t24-btn):hover,
.account-auth .woocommerce-button:not(.t24-btn):hover {
  background: var(--t24-blue-dark);
  border-color: var(--t24-blue-dark);
  color: #fff !important;
}

.account-layout__content a.button.t24-btn,
.account-layout__content .woocommerce-button.t24-btn,
.account-layout__content button.button.t24-btn,
.account-auth a.button.t24-btn,
.account-auth .woocommerce-button.t24-btn,
.account-auth button.button.t24-btn,
.account-auth button.woocommerce-Button.t24-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  padding: 12px 20px !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  cursor: pointer;
}

.account-layout__content a.button.t24-btn-primary,
.account-layout__content .woocommerce-button.t24-btn-primary,
.account-layout__content button.button.t24-btn-primary,
.account-auth a.button.t24-btn-primary,
.account-auth .woocommerce-button.t24-btn-primary,
.account-auth button.button.t24-btn-primary,
.account-auth button.woocommerce-Button.t24-btn-primary {
  background: var(--t24-blue) !important;
  border: 1px solid var(--t24-blue) !important;
  color: #fff !important;
}

.account-layout__content a.button.t24-btn-primary:hover,
.account-layout__content .woocommerce-button.t24-btn-primary:hover,
.account-layout__content button.button.t24-btn-primary:hover,
.account-auth a.button.t24-btn-primary:hover,
.account-auth .woocommerce-button.t24-btn-primary:hover,
.account-auth button.button.t24-btn-primary:hover,
.account-auth button.woocommerce-Button.t24-btn-primary:hover {
  background: var(--t24-blue-dark) !important;
  border-color: var(--t24-blue-dark) !important;
  color: #fff !important;
}

.account-layout__content a.button.t24-btn-block,
.account-layout__content .woocommerce-button.t24-btn-block,
.account-layout__content button.button.t24-btn-block,
.account-auth a.button.t24-btn-block,
.account-auth .woocommerce-button.t24-btn-block,
.account-auth button.button.t24-btn-block,
.account-auth button.woocommerce-Button.t24-btn-block {
  width: 100% !important;
}

.account-layout__content a.button.t24-btn-sm,
.account-layout__content .woocommerce-button.t24-btn-sm {
  padding: 10px 18px !important;
  font-size: 13px !important;
  border-radius: 14px !important;
}

.account-layout__content .woocommerce-message,
.account-layout__content .woocommerce-info,
.account-layout__content .woocommerce-error,
.account-page .t24-wc-notices .woocommerce-message,
.account-page .t24-wc-notices .woocommerce-info,
.account-page .t24-wc-notices .woocommerce-error {
  margin-bottom: 0;
}

.account-layout__content .input-text,
.account-auth .input-text,
.account-layout__content select,
.account-layout__content textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--t24-border);
  border-radius: 12px;
  background: var(--t24-white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--t24-text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.account-layout__content .input-text:focus,
.account-auth .input-text:focus,
.account-layout__content select:focus,
.account-layout__content textarea:focus {
  border-color: var(--t24-blue);
  box-shadow: 0 0 0 3px rgba(0, 71, 187, 0.12);
}

@media (max-width: 991px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-nav {
    position: static;
  }

  .account-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px;
  }

  .account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .account-auth__grid,
  .account-addresses__grid--2,
  .account-fields-grid {
    grid-template-columns: 1fr;
  }

  .account-address-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .account-page {
    padding: 24px 0 48px;
  }

  .account-page__title,
  .account-auth__title {
    font-size: 26px;
  }

  .account-orders-table thead,
  .account-order-table thead {
    display: none;
  }

  .account-orders-table tr,
  .account-order-table tbody tr {
    display: block;
    border-bottom: 1px solid var(--t24-border);
    padding: 12px 0;
  }

  .account-orders-table td,
  .account-orders-table th,
  .account-order-table td,
  .account-order-table th {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    padding: 8px 16px;
  }

  .account-orders-table td::before,
  .account-orders-table th::before,
  .account-order-table td::before,
  .account-order-table th::before {
    content: attr(data-title);
    font-weight: 600;
    color: var(--t24-text-gray);
  }
}
