/* -----------------------------------------------------------
   LAYOUT & TYPOGRAPHY RESTYLE
----------------------------------------------------------- */

/* Scope everything to single product to be safe */
.single-product .editorial-product-layout {
  --editorial-gap: 2rem;
  --editorial-border: 1px solid rgba(62, 43, 38, 0.1);
  /* Based on --color-primary #3E2B26 */
}

/* Enforce Sans-Serif Project-Wide for Shop */
.woocommerce #main,
.woocommerce-page #main {
  font-family: 'Montserrat', sans-serif !important;
}

/* Ensure images don't have default borders */
.single-product .product-gallery-editorial img {
  box-shadow: none !important;
  border: none !important;
  width: 100%;
  /*max-height: calc(100vh - 6rem);*/
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(94, 79, 63, 0.08));
}

@media (max-width: 767px) {
  .single-product .product-gallery-editorial img {
    height: 100%;
    object-fit: cover;
  }
}

.single-product .product-gallery-editorial .editorial-lightbox-trigger {
  background: var(--product-media-surface, #d8d0c4);
}

.single-product .product-gallery-editorial .editorial-lightbox-trigger img {
  position: relative;
  z-index: 1;
}

/* Price Stylng - Clean & Minimal */
.single-product .product-price .woocommerce-Price-amount {
  font-weight: 300;
  color: var(--color-primary, #3E2B26);
}

.single-product .product-price del {
  opacity: 0.5;
  font-size: 0.9em;
  margin-right: 0.5em;
}

/* -----------------------------------------------------------
   YITH VARIATION SWATCHES - SELECT BOX STYLE
   (Targeting .select_box structure found in HTML)
----------------------------------------------------------- */

/* Hide default Select element if not hidden */
.single-product .variations select {
  display: none !important;
}

/* Container */
.single-product .select_box_label.select_box,
.single-product .select_box {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

/* The Option Item (The button) */
.single-product .select_option_label.select_option,
.single-product .select_option {
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  height: 32px !important;
  border: 1px solid rgba(62, 43, 38, 0.2) !important;
  background-color: transparent !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* The Text inside - ensure it's centered and styled */
.single-product .select_option .yith_wccl_value_wrapper,
.single-product .select_option span {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  opacity: 0.6;
}

/* Hover State */
.single-product .select_option:hover {
  opacity: 1;
  background-color: rgba(62, 43, 38, 0.05) !important;
  border-color: var(--color-primary, #3E2B26) !important;
}

/* Selected State */
.single-product .select_option.selected,
.single-product .select_option.on {
  opacity: 1;
  background-color: var(--color-primary, #3E2B26) !important;
  border-color: var(--color-primary, #3E2B26) !important;
}

.single-product .select_option.selected .yith_wccl_value_wrapper,
.single-product .select_option.selected span,
.single-product .select_option.on span {
  opacity: 1;
  color: #FFFFFF !important;
  font-weight: 600;

}

.select_option_label .yith_wccl_value {
  border: 0;
}

.woocommerce div.product form.cart .reset_variations {
  display: none !important;
}


/* -----------------------------------------------------------
   QUANTITY INPUT - FULL WIDTH CUSTOM
----------------------------------------------------------- */

.single-product .product-actions-editorial .quantity {
  display: flex !important;
  /* Use Flex for full width control */
  flex-wrap: wrap;
  /* Allow label to wrap if needed */
  align-items: center;
  border: none;
  margin-right: 0;
  margin-bottom: 2rem;
  width: 100%;
  /* Full Width */
  margin-top: 2rem;
  position: relative;
  /* Space for absolute label */
}

/* The Label we injected via JS */
.single-product .product-actions-editorial .quantity .qty-label {
  width: 100%;
}

/* Let's style the buttons and input to be a full width bar BELOW the label */
.single-product .product-actions-editorial .quantity .qty-btn,
.single-product .product-actions-editorial .quantity input.qty {
  height: 44px;
  border-top: 1px solid rgba(62, 43, 38, 0.2);
  border-bottom: 1px solid rgba(62, 43, 38, 0.2);
}

/* Add sides border to first/last */
.single-product .product-actions-editorial .quantity .qty-btn.minus {
  border-left: 1px solid rgba(62, 43, 38, 0.2);
  width: 44px;
  flex: 0 0 44px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.single-product .product-actions-editorial .quantity .qty-btn.plus {
  border-right: 1px solid rgba(62, 43, 38, 0.2);
  width: 44px;
  flex: 0 0 44px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.single-product .product-actions-editorial .quantity input.qty {
  /* The text input */
  flex: 1;
  /* Take remaining space */
  width: auto;
  border-left: none;
  border-right: none;
  border-top: 1px solid rgba(62, 43, 38, 0.2);
  border-bottom: 1px solid rgba(62, 43, 38, 0.2);
  background: transparent;
  text-align: center;
  font-size: 14px;
  color: var(--color-primary, #3E2B26);
  padding: 0;
  -moz-appearance: textfield;
}

.single-product .product-actions-editorial .quantity input.qty::-webkit-outer-spin-button,
.single-product .product-actions-editorial .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Custom buttons injected via JS */
.single-product .product-actions-editorial .quantity .qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  color: var(--color-primary, #3E2B26);
  transition: background 0.2s;
  user-select: none;
}

.single-product .product-actions-editorial .quantity .qty-btn:hover {
  background: rgba(62, 43, 38, 0.05);
}

/* -----------------------------------------------------------
   ADD TO CART BUTTON - HIGH END
----------------------------------------------------------- */

.single-product .product-actions-editorial .single_add_to_cart_button {
  width: 100%;
  display: block;
  text-transform: uppercase;
  padding: 18px 24px !important;
  cursor: pointer;
  margin-top: 14px;
  /* Already spaced by quantity */
}

/* -----------------------------------------------------------
   CLEANUP & ALIGNMENT
----------------------------------------------------------- */

/* Hide default woo meta if redundant */
.single-product .product_meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(62, 43, 38, 0.6);
}

.single-product .product_meta>span {
  display: block;
  margin-bottom: 5px;
}

/* Reset table layout for variations */
.single-product table.variations {
  display: block;
  border: none;
  margin-bottom: 0;
}

.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations td {
  display: block;
  width: 100%;
}

.single-product table.variations label,
.single-product .product-actions-editorial .quantity .qty-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 0;
  color: var(--color-primary);
  opacity: 0.4;
  font-weight: 600 !important;
  line-height: 2.4;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
  background-color: var(--color-primary, #3E2B26) !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 6px;
  letter-spacing: 0;
  font-weight: 500;
}

/* -----------------------------------------------------------
   WOOCOMMERCE ABS TABS (MINIMAL)
   Resetting the tabs to be clean, uppercase text only
----------------------------------------------------------- */

/* Container */
.woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
  list-style: none !important;
  border-bottom: 1px solid rgba(62, 43, 38, 0.1) !important;
  display: flex !important;
  gap: 0 !important;
  /* No gap for proper keyline division, or keep small gap? "Available space" implies flex:1 usually implies touching or controlled gap. Let's start with 0 gap for cleaner "grid" look like Misci often does, or just let them spacing out. */
  background: transparent !important;
}

.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  display: block !important;
  /* was inline-block */
  flex: 1 !important;
  /* Take full space */
  text-align: center;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.woocommerce-tabs ul.tabs li a {
  padding: 10px 0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600 !important;
  color: var(--color-primary, #3E2B26) !important;
  opacity: 0.4;
  display: block;
  text-decoration: none !important;
  width: 100%;
  /* Ensure click area is full */
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li:hover a {
  opacity: 1 !important;
}

/* Active Indicator (Underline style) */
.woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid var(--color-primary, #3E2B26) !important;
  margin-bottom: -1px !important;
  z-index: 2;
}

/* Panel Content */
.woocommerce-tabs .panel {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 10px 0 !important;
}

.woocommerce-tabs .panel h2 {
  /* Hide the repetitive heading inside the tab content if standard */
  display: none !important;
}

.woocommerce-tabs .panel p,
.woocommerce-tabs .panel li {
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: var(--color-primary, #3E2B26);
  opacity: 0.8;
}

.woocommerce div.product .woocommerce-tabs .panel p {
  margin-bottom: 16px;
}

.chart-container {
  padding: 0;
}

.chart-table {
  margin-top: 0;
  width: 100%;
}

.chart-container table * {
  font-size: 13px !important;
}

/* -----------------------------------------------------------
   RELATED PRODUCTS / UPSELLS
----------------------------------------------------------- */

.single-product .related.products,
.single-product .up-sells {
  margin-top: 80px;
  border-top: 1px solid rgba(62, 43, 38, 0.1);
  padding-top: 60px;
}

.single-product .related.products>h2,
.single-product .up-sells>h2 {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary, #3E2B26);
  font-weight: 600;
}

.single-product .related.products ul.products,
.single-product .up-sells ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  /* Editorial gap */
}

@media (max-width: 1024px) {

  .single-product .related.products, .single-product .up-sells {
    margin-top: 0;
  }

  .single-product .related.products ul.products,
  .single-product .up-sells ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Ensure product items inside related look clean */
.single-product .related.products ul.products li.product,
.single-product .up-sells ul.products li.product {
  width: 100% !important;
  /* Override standard float/width */
  margin: 0 !important;
  float: none !important;
}

/* Remove default WooCommerce Clearfix that adds white space */
.single-product .related.products::before,
.single-product .related.products::after,
.single-product .up-sells::before,
.single-product .up-sells::after,
.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after,
.single-product .up-sells ul.products::before,
.single-product .up-sells ul.products::after {
  content: none !important;
  display: none !important;
}

/* Size Chart Full Width & Editorial Style */
#size-chart {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin-top: 10px;
}

#size-chart th,
#size-chart td {
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(62, 43, 38, 0.1);
  font-weight: 400;
}

#size-chart th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px !important;
  letter-spacing: 0.1em;
  background: rgba(62, 43, 38, 0.03);
}

#size-chart td {
  font-size: 13px !important;
}


/* -----------------------------------------------------------
   YITH FILTERS - EDITORIAL STYLE
   (Targeting .yith-wcan-filters structure)
----------------------------------------------------------- */

/* Container & Titles */
.filters-container .filter-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  font-weight: 600 !important;
  color: var(--color-primary, #3E2B26) !important;
  margin-bottom: 10px !important;
  padding-bottom: 8px;
}

.yith-wcan-filter {
  margin-bottom: 30px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* 1. Checkbox List (Categories) */
.filter-items.filter-checkbox li.filter-item {
  margin-bottom: 8px !important;
  font-size: 12px !important;
  font-family: 'Montserrat', sans-serif !important;
}

.filter-items.filter-checkbox li.filter-item label {
  cursor: pointer;
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--color-primary, #3E2B26);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.filter-items.filter-checkbox li.filter-item label:hover {
  opacity: 1;
}

.filter-items.filter-checkbox li.filter-item.active label {
  font-weight: 600;
  opacity: 1;
}

.filter-items.filter-checkbox li.filter-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--color-primary, #3E2B26);
  border-radius: 2px;
  display: grid;
  place-content: center;
  margin: 0;
  outline: none !important;
  /* Kill the blue outline */
  box-shadow: none !important;
  background-color: transparent !important;
  /* Prevent blue flash */
  cursor: pointer;
}

.filter-items.filter-checkbox li.filter-item input[type="checkbox"]::before {
  content: "";
  width: 8px;
  height: 5px;
  /* Rectangle for checkmark */
  border-left: 1.5px solid var(--color-primary, #3E2B26);
  /* The check line */
  border-bottom: 1.5px solid var(--color-primary, #3E2B26);
  /* The check line */
  transform: scale(0) rotate(-45deg);
  transform-origin: center;
  transition: 120ms transform ease-in-out;
  background-color: transparent;
  /* No fill */
  margin-top: -2px;
  /* Visual alignment */
  display: block;
  clip-path: none;
  /* Remove previous logic */
}

.filter-items.filter-checkbox li.filter-item input[type="checkbox"]:checked::before {
  transform: scale(1) rotate(-45deg);
}

/* Focus visible fix for accessibility (optional custom style, but killing blue) */
.filter-items.filter-checkbox li.filter-item input[type="checkbox"]:focus-visible {
  border-color: var(--color-secondary, #e8ab30) !important;
}

.filter-items.filter-checkbox li.filter-item a.term-label {
  text-decoration: none !important;
  color: inherit !important;
}

/* 2. Labels / Tags (Sizes) */
.filter-items.filter-label {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-items.filter-label li.filter-item {
  margin: 0 !important;
  padding: 0 !important;
}

.filter-items.filter-label li.filter-item a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px;
  height: 32px !important;
  padding: 5px !important;
  /* Reset padding to let flex center active area */
  border: 1px solid rgba(62, 43, 38, 0.2) !important;
  background: transparent !important;
  color: var(--color-primary, #3E2B26) !important;
  font-size: 11px !important;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.2s;
  line-height: 1;
  border: 0 !important;
  /* Fix vertical alignment */
}

/* Kill any pseudo-elements that might be adding borders */
.filter-items.filter-label li.filter-item a::before,
.filter-items.filter-label li.filter-item a::after,
.filter-items.filter-label li.filter-item a span::before,
.filter-items.filter-label li.filter-item a span::after {
  display: none !important;
  content: none !important;
}

.filter-items.filter-label li.filter-item a:hover {
  border-color: var(--color-primary, #3E2B26) !important;
}

.filter-items.filter-label li.filter-item.active a {
  background: var(--color-primary, #3E2B26) !important;
  color: #fff !important;
  border-color: var(--color-primary, #3E2B26) !important;
}

/* Ensure inner span doesn't override active text color */
.filter-items.filter-label li.filter-item.active a span {
  color: #fff !important;
}

/* 3. Color Swatches */
.filter-items.filter-color {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-items.filter-color li.filter-item {
  margin: 0 !important;
}

.filter-items.filter-color li.filter-item a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.filter-items.filter-color li.filter-item .term-color {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 2px;
  display: block;
}

.filter-color .filter-item {
  width: auto !important;
  display: inline-flex !important;
  gap: 10px;
}

.filter-items.filter-color li.filter-item .color-swatch {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.filter-items.filter-color li.filter-item.active .term-color {
  border-color: var(--color-primary, #3E2B26);
  box-shadow: 0 0 0 1px var(--color-primary, #3E2B26);
}

.filter-items.filter-color .term-label {
  font-size: 11px !important;
  text-transform: uppercase;
  color: var(--color-primary, #3E2B26);
}

/* 4. Price Slider */
.yith-wcan-filter .price-slider {
  margin-top: 10px;
}

/* Wrapper/Line */
.irs--round .irs-line {
  background-color: rgba(62, 43, 38, 0.1) !important;
  border-radius: 0 !important;
  height: 2px !important;
  top: 0 !important;
}

/* Bar (Selected Range) */
.irs--round .irs-bar {
  background-color: var(--color-secondary, #e8ab30) !important;
  height: 2px !important;
  top: 0 !important;
}

/* Handles */
.irs--round .irs-handle {
  background-color: var(--color-primary, #3E2B26) !important;
  border: none !important;
  box-shadow: none !important;
  width: 12px !important;
  height: 12px !important;
  top: -5px !important;
  cursor: pointer !important;
  border-radius: 50% !important;
}

/* Handle Hover */
.irs--round .irs-handle:hover {
  background-color: var(--color-secondary, #e8ab30) !important;
}

/* Values (From/To) */
.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
  background-color: transparent !important;
  color: var(--color-primary, #3E2B26) !important;
  font-size: 10px !important;
  font-family: 'Montserrat', sans-serif !important;
  padding: 0 !important;
  top: 15px !important;
  border-radius: 0 !important;
}

.irs--round .irs-from::before,
.irs--round .irs-to::before,
.irs--round .irs-single::before {
  display: none !important;
}

.yith-wcan-filters {
  background: transparent !important;
  margin-bottom: 0 !important;
}

.yith-wcan-filters .yith-wcan-filter .price-slider .irs-min,
.yith-wcan-filters .yith-wcan-filter .price-slider .irs-max {
  display: none;
}

/* 5. Filter Buttons (Apply & Reset) */
.yith-wcan-filters .apply-filters,
.yith-wcan-filters .reset-filters {
  width: 100% !important;
  display: block !important;
  text-align: center;
  border-radius: 4px !important;
  /* Bordas arredondadas leves */
  padding: 12px 20px !important;
  font-family: 'Montserrat', sans-serif !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  margin-bottom: 10px !important;
  /* Margem pequena bottom */
  text-decoration: none !important;
}

/* Apply = Primary (Black/Dark) */
.yith-wcan-filters .apply-filters {
  background-color: var(--color-primary, #3E2B26) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--color-primary, #3E2B26) !important;
  opacity: 1 !important;
  /* Ensure visibility if hidden by default styling */
}

.yith-wcan-filters .apply-filters:hover {
  background-color: var(--color-secondary, #e8ab30) !important;
  border-color: var(--color-secondary, #e8ab30) !important;
  color: #FFFFFF !important;
}

/* Reset = Secondary (Outline/Clear) */
.yith-wcan-filters .reset-filters {
  background-color: transparent !important;
  color: var(--color-primary, #3E2B26) !important;
  border: 1px solid rgba(62, 43, 38, 0.2) !important;
}

.yith-wcan-filters .reset-filters:hover {
  border-color: var(--color-primary, #3E2B26) !important;
  background-color: rgba(62, 43, 38, 0.05) !important;
}

/* -----------------------------------------------------------
   MY ACCOUNT - MODERN MINIMAL
----------------------------------------------------------- */

.woocommerce-account #primary {
  min-height: 100vh;
}

.woocommerce-account #main>.woocommerce {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(23, 18, 17, 0.1);
  background: #fff;
  display: grid;
  gap: 6px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 14px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(23, 18, 17, 0.7);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--color-primary, #171211);
  border-color: rgba(23, 18, 17, 0.14);
  background: rgba(23, 18, 17, 0.03);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  color: #fff;
  background: var(--color-primary, #171211);
  border-color: var(--color-primary, #171211);
}

.woocommerce-account .woocommerce-MyAccount-content {
  border: 1px solid rgba(23, 18, 17, 0.1);
  background: #fff;
  padding: clamp(1rem, 2.3vw, 2rem);
  font-family: 'Noto Sans', sans-serif;
}

.woocommerce-account .woocommerce-MyAccount-content h1,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  margin-top: 0;
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--color-primary, #171211);
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content li,
.woocommerce-account .woocommerce-MyAccount-content label,
.woocommerce-account .woocommerce-MyAccount-content legend,
.woocommerce-account .woocommerce-MyAccount-content th,
.woocommerce-account .woocommerce-MyAccount-content td {
  font-family: 'Noto Sans', sans-serif;
  color: rgba(23, 18, 17, 0.78);
}

.woocommerce-account .woocommerce form .form-row {
  margin-bottom: 18px;
}

.woocommerce-account .woocommerce-MyAccount-content label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 8px;
}

.woocommerce-account .woocommerce form .input-text,
.woocommerce-account .woocommerce form select,
.woocommerce-account .woocommerce form textarea {
  border: 1px solid rgba(23, 18, 17, 0.22);
  border-radius: 0;
  background: #fff;
  min-height: 40px;
  padding: 9px 12px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce form textarea {
  min-height: 110px;
}

.woocommerce-account .woocommerce form input.input-text:focus,
.woocommerce-account .woocommerce form select:focus,
.woocommerce-account .woocommerce form textarea:focus {
  border-color: var(--color-primary, #171211);
  outline: none;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 18, 17, 0.12);
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-MyAccount-content input.button {
  border: 1px solid var(--color-primary, #171211);
  border-radius: 0;
  background: var(--color-primary, #171211);
  color: #fff;
  padding: 15px 18px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
.woocommerce-account .woocommerce-MyAccount-content input.button:hover {
  background: var(--color-secondary, #e8ab30);
  border-color: var(--color-secondary, #e8ab30);
  color: var(--color-primary, #171211);
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
  width: 100% !important;
  min-width: 100%;
  border-radius: 0;
  border-color: rgba(23, 18, 17, 0.12);
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
  font-family: 'Noto Sans', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(23, 18, 17, 0.56);
}

/* Orders endpoint */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders {
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders thead th {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(23, 18, 17, 0.12);
  background: rgba(23, 18, 17, 0.015);
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody td {
  padding: 12px 14px;
  border-top: 1px solid rgba(23, 18, 17, 0.08);
  vertical-align: middle;
  color: rgba(23, 18, 17, 0.82);
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody tr:first-child td {
  border-top: none;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions {
  text-align: right;
  white-space: nowrap;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 10px 14px;
  line-height: 1;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button + .button {
  margin-left: 6px;
}

/* Addresses endpoint */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
  margin: 0;
  border: 1px solid rgba(23, 18, 17, 0.12);
  background: rgba(23, 18, 17, 0.01);
  padding: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 18, 17, 0.1);
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .title h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary, #171211);
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .title .edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(23, 18, 17, 0.16);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(23, 18, 17, 0.78);
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .title .edit:hover {
  border-color: var(--color-primary, #171211);
  color: var(--color-primary, #171211);
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address address {
  margin: 0;
  font-style: normal;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(23, 18, 17, 0.84);
  white-space: normal;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses + .addresses {
  margin-top: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
  margin-bottom: 14px;
  max-width: 68ch;
}

/* -----------------------------------------------------------
   MY ACCOUNT REFINEMENT V2 (strong overrides)
----------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-content > * {
  max-width: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders {
  width: 100% !important;
  max-width: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders {
  table-layout: fixed;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td {
  white-space: nowrap;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders th.woocommerce-orders-table__header-order-number,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-number {
  width: 10%;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders th.woocommerce-orders-table__header-order-date,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-date {
  width: 20%;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders th.woocommerce-orders-table__header-order-status,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-status {
  width: 14%;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders th.woocommerce-orders-table__header-order-total,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-total {
  width: 20%;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders th.woocommerce-orders-table__header-order-actions,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions {
  width: 36%;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button {
  min-width: 148px;
}

/* Support both default and plugin-mutated address wrappers */
.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.woocommerce-Address, .col-1, .col-2, .u-column1, .u-column2) {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid rgba(23, 18, 17, 0.12);
  background: rgba(23, 18, 17, 0.01);
  padding: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.woocommerce-Address, .col-1, .col-2, .u-column1, .u-column2) :is(.title, header) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 18, 17, 0.1);
}

.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.title h3, header h3) {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary, #171211);
}

.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.edit, a.edit) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(23, 18, 17, 0.16);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(23, 18, 17, 0.78);
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.edit, a.edit):hover {
  border-color: var(--color-primary, #171211);
  color: var(--color-primary, #171211);
}

.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) address {
  margin: 0;
  white-space: normal;
}

.woocommerce-account:not(.logged-in) #main>.woocommerce {
  display: block;
}

.woocommerce-account:not(.logged-in) .cp-auth-shell {
  width: min(1100px, 100%);
  margin-inline: auto;
  padding: clamp(0.5rem, 1vw, 1rem) 0;
}

.woocommerce-account:not(.logged-in) .cp-auth-shell__header {
  margin-bottom: clamp(1.25rem, 3.4vw, 2rem);
}

.woocommerce-account:not(.logged-in) .cp-auth-shell__kicker {
  margin: 0 0 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(23, 18, 17, 0.58);
}

.woocommerce-account:not(.logged-in) .cp-auth-shell__title {
  margin: 0;
  font-family: 'Literata', serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--color-primary, #171211);
}

.woocommerce-account:not(.logged-in) .cp-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 1.8rem);
  width: 100%;
}

.woocommerce-account:not(.logged-in) .cp-auth-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
  margin-inline: auto;
}

.woocommerce-account:not(.logged-in) .cp-auth-card {
  width: auto;
  float: none;
  margin: 0;
  border: 1px solid rgba(23, 18, 17, 0.14);
  background: #fff;
  box-shadow: 0 16px 40px -28px rgba(23, 18, 17, 0.38);
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
}

.woocommerce-account:not(.logged-in) #customer_login .col-1,
.woocommerce-account:not(.logged-in) #customer_login .col-2 {
  float: none;
  width: auto;
}

.woocommerce-account:not(.logged-in) .cp-auth-card form.login,
.woocommerce-account:not(.logged-in) .cp-auth-card form.register,
.woocommerce-account:not(.logged-in) .cp-auth-card form.lost_reset_password {
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  max-width: none;
  width: 100%;
}

.woocommerce-account:not(.logged-in) .cp-auth-card form.lost_reset_password .form-row-first,
.woocommerce-account:not(.logged-in) .cp-auth-card form.lost_reset_password .form-row-last,
.woocommerce-account:not(.logged-in) .cp-auth-card form.lost_reset_password .form-row-wide {
  float: none;
  width: 100%;
  margin-right: 0;
}

.woocommerce-account:not(.logged-in) .cp-auth-card__kicker {
  margin: 0 0 0.55rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(23, 18, 17, 0.55);
}

.woocommerce-account:not(.logged-in) .cp-auth-card h2 {
  margin: 0;
  font-family: 'Literata', serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-primary, #171211);
}

.woocommerce-account:not(.logged-in) .cp-auth-card__desc {
  margin: 0.65rem 0 1.2rem;
  max-width: 42ch;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(23, 18, 17, 0.72);
}

.woocommerce-account:not(.logged-in) .cp-auth-card__password-hint {
  margin: 0 0 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(23, 18, 17, 0.65);
}

.woocommerce-account:not(.logged-in) .cp-auth-card .form-row {
  margin-bottom: 14px;
}

.woocommerce-account:not(.logged-in) .cp-auth-card label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(23, 18, 17, 0.67);
}

.woocommerce-account:not(.logged-in) .cp-auth-card .input-text {
  border: 1px solid rgba(23, 18, 17, 0.24);
  background: #fff;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.woocommerce-account:not(.logged-in) .cp-auth-card .input-text:focus {
  border-color: var(--color-primary, #171211);
  outline: none;
}

.woocommerce-account:not(.logged-in) .cp-auth-card__submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.woocommerce-account:not(.logged-in) .cp-auth-card .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.woocommerce-account:not(.logged-in) .cp-auth-card .button {
  border: 1px solid var(--color-primary, #171211);
  background: var(--color-primary, #171211);
  color: #fff;
  border-radius: 0;
  min-height: 44px;
  padding: 0.78rem 1.15rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: all 0.2s ease;
}

.woocommerce-account:not(.logged-in) .cp-auth-card .button:hover {
  border-color: var(--color-secondary, #e8ab30);
  background: var(--color-secondary, #e8ab30);
  color: var(--color-primary, #171211);
}

.woocommerce-account:not(.logged-in) .cp-auth-card .lost_password {
  margin: 0;
}

.woocommerce-account:not(.logged-in) .cp-auth-card .lost_password a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(23, 18, 17, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce-account:not(.logged-in) .cp-auth-card .lost_password a:hover {
  color: var(--color-primary, #171211);
}

.woocommerce-account:not(.logged-in) .cp-auth-card .woocommerce-privacy-policy-text {
  margin: 0 0 0.9rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(23, 18, 17, 0.66);
}

.woocommerce-account:not(.logged-in) .cp-auth-card .woocommerce-privacy-policy-text a {
  color: var(--color-primary, #171211);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .woocommerce-account:not(.logged-in) .cp-auth-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .woocommerce-account:not(.logged-in) .cp-auth-card__submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .woocommerce-account:not(.logged-in) .cp-auth-card .button {
    width: 100%;
  }
}

/* -----------------------------------------------------------
   WOOCOMMERCE ALERTS / NOTICES
----------------------------------------------------------- */

.woocommerce .woocommerce-notices-wrapper {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  margin: 0 !important;
  border: 1px solid rgba(23, 18, 17, 0.12) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), #ffffff) !important;
  color: rgba(23, 18, 17, 0.82) !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
  font-family: 'Noto Sans', sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before {
  display: none !important;
  content: none !important;
}

.woocommerce .woocommerce-message {
  border-left: 3px solid #171211 !important;
}

.woocommerce .woocommerce-info {
  border-left: 3px solid #876a64 !important;
}

.woocommerce .woocommerce-error {
  border-left: 3px solid #8d2f2f !important;
}

.woocommerce .woocommerce-error li,
.woocommerce .woocommerce-info li,
.woocommerce .woocommerce-message li {
  margin: 0;
}

.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button {
  float: none !important;
  margin: 8px 0 0 0;
  border: 1px solid rgba(23, 18, 17, 0.22) !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--color-primary, #171211) !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  padding: 10px 12px !important;
}

.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-message .button:hover {
  border-color: var(--color-primary, #171211) !important;
  background: var(--color-primary, #171211) !important;
  color: #fff !important;
}

/* -----------------------------------------------------------
   EMPTY CART - ELEGANT MINIMAL
----------------------------------------------------------- */

/* Cart Blocks (WooCommerce Block Cart) */
.woocommerce-cart .entry-content>.wp-block-woocommerce-cart.alignwide {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  max-width: 100% !important;
  margin: 0 auto;
  padding: clamp(8px, 1.2vw, 14px) 0;
}

.woocommerce-cart .wc-block-cart__empty-cart__title.wp-block-heading {
  margin: 0 !important;
  text-align: center !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-primary, #171211);
}

.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  margin-bottom: 10px !important;
  color: rgba(23, 18, 17, 0.72);
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block>.wp-block-separator,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block>.wp-block-heading.has-text-align-center:not(.wc-block-cart__empty-cart__title),
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new {
  display: none !important;
}

.woocommerce-cart .cp-empty-cart-cta {
  margin-top: clamp(16px, 2vw, 24px);
  text-align: center;
}

.woocommerce-cart .cp-empty-cart-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  border: 1px solid var(--color-primary, #171211);
  background: var(--color-primary, #171211);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.woocommerce-cart .cp-empty-cart-cta__button:hover {
  background: transparent;
  color: var(--color-primary, #171211);
}

/* Fallback para carrinho vazio classico */
.woocommerce-cart .cart-empty.woocommerce-info {
  border-radius: 12px !important;
}

@media (max-width: 990px) {
  .woocommerce-account #main>.woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

/* Checkout: hide specific billing fields */
#billing_persontype_field,
#billing_cellphone_field {
  display: none !important;
}

/* -----------------------------------------------------------
   RESPONSIVE HARDENING (SHOP / CHECKOUT / ACCOUNT)
----------------------------------------------------------- */

@media (max-width: 1024px) {
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
  }

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

  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 767px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul,
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 12px;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    table-layout: auto;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders thead th,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody td {
    padding: 10px 9px;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button {
    min-width: 112px;
    padding: 9px 10px;
    letter-spacing: 0.14em;
  }

  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    padding: 12px;
  }

  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .title {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) {
    grid-template-columns: 1fr !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.woocommerce-Address, .col-1, .col-2, .u-column1, .u-column2) {
    padding: 12px;
  }

  .woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.woocommerce-Address, .col-1, .col-2, .u-column1, .u-column2) :is(.title, header) {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .woocommerce .woocommerce-form-login,
  .woocommerce .woocommerce-form-register,
  .woocommerce .woocommerce-ResetPassword {
    padding: 0 !important;
    margin: 0 !important;
  }

  .woocommerce form .form-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .woocommerce form .input-text,
  .woocommerce form select,
  .woocommerce form textarea {
    font-size: 16px;
  }

  .woocommerce-cart table.shop_table,
  .woocommerce-checkout table.shop_table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 10px 8px;
  }

  .woocommerce-tabs ul.tabs {
    overflow-x: auto !important;
    white-space: nowrap;
    display: flex !important;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto !important;
    min-width: 150px;
  }

  .wc-block-checkout .wc-block-checkout__main,
  .wc-block-checkout .wc-block-checkout__sidebar,
  .wc-block-cart .wc-block-cart__main,
  .wc-block-cart .wc-block-cart__sidebar {
    width: 100%;
  }

  .wc-block-components-form .wc-block-components-text-input,
  .wc-block-components-form .wc-block-components-combobox,
  .wc-block-components-form .wc-block-components-select {
    width: 100%;
  }

  .woocommerce .woocommerce-error .button,
  .woocommerce .woocommerce-info .button,
  .woocommerce .woocommerce-message .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .single-product .related.products ul.products,
  .single-product .up-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .woocommerce-checkout .woocommerce-checkout-review-order-table {
    font-size: 13px;
  }
}

/* -----------------------------------------------------------
   MY ACCOUNT HOTFIX (force desktop + mobile)
----------------------------------------------------------- */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders {
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  table-layout: fixed !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders th,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td {
  padding: 14px 16px !important;
  vertical-align: middle !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders thead th {
  background: rgba(23, 18, 17, 0.02) !important;
  border-bottom: 1px solid rgba(23, 18, 17, 0.12) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td.woocommerce-orders-table__cell-order-actions {
  text-align: right !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button {
  min-width: 148px !important;
  padding: 10px 14px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 14px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.woocommerce-Address, .col-1, .col-2, .u-column1, .u-column2) {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(23, 18, 17, 0.12) !important;
  background: rgba(23, 18, 17, 0.01) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.title, header) {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(23, 18, 17, 0.1) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.title h3, header h3) {
  margin: 0 !important;
  font-size: 17px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(a.edit, .edit) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(23, 18, 17, 0.16) !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    table-layout: auto !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders th,
  body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td {
    padding: 10px 9px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.title, header) {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* -----------------------------------------------------------
   ORDERS + ADDRESSES FINAL TUNING (markup-driven)
----------------------------------------------------------- */

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table {
  width: 100% !important;
  max-width: none !important;
  table-layout: auto !important;
  border-collapse: collapse !important;
  border: 1px solid rgba(23, 18, 17, 0.12) !important;
  background: #fff !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table thead th {
  padding: 13px 14px !important;
  border-bottom: 1px solid rgba(23, 18, 17, 0.12) !important;
  background: rgba(23, 18, 17, 0.02) !important;
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: rgba(23, 18, 17, 0.58) !important;
  white-space: nowrap !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody th.woocommerce-orders-table__cell-order-number,
body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody td {
  padding: 16px 14px !important;
  border-bottom: 1px solid rgba(23, 18, 17, 0.09) !important;
  vertical-align: middle !important;
  color: rgba(23, 18, 17, 0.84) !important;
  white-space: nowrap !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody tr:last-child th.woocommerce-orders-table__cell-order-number,
body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody tr:last-child td {
  border-bottom: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-number {
  width: 92px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-date {
  width: 230px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-status {
  width: 140px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-total {
  width: 220px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-actions {
  width: 1% !important;
  text-align: right !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-actions .button {
  min-width: 124px !important;
  padding: 10px 12px !important;
  line-height: 1 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody th.woocommerce-orders-table__cell-order-number a {
  color: rgba(23, 18, 17, 0.7) !important;
  text-decoration: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody tr:hover th.woocommerce-orders-table__cell-order-number,
body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody tr:hover td {
  background: rgba(23, 18, 17, 0.015) !important;
}

/* Address endpoint with Woo default wrappers */
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.addresses {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 16px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.addresses > .woocommerce-Address {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid rgba(23, 18, 17, 0.12) !important;
  background: #fff !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.addresses .woocommerce-Address-title.title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(23, 18, 17, 0.1) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.addresses .woocommerce-Address-title.title h3 {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.addresses .woocommerce-Address-title.title .edit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(23, 18, 17, 0.16) !important;
  text-decoration: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.addresses address {
  margin: 0 !important;
  font-style: normal !important;
  font-size: 14px !important;
  line-height: 1.66 !important;
  color: rgba(23, 18, 17, 0.86) !important;
}

@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table thead th,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody th.woocommerce-orders-table__cell-order-number,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody td {
    padding: 10px 9px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.addresses {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table {
    display: table !important;
    white-space: normal !important;
    border: none !important;
    background: transparent !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table thead {
    display: none !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody {
    display: grid !important;
    gap: 10px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody tr {
    display: block !important;
    margin: 0 !important;
    border: 1px solid rgba(23, 18, 17, 0.12) !important;
    background: #fff !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody th.woocommerce-orders-table__cell-order-number,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    width: 100% !important;
    min-width: 0 !important;
    padding: 11px 12px !important;
    border-bottom: 1px solid rgba(23, 18, 17, 0.08) !important;
    white-space: normal !important;
    text-align: left !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody tr > *:last-child {
    border-bottom: none !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.shop_table_responsive tr td::before {
    float: none !important;
    margin: 0 !important;
    min-width: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: rgba(23, 18, 17, 0.62) !important;
    flex: 0 0 auto;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table tbody th.woocommerce-orders-table__cell-order-number::before {
    content: "Pedido:" !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: rgba(23, 18, 17, 0.62) !important;
    flex: 0 0 auto;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-actions {
    display: block !important;
    text-align: left !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-actions .button {
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    padding: 10px 12px !important;
  }
}

/* -----------------------------------------------------------
   MY ACCOUNT POLISH V3 (desktop readability)
----------------------------------------------------------- */

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders {
  table-layout: auto !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders th,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td {
  width: auto !important;
  white-space: nowrap !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders th.woocommerce-orders-table__header-order-actions,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td.woocommerce-orders-table__cell-order-actions {
  width: 1% !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td.woocommerce-orders-table__cell-order-total {
  white-space: nowrap !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button {
  min-width: 132px !important;
  padding: 9px 12px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders tbody tr:hover td {
  background: rgba(23, 18, 17, 0.015);
}

/* Address endpoint spacing cleanup */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .addresses,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses {
  margin-top: 16px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.woocommerce-Address, .col-1, .col-2, .u-column1, .u-column2) {
  padding: 16px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) address {
  font-family: "Manrope", sans-serif !important;
  font-style: normal !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: rgba(23, 18, 17, 0.86) !important;
}

/* Keep mobile orders cards as final winner */
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders th,
  body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td {
    white-space: normal !important;
    width: 100% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td.woocommerce-orders-table__cell-order-actions {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td.woocommerce-orders-table__cell-order-actions::before {
    display: block !important;
    float: none !important;
    margin: 0 0 8px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* -----------------------------------------------------------
   ADDRESS ENDPOINT FIX (single direct .woocommerce-Address)
----------------------------------------------------------- */

body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  margin: 0 0 14px !important;
  max-width: 68ch !important;
  color: rgba(23, 18, 17, 0.76) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content > .u-column1.woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content > .u-column2.woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content > .col-1.woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content > .col-2.woocommerce-Address {
  width: min(680px, 100%) !important;
  float: none !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid rgba(23, 18, 17, 0.12) !important;
  background: #fff !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address + .woocommerce-Address {
  margin-top: 12px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address .woocommerce-Address-title.title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(23, 18, 17, 0.1) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address .woocommerce-Address-title.title h2 {
  margin: 0 !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
  color: var(--color-primary, #171211) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address .woocommerce-Address-title.title .edit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(23, 18, 17, 0.16) !important;
  background: rgba(23, 18, 17, 0.01) !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: rgba(23, 18, 17, 0.78) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address .woocommerce-Address-title.title .edit:hover {
  border-color: var(--color-primary, #171211) !important;
  color: var(--color-primary, #171211) !important;
  background: rgba(23, 18, 17, 0.04) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address address {
  margin: 0 !important;
  font-family: "Manrope", sans-serif !important;
  font-style: normal !important;
  font-size: 15px !important;
  line-height: 1.66 !important;
  color: rgba(23, 18, 17, 0.86) !important;
}

@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address {
    width: 100% !important;
    padding: 12px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address .woocommerce-Address-title.title {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address .woocommerce-Address-title.title .edit {
    white-space: normal !important;
  }
}

/* -----------------------------------------------------------
   MY ACCOUNT - EDITORIAL REFRAME
----------------------------------------------------------- */

body.woocommerce-account.logged-in #main > .woocommerce {
  display: block;
}

body.woocommerce-account.logged-in .cp-account-shell {
  display: grid;
  gap: clamp(1.4rem, 2.2vw, 2rem);
}

body.woocommerce-account.logged-in .cp-account-shell__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.72fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.35rem, 2vw, 2rem);
  border: 1px solid rgba(23, 18, 17, 0.08);
  background: rgba(249, 246, 241, 0.9);
}

body.woocommerce-account.logged-in .cp-account-shell__kicker {
  margin: 0 0 0.65rem;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(23, 18, 17, 0.46);
}

body.woocommerce-account.logged-in .cp-account-shell__title {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--color-primary, #171211);
}

body.woocommerce-account.logged-in .cp-account-shell__lead {
  max-width: 48rem;
  margin: 1rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  color: rgba(23, 18, 17, 0.68);
}

body.woocommerce-account.logged-in .cp-account-shell__identity {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  padding-top: 0.15rem;
  border-left: 1px solid rgba(23, 18, 17, 0.08);
  padding-left: clamp(1rem, 1.8vw, 1.5rem);
}

body.woocommerce-account.logged-in .cp-account-shell__identity-label {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(23, 18, 17, 0.42);
}

body.woocommerce-account.logged-in .cp-account-shell__identity-name {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary, #171211);
}

body.woocommerce-account.logged-in .cp-account-shell__identity-meta {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(23, 18, 17, 0.56);
  word-break: break-word;
}

body.woocommerce-account.logged-in .cp-account-shell__layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  position: sticky;
  top: 7.25rem;
  width: 100%;
  min-width: 0;
  justify-self: stretch;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
  width: 100%;
  box-sizing: border-box;
  padding: 1.15rem;
  border: 1px solid rgba(23, 18, 17, 0.08);
  background: rgba(255, 252, 248, 0.86);
  gap: 0.55rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li {
  width: 100%;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 1.05rem 1.15rem 1.05rem 1.35rem;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(23, 18, 17, 0.54);
  border: 0;
  background: transparent;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--color-primary, #171211);
  transform: translateY(-50%);
  transition: height 0.18s ease, opacity 0.18s ease;
  opacity: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--color-primary, #171211);
  background: rgba(23, 18, 17, 0.03);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a:hover::before,
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.is-active a::before {
  height: 65%;
  opacity: 1;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--color-primary, #171211);
  background: rgba(23, 18, 17, 0.04);
  border-color: transparent;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li:last-child {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 18, 17, 0.08);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  min-height: 24rem;
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
  justify-self: stretch;
  border: 1px solid rgba(23, 18, 17, 0.08);
  background: rgba(255, 252, 248, 0.92);
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content h1,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h3 {
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-child {
  margin-bottom: 1.2rem;
  max-width: 42rem;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.55;
  color: rgba(23, 18, 17, 0.72);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-child strong {
  color: var(--color-primary, #171211);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .button,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content button.button,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content input.button {
  padding: 0.95rem 1.2rem;
  letter-spacing: 0.16em;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.my_account_orders thead th {
  background: transparent;
  border-bottom: 1px solid rgba(23, 18, 17, 0.1);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody td {
  background: transparent;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content :is(.woocommerce-Addresses, .addresses, .u-columns.addresses) :is(.woocommerce-Address, .col-1, .col-2, .u-column1, .u-column2) {
  background: rgba(247, 242, 235, 0.7);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details {
  width: 100%;
  max-width: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details {
  display: table !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details thead,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details thead {
  display: table-header-group !important;
  width: 100% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details tbody {
  display: table-row-group !important;
  width: 100% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details tbody {
  display: table-row-group !important;
  width: 100% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details tfoot {
  display: table-row-group !important;
  width: 100% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details tr,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details tr {
  display: table-row !important;
  width: 100% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details td,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details td {
  display: table-cell !important;
  min-width: 0 !important;
  width: auto !important;
  white-space: normal !important;
  word-break: break-word;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details thead th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details thead th {
  padding: 1rem 1.15rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details tbody td,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details tbody td,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details tfoot td,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details tfoot th {
  padding: 1.1rem 1.15rem;
  vertical-align: top;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details :is(thead, tbody) .product-name,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details .product-name,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details :is(thead, tbody) .product-name,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details .product-name {
  width: 72% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details :is(thead, tbody) .product-total,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details .product-total,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details :is(thead, tbody) .product-total,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details .product-total {
  width: 28% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details tfoot th {
  width: 72% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table.order_details tfoot td {
  width: 28% !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details address {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  body.woocommerce-account.logged-in .cp-account-shell__hero {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.logged-in .cp-account-shell__identity {
    border-left: 0;
    border-top: 1px solid rgba(23, 18, 17, 0.08);
    padding-left: 0;
    padding-top: 1rem;
  }

  body.woocommerce-account.logged-in .cp-account-shell__layout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    position: static;
  }
}

@media (max-width: 767px) {
  body.woocommerce-account.logged-in .cp-account-shell {
    gap: 1rem;
  }

  body.woocommerce-account.logged-in .cp-account-shell__hero,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    padding: 1rem;
  }

  body.woocommerce-account.logged-in .cp-account-shell__title {
    font-size: 1.8rem;
  }
}

/* -----------------------------------------------------------
   ORDER RECEIVED - EDITORIAL ALIGNMENT
----------------------------------------------------------- */

body.woocommerce-order-received #main > .woocommerce {
  max-width: min(1100px, 100%);
  margin: 0 auto;
}

body.woocommerce-order-received .woocommerce-order {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  border: 1px solid rgba(23, 18, 17, 0.08);
  background: rgba(255, 252, 248, 0.92);
  padding: clamp(1rem, 2.2vw, 2rem);
  font-size: 0.92rem;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin: 0;
  text-align: center;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.4rem, 2.1vw, 1.92rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--color-primary, #171211);
}

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  justify-content: stretch;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(23, 18, 17, 0.08);
  background: rgba(247, 242, 235, 0.62);
}

body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details::before,
body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details::after,
body.woocommerce-order-received .woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce-order-overview::after {
  content: none !important;
  display: none !important;
}

body.woocommerce-order-received .woocommerce-order-overview li,
body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li {
  margin: 0;
  padding: clamp(0.8rem, 1.4vw, 1rem) clamp(0.9rem, 1.4vw, 1.2rem);
  width: 100% !important;
  float: none !important;
  clear: none !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: hidden;
  border-left: 1px solid rgba(23, 18, 17, 0.08);
  font-family: "Manrope", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.45;
  color: rgba(23, 18, 17, 0.5);
}

body.woocommerce-order-received .woocommerce-order-overview li:first-child,
body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li:first-child {
  border-left: 0;
}

body.woocommerce-order-received .woocommerce-order-overview li.total,
body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li.total {
  grid-column: auto !important;
  border-top: 0 !important;
}

body.woocommerce-order-received .woocommerce-order-overview li strong,
body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--color-primary, #171211);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}

body.woocommerce-order-received :is(.woocommerce-order-overview, ul.woocommerce-thankyou-order-details.order_details) li.email strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 0;
  border: 1px solid rgba(23, 18, 17, 0.08);
  background: rgba(255, 252, 248, 0.86);
  padding: clamp(1rem, 1.9vw, 1.35rem);
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-customer-details h2 {
  margin: 0 0 0.9rem;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-primary, #171211);
}

body.woocommerce-order-received table.shop_table.order_details {
  display: table !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  border: 1px solid rgba(23, 18, 17, 0.1);
}

body.woocommerce-order-received table.shop_table.order_details thead {
  display: table-header-group !important;
}

body.woocommerce-order-received table.shop_table.order_details tbody,
body.woocommerce-order-received table.shop_table.order_details tfoot {
  display: table-row-group !important;
}

body.woocommerce-order-received table.shop_table.order_details tr {
  display: table-row !important;
}

body.woocommerce-order-received table.shop_table.order_details th,
body.woocommerce-order-received table.shop_table.order_details td {
  display: table-cell !important;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(23, 18, 17, 0.08);
  vertical-align: top;
}

body.woocommerce-order-received table.shop_table.order_details thead th {
  font-family: "Manrope", sans-serif;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: rgba(23, 18, 17, 0.54);
  background: rgba(23, 18, 17, 0.02);
}

body.woocommerce-order-received table.shop_table.order_details tbody td,
body.woocommerce-order-received table.shop_table.order_details tfoot td,
body.woocommerce-order-received table.shop_table.order_details tfoot th {
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(23, 18, 17, 0.84);
}

body.woocommerce-order-received table.shop_table.order_details :is(thead, tbody) .product-name,
body.woocommerce-order-received table.shop_table.order_details tfoot th {
  width: 70% !important;
}

body.woocommerce-order-received table.shop_table.order_details :is(thead, tbody) .product-total,
body.woocommerce-order-received table.shop_table.order_details tfoot td {
  width: 30% !important;
}

body.woocommerce-order-received table.shop_table.order_details a {
  color: var(--color-primary, #171211);
  text-decoration: underline;
  text-decoration-color: rgba(23, 18, 17, 0.24);
  text-underline-offset: 0.16em;
}

body.woocommerce-order-received table.shop_table.order_details tfoot tr:last-child th,
body.woocommerce-order-received table.shop_table.order_details tfoot tr:last-child td {
  border-bottom: 0;
  font-weight: 700;
  color: var(--color-primary, #171211);
}

body.woocommerce-order-received table.shop_table.order_details tfoot tr:last-child td {
  font-size: 0.94rem;
}

body.woocommerce-order-received table.shop_table.order_details tfoot td .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--color-primary, #171211);
  background: var(--color-primary, #171211);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  transition: all 0.2s ease;
}

body.woocommerce-order-received table.shop_table.order_details tfoot td .button + .button {
  margin-left: 0.45rem;
}

body.woocommerce-order-received table.shop_table.order_details tfoot td .button:hover {
  background: transparent;
  color: var(--color-primary, #171211);
}

body.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  line-height: 1.55;
  color: rgba(23, 18, 17, 0.84);
}

body.woocommerce-order-received .woocommerce-customer-details address p {
  margin: 0.4rem 0 0;
}

@media (max-width: 920px) {
  body.woocommerce-order-received .woocommerce-order-overview,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body.woocommerce-order-received .woocommerce-order-overview li:nth-child(odd),
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li:nth-child(odd) {
    border-left: 0;
  }

  body.woocommerce-order-received .woocommerce-order-overview li:nth-child(n + 3),
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li:nth-child(n + 3) {
    border-top: 1px solid rgba(23, 18, 17, 0.08);
  }
}

@media (max-width: 767px) {
  body.woocommerce-order-received .woocommerce-order {
    padding: 1rem;
  }

  body.woocommerce-order-received .woocommerce-order-overview,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details {
    grid-template-columns: 1fr;
    width: 100%;
  }

  body.woocommerce-order-received .woocommerce-order-overview li,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li {
    border-left: 0;
    border-top: 1px solid rgba(23, 18, 17, 0.08);
  }

  body.woocommerce-order-received .woocommerce-order-overview li:first-child,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li:first-child {
    border-top: 0;
  }

  body.woocommerce-order-received table.shop_table.order_details {
    display: block !important;
    overflow-x: auto;
    white-space: nowrap;
  }

  body.woocommerce-order-received table.shop_table.order_details tfoot td {
    white-space: normal;
  }
}

/* -----------------------------------------------------------
   CHECKOUT BLOCK - SANS & VISUAL CLEANUP
----------------------------------------------------------- */

body.woocommerce-checkout .wp-block-woocommerce-checkout {
  --cp-checkout-border: rgba(23, 18, 17, 0.14);
  --cp-checkout-border-strong: rgba(23, 18, 17, 0.22);
  --cp-checkout-surface: rgba(255, 252, 248, 0.86);
  --cp-checkout-surface-strong: rgba(247, 242, 235, 0.78);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout :is(h1, h2, h3, h4, h5, h6, p, span, strong, em, small, label, legend, li, a, button, input, select, textarea) {
  font-family: "Manrope", sans-serif !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout :is(h1, h2, h3, h4, h5, h6, .wc-block-components-title, .wc-block-components-checkout-step__heading, .wc-block-components-order-summary__title, .wc-block-components-totals-item__label, .wc-block-components-payment-method-label) {
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--color-primary, #171211);
}

body.woocommerce-checkout :is(.wc-block-checkout, .wc-block-components-sidebar-layout.wc-block-checkout) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: start;
  gap: clamp(1rem, 2.2vw, 1.8rem);
}

body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main {
  grid-column: 1;
  width: auto;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar {
  grid-column: 2;
  width: auto;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main {
  border: 1px solid var(--cp-checkout-border);
  background: var(--cp-checkout-surface);
  padding: clamp(0.95rem, 1.8vw, 1.4rem);
}

body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-order-summary {
  border-color: var(--cp-checkout-border);
}

body.woocommerce-checkout .wc-block-components-checkout-step__container {
  border: 1px solid var(--cp-checkout-border);
  background: var(--cp-checkout-surface-strong);
  padding: clamp(0.8rem, 1.7vw, 1.1rem);
}

body.woocommerce-checkout .wc-block-components-address-card,
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-payment-methods .wc-block-components-payment-method {
  border-color: var(--cp-checkout-border);
  background: transparent;
}

body.woocommerce-checkout .wc-block-components-radio-control__option--checked-option-highlighted,
body.woocommerce-checkout .wc-block-components-payment-methods .wc-block-components-payment-method.is-active {
  border-color: var(--cp-checkout-border-strong);
  background: rgba(23, 18, 17, 0.03);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--cp-checkout-border-strong);
  background: #fff;
  color: var(--color-primary, #171211);
  font-size: 14px;
  line-height: 1.3;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select:focus {
  border-color: var(--color-primary, #171211);
  box-shadow: 0 0 0 1px var(--color-primary, #171211);
}

body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-select label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(23, 18, 17, 0.56);
}

body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input,
body.woocommerce-checkout .wc-block-components-radio-control input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(23, 18, 17, 0.6) !important;
  border-radius: 50%;
  background: #fff !important;
  box-shadow: none !important;
  outline: none;
}

body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked,
body.woocommerce-checkout .wc-block-components-radio-control input[type="radio"]:checked {
  border-color: var(--color-primary, #171211) !important;
  background: radial-gradient(circle, var(--color-primary, #171211) 0 4px, #fff 5px) !important;
}

body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:focus,
body.woocommerce-checkout .wc-block-components-radio-control input[type="radio"]:focus {
  box-shadow: 0 0 0 2px rgba(23, 18, 17, 0.2) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-button {
  min-height: 46px;
  border: 1px solid var(--color-primary, #171211);
  background: var(--color-primary, #171211);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-cart__submit-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover {
  background: transparent;
  color: var(--color-primary, #171211);
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-formatted-money-amount {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  font-weight: 700;
}

@media (max-width: 980px) {
  body.woocommerce-checkout :is(.wc-block-checkout, .wc-block-components-sidebar-layout.wc-block-checkout) {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main {
    grid-column: auto;
    width: 100%;
  }

  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main {
    padding: 1rem;
  }
}

/* -----------------------------------------------------------
   CLASSIC CHECKOUT ([woocommerce_checkout])
----------------------------------------------------------- */

body.woocommerce-checkout form.woocommerce-checkout {
  font-family: "Manrope", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

body.woocommerce-checkout form.woocommerce-checkout :is(h1, h2, h3, h4, h5, h6, p, label, span, li, strong, input, select, textarea, button) {
  font-family: "Manrope", sans-serif !important;
}

body.woocommerce-checkout form.woocommerce-checkout .col2-set {
  display: block;
  margin: 0;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review_heading {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--color-primary, #171211);
}

body.woocommerce-checkout form.woocommerce-checkout #order_review {
  width: 100%;
  margin-top: 0.2rem;
}

body.woocommerce-checkout form.woocommerce-checkout #customer_details,
body.woocommerce-checkout form.woocommerce-checkout .col2-set {
  width: 100%;
}

body.woocommerce-checkout form.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout form.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
  margin: 0;
}

body.woocommerce-checkout form.woocommerce-checkout .col2-set .col-2 {
  margin-top: 0.85rem;
}

body.woocommerce-checkout form.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout form.woocommerce-checkout .woocommerce-additional-fields > h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.52rem, 2.1vw, 1.95rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--color-primary, #171211);
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table,
body.woocommerce-checkout form.woocommerce-checkout #order_review table.shop_table.woocommerce-checkout-review-order-table {
  display: table !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto !important;
  white-space: normal !important;
  border: 1px solid rgba(23, 18, 17, 0.14);
  border-radius: 10px;
  background: rgba(255, 252, 248, 0.84);
  overflow: hidden;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table :is(thead, tbody, tfoot) tr {
  display: table-row !important;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td {
  display: table-cell !important;
  width: auto !important;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(23, 18, 17, 0.1);
  vertical-align: middle;
  font-size: 0.84rem;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table thead th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 18, 17, 0.6);
  background: rgba(247, 242, 235, 0.8);
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name {
  width: 78% !important;
  white-space: normal;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-total {
  width: 22% !important;
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name .product-quantity {
  font-size: 0.78em;
  font-weight: 700;
  color: rgba(23, 18, 17, 0.6);
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot th {
  text-align: left;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot td {
  width: 1%;
  text-align: right !important;
  white-space: nowrap;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.order-total td {
  border-bottom: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary, #171211);
  background: rgba(247, 242, 235, 0.9);
}

body.woocommerce-checkout form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 9px 12px;
}

body.woocommerce-checkout form.woocommerce-checkout .form-row {
  float: none;
  width: 100%;
  margin: 0;
  grid-column: 1 / -1;
}

body.woocommerce-checkout form.woocommerce-checkout .form-row-first,
body.woocommerce-checkout form.woocommerce-checkout .form-row-last {
  grid-column: span 6;
}

body.woocommerce-checkout form.woocommerce-checkout #billing_postcode_field {
  order: 30;
  grid-column: span 4;
}

body.woocommerce-checkout form.woocommerce-checkout #billing_address_1_field {
  order: 40;
  grid-column: span 8;
}

body.woocommerce-checkout form.woocommerce-checkout #billing_address_2_field {
  order: 50;
  grid-column: 1 / -1;
}

body.woocommerce-checkout form.woocommerce-checkout #billing_number_field {
  order: 60;
  grid-column: span 4;
}

body.woocommerce-checkout form.woocommerce-checkout #billing_neighborhood_field {
  order: 70;
  grid-column: span 8;
}

body.woocommerce-checkout form.woocommerce-checkout #billing_city_field {
  order: 80;
  grid-column: span 7;
}

body.woocommerce-checkout form.woocommerce-checkout #billing_state_field {
  order: 90;
  grid-column: span 5;
}

body.woocommerce-checkout form.woocommerce-checkout label {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: rgba(23, 18, 17, 0.58);
}

body.woocommerce-checkout form.woocommerce-checkout .input-text,
body.woocommerce-checkout form.woocommerce-checkout select,
body.woocommerce-checkout form.woocommerce-checkout textarea {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(23, 18, 17, 0.28);
  background: #fff;
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-primary, #171211);
  border-radius: 6px;
  box-shadow: none;
}

body.woocommerce-checkout form.woocommerce-checkout textarea {
  min-height: 82px;
}

body.woocommerce-checkout form.woocommerce-checkout .input-text:focus,
body.woocommerce-checkout form.woocommerce-checkout select:focus,
body.woocommerce-checkout form.woocommerce-checkout textarea:focus {
  border-color: var(--color-primary, #171211);
  outline: none;
  box-shadow: 0 0 0 1px rgba(23, 18, 17, 0.2);
}

body.woocommerce-checkout form.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout form.woocommerce-checkout #order_comments_field {
  display: none !important;
}

body.woocommerce-checkout form.woocommerce-checkout :is(
  .woocommerce-account-fields .woocommerce-form__label-for-checkbox,
  .create-account .woocommerce-form__label-for-checkbox,
  #ship-to-different-address .woocommerce-form__label-for-checkbox,
  #ship-to-different-address label
) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(23, 18, 17, 0.82);
  cursor: pointer;
}

body.woocommerce-checkout form.woocommerce-checkout :is(
  .woocommerce-account-fields input[type="checkbox"].input-checkbox,
  .create-account input[type="checkbox"].input-checkbox,
  #ship-to-different-address input[type="checkbox"]
) {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  border: 1.5px solid rgba(23, 18, 17, 0.58);
  border-radius: 4px;
  background: #fff;
  display: inline-grid;
  place-content: center;
  box-shadow: none;
}

body.woocommerce-checkout form.woocommerce-checkout :is(
  .woocommerce-account-fields input[type="checkbox"].input-checkbox,
  .create-account input[type="checkbox"].input-checkbox,
  #ship-to-different-address input[type="checkbox"]
)::before {
  content: "";
  width: 9px;
  height: 9px;
  transform: scale(0);
  transition: transform 0.12s ease-in-out;
  box-shadow: inset 1em 1em var(--color-primary, #171211);
  border-radius: 1px;
}

body.woocommerce-checkout form.woocommerce-checkout :is(
  .woocommerce-account-fields input[type="checkbox"].input-checkbox,
  .create-account input[type="checkbox"].input-checkbox,
  #ship-to-different-address input[type="checkbox"]
):checked {
  border-color: var(--color-primary, #171211);
  background: #fff;
}

body.woocommerce-checkout form.woocommerce-checkout :is(
  .woocommerce-account-fields input[type="checkbox"].input-checkbox,
  .create-account input[type="checkbox"].input-checkbox,
  #ship-to-different-address input[type="checkbox"]
):checked::before {
  transform: scale(1);
}

body.woocommerce-checkout form.woocommerce-checkout :is(
  .woocommerce-account-fields input[type="checkbox"].input-checkbox,
  .create-account input[type="checkbox"].input-checkbox,
  #ship-to-different-address input[type="checkbox"]
):focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(23, 18, 17, 0.15);
}

body.woocommerce-checkout form.woocommerce-checkout :is(
  .woocommerce-account-fields .woocommerce-form__label-for-checkbox span,
  .create-account .woocommerce-form__label-for-checkbox span,
  #ship-to-different-address .woocommerce-form__label-for-checkbox span
) {
  color: inherit !important;
  font-weight: inherit !important;
}

body.woocommerce-checkout form.woocommerce-checkout #payment {
  padding: 14px 16px 12px;
  border: 1px solid rgba(23, 18, 17, 0.16);
  border-radius: 10px;
  background: rgba(255, 251, 246, 0.7);
}

body.woocommerce-checkout form.woocommerce-checkout #payment ul.payment_methods {
  margin: 0;
  padding: 0;
  border: 0;
}

body.woocommerce-checkout form.woocommerce-checkout #payment .wc_payment_method {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 18, 17, 0.08);
}

body.woocommerce-checkout form.woocommerce-checkout #payment .wc_payment_method:last-child {
  border-bottom: 0;
}

body.woocommerce-checkout form.woocommerce-checkout #payment .wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.07em;
  color: rgba(23, 18, 17, 0.68);
}

body.woocommerce-checkout form.woocommerce-checkout #payment input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(23, 18, 17, 0.62);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  margin: 0;
  flex: 0 0 18px;
}

body.woocommerce-checkout form.woocommerce-checkout #payment input[type="radio"]:checked {
  border-color: var(--color-primary, #171211);
  background: radial-gradient(circle, var(--color-primary, #171211) 0 4px, #fff 5px);
}

body.woocommerce-checkout form.woocommerce-checkout #payment input[type="radio"]:focus {
  box-shadow: 0 0 0 2px rgba(23, 18, 17, 0.16);
  outline: none;
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(23, 18, 17, 0.14);
  background: rgba(250, 246, 240, 0.9) !important;
  color: rgba(23, 18, 17, 0.85);
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box::before {
  border: 8px solid transparent;
  border-bottom-color: rgba(250, 246, 240, 0.98);
  top: -15px;
  left: 26px;
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(23, 18, 17, 0.82);
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box .form-row {
  margin: 0 0 10px;
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box .form-row:last-child {
  margin-bottom: 0;
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(23, 18, 17, 0.62);
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box .input-text,
body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box select {
  min-height: 36px;
  font-size: 13px;
  border-radius: 6px;
  border-color: rgba(23, 18, 17, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box .input-text:focus,
body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box select:focus {
  border-color: var(--color-primary, #171211);
  box-shadow: 0 0 0 1px rgba(23, 18, 17, 0.16);
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box #rm-pagbank-card-cvc {
  width: 124px !important;
  max-width: 100%;
}

body.woocommerce-checkout form.woocommerce-checkout #payment .place-order {
  margin-top: 22px;
  padding-top: 18px;
}

body.woocommerce-checkout form.woocommerce-checkout #payment #place_order {
  margin-top: 16px;
}

body.woocommerce-checkout form.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text,
body.woocommerce-checkout form.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(23, 18, 17, 0.72);
}

body.woocommerce-checkout form.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text a {
  color: inherit;
  text-decoration-thickness: 1px;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-bottom: 0.8rem;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(23, 18, 17, 0.16);
  border-left: 3px solid rgba(23, 18, 17, 0.5);
  border-radius: 10px;
  background: rgba(254, 254, 255, 0.76);
  box-shadow: 0 10px 24px -24px rgba(23, 18, 17, 0.5);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(23, 18, 17, 0.84);
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
  display: inline-flex;
  align-items: center;
  padding: 1px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary, #171211);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 18, 17, 0.28);
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
  margin: 0 0 1rem;
  padding: 14px;
  border: 1px solid rgba(23, 18, 17, 0.14);
  border-radius: 10px;
  background: rgba(255, 252, 248, 0.82);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: end;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon > p {
  margin: 0;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon > p:first-child {
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(23, 18, 17, 0.68);
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first,
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last {
  float: none;
  width: auto;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first input.input-text {
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid rgba(23, 18, 17, 0.3);
  background: #fff;
  font-size: 13px;
  box-shadow: none;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first input.input-text:focus,
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first input.input-text:focus-visible {
  border-color: var(--color-primary, #171211);
  box-shadow: 0 0 0 1px rgba(23, 18, 17, 0.2);
  outline: none;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--color-primary, #171211);
  background: var(--color-primary, #171211);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-radius: 6px;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last button:hover {
  background: transparent;
  color: var(--color-primary, #171211);
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .clear {
  display: none;
}

@media (max-width: 900px) {
  body.woocommerce-checkout form.woocommerce-checkout #order_review_heading {
    font-size: 1.68rem;
  }

  body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last button {
    width: 100%;
  }

  body.woocommerce-checkout form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout form.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td {
    padding: 11px 12px;
    font-size: 0.92rem;
  }

  body.woocommerce-checkout form.woocommerce-checkout .form-row,
  body.woocommerce-checkout form.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout form.woocommerce-checkout .form-row-last,
  body.woocommerce-checkout form.woocommerce-checkout #billing_postcode_field,
  body.woocommerce-checkout form.woocommerce-checkout #billing_address_1_field,
  body.woocommerce-checkout form.woocommerce-checkout #billing_number_field,
  body.woocommerce-checkout form.woocommerce-checkout #billing_neighborhood_field,
  body.woocommerce-checkout form.woocommerce-checkout #billing_city_field,
  body.woocommerce-checkout form.woocommerce-checkout #billing_state_field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body.woocommerce-checkout form.woocommerce-checkout #payment {
    padding: 12px;
  }

  body.woocommerce-checkout form.woocommerce-checkout #payment .wc_payment_method {
    padding: 10px 0;
  }

  body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box {
    padding: 10px 11px;
  }

  body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box .input-text,
  body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box select {
    min-height: 35px;
    font-size: 12px;
  }
}
