html,
body {
  overflow-x: hidden !important;
}

body.home,
body.blog {
  overflow: visible !important;
}

body.home main,
body.blog main,
.site,
.site-content,
.content-area,
.wp-site-blocks,
.entry-content {
  overflow: visible !important;
  height: auto !important;
  min-height: 100vh !important;
}

body.home img,
body.blog img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* ===== TOMZEE RIGHT HIDDEN MENU FIX ===== */

/* NAV BASE */
.tomzee-pill-nav {
  position: fixed !important;
  top: 24px !important;
  left: 4vw !important;
  right: 4vw !important;
  z-index: 99999 !important;
  pointer-events: none !important;
}

/* LOGO SIMPLU STÂNGA */
.tomzee-pill-nav .nav-logo {
  pointer-events: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  min-width: auto !important;
  height: auto !important;
  padding: 0 !important;
  color: var(--charcoal) !important;
  text-shadow: none !important;
  font-size: 18px !important;
  letter-spacing: 0.32em !important;
}

/* MENIU ASCUNS DREAPTA */
.nav-menu-pill {
  position: fixed !important;
  top: 24px !important;
  right: calc(4vw + 72px) !important;
  left: auto !important;
  width: 112px !important;
  min-width: 112px !important;
  height: 56px !important;
  padding: 0 52px 0 22px !important;
  border-radius: 999px !important;
  background: rgba(236, 238, 255, 0.72) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
  box-shadow: 0 16px 40px rgba(32,31,31,0.14) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 100000 !important;
}

/* CÂND SE DESCHIDE */
.nav-menu-pill.open {
  width: 560px !important;
  min-width: 560px !important;
}

/* 01 VIZIBIL */
.nav-menu-count {
  display: block !important;
  color: var(--charcoal) !important;
  text-shadow: none !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  pointer-events: none !important;
}

/* LINKURI ASCUNSE INIȚIAL */
.nav-pill-links {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(14px) !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
}

/* LINKURI VIZIBILE CÂND E OPEN */
.nav-menu-pill.open .nav-pill-links {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0) !important;
  pointer-events: auto !important;
}

/* LINK STYLE */
.nav-pill-links a {
  color: var(--charcoal) !important;
  text-shadow: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

/* BUTON CLICKABIL */
.tomzee-pill-nav .menu-btn {
  display: flex !important;
  position: absolute !important;
  right: 9px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  background: rgba(255,255,255,0.35) !important;
  color: var(--charcoal) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 100001 !important;
}

/* COȘ DREAPTA */
.nav-cart-cluster {
  position: fixed !important;
  top: 24px !important;
  right: 4vw !important;
  pointer-events: auto !important;
  z-index: 100000 !important;
}

.tomzee-pill-nav .cart-btn {
  width: 56px !important;
  height: 56px !important;
  background: rgba(236, 238, 255, 0.72) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
  color: var(--charcoal) !important;
  box-shadow: 0 16px 40px rgba(32,31,31,0.14) !important;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-menu-pill {
    top: 20px !important;
    right: 82px !important;
    width: 96px !important;
    min-width: 96px !important;
    height: 50px !important;
  }

  .nav-menu-pill.open {
    width: calc(100vw - 36px) !important;
    min-width: calc(100vw - 36px) !important;
    right: 18px !important;
  }

  .nav-pill-links {
    gap: 14px !important;
  }

  .nav-pill-links a {
    font-size: 10px !important;
  }

  .nav-cart-cluster {
    top: 20px !important;
    right: 18px !important;
  }

  .tomzee-pill-nav .cart-btn {
    width: 50px !important;
    height: 50px !important;
  }
}
/* ===== MENU COLOR UPDATE ===== */
.nav-menu-count,
.nav-pill-links a,
.tomzee-pill-nav .menu-btn,
.tomzee-pill-nav .cart-btn {
  color: #800020 !important;
}

.nav-menu-pill {
  border-color: rgba(128, 0, 32, 0.22) !important;
}

.nav-pill-links a:hover,
.nav-pill-links a.active,
.tomzee-pill-nav .menu-btn:hover,
.tomzee-pill-nav .cart-btn:hover {
  color: #ffc101 !important;
}

/* Hide homepage bottom premium / scroll text */
.home-bottom {
  display: none !important;
}

/* ===== LOGO TRANSFORMS INTO FAVICON ON HOVER ===== */

.tomzee-pill-nav .nav-logo {
  position: relative !important;
  width: 150px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* logo normal */
.tomzee-pill-nav .nav-logo svg,
.tomzee-pill-nav .nav-logo img,
.tomzee-pill-nav .nav-logo .logo-fallback {
  opacity: 1 !important;
  transform: scale(1) rotate(0deg) !important;
  filter: none !important;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    filter 0.28s ease !important;
}

/* favicon ascuns inițial */
.tomzee-pill-nav .nav-logo::after {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 42px !important;
  height: 42px !important;
  background-image: url('/wp-content/uploads/2026/05/cropped-Mark-Logo.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.65) rotate(-8deg) !important;
  filter: drop-shadow(0 10px 22px rgba(128, 0, 32, 0.18)) !important;
  pointer-events: none !important;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    filter 0.28s ease !important;
}

/* la hover: logo-ul dispare */
.tomzee-pill-nav .nav-logo:hover svg,
.tomzee-pill-nav .nav-logo:hover img,
.tomzee-pill-nav .nav-logo:hover .logo-fallback {
  opacity: 0 !important;
  transform: scale(0.82) rotate(4deg) !important;
  filter: blur(3px) !important;
}

/* la hover: apare favicon-ul */
.tomzee-pill-nav .nav-logo:hover::after {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) rotate(-8deg) !important;
}

/* mobile */
@media (max-width: 768px) {
  .tomzee-pill-nav .nav-logo {
    width: 118px !important;
    height: 42px !important;
  }

  .tomzee-pill-nav .nav-logo::after {
    width: 34px !important;
    height: 34px !important;
  }
}
/* MENU 01 COLOR */
.nav-menu-count {
  color: #ffc101 !important;
}

/* Subtle highlight for Limited Edition Only */
.street-copy.right {
  color: rgba(128, 0, 32, 0.045) !important;
  text-shadow:
    0 0 10px rgba(255, 193, 1, 0.08),
    0 0 24px rgba(255, 193, 1, 0.05);
}

.street-copy.right::before {
  content: '';
  position: absolute;
  inset: -10px -18px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 193, 1, 0.045) 0%,
    rgba(255, 193, 1, 0.025) 42%,
    transparent 72%
  );
  border-radius: 999px;
  z-index: -1;
  filter: blur(8px);
  pointer-events: none;
}

/* ===== MAKE PRODUCT PAGE + FOOTER SAME BACKGROUND ===== */

body,
html {
  background: #d4d8f0 !important;
}

.product-page,
.product-wrap,
.product-hero,
.product-main,
main,
.site,
.site-content,
.content-area {
  background: #d4d8f0 !important;
}

.site-footer {
  background: #d4d8f0 !important;
  margin-top: 0 !important;
  border-top: none !important;
}

.site-footer::before {
  background: rgba(128, 0, 32, 0.16) !important;
}

/* elimină orice bandă albă între produs și footer */
.product-page + .site-footer,
main + .site-footer {
  margin-top: 0 !important;
}

/* ===== GLOBAL TOMZEE PAGE BACKGROUND FIX ===== */

html,
body {
  background: #d4d8f0 !important;
}

.site,
.site-content,
.content-area,
main,
.page,
.entry-content,
.wp-site-blocks {
  background: #d4d8f0 !important;
}

/* toate paginile custom */
.home-wrap,
.about-page,
.contact-page,
.policies-page,
.shop-page,
.product-page,
.product-wrap,
.product-hero,
.product-main {
  background: #d4d8f0 !important;
}

/* footer integrat cu restul paginii */
.site-footer {
  background: #d4d8f0 !important;
  margin-top: 0 !important;
  border-top: none !important;
}

/* elimină diferența albă dintre main și footer */
main + .site-footer,
.product-page + .site-footer,
.shop-page + .site-footer,
.about-page + .site-footer,
.contact-page + .site-footer,
.policies-page + .site-footer {
  margin-top: 0 !important;
}

/* ===== HOMEPAGE BACKGROUND + FOOTER FIX ===== */

.home-wrap,
.home-canvas,
.home-bg,
.home-bg::before {
  background: #d4d8f0 !important;
}

.home-bg::after {
  display: none !important;
}

/* scoate textul de jos de pe prima pagină */
.home-bottom {
  display: none !important;
}

/* footer identic cu homepage */
.home .site-footer,
body.home .site-footer {
  background: #d4d8f0 !important;
  margin-top: 0 !important;
}

/* ascunde comentariile pe homepage */
.home .comments-area,
.home #comments,
.home .comment-respond,
.home #respond,
.home .comment-form,
.home .comment-list,
.home .wp-block-comments,
.home .wp-block-post-comments {
  display: none !important;
}


/* ===== TOMZEE WOO CART PAGE ===== */

body.woocommerce-cart,
body.woocommerce-cart .site,
body.woocommerce-cart main,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-site-blocks {
  background: #d4d8f0 !important;
}

body.woocommerce-cart .entry-title,
body.woocommerce-cart h1 {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(54px, 9vw, 130px) !important;
  font-weight: 900 !important;
  line-height: 0.86 !important;
  letter-spacing: -0.08em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  margin: 140px auto 40px !important;
  max-width: 1180px !important;
  padding: 0 6vw !important;
}

/* Main cart wrapper */
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .wp-block-woocommerce-cart {
  max-width: 1180px !important;
  margin: 0 auto 90px !important;
  padding: 0 6vw !important;
  position: relative !important;
}

/* Classic Woo cart table */
body.woocommerce-cart table.shop_table {
  border: 1px solid rgba(128, 0, 32, 0.14) !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  background: rgba(236, 238, 255, 0.68) !important;
  box-shadow: 0 24px 80px rgba(32, 31, 31, 0.09) !important;
  backdrop-filter: blur(18px) !important;
}

body.woocommerce-cart table.shop_table th {
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  background: rgba(255, 193, 1, 0.12) !important;
  padding: 18px !important;
}

body.woocommerce-cart table.shop_table td {
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  color: rgba(32, 31, 31, 0.72) !important;
  border-color: rgba(128, 0, 32, 0.10) !important;
  padding: 18px !important;
}

body.woocommerce-cart .product-name a {
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  text-decoration: none !important;
}

body.woocommerce-cart .product-thumbnail img {
  width: 90px !important;
  height: 90px !important;
  object-fit: contain !important;
  background: rgba(255,255,255,0.35) !important;
  border-radius: 18px !important;
  padding: 8px !important;
}

/* Quantity */
body.woocommerce-cart .quantity input.qty {
  width: 70px !important;
  height: 42px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(128, 0, 32, 0.20) !important;
  background: rgba(255,255,255,0.48) !important;
  color: #201f1f !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 900 !important;
}

/* Coupon / update buttons */
body.woocommerce-cart .coupon input.input-text,
body.woocommerce-cart .coupon .input-text {
  min-height: 48px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(128,0,32,0.18) !important;
  background: rgba(255,255,255,0.48) !important;
  padding: 0 18px !important;
  font-family: 'Lato', sans-serif !important;
}

body.woocommerce-cart button.button,
body.woocommerce-cart a.button,
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-cart .wp-element-button {
  border-radius: 999px !important;
  border: none !important;
  background: #800020 !important;
  color: #eceeff !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  min-height: 48px !important;
  padding: 0 24px !important;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

body.woocommerce-cart button.button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart .wc-block-components-button:hover,
body.woocommerce-cart .wp-element-button:hover {
  background: #ffc101 !important;
  color: #201f1f !important;
  transform: translateY(-2px) !important;
}

/* Cart totals */
body.woocommerce-cart .cart_totals {
  border-radius: 32px !important;
  padding: 30px !important;
  background:
    radial-gradient(circle at top right, rgba(255,193,1,0.16), transparent 34%),
    rgba(236,238,255,0.72) !important;
  border: 1px solid rgba(128,0,32,0.14) !important;
  box-shadow: 0 24px 80px rgba(32,31,31,0.09) !important;
  backdrop-filter: blur(18px) !important;
}

body.woocommerce-cart .cart_totals h2 {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(28px, 4vw, 52px) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.05em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  margin-bottom: 20px !important;
}

body.woocommerce-cart .cart_totals table {
  background: transparent !important;
  border: none !important;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
  font-family: 'Lato', sans-serif !important;
  border-color: rgba(128,0,32,0.10) !important;
  color: rgba(32,31,31,0.72) !important;
}

body.woocommerce-cart .order-total strong,
body.woocommerce-cart .order-total .amount {
  color: #800020 !important;
  font-weight: 900 !important;
}

/* Block cart */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  background: transparent !important;
}

body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart__totals-title,
body.woocommerce-cart .wc-block-components-sidebar {
  border-color: rgba(128, 0, 32, 0.14) !important;
}

body.woocommerce-cart .wc-block-cart-items {
  border-radius: 32px !important;
  overflow: hidden !important;
  background: rgba(236, 238, 255, 0.68) !important;
  box-shadow: 0 24px 80px rgba(32,31,31,0.09) !important;
  backdrop-filter: blur(18px) !important;
}

body.woocommerce-cart .wc-block-cart-item__wrap a,
body.woocommerce-cart .wc-block-components-product-name {
  font-family: 'Lato', sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  text-decoration: none !important;
}

body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-sidebar {
  background:
    radial-gradient(circle at top right, rgba(255,193,1,0.16), transparent 34%),
    rgba(236,238,255,0.72) !important;
  border-radius: 32px !important;
  border: 1px solid rgba(128,0,32,0.14) !important;
  box-shadow: 0 24px 80px rgba(32,31,31,0.09) !important;
  padding: 24px !important;
}

body.woocommerce-cart .wc-block-cart__totals-title {
  font-family: 'Lato', sans-serif !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #800020 !important;
}

/* Empty cart */
body.woocommerce-cart .cart-empty,
body.woocommerce-cart .wc-block-cart__empty-cart__title {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(28px, 4vw, 52px) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  text-align: center !important;
}

body.woocommerce-cart .return-to-shop {
  text-align: center !important;
}

/* Notices */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  border-radius: 24px !important;
  border: 1px solid rgba(128,0,32,0.16) !important;
  background: rgba(236,238,255,0.78) !important;
  color: #201f1f !important;
  font-family: 'Lato', sans-serif !important;
  box-shadow: 0 16px 50px rgba(32,31,31,0.08) !important;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before {
  color: #ffc101 !important;
}

/* Mobile */
@media (max-width: 768px) {
  body.woocommerce-cart .entry-title,
  body.woocommerce-cart h1 {
    margin-top: 112px !important;
    padding: 0 22px !important;
  }

  body.woocommerce-cart .woocommerce,
  body.woocommerce-cart .wp-block-woocommerce-cart {
    padding: 0 22px !important;
  }

  body.woocommerce-cart table.shop_table {
    border-radius: 24px !important;
  }

  body.woocommerce-cart .cart_totals,
  body.woocommerce-cart .wc-block-components-sidebar {
    border-radius: 24px !important;
    padding: 22px !important;
  }
}

/* ===== TOMZEE PREMIUM CART DRAWER STYLE ===== */

.cart-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(32, 31, 31, 0.16) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 99990 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.28s ease !important;
}

.cart-overlay.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.cart-drawer {
  position: fixed !important;
  top: 104px !important;
  left: 4vw !important;
  right: auto !important;
  bottom: auto !important;
  width: 390px !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - 132px) !important;
  background: rgba(236, 238, 255, 0.82) !important;
  border: 1px solid rgba(128, 0, 32, 0.16) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 90px rgba(32, 31, 31, 0.18) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  z-index: 100000 !important;
  transform: translateY(-16px) scale(0.96) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transition:
    opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.32s ease,
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cart-drawer.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.cart-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 20px 14px !important;
  border-bottom: 1px solid rgba(128, 0, 32, 0.12) !important;
}

.cart-header h2 {
  font-family: 'Lato', sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  margin: 0 !important;
}

.cart-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(128, 0, 32, 0.16) !important;
  background: rgba(255, 255, 255, 0.38) !important;
  color: #800020 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease !important;
}

.cart-close:hover {
  transform: rotate(90deg) scale(1.04) !important;
  color: #ffc101 !important;
  background: rgba(255, 255, 255, 0.58) !important;
}

.cart-body {
  padding: 18px 20px !important;
  overflow-y: auto !important;
  max-height: 380px !important;
}

.cart-empty {
  min-height: 190px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 16px !important;
}

.cart-empty p {
  font-family: 'Lato', sans-serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  margin: 0 !important;
}

.cart-empty a {
  min-height: 44px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: #800020 !important;
  color: #eceeff !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cart-empty a:hover {
  background: #ffc101 !important;
  color: #201f1f !important;
}

.cart-item {
  display: grid !important;
  grid-template-columns: 76px 1fr !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(128, 0, 32, 0.10) !important;
}

.cart-item:first-child {
  padding-top: 0 !important;
}

.cart-item-img {
  width: 76px !important;
  height: 76px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.46) !important;
  border: 1px solid rgba(128, 0, 32, 0.10) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cart-item-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 6px !important;
}

.cart-item-info {
  min-width: 0 !important;
}

.cart-item-name {
  font-family: 'Lato', sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  margin-bottom: 5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.cart-item-variant {
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: rgba(32, 31, 31, 0.52) !important;
  margin-bottom: 5px !important;
}

.cart-item-price {
  font-family: 'Lato', sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  color: #201f1f !important;
}

.cart-remove {
  display: inline-block !important;
  margin-top: 8px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(128, 0, 32, 0.55) !important;
  text-decoration: none !important;
}

.cart-remove:hover {
  color: #ffc101 !important;
}

.cart-footer {
  padding: 16px 20px 20px !important;
  border-top: 1px solid rgba(128, 0, 32, 0.12) !important;
  background: rgba(236, 238, 255, 0.52) !important;
}

.cart-subtotal {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.cart-subtotal span:first-child {
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(32, 31, 31, 0.58) !important;
}

.cart-subtotal span:last-child {
  font-family: 'Lato', sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #800020 !important;
}

.cart-shipping-note {
  font-family: 'Lato', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: rgba(32, 31, 31, 0.44) !important;
  margin: 0 0 14px !important;
}

.cart-checkout-btn {
  width: 100% !important;
  min-height: 50px !important;
  border-radius: 999px !important;
  background: #800020 !important;
  color: #eceeff !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease !important;
}

.cart-checkout-btn:hover {
  background: #ffc101 !important;
  color: #201f1f !important;
  transform: translateY(-2px) !important;
}

/* make page background behind cart consistent */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
  background: #d4d8f0 !important;
}

@media (max-width: 768px) {
  .cart-drawer {
    top: 86px !important;
    left: 18px !important;
    width: calc(100vw - 36px) !important;
    max-height: calc(100vh - 110px) !important;
    border-radius: 22px !important;
  }

  .cart-body {
    max-height: 350px !important;
  }

  .cart-header {
    padding: 16px 18px 12px !important;
  }

  .cart-body,
  .cart-footer {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* ===== TOMZEE CART PAGE — MINIMAL PANEL STYLE ===== */

body.woocommerce-cart,
body.woocommerce-cart html,
body.woocommerce-cart .site,
body.woocommerce-cart main,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-site-blocks {
  background: #d4d8f0 !important;
}

/* Page background */
body.woocommerce-cart .tomzee-system-page {
  min-height: 100vh !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(128, 0, 32, 0.10), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(255, 193, 1, 0.10), transparent 30%),
    #d4d8f0 !important;
  padding: 120px 4vw 80px !important;
  overflow: hidden !important;
  position: relative !important;
}

/* subtle brand texture */
body.woocommerce-cart .tomzee-system-page::before {
  content: 'TOMZEE';
  position: fixed;
  right: -5vw;
  top: 18vh;
  z-index: 0;
  font-family: 'Lato', sans-serif;
  font-size: clamp(90px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: rgba(128, 0, 32, 0.035);
  transform: rotate(6deg);
  pointer-events: none;
}

body.woocommerce-cart .tomzee-system-page::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(32,31,31,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,31,31,0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.35;
  pointer-events: none;
}

/* hide big page heading */
body.woocommerce-cart .tomzee-system-kicker,
body.woocommerce-cart .tomzee-system-title {
  display: none !important;
}

body.woocommerce-cart .tomzee-system-inner {
  position: relative !important;
  z-index: 2 !important;
  max-width: none !important;
  margin: 0 !important;
}

/* cart panel position */
body.woocommerce-cart .tomzee-system-content,
body.woocommerce-cart .woocommerce {
  width: 410px !important;
  max-width: calc(100vw - 32px) !important;
  position: relative !important;
  z-index: 5 !important;
}

/* main cart card */
body.woocommerce-cart .woocommerce {
  background: rgba(236, 238, 255, 0.78) !important;
  border: 1px solid rgba(128, 0, 32, 0.16) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 90px rgba(32, 31, 31, 0.16) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  padding: 18px !important;
  overflow: hidden !important;
}

/* panel title */
body.woocommerce-cart .woocommerce::before {
  content: 'Cart';
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #800020;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(128, 0, 32, 0.14);
}

/* empty cart */
body.woocommerce-cart .cart-empty,
body.woocommerce-cart .wc-block-cart__empty-cart__title {
  margin: 0 !important;
  padding: 34px 14px 18px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
}

body.woocommerce-cart .cart-empty::after,
body.woocommerce-cart .wc-block-cart__empty-cart__title::after {
  content: 'Your cart is waiting for the first TOMZEE piece.';
  display: block;
  max-width: 290px;
  margin: 14px auto 0;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(32, 31, 31, 0.52);
}

/* return to shop */
body.woocommerce-cart .return-to-shop {
  text-align: center !important;
  margin: 18px 0 0 !important;
}

body.woocommerce-cart .return-to-shop a {
  width: 100% !important;
  min-height: 50px !important;
  border-radius: 999px !important;
  background: #800020 !important;
  color: #eceeff !important;
  border: none !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

body.woocommerce-cart .return-to-shop a:hover {
  background: #ffc101 !important;
  color: #201f1f !important;
  transform: translateY(-2px) !important;
}

/* classic cart table when products exist */
body.woocommerce-cart table.shop_table {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
}

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

body.woocommerce-cart table.shop_table tr.cart_item {
  display: grid !important;
  grid-template-columns: 78px 1fr auto !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(128, 0, 32, 0.12) !important;
}

body.woocommerce-cart table.shop_table td {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  font-family: 'Lato', sans-serif !important;
}

body.woocommerce-cart .product-remove {
  order: 3 !important;
}

body.woocommerce-cart .product-remove a {
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: rgba(128, 0, 32, 0.10) !important;
  color: #800020 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

body.woocommerce-cart .product-thumbnail {
  order: 1 !important;
}

body.woocommerce-cart .product-thumbnail img {
  width: 78px !important;
  height: 78px !important;
  object-fit: contain !important;
  background: rgba(255, 255, 255, 0.42) !important;
  border: 1px solid rgba(128, 0, 32, 0.10) !important;
  border-radius: 18px !important;
  padding: 8px !important;
}

body.woocommerce-cart .product-name {
  order: 2 !important;
}

body.woocommerce-cart .product-name a {
  font-family: 'Lato', sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  text-decoration: none !important;
}

body.woocommerce-cart .product-price,
body.woocommerce-cart .product-quantity,
body.woocommerce-cart .product-subtotal {
  grid-column: 2 / -1 !important;
  margin-top: 4px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(32, 31, 31, 0.55) !important;
}

body.woocommerce-cart .quantity input.qty {
  width: 64px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(128, 0, 32, 0.20) !important;
  background: rgba(255, 255, 255, 0.48) !important;
  color: #201f1f !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 900 !important;
}

/* coupon / actions */
body.woocommerce-cart .actions {
  padding-top: 16px !important;
}

body.woocommerce-cart .coupon {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
}

body.woocommerce-cart .coupon input.input-text {
  width: 100% !important;
  min-height: 44px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(128, 0, 32, 0.18) !important;
  background: rgba(255, 255, 255, 0.48) !important;
  padding: 0 16px !important;
  font-family: 'Lato', sans-serif !important;
}

/* buttons */
body.woocommerce-cart button.button,
body.woocommerce-cart a.button,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-cart .wp-element-button {
  border-radius: 999px !important;
  border: none !important;
  background: #800020 !important;
  color: #eceeff !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  min-height: 44px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

body.woocommerce-cart button.button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart .wc-block-components-button:hover,
body.woocommerce-cart .wp-element-button:hover {
  background: #ffc101 !important;
  color: #201f1f !important;
  transform: translateY(-2px) !important;
}

/* totals */
body.woocommerce-cart .cart-collaterals {
  margin-top: 18px !important;
}

body.woocommerce-cart .cart_totals {
  float: none !important;
  width: 100% !important;
  border-radius: 0 !important;
  padding: 18px 0 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

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

body.woocommerce-cart .cart_totals table {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  margin-bottom: 16px !important;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
  border: none !important;
  padding: 5px 0 !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 12px !important;
  color: rgba(32, 31, 31, 0.58) !important;
}

body.woocommerce-cart .cart_totals td {
  text-align: right !important;
}

body.woocommerce-cart .order-total th,
body.woocommerce-cart .order-total td,
body.woocommerce-cart .order-total strong,
body.woocommerce-cart .order-total .amount {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #800020 !important;
}

/* checkout button full width */
body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100% !important;
  min-height: 52px !important;
  background: #800020 !important;
  color: #eceeff !important;
}

/* block cart fallback */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  background: transparent !important;
}

body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-components-totals-wrapper {
  border-radius: 24px !important;
  background: rgba(236, 238, 255, 0.78) !important;
  border: 1px solid rgba(128, 0, 32, 0.16) !important;
  box-shadow: 0 28px 90px rgba(32, 31, 31, 0.12) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  padding: 22px !important;
}

/* notices */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  border-radius: 20px !important;
  border: 1px solid rgba(128, 0, 32, 0.16) !important;
  background: rgba(236, 238, 255, 0.78) !important;
  color: #201f1f !important;
  font-family: 'Lato', sans-serif !important;
  box-shadow: 0 16px 50px rgba(32, 31, 31, 0.08) !important;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before {
  color: #ffc101 !important;
}

/* mobile */
@media (max-width: 768px) {
  body.woocommerce-cart .tomzee-system-page {
    padding: 104px 18px 70px !important;
  }

  body.woocommerce-cart .tomzee-system-content,
  body.woocommerce-cart .woocommerce {
    width: 100% !important;
  }

  body.woocommerce-cart .woocommerce {
    border-radius: 22px !important;
    padding: 16px !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item {
    grid-template-columns: 70px 1fr auto !important;
  }

  body.woocommerce-cart .product-thumbnail img {
    width: 70px !important;
    height: 70px !important;
  }
}

/* ===== TOMZEE CHECKOUT — CLEAN CUSTOM DESIGN ===== */

body.woocommerce-checkout,
body.woocommerce-checkout .site,
body.woocommerce-checkout main,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .wp-site-blocks {
  background: #d4d8f0 !important;
  overflow-x: hidden !important;
}

body.woocommerce-checkout .entry-title,
body.woocommerce-checkout h1.entry-title {
  display: none !important;
}

/* Main custom checkout page */
body.woocommerce-checkout .tomzee-system-page {
  min-height: 100vh !important;
  padding: 135px 5vw 90px !important;
  background: #d4d8f0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Main 2-column layout: left branding, right checkout */
body.woocommerce-checkout .tomzee-system-inner {
  max-width: 1280px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 620px) !important;
  gap: clamp(40px, 7vw, 110px) !important;
  align-items: start !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Left side text */
body.woocommerce-checkout .tomzee-system-kicker,
body.woocommerce-checkout .tomzee-system-title {
  grid-column: 1 !important;
}

body.woocommerce-checkout .tomzee-system-kicker {
  font-family: 'Lato', sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: #ffc101 !important;
  margin-bottom: 18px !important;
}

body.woocommerce-checkout .tomzee-system-title {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(64px, 9vw, 132px) !important;
  font-weight: 900 !important;
  line-height: 0.82 !important;
  letter-spacing: -0.08em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
  margin: 0 !important;
}

/* Right checkout area */
body.woocommerce-checkout .tomzee-system-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  grid-column: 2 !important;
  width: 100% !important;
  max-width: 620px !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Stop Woo checkout from breaking into tiny columns */
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Checkout card */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout .woocommerce {
  background: rgba(236, 238, 255, 0.78) !important;
  border: 1px solid rgba(128, 0, 32, 0.16) !important;
  border-radius: 34px !important;
  padding: 34px !important;
  box-shadow: 0 30px 90px rgba(32, 31, 31, 0.13) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  overflow: visible !important;
}

/* Main + sidebar full width inside card */
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 0 24px 0 !important;
  position: static !important;
  box-sizing: border-box !important;
}

/* Titles */
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout #order_review_heading {
  font-family: 'Lato', sans-serif !important;
  font-size: 34px !important;
  line-height: 0.95 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  text-transform: uppercase !important;
  color: #800020 !important;
}

/* Inputs */
body.woocommerce-checkout input,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(128, 0, 32, 0.16) !important;
  background: rgba(255, 255, 255, 0.58) !important;
  color: #201f1f !important;
  box-sizing: border-box !important;
}

/* Buttons */
body.woocommerce-checkout button,
body.woocommerce-checkout .button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout #place_order {
  background: #800020 !important;
  color: #eceeff !important;
  border-radius: 999px !important;
  border: none !important;
  min-height: 56px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

body.woocommerce-checkout button:hover,
body.woocommerce-checkout .button:hover,
body.woocommerce-checkout .wc-block-components-button:hover,
body.woocommerce-checkout #place_order:hover {
  background: #ffc101 !important;
  color: #201f1f !important;
}

/* Background words */
body.woocommerce-checkout .tomzee-system-page::before {
  content: 'CHECKOUT';
  position: fixed;
  left: -5vw;
  top: 22vh;
  font-family: 'Lato', sans-serif;
  font-size: clamp(90px, 16vw, 240px);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(128, 0, 32, 0.045);
  transform: rotate(-7deg);
  pointer-events: none;
}

body.woocommerce-checkout .tomzee-system-page::after {
  content: 'SECURE';
  position: fixed;
  right: -5vw;
  bottom: 10vh;
  font-family: 'Lato', sans-serif;
  font-size: clamp(90px, 16vw, 240px);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(32, 31, 31, 0.035);
  transform: rotate(6deg);
  pointer-events: none;
}

/* Mobile */
@media (max-width: 900px) {
  body.woocommerce-checkout .tomzee-system-page {
    padding: 110px 22px 70px !important;
  }

  body.woocommerce-checkout .tomzee-system-inner {
    display: block !important;
  }

  body.woocommerce-checkout .tomzee-system-content,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    max-width: 100% !important;
  }

  body.woocommerce-checkout .tomzee-system-title {
    font-size: 56px !important;
    margin-bottom: 34px !important;
  }

  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout .woocommerce {
    padding: 24px !important;
    border-radius: 26px !important;
  }
}

/* ===== TOMZEE CHECKOUT — FIX CLASSIC WOOCOMMERCE BROKEN WIDTH ===== */

/* Keep right checkout panel wide enough */
body.woocommerce-checkout .tomzee-system-content,
body.woocommerce-checkout .woocommerce {
  width: 100% !important;
  max-width: 620px !important;
  min-width: 540px !important;
  box-sizing: border-box !important;
}

/* Coupon notice full width */
body.woocommerce-checkout .woocommerce-info {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  padding: 18px 24px 18px 54px !important;
  border-radius: 18px !important;
}

body.woocommerce-checkout .woocommerce-info a {
  display: inline !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Classic Woo checkout columns */
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Force fields to stop becoming tiny */
body.woocommerce-checkout .form-row,
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last,
body.woocommerce-checkout .form-row-wide {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  box-sizing: border-box !important;
}

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

/* Customizer width fix */
@media (min-width: 901px) and (max-width: 1200px) {
  body.woocommerce-checkout .tomzee-system-page {
    padding: 115px 24px 70px !important;
  }

  body.woocommerce-checkout .tomzee-system-inner {
    max-width: 100% !important;
    grid-template-columns: minmax(280px, 36%) minmax(540px, 1fr) !important;
    gap: 28px !important;
  }

  body.woocommerce-checkout .tomzee-system-title {
    font-size: 72px !important;
    line-height: 0.85 !important;
  }

  body.woocommerce-checkout .tomzee-system-content,
  body.woocommerce-checkout .woocommerce {
    max-width: 560px !important;
    min-width: 540px !important;
  }
}

/* Real mobile */
@media (max-width: 900px) {
  body.woocommerce-checkout .tomzee-system-content,
  body.woocommerce-checkout .woocommerce {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* TOMZEE HEADER MENU FIX - COMPLETE */

@media (min-width: 769px) {

    header,
    .site-header,
    #masthead {
        width: 100%;
    }

    header nav,
    header .main-navigation,
    header .site-navigation,
    header .primary-navigation,
    header .menu-navigation,
    header .menu-wrapper,
    header .nav-wrapper,
    header .navigation-wrapper,
    #site-navigation {
        width: auto !important;
        max-width: max-content !important;
        min-width: auto !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 24px !important;
        padding-left: 24px !important;
        padding-right: 14px !important;
        box-sizing: border-box !important;
    }

    header nav ul,
    header nav .menu,
    header .main-navigation ul,
    header .site-navigation ul,
    header .primary-navigation ul,
    header .menu-navigation ul,
    header .menu-wrapper ul,
    header .nav-wrapper ul,
    header .navigation-wrapper ul,
    #site-navigation ul {
        width: auto !important;
        max-width: max-content !important;
        min-width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 28px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    header nav li,
    header .main-navigation li,
    header .site-navigation li,
    header .primary-navigation li,
    header .menu-navigation li,
    #site-navigation li {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto !important;
    }

    header nav a,
    header .main-navigation a,
    header .site-navigation a,
    header .primary-navigation a,
    header .menu-navigation a,
    #site-navigation a {
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header nav button,
    header .main-navigation button,
    header .site-navigation button,
    header .primary-navigation button,
    header .menu-navigation button,
    header .menu-close,
    header .close,
    header [aria-label="Close"],
    header [aria-label="Menu"] {
        flex: 0 0 auto !important;
        margin-left: 18px !important;
        margin-right: 0 !important;
        position: relative !important;
    }

    header nav > *,
    header .main-navigation > *,
    header .site-navigation > *,
    header .primary-navigation > *,
    header .menu-navigation > *,
    header .menu-wrapper > *,
    header .nav-wrapper > *,
    header .navigation-wrapper > *,
    #site-navigation > * {
        flex: 0 0 auto !important;
    }

    header nav,
    header .main-navigation,
    header .site-navigation,
    header .primary-navigation,
    header .menu-navigation,
    header .menu-wrapper,
    header .nav-wrapper,
    header .navigation-wrapper,
    #site-navigation {
        justify-content: flex-start !important;
    }

    header nav * {
        box-sizing: border-box !important;
    }
}

/* ============================= */
/* TOMZEE CART - LIGHT MODE */
/* ============================= */

body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]),
body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]),
body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) {
  background: #d8dce8 !important;
  color: #800020 !important;
  border: 1px solid #800020 !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(23, 23, 23, 0.18) !important;
}

/* Light mode text */
body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) h2,
body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) p,
body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) span,
body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) strong,
body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) h2,
body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) p,
body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) span,
body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) strong,
body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) h2,
body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) p,
body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) span,
body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) strong {
  color: #800020 !important;
}

/* Close button - light */
body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) button[aria-label="Close"],
body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) button[aria-label="Close"],
body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) button[aria-label="Close"] {
  color: #800020 !important;
  border: 1px solid #800020 !important;
  background: transparent !important;
}

/* Cart links/buttons */
body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) a,
body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) a,
body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) a {
  background: #800020 !important;
  color: #ffffff !important;
  border: 1px solid #800020 !important;
  border-radius: 999px !important;
}


/* ============================= */
/* TOMZEE CART - DARK MODE */
/* ============================= */

@media (prefers-color-scheme: dark) {
  body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]),
  body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]),
  body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) {
    background: #171717 !important;
    color: #e8dfe2 !important;
    border: 1px solid #ffc101 !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45) !important;
  }

  body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) h2,
  body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) p,
  body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) span,
  body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) strong,
  body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) h2,
  body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) p,
  body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) span,
  body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) strong,
  body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) h2,
  body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) p,
  body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) span,
  body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) strong {
    color: #e8dfe2 !important;
  }

  body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) button[aria-label="Close"],
  body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) button[aria-label="Close"],
  body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) button[aria-label="Close"] {
    color: #ffc101 !important;
    border: 1px solid #ffc101 !important;
    background: transparent !important;
  }

  body div:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) a,
  body aside:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) a,
  body [role="dialog"]:has(button[aria-label="Close"]):has(a[href*="/checkout/"]) a {
    background: #800020 !important;
    color: #ffffff !important;
    border: 1px solid #ffc101 !important;
  }
}

/* ============================= */
/* TOMZEE HEADER CART BUTTON */
/* CHANGE BACKGROUND ONLY */
/* ============================= */

/* Day mode - ICE */
html body button[aria-label="Cart"],
html body header button[aria-label="Cart"],
html body nav button[aria-label="Cart"] {
  background: #d8dce8 !important;
  background-color: #d8dce8 !important;
  background-image: none !important;
}

/* If the visible background is generated by pseudo elements */
html body button[aria-label="Cart"]::before,
html body button[aria-label="Cart"]::after,
html body header button[aria-label="Cart"]::before,
html body header button[aria-label="Cart"]::after,
html body nav button[aria-label="Cart"]::before,
html body nav button[aria-label="Cart"]::after {
  background: #d8dce8 !important;
  background-color: #d8dce8 !important;
  background-image: none !important;
}

/* If there is an inner wrapper/icon inside the button */
html body button[aria-label="Cart"] *,
html body header button[aria-label="Cart"] *,
html body nav button[aria-label="Cart"] * {
  background-color: transparent !important;
  background-image: none !important;
}


/* ============================= */
/* NIGHT MODE - CHARCOAL */
/* ============================= */

@media (prefers-color-scheme: dark) {
  html body button[aria-label="Cart"],
  html body header button[aria-label="Cart"],
  html body nav button[aria-label="Cart"] {
    background: #171717 !important;
    background-color: #171717 !important;
    background-image: none !important;
  }

  html body button[aria-label="Cart"]::before,
  html body button[aria-label="Cart"]::after,
  html body header button[aria-label="Cart"]::before,
  html body header button[aria-label="Cart"]::after,
  html body nav button[aria-label="Cart"]::before,
  html body nav button[aria-label="Cart"]::after {
    background: #171717 !important;
    background-color: #171717 !important;
    background-image: none !important;
  }
}

/* MOBIL: header + spațiere sus */
@media (max-width: 768px) {
  .site-header,
  header {
    padding: 18px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  /* logo mai mic */
  .site-logo img,
  .logo img {
    max-width: 150px !important;
    height: auto !important;
  }

  /* spațiu sub header (să nu calce textele) */
  .shop-title,
  .page-title,
  .product-hero,
  .single-product {
    padding-top: 32px !important;
  }

  /* produse / CTA să nu se suprapună cu galeria */
  .product-info,
  .single-product-summary {
    margin-top: 36px !important;
  }

  /* imagini produs corecte */
  .product-gallery img,
  .hero-product-image img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* jos: să nu taie butoanele de plată / add-to-cart */
  .single-product,
  .product-page {
    padding-bottom: 140px !important;
  }
  .add-to-cart-section,
  .payment-buttons {
    margin-bottom: 80px !important;
  }
}

/* URGENT: typo FRIST (hack până schimbi textul în tema/plugin) */
.shop-title:after {
  content: "Shop First Chapter";
  display: inline;
}
.shop-title {
  font-size: 0 !important;
  letter-spacing: 0 !important;
}

body::before,
body::after {
  content: none !important;
  display: none !important;
}