/*
Theme Name: WHATSTHEQUACK THEME
Theme URI: https://example.com/whatsthequack-theme
Author: Junior Napolitano
Author URI: https://sets.agency
Version: 1.0.2 - Updated 2026-01-08
*/
Description: A modern, responsive, WooCommerce-ready starter theme for a complete online store.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whatsthequack-theme
Tags: e-commerce, woocommerce, clean, minimal, responsive
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

/* ===============================
   RESET & BASE
================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background-color: #f7f7f7;
    padding-top: 140px;
}

a {
    color: #2e8b57;
    text-decoration: none!important;
}

a:hover {
    text-decoration: underline;
}

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

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===============================
   HEADER (DESKTOP)
================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 9999;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 40px;
    padding: 0 20px;
}

/* WP admin bar */
body.admin-bar .main-header {
    top: 32px;
}

/* ===============================
   NAVIGATION
================================ */
.nav-links {
    display: flex;
    flex-direction: row;
    gap: 25px;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #2e8b57;
}

/* Left / Right alignment */
.left-menu {
    justify-self: end;
    display: flex;
    align-items: center;
}

.right-menu {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 25px;
}

/* ===============================
   LOGO
================================ */
.logo-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    top: 40px;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-animado {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-logo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
}

/* ===============================
   CART
================================ */
.header-cart {
    display: flex;
    align-items: center;
}

.cart-link {
    font-size: 20px;
    color: #333;
    position: relative;
    display: flex;
}

.cart-qty {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ffcc00;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===============================
   LAYOUT
================================ */
.site-content-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.content-area {
    flex: 1;
}

.widget-area {
    flex: 0 0 280px;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    background: #fff;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
}
/* ===============================
   MOBILE UX (CSS ONLY)
   Logo central 95x95 + menus embaixo
================================ */
@media (max-width: 768px) {

  /* Ajuste do espaço do conteúdo por causa do header fixo */
  body {
    padding-top: 190px; /* ajuste fino conforme sua altura final */
  }

/* Product card styles for shop loop (Bootstrap cards) */
.wqt-loop-product {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wqt-loop-product .product-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.wqt-loop-product .card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wqt-loop-product .woocommerce-loop-product__title a {
  color: #0b2e13;
}
.wqt-loop-product .price {
  color: #0b2e13;
  font-weight: 800;
  font-size: 1.15rem;
}

/* Reuse Top Sellers card styles for shop product cards */
.wtdq-card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 25px rgba(0,0,0,.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wtdq-card .wtdq-imgwrap{
  background: #fff;
  padding: 18px 18px 10px;
  min-height: 260px;
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
}
.wtdq-card img{
  max-width: 100%;
  height: 240px;
  width: auto;
  object-fit: contain;
}
.wtdq-badge{
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  background: #f6c400;
  color: #111;
}
.wtdq-body{
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.wtdq-name{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 1.25rem !important;
  margin: 0 0 8px;
  color: #111;
  font-weight: 700;
}
.wtdq-rating{ display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.wtdq-rating .count{ color: rgba(0,0,0,.55); font-size: 13px; }
.wtdq-price{ font-weight: 800; font-size: 18px; color: #0b5d1e; }
.wtdq-price del{ color: rgba(0,0,0,.4); font-weight: 600; margin-left: 6px; }

/* Sidebar filter list styling */
.wqt-shop-sidebar .card-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.wqt-shop-sidebar .card-body ul li {
  padding: 8px 6px;
  border-radius: 8px;
}
.wqt-shop-sidebar .card-body ul li a {
  color: rgba(0,0,0,0.8);
  text-decoration: none;
}
.wqt-shop-sidebar .card-body ul li.current-cat, .wqt-shop-sidebar .card-body ul li.current-cat a {
  background: #0f5b2f;
  color: #fff !important;
}

/* Ensure product grid spacing works well */
.wqt-shop .row.g-4 {
  gap: 1.5rem;
}

/* Force grid behavior inside the shop if Bootstrap row/col were overridden by other CSS
   Ensures products display side-by-side: 1 col mobile, 2 col small, 3 col medium, 4 col large */
.wqt-shop .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.wqt-shop .row > [class*="col-"] {
  box-sizing: border-box;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Column widths (mirror Bootstrap breakpoints used in templates) */
.wqt-shop .row > .col-12 { width: 100% !important; }
.wqt-shop .row > .col-sm-6 { width: 50% !important; }
.wqt-shop .row > .col-md-4 { width: 33.333333% !important; }
.wqt-shop .row > .col-lg-3 { width: 25% !important; }

@media (max-width: 991.98px) {
  .wqt-shop .row > .col-md-4 { width: 50% !important; }
  .wqt-shop .row > .col-lg-3 { width: 50% !important; }
}

@media (max-width: 575.98px) {
  .wqt-shop .row > .col-sm-6 { width: 100% !important; }
}

/* Ensure columns actually act as flex items and limit their widths (use flex-basis + max-width) */
.wqt-shop .row {
  align-items: stretch !important;
}
.wqt-shop .row > .col-12 { flex: 0 0 100% !important; max-width: 100% !important; }
.wqt-shop .row > .col-sm-6 { flex: 0 0 50% !important; max-width: 50% !important; }
.wqt-shop .row > .col-md-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
.wqt-shop .row > .col-lg-3 { flex: 0 0 25% !important; max-width: 25% !important; }

.wqt-shop .row > div[class*="col-"] {
  display: block !important;
}

/* Ensure product card stretches to fill the column */
.wqt-shop .wtdq-card,
.wqt-shop .wqt-loop-product {
  width: 100% !important;
  height: 100% !important;
}

/* New theme-controlled products grid (used by archive-product.php) */
.wqt-products-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem;
  margin: 0 -0.75rem; /* compensate item padding */
}
.wqt-products-grid .wqt-product-item {
  box-sizing: border-box;
  padding: 0 0.75rem;
  width: 25% !important; /* 4 per row on large screens */
}
.wqt-products-grid .wqt-product-item .wtdq-card,
.wqt-products-grid .wqt-product-item .wqt-loop-product {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991.98px) {
  .wqt-products-grid .wqt-product-item { width: 33.3333% !important; }
}
@media (max-width: 767.98px) {
  .wqt-products-grid .wqt-product-item { width: 50% !important; }
}
@media (max-width: 479.98px) {
  .wqt-products-grid .wqt-product-item { width: 100% !important; }
}

  /* Header vira coluna */
  .main-header {
    height: auto;
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Remove offsets do logo e centraliza */
  .logo-wrapper {
    top: 0;
    width: 95px;
    height: 95px;
    order: 1;
    margin: 0;
  }

  .logo-animado {
    width: 95px;
    height: 95px;
  }

  .custom-logo,
  .logo-animado img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    object-fit: cover;
  }

  /* Menus embaixo do logo */
  .left-menu {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .right-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  /* Links mais “tap-friendly” */
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 0;
  }

  .nav-links li a {
    font-size: 13px;
    padding: 10px 12px;      /* área de toque maior */
    border-radius: 12px;      /* feel de bootstrap */
    background: rgba(0,0,0,0.035);

  /* Inline add-to-cart: hide price and style button */
  .add_to_cart_inline .woocommerce-Price-amount.amount,
  .add_to_cart_inline .woocommerce-Price-currencySymbol {
    display: none !important;
  }

  .add_to_cart_inline .button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    float: right;
    background: #0f5b2f;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
  }

  @media (max-width: 768px) {
    .add_to_cart_inline .button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
      float: none;
      display: block;
      width: 100%;
      text-align: center;
    }
  }

  /* Override inline border/padding if present on the add_to_cart_inline wrapper */
  p.product.add_to_cart_inline,
  .add_to_cart_inline {
    border: none !important;
    padding: 0 !important;
  }
    text-decoration: none;
  }

  .nav-links li a:hover {
    background: rgba(0,0,0,0.06);
    text-decoration: none;
  }

  /* Carrinho: mantém no topo do bloco do menu direito */
  .header-cart {
    margin-left: 0;
  }

  .cart-link {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0,0,0,0.035);
  }

  .cart-link:hover {
    background: rgba(0,0,0,0.06);
    text-decoration: none;
  }

  /* Melhor leitura: separador sutil entre logo e menus */
  .left-menu,
  .right-menu {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 10px;
  }

  /* Evita que o header "pule" com admin-bar */
  body.admin-bar .main-header {
    top: 0; /* admin bar já empurra o body, geralmente fica melhor assim */
  }
}

/* ==========================================================================
   WOOCOMMERCE SINGLE PRODUCT PAGE CUSTOM STYLES
  - Target only single product pages by jr napolitano
=========================================================================== */

body.woocommerce.single-product {
  background: #f6f3ec;
}

.wqt-single-product {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

/* Breadcrumbs (SEO/UX) */

.wqt-breadcrumbs .woocommerce-breadcrumb,
.woocommerce-breadcrumb {
  display: inline-block;
  background: #ffffff;
  color: #0b5a3b ;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(11,90,59,0.06);
}
.wqt-breadcrumbs .woocommerce-breadcrumb a,
.woocommerce-breadcrumb a {
  color: #0b5a3b !important;
  text-decoration: none;
}
.wqt-breadcrumbs .woocommerce-breadcrumb a:hover,
.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
  color: #0b5a3b !important;
}

/* Back button in breadcrumbs: green, white text, rounded */
button.wqt-breadcrumbs__back.btn.btn-sm.btn-light {
  background: #0f5b2f !important;
  color: #ffffff !important;
  padding: 10px !important;
  border-radius: 13px !important;
  border: none !important;
  font-weight: 600 !important;
}

/* Main product card */
.wqt-product-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
  padding: 22px;
}

/* Gallery panel like screenshot */
.wqt-gallery-panel {
  background: #f4f4f4;
  border-radius: 14px;
  padding: 18px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Woo gallery inside */
.wqt-gallery-panel .woocommerce-product-gallery {
  margin: 0;
  width: 100%;
}
.wqt-gallery-panel .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.wqt-gallery-panel .woocommerce-product-gallery__image img {
  border-radius: 12px;
}

/* Sale badge (Woo outputs .onsale) */
.wqt-gallery-panel .onsale {
  position: absolute !important;
  top: 14px;
  left: 14px;
  right: auto;
  bottom: auto;
  background: #e53935;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  min-height: unset;
  min-width: unset;
  box-shadow: 0 6px 18px rgba(229,57,53,.25);
}

/* Summary typography (product H1) */
.wqt-summary h1.product_title,
.wqt-summary h1.product_title.entry-title {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  color: #0b2e13 !important;
  font-weight: 700 !important;
  margin-bottom: 0px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}

/* Additional selector provided by user for general H1-like sections */
.wtdq-history-section .wtdq-main-title {
    font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
    font-size: clamp(32px, 4vw, 48px);
    color: #0b2e13;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* global H1 rule removed — styles now applied only to product H1 (.wqt-summary h1.product_title) */
.wqt-summary .woocommerce-product-rating {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wqt-summary .woocommerce-product-rating .woocommerce-review-link {
  color: rgba(0,0,0,.55);
  text-decoration: none;
  font-size: 13px;
}
.wqt-summary .woocommerce-product-rating .woocommerce-review-link:hover {
  text-decoration: underline;
}

/* Price */
.wqt-summary .price {
  font-size: 22px;
  font-weight: 800;
  margin: 12px 0 12px;
}
.wqt-summary .price del {
  color: rgba(0,0,0,.45);
  font-weight: 600;
  margin-left: 8px;
  font-size: 16px;
}
.wqt-summary .price ins {
  text-decoration: none;
}

/* Ensure WooCommerce product price uses theme green and larger weight/size */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  color: #0b2e13 !important;
  font-size: 1.75rem !important; /* ~xx-large */
  font-weight: 700 !important;
}

/* Excerpt */
.wqt-summary .woocommerce-product-details__short-description {
  color: rgba(0,0,0,.7);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}

/* Add to cart area (Woo outputs form.cart, .quantity, button.single_add_to_cart_button) */
.wqt-summary form.cart {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 0em!important;
}

.wqt-summary .quantity input.qty {
  width: 88px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.16);
  padding: 0 10px;
}

/* Big green CTA */
.wqt-summary button.single_add_to_cart_button {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: #0b5a3b !important;
  border-color: #0b5a3b !important;
  font-weight: 800;
  letter-spacing: .02em;
}
.wqt-summary button.single_add_to_cart_button:hover {
  filter: brightness(.95);
}

/* Benefits row */


.wqt-benefit__text strong {
  display: block;
  font-size: 13px;
}
.wqt-benefit__text span {
  display: block;
  font-size: 12px;
  color: rgba(0,0,0,.6);
}

/* Tabs spacing */
.woocommerce-tabs {
  margin-top: 22px;
}

/* Related section */
.wqt-related {
  margin-top: 28px;
}
.wqt-related__title {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* Related product cards (Woo uses ul.products li.product) */
.wqt-related ul.products li.product {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0,0,0,.04);
  padding: 12px;
  text-align: left;
}
.wqt-related ul.products li.product a img {
  border-radius: 12px;
  margin-bottom: 10px;
}
.wqt-related ul.products li.product .woocommerce-loop-product__title {
  font-weight: 800;
  font-size: 14px;
  
  margin: 2px 0 6px;
}
.wqt-related ul.products li.product .price {
  font-weight: 900;
}
.wqt-related ul.products li.product .star-rating {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 767.98px) {
  .wqt-gallery-panel { min-height: 360px; }
  .wqt-benefits { grid-template-columns: 1fr; }
}

/* Klarna / BNPL centered container under Add-to-cart on single product */
.wqt-bnpl {
  text-align: center;
  margin: 10px 0 14px;
  font-size: 0.95rem;
  color: #2e2e2e;
}
.wqt-bnpl .klarna-message, .wqt-bnpl .wc-payments-bnpl {
  display: inline-block; /* keep the third-party markup centered */
}

@media (max-width: 576px) {
  .wqt-bnpl { font-size: 0.9rem; }
}

/* Links inside all H1 elements: ensure the requested green color */
h1 a,
h1 a:visited {
  color: #0b2e13 !important;
  text-decoration: none;
}
h1 a:hover,
h1 a:focus {
  color: #093216 !important;
  text-decoration: underline;
}
/* Breadcrumbs consolidated styles */
.wqt-breadcrumbs__trail.modification {
  background: #ffffff;
  color: #0f5b2f !important;
}

.woocommerce-breadcrumb {
  background: #ffffff;
  color: #0f5b2f!important;
  padding: 15px!important;
  border-radius: 23px;
  font-weight: 700;
}

.wqt-breadcrumbs,
.wqt-breadcrumbs__inner,
.wqt-breadcrumbs__trail,
.woocommerce-breadcrumb a {
  color: #0f5b2f !important;
  padding: 5px;
  text-transform: uppercase;
}

/* High-specificity override to ensure theme `style.css` wins over combined/concatenated main.css
   Targets single product pages and the breadcrumb markup used by WooCommerce. */
body.woocommerce.single-product .wqt-breadcrumbs .woocommerce-breadcrumb,
body.woocommerce.single-product .woocommerce-breadcrumb {
  background: #ffffff !important;
  color: #0f5b2f !important;
  padding: 15px !important;
  border-radius: 23px !important;
  font-weight: 700 !important;
}

body.woocommerce.single-product .wqt-breadcrumbs .woocommerce-breadcrumb a,
body.woocommerce.single-product .woocommerce-breadcrumb a {
  color: #0f5b2f !important;
}
.woocommerce-breadcrumb {
  padding: 5px!important;
  background: #ffffff !important;
  color: #0f5b2f !important;
  padding: 15px !important;
  border-radius: 23px !important;
  font-weight: 700 !important;
}

.woocommerce-breadcrumb a {
  color: #0f5b2f !important;
padding:5px;
}
.woocommerce div.product form.cart {
   margin-bottom:0em !important; 
}
p.product.woocommerce.add_to_cart_inline {
    border: 0px !important;
    /* padding: 12px; */
}

/* ===============================
   SHOP ARCHIVE (SIDEBAR + GRID)
================================ */
.wqt-shop {
  background: #f6f3ec; /* match single product backdrop */
}

.wqt-shop .page-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wqt-shop-sidebar-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
}

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

.wqt-shop-cat-list li + li { margin-top: 6px; }

.wqt-cat-link {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  color: #0f2f1a;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.18s ease-in-out;
}

.wqt-cat-link:hover {
  background: #178244;
  color: #0b2414;
}

.wqt-cat-link.active {
  background: #0f5b2f;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(15,91,47,0.14);
}

/* Woo products grid reset to fit inside Bootstrap cols */
.wqt-shop ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wqt-shop ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  padding: 12px;
  height: 100%;
}

.wqt-shop ul.products li.product a img {
  border-radius: 12px;
}

.wqt-shop ul.products li.product .woocommerce-loop-product__title {
  font-weight: 800;
  font-size: 15px;
  color: #0b2e13;
}

.wqt-shop ul.products li.product .price {
  font-weight: 800;
  color: #0b2e13;
}

.wqt-shop ul.products li.product .button,
.wqt-shop ul.products li.product .added_to_cart {
  display: block;
  width: 100%;
  text-align: center;
  background: #0b5a3b !important;
  border: none;
  border-radius: 12px;
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 10px 14px;
  margin-top: 10px;
}

.wqt-shop ul.products li.product .button:hover,
.wqt-shop ul.products li.product .added_to_cart:hover {
  filter: brightness(.95);
  color: #ffffff !important;
}

@media (max-width: 991.98px) {
  .wqt-shop .page-title { text-align: center; }
}

/* ===============================
   PAGE BACKGROUND OVERRIDES
   Ensure Woo pages always use #f6f3ec
================================ */
body.woocommerce,
body.post-type-archive-product,
body.tax-product_cat {
  background: #f6f3ec !important;
}

/* Hide WooCommerce ordering form and notices - comprehensive */
.woocommerce-notices-wrapper {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

.woocommerce-ordering,
.woocommerce-result-count,
form.woocommerce-ordering {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* ===============================
   Sidebar visual per request
   Green card with white text; links white and semibold
================================ */
.wqt-shop-sidebar-card .card-body {
  background: #0f5b2f;
  border-radius: 20px;
  color: #ffffff;
}
.wqt-shop-sidebar-card .card-body h2,
.wqt-shop-sidebar-card .card-body a {
  color: #ffffff;
}
a.wqt-cat-link {
  color: #ffffff !important;
  font-weight: 600;
}
a.wqt-cat-link.active {
  color: #ffffff !important;
  font-weight: 600;
}

/* Remove counts next to category names */
.wqt-shop-cat-list .count,
.widget_product_categories .count,
.product-categories .count {
  display: none !important;
}

/* Price styling */
span.price {
    float: right;
    padding: 10px;
    font-weight: 700;
    font-size: 18px;
}

/* Ensure .wqt-shop (Bootstrap container) has correct max-width and not full-width */
.wqt-shop {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Mobile responsive: Sidebar on top before products
   Updated: 2026-01-08T12:00:00Z - Forcing cache bust
   Ensures sidebar displays above products on mobile with proper reordering */
@media (max-width: 991.98px) {
    .wqt-shop {
        max-width: 100% !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .wqt-shop .row.g-4 {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Sidebar appears first on mobile - FULL WIDTH */
    .wqt-shop .row > aside,
    .wqt-shop .row > aside.col-12.col-lg-3 {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem;
    }

    /* Sidebar card full width */
    .wqt-shop-sidebar-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Products appear after sidebar on mobile */
    .wqt-shop .row > main {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Product cards: 1 per line on mobile */
    .wqt-shop .row > main .row > [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Breadcrumbs styling */
.wqt-breadcrumbs,
.wqt-breadcrumbs__inner,
.wqt-breadcrumbs__trail,
.woocommerce-breadcrumb a {
  color: #0f5b2f !important;
  padding: 5px;
  text-transform: uppercase;
  margin-top: 20px;
}

/* Sidebar full width on mobile, normal on desktop */
@media (max-width: 991.98px) {
    aside.col-12.col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .wqt-shop-sidebar-card {
        width: 100% !important;
    }
}

/* ===============================
   CART PAGE STYLES
================================ */
body.woocommerce-cart {
  background: #f6f3ec !important;
}

.wqt-cart {
  background: #f6f3ec;
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* Cart table styling */
.shop_table.cart {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}

.shop_table.cart thead {
  background: #f6f3ec;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.shop_table.cart thead th {
  font-weight: 700;
  color: #0b2e13;
  padding: 16px 12px;
  text-align: left;
}

.shop_table.cart tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: middle;
}

.shop_table.cart tbody tr:last-child td {
  border-bottom: none;
}

.shop_table.cart .product-thumbnail img {
  max-width: 80px;
  height: auto;
  border-radius: 8px;
}

.shop_table.cart .product-name {
  font-weight: 700;
  color: #0b2e13;
}

.shop_table.cart .product-price,
.shop_table.cart .product-subtotal {
  font-weight: 800;
  color: #0b5d1e;
}

.shop_table.cart .product-remove a {
  color: #e53935;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.shop_table.cart .product-remove a:hover {
  color: #c62828;
}

/* Cart totals sidebar */
.woocommerce-cart-totals {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
  position: sticky;
  top: 160px;
}

.woocommerce-cart-totals table {
  width: 100%;
}

.woocommerce-cart-totals table tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.woocommerce-cart-totals table tr:last-child {
  border-bottom: none;
}

.woocommerce-cart-totals table th,
.woocommerce-cart-totals table td {
  padding: 12px 0;
  text-align: right;
}

.woocommerce-cart-totals table th {
  text-align: left;
  font-weight: 700;
  color: #0b2e13;
}

.woocommerce-cart-totals table .total th {
  font-size: 18px;
  color: #0b2e13;
}

.woocommerce-cart-totals table .total td {
  font-size: 18px;
  font-weight: 800;
  color: #0b5d1e;
}

/* Proceed to checkout button */
.woocommerce-cart-totals .wc-proceed-to-checkout {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(0,0,0,0.1);
}

.woocommerce-cart-totals .checkout-button,
a.checkout-button {
  background: #0f5b2f !important;
  border-color: #0f5b2f !important;
  color: #ffffff !important;
  width: 100%;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: block;
  text-align: center;
  text-decoration: none !important;
}

.woocommerce-cart-totals .checkout-button:hover,
a.checkout-button:hover {
  background: #093216 !important;
  border-color: #093216 !important;
  color: #ffffff !important;
}

/* Coupon form */
.coupon {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 20px;
}

.coupon label {
  display: none;
}

.coupon input {
  border: 1px solid rgba(0,0,0,0.1) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
}

.coupon input:focus {
  border-color: #0f5b2f !important;
  outline: none;
}

.coupon button {
  background: #0f5b2f !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-weight: 700;
  cursor: pointer;
}

.coupon button:hover {
  background: #093216 !important;
}

/* Actions row */
.shop_table.cart tr.actions {
  background: #f6f3ec;
}

.shop_table.cart tr.actions td {
  padding: 20px 12px;
}

.shop_table.cart .actions button {
  background: #0f5b2f !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-weight: 700;
  cursor: pointer;
}

.shop_table.cart .actions button:hover {
  background: #093216 !important;
}

.shop_table.cart .actions button:disabled {
  background: #cccccc !important;
  cursor: not-allowed;
}

/* Mobile responsive cart */
@media (max-width: 991.98px) {
  .wqt-cart {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .woocommerce-cart-totals {
    position: static;
    top: auto;
    margin-top: 2rem;
  }

  .table-responsive {
    overflow-x: auto;
  }

  .shop_table.cart thead th {
    font-size: 12px;
    padding: 12px 8px;
  }

  .shop_table.cart tbody td {
    padding: 12px 8px;
  }

  .shop_table.cart .product-thumbnail img {
    max-width: 60px;
  }
}

@media (max-width: 575.98px) {
  .coupon {
    grid-template-columns: 1fr;
  }

  .coupon input,
  .coupon button {
    width: 100%;
  }
}