/* ════════════════════════════════════════════
   WOOCOMMERCE — Full theme integration
   Palette: #000000 · #14213d · #fca311 · #e5e5e5 · #ffffff
════════════════════════════════════════════ */
/*
/* ════════════════════════════════════════════
   PRODUCT GRID — Archive / Shop page
════════════════════════════════════════════ */

/* Hide default WC loop — archive-product.php controls the output */
.woocommerce ul.products {
  display: none !important;
}

/* Our custom grid (archive-product.php outputs products here) */
.woocommerce .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Shop page has a sidebar — 3 columns fit better in the remaining space */
.woocommerce .shop-content .products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.woocommerce .card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.woocommerce .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Add to cart button inside product card */
.woocommerce .card .add_to_cart_button,
.woocommerce .card .button {
  display: block;
  width: 100%;
  text-align: center;
  background: #fca311;
  color: #000000;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  text-decoration: none;
}

.woocommerce .card .add_to_cart_button:hover,
.woocommerce .card .button:hover {
  background: #fdbb45;
  color: #000000;
}

/* ════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════ */
.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 16px;
  color: #555555;
  font-size: 0.9rem;
}

.woocommerce .woocommerce-breadcrumb a {
  color: #fca311;
  text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

/* ════════════════════════════════════════════
   NOTICES (success / error / info)
════════════════════════════════════════════ */
.woocommerce-message,
.woocommerce .woocommerce-message {
  border-left: 4px solid #10b981;
  background: #f0fdf4;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #000000;
  font-size: 0.95rem;
  list-style: none;
}

.woocommerce-error,
.woocommerce .woocommerce-error {
  border-left: 4px solid #ef4444;
  background: #fef2f2;
  color: #000000;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  list-style: none;
}

.woocommerce-info,
.woocommerce .woocommerce-info {
  border-left: 4px solid #fca311;
  background: #fffbf0;
  color: #000000;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
}

/* ════════════════════════════════════════════
   GLOBAL WC BUTTON OVERRIDE
════════════════════════════════════════════ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: #fca311;
  color: #000000;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #fdbb45;
  color: #000000;
  transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: #14213d;
  color: #ffffff;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: #1e3a6e;
  color: #ffffff;
}

/* ════════════════════════════════════════════
   SINGLE PRODUCT PAGE
════════════════════════════════════════════ */

/*
  div.product direct children: span.onsale, .woocommerce-product-gallery,
  .summary, .woocommerce-tabs, .related, .upsells
  Use named grid areas so every child lands in the right cell.
  .onsale is pulled out of flow with position: absolute.
*/
/* Scope to .single-product so this grid layout doesn't hit .card divs
   on homepage/shop — wc_product_class() adds 'product' class to every card div. */
.single-product .woocommerce div.product {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "gallery summary"
    "tabs    tabs"
    "related related";
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}

/* Sale badge — absolute so it doesn't consume a grid cell */
.single-product .woocommerce div.product > span.onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* Assign grid areas.
   woocommerce-layout.css has: .woocommerce div.product div.images { width:48%; float:left }
   and div.summary { width:48%; float:right } — specificity (0,3,2) beats our (0,3,1).
   Use !important to force full-width inside the grid tracks. */
.single-product .woocommerce div.product .woocommerce-product-gallery {
  grid-area: gallery;
  position: relative;
  width: 100% !important;
  float: none !important;
}

.single-product .woocommerce div.product .summary {
  grid-area: summary;
  padding-top: 0;
  width: 100% !important;
  float: none !important;
}

.single-product .woocommerce div.product .woocommerce-tabs {
  grid-area: tabs;
}

.single-product .woocommerce div.product .related,
.single-product .woocommerce div.product .upsells {
  grid-area: related;
}

/* Product gallery image */
.woocommerce-product-gallery__wrapper {
  margin: 0;
  padding: 0;
}

.woocommerce-product-gallery__image {
  display: block;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.woocommerce-product-gallery__image img,
.single-product .woocommerce div.product .woocommerce-product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
  margin: 0;
}

/* Thumbnail strip */
.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.woocommerce-product-gallery .flex-control-thumbs li:hover,
.woocommerce-product-gallery .flex-control-thumbs li .flex-active {
  border-color: #fca311;
}

.woocommerce .product_title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
  line-height: 1.3;
}

.woocommerce p.price,
.woocommerce span.price {
  color: #fca311;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.woocommerce p.price del,
.woocommerce span.price del {
  color: #888888;
  font-size: 1.1rem;
  font-weight: 400;
  margin-right: 8px;
  opacity: 0.8;
}

.woocommerce p.price ins,
.woocommerce span.price ins {
  text-decoration: none;
  color: #fca311;
}

/* Single add to cart button */
.woocommerce .single_add_to_cart_button {
  background: #fca311 !important;
  color: #000000 !important;
  border-radius: 8px !important;
  height: auto !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.woocommerce .single_add_to_cart_button:hover {
  background: #fdbb45 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(252,163,17,0.35) !important;
}

/* Quantity input */
.woocommerce .quantity .qty {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
  width: 72px;
  text-align: center;
}

.woocommerce form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

/* Stock status */
.woocommerce .stock {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.woocommerce .stock.in-stock { color: #10b981; }
.woocommerce .stock.out-of-stock { color: #ef4444; }

/* Product meta */
.woocommerce .product_meta {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555555;
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
}

.woocommerce .product_meta a { color: #fca311; }
.woocommerce .product_meta a:hover { text-decoration: underline; }

/* Short description — collapsed with fade, expandable via JS */
.woocommerce .woocommerce-product-details__short-description {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 0;
}

.agt-desc-wrap {
  position: relative;
  margin-bottom: 16px;
}

.agt-desc-wrap.is-collapsed .woocommerce-product-details__short-description {
  max-height: 6.8em; /* ~4 lines at 1.7 line-height */
  overflow: hidden;
}

.agt-desc-wrap.is-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(transparent, #ffffff);
  pointer-events: none;
}

.agt-desc-toggle {
  background: none;
  border: none;
  color: #fca311;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  display: block;
  font-family: inherit;
  margin-bottom: 16px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.agt-desc-toggle:hover {
  color: #fdbb45;
}

/* ════════════════════════════════════════════
   PRODUCT TABS & REVIEWS
════════════════════════════════════════════ */
.woocommerce .woocommerce-tabs {
  margin-top: 48px;
  grid-column: 1 / -1;
}

.woocommerce .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e5e5;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.woocommerce .woocommerce-tabs ul.tabs li {
  margin: 0;
  border: none;
  background: none;
  padding: 0;
}

.woocommerce .woocommerce-tabs ul.tabs li::before,
.woocommerce .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 24px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: #555555;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a {
  color: #14213d;
  border-bottom-color: #fca311;
}

.woocommerce .woocommerce-tabs ul.tabs li a:hover {
  color: #fca311;
}

.woocommerce .woocommerce-tabs .panel {
  padding: 0;
  background: none;
}

/* ════════════════════════════════════════════
   RELATED & UPSELL PRODUCTS
   (override the blanket display:none on ul.products)
════════════════════════════════════════════ */
.woocommerce .related,
.woocommerce .upsells {
  margin-top: 48px;
}

.woocommerce .related h2,
.woocommerce .upsells h2 {
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: #000000;
}

.woocommerce .related ul.products,
.woocommerce .upsells ul.products {
  display: grid !important;
  /* Single row: auto-fill columns so all cards sit side by side */
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

/* woocommerce-layout.css injects a clearfix ::before that becomes a ghost
   grid item and pushes all real items one column to the right. Kill it. */
.woocommerce .related ul.products::before,
.woocommerce .related ul.products::after,
.woocommerce .upsells ul.products::before,
.woocommerce .upsells ul.products::after {
  display: none !important;
}

/* li.product: only reset WC's float-grid defaults.
   Visual styling (border, shadow, image, text) is handled by .card in style.css
   because content-product.php outputs .card/.card-image/.card-body — NOT WC's
   default .woocommerce-loop-product__link/.woocommerce-loop-product__title classes. */
.woocommerce .related ul.products li.product,
.woocommerce .upsells ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ════════════════════════════════════════════
   SALE BADGE & STAR RATINGS
════════════════════════════════════════════ */
.woocommerce span.onsale {
  background: #fca311;
  color: #000000;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  min-height: auto;
  min-width: auto;
  line-height: 1.4;
}

.woocommerce .star-rating,
.woocommerce .star-rating span {
  color: #fca311;
}

/* ════════════════════════════════════════════
   CART PAGE
════════════════════════════════════════════ */
.woocommerce table.cart,
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.woocommerce table.cart th,
.woocommerce table.shop_table th {
  text-align: left;
  padding: 12px 16px;
  background: #14213d;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.woocommerce table.cart td,
.woocommerce table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
  color: #000000;
}

.woocommerce table.cart tr:last-child td,
.woocommerce table.shop_table tr:last-child td {
  border-bottom: none;
}

.woocommerce table.cart .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.woocommerce table.cart .product-name a {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
}

.woocommerce table.cart .product-name a:hover { color: #fca311; }

.woocommerce table.cart .product-price,
.woocommerce table.cart .product-subtotal {
  color: #fca311;
  font-weight: 700;
}

/* Remove item button */
.woocommerce table.cart .product-remove a {
  color: #888888;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.woocommerce table.cart .product-remove a:hover { color: #ef4444; }

/* Cart collaterals (totals) */
.woocommerce .cart-collaterals {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.woocommerce .cart_totals {
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
}

.woocommerce .cart_totals h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
  color: #000000;
}

.woocommerce .cart_totals table {
  width: 100%;
  margin-bottom: 20px;
}

.woocommerce .cart_totals table th {
  text-align: left;
  padding: 10px 0;
  font-weight: 600;
  color: #555555;
  background: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #e5e5e5;
}

.woocommerce .cart_totals table td {
  text-align: right;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  color: #000000;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
  font-weight: 700;
  font-size: 1.1rem;
  color: #000000;
  border-bottom: none;
}

.woocommerce .cart_totals .order-total td { color: #fca311; }

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: block;
  text-align: center;
  background: #fca311;
  color: #000000;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  background: #fdbb45;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252,163,17,0.35);
}

/* Coupon */
.woocommerce .coupon {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.woocommerce .coupon input[type="text"] {
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
}

.woocommerce .coupon input[type="text"]:focus {
  border-color: #fca311;
  outline: none;
  box-shadow: 0 0 0 3px rgba(252,163,17,0.12);
}

/* Update cart button */
.woocommerce table.cart td.actions .button {
  background: #14213d;
  color: #ffffff;
}

.woocommerce table.cart td.actions .button:hover {
  background: #1e3a6e;
  color: #ffffff;
  transform: none;
}

/* ════════════════════════════════════════════
   CHECKOUT PAGE
════════════════════════════════════════════ */
.woocommerce-checkout .woocommerce {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

/* WC forms */
.woocommerce form .form-row {
  margin-bottom: 16px;
}

.woocommerce form .form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #000000;
}

.woocommerce form .form-row label .required {
  color: #ef4444;
}

.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"],
.woocommerce form .form-row input[type="number"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #000000;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: #fca311;
  outline: none;
  box-shadow: 0 0 0 3px rgba(252,163,17,0.12);
}

/* Order review box */
.woocommerce #order_review_heading {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #000000;
}

.woocommerce #order_review,
.woocommerce-checkout #order_review {
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
}

/* Payment section */
.woocommerce #payment {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
}

.woocommerce #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.woocommerce #payment ul.payment_methods li {
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.woocommerce #payment ul.payment_methods li label {
  font-weight: 600;
  cursor: pointer;
}

.woocommerce #payment div.payment_box {
  background: #ffffff;
  border-radius: 6px;
  padding: 14px;
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #555555;
  border: 1px solid #e5e5e5;
}

.woocommerce #payment #place_order {
  width: 100%;
  background: #fca311;
  color: #000000;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
  font-family: inherit;
}

.woocommerce #payment #place_order:hover {
  background: #fdbb45;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252,163,17,0.35);
}

/* ════════════════════════════════════════════
   MY ACCOUNT PAGE
════════════════════════════════════════════ */
.woocommerce .woocommerce-MyAccount-navigation {
  width: 240px;
  float: left;
  margin-right: 32px;
}

.woocommerce .woocommerce-MyAccount-content {
  overflow: hidden;
}

.woocommerce .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #e5e5e5;
}

.woocommerce .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 13px 16px;
  color: #555555;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.woocommerce .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce .woocommerce-MyAccount-navigation ul li a:hover {
  color: #000000;
  background: rgba(252,163,17,0.1);
  border-left: 3px solid #fca311;
  padding-left: 13px;
}

/* Orders table in account */
.woocommerce .woocommerce-orders-table th {
  background: #14213d;
  color: #ffffff;
}

.woocommerce .woocommerce-orders-table .button {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* ════════════════════════════════════════════
   ORDER CONFIRMATION PAGE
════════════════════════════════════════════ */
.woocommerce .woocommerce-order {
  max-width: 700px;
  margin: 0 auto;
}

.woocommerce .woocommerce-thankyou-order-details {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.woocommerce .woocommerce-thankyou-order-details li strong {
  display: block;
  color: #000000;
  font-size: 1.1rem;
}

.woocommerce .woocommerce-thankyou-order-details li span {
  font-size: 0.85rem;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .woocommerce .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* already 3 cols at desktop, no change needed at 1024px */
}

@media (max-width: 768px) {
  .woocommerce .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .single-product .woocommerce div.product {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "summary"
      "tabs"
      "related";
    gap: 24px;
  }

  .woocommerce .cart-collaterals {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce .woocommerce-MyAccount-navigation {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .woocommerce .related ul.products,
  .woocommerce .upsells ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .woocommerce .woocommerce-thankyou-order-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .woocommerce .products-grid {
    grid-template-columns: 1fr;
  }

  .woocommerce .product_title {
    font-size: 1.5rem;
  }

  .woocommerce .related ul.products,
  .woocommerce .upsells ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}
