/* ============================================
   FRESHTEK — WooCommerce Brand Styling
   Paste into Appearance → Customize → Additional CSS
   ============================================ */

/* Page background + base text */
body.woocommerce-page,
body.woocommerce-cart,
body.woocommerce-checkout {
  background: #000000 !important;
  color: #f4f4f6 !important;
  font-family: 'DM Sans', sans-serif;
}

/* Page title (Shop / Cart / Checkout headings) */
.woocommerce-page .page-title,
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title,
h1.entry-title {
  color: #f4f4f6 !important;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  color: #888899 !important;
}
.woocommerce-breadcrumb a {
  color: #888899 !important;
}

/* Product grid cards */
.woocommerce ul.products li.product {
  background: #12121c;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.2s ease;
}
.woocommerce ul.products li.product:hover {
  border-color: #C8D400;
}

/* Product image background (replaces white placeholder box) */
.woocommerce ul.products li.product img,
.woocommerce div.product div.images img {
  background: #1a1a26;
  border-radius: 8px;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
  color: #f4f4f6 !important;
  font-family: 'Rajdhani', sans-serif;
}

/* Price */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #C8D400 !important;
}
.woocommerce ul.products li.product .price del,
.woocommerce span.price del {
  color: #888899 !important;
  opacity: 0.6;
}
.woocommerce ul.products li.product .price ins,
.woocommerce span.price ins {
  text-decoration: none;
}

/* Sale badge */
.woocommerce span.onsale {
  background: #C8D400 !important;
  color: #000000 !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

/* Buttons — Add to Cart, Checkout, Place Order, etc. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: #C8D400 !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  padding: 12px 24px !important;
  transition: opacity 0.2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button:hover {
  background: #b3bd00 !important;
  opacity: 0.9;
}

/* Force Read More links to match Add to Cart exactly */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 12px 24px !important;
  font-size: 1rem;
}

/* Sorting dropdown */
.woocommerce-ordering select {
  background: #12121c !important;
  color: #f4f4f6 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 6px;
  padding: 8px 12px;
}

/* Cart table */
.woocommerce-cart table.cart,
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
  background: #12121c !important;
  color: #f4f4f6 !important;
  border-color: rgba(255,255,255,0.07) !important;
}

/* Cart totals box */
.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order {
  background: #12121c !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 12px;
  padding: 24px;
}
.cart_totals h2,
.woocommerce-checkout-review-order h3 {
  color: #f4f4f6 !important;
  font-family: 'Rajdhani', sans-serif;
}

/* Checkout form fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-billing-fields input,
.woocommerce-shipping-fields input {
  background: #1a1a26 !important;
  color: #f4f4f6 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 6px !important;
}
.woocommerce-checkout label,
.woocommerce-billing-fields label,
.woocommerce-shipping-fields label {
  color: #888899 !important;
}

/* Quantity input */
.woocommerce .quantity input.qty {
  background: #1a1a26 !important;
  color: #f4f4f6 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}

/* Tabs (Description, Reviews, etc. on single product page) */
.woocommerce-tabs ul.tabs li {
  background: #12121c !important;
}
.woocommerce-tabs ul.tabs li.active {
  background: #C8D400 !important;
}
.woocommerce-tabs ul.tabs li.active a {
  color: #000000 !important;
}
.woocommerce-tabs ul.tabs li a {
  color: #f4f4f6 !important;
}
.woocommerce-Tabs-panel {
  background: #12121c !important;
  color: #f4f4f6 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  padding: 24px;
  border-radius: 0 0 12px 12px;
}

/* Stock status text */
.woocommerce .stock {
  color: #2de88a !important;
}
.woocommerce .out-of-stock {
  color: #ff5577 !important;
}

/* "No products found" message box */
.woocommerce-info {
  background: #12121c !important;
  color: #f4f4f6 !important;
  border-top-color: #C8D400 !important;
}

/* ============================================
   CART PAGE — two-column layout (items + summary card)
   ============================================ */
body.woocommerce-cart .woocommerce {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
body.woocommerce-cart form.woocommerce-cart-form {
  flex: 2;
  min-width: 320px;
  background: #12121c;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px;
}
body.woocommerce-cart .cart-collaterals {
  flex: 1;
  min-width: 280px;
}
body.woocommerce-cart table.cart td,
body.woocommerce-cart table.cart th {
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  padding: 16px 8px !important;
}
body.woocommerce-cart .product-thumbnail img {
  border-radius: 8px;
  width: 80px !important;
}

/* Outdoorpaper-style cart compactness */
.woocommerce-cart-form .product-name p,
.woocommerce-cart-form .product-name .short-description,
.woocommerce-cart-form td.product-name > p,
.woocommerce-cart-form .product-name div:not(.quantity) {
  display: none !important;
}
.woocommerce-cart-form .product-name a,
.woocommerce-cart-form .product-name a:visited {
  color: #C8D400 !important;
}

/* WooCommerce BLOCKS cart (actual structure in use) */
.wc-block-cart-item__remove-link {
  font-size: 0 !important;
  color: transparent !important;
  background: none !important;
  border: none !important;
  padding: 4px !important;
  cursor: pointer;
}
.wc-block-cart-item__remove-link svg {
  display: none !important;
}
.wc-block-cart-item__remove-link::after {
  content: "Remove";
  font-size: 0.82rem !important;
  color: #888899 !important;
  font-family: 'DM Sans', sans-serif;
}
.wc-block-cart-item__remove-link:hover::after {
  color: #ff5577 !important;
}
.wc-block-components-product-name,
a.wc-block-components-product-name {
  color: #C8D400 !important;
}
.wc-block-components-sidebar,
.wp-block-woocommerce-cart-totals-block {
  padding: 16px !important;
}
table.cart td, table.cart th {
  padding: 10px 8px !important;
}
.cart_totals, .woocommerce-checkout-review-order {
  padding: 16px !important;
}

/* Remove icon -> text link */
.woocommerce-cart-form a.remove {
  font-size: 0 !important;
  color: transparent !important;
  display: inline-block;
}
.woocommerce-cart-form a.remove svg,
.woocommerce-cart-form a.remove img {
  display: none !important;
}
.woocommerce-cart-form a.remove::after {
  content: "Remove";
  font-size: 0.82rem !important;
  color: #888899 !important;
  font-family: 'DM Sans', sans-serif;
}
.woocommerce-cart-form a.remove:hover::after {
  color: #ff5577 !important;
}

/* ============================================
   CART PAGE — WooCommerce BLOCKS cart (real structure)
   ============================================ */
.wc-block-components-sidebar-layout.wc-block-cart {
  display: flex !important;
  align-items: flex-start !important;
  gap: 32px !important;
  max-width: 1200px;
  margin: 0 auto !important;
}
.wc-block-components-main.wc-block-cart__main {
  flex: 2;
  min-width: 320px;
}
.wc-block-components-sidebar.wc-block-cart__sidebar {
  flex: 1;
  min-width: 300px;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hide product short description/metadata in cart rows */
.wc-block-components-product-metadata,
.wc-block-cart-item__product-metadata {
  display: none !important;
}

/* Tighten row spacing */
.wc-block-cart-items__row {
  padding: 10px 0 !important;
}
.wc-block-components-product-name,
a.wc-block-components-product-name {
  color: #C8D400 !important;
}
.wc-block-cart-item__remove-link {
  font-size: 0 !important;
  color: transparent !important;
  background: none !important;
  border: none !important;
}
.wc-block-cart-item__remove-link svg {
  display: none !important;
}
.wc-block-cart-item__remove-link::after {
  content: "Remove";
  font-size: 0.82rem !important;
  color: #888899 !important;
  font-family: 'DM Sans', sans-serif;
}
.wc-block-cart-item__remove-link:hover::after {
  color: #ff5577 !important;
}
[class*="express-payment"] {
  margin-bottom: 8px !important;
}
[class*="express-payment"] button,
[class*="express-payment"] iframe,
[class*="express-payment"] div[role="button"] {
  height: 38px !important;
  max-height: 38px !important;
  min-height: 38px !important;
}
.wc-block-components-express-payment,
.wc-block-components-express-payment-continue-rule,
.wc-stripe-payment-request-wrapper,
.woopay-express-button-container,
.wc-block-components-express-payment__event-buttons {
  margin-bottom: 8px !important;
}
.wc-block-components-express-payment button,
.wc-block-components-express-payment iframe,
.wc-stripe-payment-request-wrapper button {
  max-height: 38px !important;
  min-height: 38px !important;
}

/* ============================================
   CHECKOUT PAGE — two-column layout (form + sticky summary)
   ============================================ */
body.woocommerce-checkout form.checkout {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
body.woocommerce-checkout .col2-set {
  flex: 2;
  min-width: 320px;
}
body.woocommerce-checkout #order_review {
  flex: 1;
  min-width: 300px;
  position: sticky;
  top: 140px;
  align-self: flex-start;
}

/* ============================================
   LAYOUT — center content, fill empty space sensibly
   ============================================ */
/* Note: Hello Elementor's own theme.css already centers .site-main
   at max-width: 1140px with auto margins — no override needed there.
   The actual fix: #primary itself needs centering, not just main inside it. */
body.archive.post-type-archive #primary.content-area {
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.woocommerce ul.products {
  display: flex !important;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  max-width: 900px;
  margin: 0 auto !important;
}

.woocommerce-ordering {
  display: none !important;
}

body.archive .site-main {
  display: flex;
  flex-direction: column;
}

.shop-hero-banner {
  order: -1;
  width: 100%;
  max-width: none;
  margin: 0 0 32px;
  text-align: center;
  padding: 40px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.shop-hero-banner h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 3.4rem;
  color: #f4f4f6;
  line-height: 1.15;
  margin: 0 auto 20px;
  max-width: 95%;
}
.shop-hero-banner h2 .citron {
  color: #C8D400;
}
.shop-hero-banner p {
  color: #888899;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  max-width: 90%;
  margin: 0 auto;
}

.woocommerce ul.products li.product {
  width: 260px !important;
  margin: 0 !important;
  float: none !important;
}

@media (max-width: 600px) {
  .woocommerce ul.products li.product {
    width: 100% !important;
  }
}

/* ============================================
   SHOP PAGE — Trust Bar / How It Works / FAQ
   ============================================ */
.shop-trust-bar {
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.shop-trust-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  color: #f4f4f6;
  font-family: 'DM Sans', sans-serif;
}
.shop-trust-item strong {
  display: block;
  color: #C8D400;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.shop-trust-item span {
  color: #888899;
  font-size: 0.85rem;
}

.shop-how-it-works {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.shop-how-it-works h2 {
  font-family: 'Rajdhani', sans-serif;
  color: #f4f4f6;
  font-size: 2rem;
  margin-bottom: 32px;
  text-align: center;
}
.shop-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.shop-step {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  background: #12121c;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.shop-step-number {
  width: 32px;
  height: 32px;
  background: #C8D400;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
  font-family: 'Rajdhani', sans-serif;
}
.shop-step p {
  color: #888899;
  font-size: 0.9rem;
  line-height: 1.6;
}

.shop-faq {
  max-width: 800px;
  margin: 48px auto 80px;
  padding: 48px 0 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.shop-faq h2 {
  font-family: 'Rajdhani', sans-serif;
  color: #f4f4f6;
  font-size: 2rem;
  margin-bottom: 32px;
  text-align: center;
}
.shop-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.shop-faq-item h3 {
  font-family: 'DM Sans', sans-serif;
  color: #f4f4f6;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.shop-faq-item p {
  color: #888899;
  font-size: 0.92rem;
  line-height: 1.7;
}
