/*
Theme Name: Intentio (Storefront Child)
Template: storefront
Version: 1.0
Text Domain: intentio
*/

/* Your brand variables */
:root{
  --intentio-blue: #0b2a4a;
  --intentio-red:  #c62828;
  --intentio-ink:  #0b1c2d;
}

/* Basic brand defaults (safe starting point) */
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0b1a2b;
  color: #fff;
}

h1,h2,h3,h4,h5{
  font-family: Sora, Inter, system-ui, sans-serif;
}
.woocommerce h2,
.woocommerce h3 {
  color: #ffffff !important;
}

/* Product card titles must stay dark */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #000000 !important;
}


/* Example: button theme (you can refine later) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.checkout-button{
  background: var(--intentio-red) !important;
  color: #fff !important;
  border-radius: 4px;
  font-weight: 700;
}


/* =====================================================
   INTENTIO HEADER (Storefront Child)
   ===================================================== */

/* Blue header bar */
.site-header.intentio-header{
  background: var(--intentio-blue) !important;
}

/* Layout: logo | phone | search | account/cart */
.site-header.intentio-header .header-inner{
  display: grid !important;
  grid-template-columns: auto max-content 1fr auto !important;
  align-items: center !important;
  gap: 24px !important;
  height: 120px;
  padding: 0 40px 0 24px;
}

/* Remove spacer if present */
.site-header.intentio-header .header-spacer{
  display: none !important;
}



/* LOGO — keep proportions */
.site-header.intentio-header .custom-logo,
.site-header.intentio-header .header-logo img{
  height: 80px;        /* ← choose the visual size you want */
  width: auto !important;
  max-width: none;
  display: block;
}





/* Phone stays tight */
.site-header.intentio-header .header-phone{
  white-space: nowrap;
}

/* Search must be allowed to shrink/grow inside grid */
.site-header.intentio-header .header-search{
  min-width: 0 !important;
}

/* Force all Storefront search wrappers to fill the column */
.site-header.intentio-header .header-search .site-search,
.site-header.intentio-header .header-search form,
.site-header.intentio-header .header-search .woocommerce-product-search,
.site-header.intentio-header .header-search .widget_product_search,
.site-header.intentio-header .header-search .widget_product_search form{
  width: 100% !important;
  max-width: none !important;
  display: block !important;
}

/* Kill Storefront left magnifier + submit button */
.site-header.intentio-header .header-search form::before,
.site-header.intentio-header .header-search .site-search::before,
.site-header.intentio-header .header-search .woocommerce-product-search::before,
.site-header.intentio-header .header-search .widget_product_search::before,
.site-header.intentio-header .header-search .widget_product_search form::before{
  content: none !important;
  display: none !important;
}

.site-header.intentio-header .header-search button,
.site-header.intentio-header .header-search input[type="submit"],
.site-header.intentio-header .header-search .search-submit{
  display: none !important;
}

/* Search input: single RIGHT icon only */
.site-header.intentio-header .header-search input[type="search"],
.site-header.intentio-header .header-search input.search-field,
.site-header.intentio-header .header-search .search-field{
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  box-sizing: border-box !important;

  height: 44px !important;
  padding: 0 44px 0 14px !important;

  border: none !important;
  border-radius: 0 !important;

  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 18px 18px !important;

  color: #0b1a2b !important;
}



/* =====================================================
   INTENTIO HEADER — BRAND TYPOGRAPHY (AS BEFORE)
   ===================================================== */

/* Whole header defaults */
.site-header.intentio-header{
  color: #fff;
  background: var(--intentio-blue);
}

/* Links default white */
.site-header.intentio-header a{
  color: #fff;
  text-decoration: none;
}

/* =====================================================
   INTENTIO HEADER — PHONE (ORIGINAL STYLE)
   ===================================================== */

.site-header.intentio-header .header-phone a{
  display: flex;
  flex-direction: column;   /* ← THIS is the key */
  align-items: flex-start;
  line-height: 1.1;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

/* Label (top line) */
.site-header.intentio-header .phone-label{
  font-family: Sora, Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 2px;
}

/* Number (bottom line) */
.site-header.intentio-header .phone-number{
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}


/* --- ACCOUNT / CART --- */
.site-header.intentio-header .header-account,
.site-header.intentio-header .site-header-cart .cart-contents{
  font-family: Sora, Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
}

.site-header.intentio-header .header-account:hover,
.site-header.intentio-header .site-header-cart .cart-contents:hover{
  opacity: 1;
  text-decoration: underline;
}

/* --- SEARCH FIELD TEXT --- */
.site-header.intentio-header .header-search input[type="search"],
.site-header.intentio-header .header-search .search-field{
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #0b1a2b;
}

.site-header.intentio-header .header-search input[type="search"]::placeholder,
.site-header.intentio-header .header-search .search-field::placeholder{
  color: #6b7280;
}










/* Mobile header */
@media (max-width: 768px){
  .site-header.intentio-header .header-inner{
    grid-template-columns: auto 1fr auto !important;
    height: auto;
    padding: 12px 16px;
    row-gap: 12px;
  }

  .site-header.intentio-header .header-phone{
    display: none !important;
  }

  .site-header.intentio-header .header-search{
    grid-column: 1 / -1;
  }
}

/* =====================================================
   INTENTIO PRIMARY NAV — RED BAR (Storefront Child)
   ===================================================== */

.site-header.intentio-header .site-nav{
  width: 100%;
  background: var(--intentio-red);
}

/* Reset any Storefront list styling that can interfere */
.site-header.intentio-header .site-nav ul,
.site-header.intentio-header .site-nav li{
  margin: 0;
  padding: 0;
  list-style: none;
  float: none;
}

/* The UL from wp_nav_menu(menu_class => 'nav-menu') */
.site-header.intentio-header .site-nav .nav-menu{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  min-height: 64px;
  padding: 0 40px;
  gap: 0;
}

/* Divider lines between items */
.site-header.intentio-header .site-nav .nav-menu > li{
  position: relative;
}

.site-header.intentio-header .site-nav .nav-menu > li + li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 1px;
  background: rgba(255,255,255,0.35);
}

/* Links */
.site-header.intentio-header .site-nav .nav-menu > li > a{
  display: block;
  padding: 0 26px;
  line-height: 64px;

  color: #fff;
  text-decoration: none;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-header.intentio-header .site-nav .nav-menu > li > a:hover{
  background: #fff;
  color: var(--intentio-blue);
}

/* Mobile: nicer tap targets */
@media (max-width: 768px){
  .site-header.intentio-header .site-nav .nav-menu{
    justify-content: flex-start;
    padding: 8px 16px;
    min-height: auto;
  }

  .site-header.intentio-header .site-nav .nav-menu > li + li::before{
    display: none;
  }

  .site-header.intentio-header .site-nav .nav-menu > li > a{
    line-height: 44px;
    padding: 0 14px;
  }
}
/* =====================================================
   INTENTIO HEADER — MOBILE CONFIG
   ===================================================== */
@media (max-width: 768px){

  /* Header height collapses naturally */
  .site-header.intentio-header .header-inner{
    grid-template-columns: auto 1fr auto; /* logo | spacer | right */
    height: auto;
    padding: 12px 16px;
    row-gap: 12px;
  }

  /* Hide phone on mobile */
  .site-header.intentio-header .header-phone{
    display: none !important;
  }

  /* Search spans full width under logo row */
  .site-header.intentio-header .header-search{
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.intentio-header .header-search form,
  .site-header.intentio-header .header-search input[type="search"]{
    width: 100%;
  }

  /* Logo scales down but keeps proportion */
  .site-header.intentio-header .custom-logo{
    height: 56px;
    width: auto;
  }

  /* Right cluster stays aligned */
  .site-header.intentio-header .header-right{
    justify-self: end;
  }
}
/* =====================================================
   INTENTIO NAV — MOBILE: STACK + FIX HEIGHT/CLIPPING
   ===================================================== */
@media (max-width: 768px){

  /* Make the red bar tall enough and not clipped */
  .site-nav{
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 8px 0 !important;
  }

  /* Kill any Storefront float/inline rules */
  .site-nav ul,
  .site-nav li{
    float: none !important;
  }

  /* Stack items */
  .site-nav .nav-menu{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    height: auto !important;
    min-height: 0 !important;

    padding: 0 16px !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  /* Remove the desktop separators */
  .site-nav .nav-menu li + li::before{
    content: none !important;
    display: none !important;
  }

  /* Make each link readable + tappable */
  .site-nav .nav-menu a{
    line-height: 1.2 !important;     /* stops clipping */
    padding: 12px 10px !important;   /* tap target */
    display: block !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;

    border-bottom: 1px solid rgba(255,255,255,0.18);
  }

  /* Optional: remove border on last */
  .site-nav .nav-menu li:last-child a{
    border-bottom: 0;
  }
}
/* =====================================================
   INTENTIO NAV — MOBILE NUCLEAR OVERRIDE (PASTE LAST)
   ===================================================== */
@media (max-width: 768px){

  /* Force the bar itself to have real height and red background */
  .site-nav{
    background: var(--intentio-red) !important;
    display: block !important;
    height: auto !important;
    min-height: 56px !important;   /* gives you a visible bar */
    padding: 10px 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Sometimes Storefront clips via wrappers */
  .site-nav,
  .site-nav *{
    max-height: none !important;
  }

  /* Force the menu UL to actually show */
  .site-nav .nav-menu,
  .site-nav ul.nav-menu,
  .site-nav nav ul,
  .site-nav ul{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    list-style: none !important;
    margin: 0 !important;
    padding: 0 16px !important;

    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Force each LI to show */
  .site-nav .nav-menu li,
  .site-nav ul li{
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Kill desktop separators */
  .site-nav .nav-menu li + li::before{
    content: none !important;
    display: none !important;
  }

  /* Force links to be visible + tappable */
  .site-nav .nav-menu a,
  .site-nav a{
    display: block !important;
    color: #fff !important;
    text-decoration: none !important;

    padding: 14px 10px !important;
    line-height: 1.2 !important;     /* stops clipping */
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;

    border-bottom: 1px solid rgba(255,255,255,0.18) !important;
  }

  .site-nav .nav-menu li:last-child a{
    border-bottom: 0 !important;
  }
}

/* =====================================================
   HEADER RIGHT CLUSTER — ALIGN WITH SEARCH
   (paste at very bottom)
   ===================================================== */

/* Ensure the whole header row aligns nicely */
.site-header.intentio-header .header-inner{
  align-items: center !important;
}

/* Right cluster: one horizontal row */
.site-header.intentio-header .header-right{
  display: flex !important;
  align-items: center !important;   /* vertical alignment */
  gap: 18px !important;
  white-space: nowrap;
}

/* Make SIGN IN match the search height */
.site-header.intentio-header .header-account{
  display: inline-flex !important;
  align-items: center !important;
  height: 44px !important;          /* same as search input */
  padding: 0 10px !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff !important;
}

/* Make Storefront cart sit on the same baseline/height */
.site-header.intentio-header .site-header-cart{
  margin: 0 !important;
}

.site-header.intentio-header .site-header-cart .cart-contents{
  display: inline-flex !important;
  align-items: center !important;
  height: 44px !important;          /* same as search input */
  padding: 0 10px !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* If Storefront adds weird icon spacing */
.site-header.intentio-header .site-header-cart .cart-contents::after{
  margin-top: 0 !important;
}
.site-header.intentio-header .site-header-cart .cart-contents::after{
  line-height: 1 !important;
  top: 0 !important;
}

/* =========================================
   HEADER CART — SHOW COUNT ONLY
   ========================================= */

/* Hide text like "items", "item", "£", totals */
.site-header.intentio-header .site-header-cart .cart-contents .amount,
.site-header.intentio-header .site-header-cart .cart-contents .woocommerce-Price-amount,
.site-header.intentio-header .site-header-cart .cart-contents .woocommerce-Price-currencySymbol{
  display: none !important;
}





/* =====================================================
   CART — SHOW COUNT ONLY (NO "ITEM", NO PRICE)
   ===================================================== */






/* Add brackets around the number */
.site-header.intentio-header .site-header-cart .count::before{
  content: "(";
}
.site-header.intentio-header .site-header-cart .count::after{
  content: ")";
}

/* =========================================
   STOREFRONT CART — ADD SPACING
   ========================================= */

/* Space between basket icon and text/count */
.site-header.intentio-header .site-header-cart .cart-contents{
  display: inline-flex !important;
  align-items: center;
  gap: 8px;              /* ← adjust this */
}

/* If Storefront uses a ::before icon */
.site-header.intentio-header .site-header-cart .cart-contents::before{
  margin-right: 8px !important;
}

/* =========================================
   STOREFRONT CART — ICON THEN COUNT
   ========================================= */

.site-header.intentio-header .site-header-cart .cart-contents{
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

/* Basket icon (Storefront uses ::before) */
.site-header.intentio-header .site-header-cart .cart-contents::before{
  order: 1;
}

/* Item count */
.site-header.intentio-header .site-header-cart .count{
  order: 2;
  margin-left: 0 !important;
}




/* Disable the mini-cart dropdown in the header */
.site-header.intentio-header .site-header-cart .widget_shopping_cart,
.site-header.intentio-header .site-header-cart .widget_shopping_cart_content{
  display: none !important;
}
/* =========================================
   MOBILE NAV — ACTIVE / SELECTED STATE
   ========================================= */

@media (max-width: 768px){


  /* Only on interaction (tap/hover/focus), NOT on current page */
  .intentio-header .site-nav .nav-menu a:hover,
  .intentio-header .site-nav .nav-menu a:focus,
  .intentio-header .site-nav .nav-menu a:active{
    background: #ffffff !important;
    color: #000000 !important;
  }

  /* Ensure "current page" doesn't look selected */
  .intentio-header .site-nav .nav-menu li.current-menu-item > a,
  .intentio-header .site-nav .nav-menu li.current_page_item > a,
  .intentio-header .site-nav .nav-menu li.current-menu-ancestor > a{
    background: transparent !important;
    color: #ffffff !important;
  }
}

/* =========================================
   HIDE PAGE TITLES (Storefront + Woo)
   Paste at VERY BOTTOM of child style.css
   ========================================= */

/* Normal pages + common theme patterns */
body.page h1.entry-title,
body.page .entry-header,
body.page .entry-title,
body.page .page-header,
body.page .page-title,
body.page .wp-block-post-title,
body.page h1.wp-block-post-title{
  display: none !important;
}

/* WooCommerce: Shop / category / tag archive headers */
.woocommerce-products-header,
.woocommerce-products-header__title,
.woocommerce-page .page-title{
  display: none !important;
}

/* Woo blocks sometimes output this */
body.woocommerce-page .wp-block-query-title,
body.woocommerce-page .wp-block-post-title{
  display: none !important;
}
.site-content h1,
.entry-content h1,
.wp-block-post-title{
  color: #ffffff !important;
}
/* =========================================
   PRODUCT CARD — WHITE BOX, ROUNDED
   ========================================= */

.woocommerce ul.products li.product{
  background: #ffffff;
  border-radius: 3px;
  padding: 16px 16px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  overflow: hidden; /* keeps images clipped to radius */
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Lift on hover (optional but nice) */
.woocommerce ul.products li.product:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}
/* =========================================
   EQUAL HEIGHT PRODUCT CARDS
   ========================================= */

/* Make each product a vertical flex container */
.woocommerce ul.products li.product{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Let the product content stretch */
.woocommerce ul.products li.product > *{
  flex-shrink: 0;
}

/* Push the add-to-cart button to the bottom */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button{
  margin-top: auto;
}
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* 2 lines max */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4em;            /* keeps rows equal */
}
.woocommerce ul.products li.product .price{
  margin-bottom: 12px;
}

/* =====================================================
   SHOP CARDS — FIX HEIGHT WOBBLE FROM REVIEWS (SAFE)
   (Does NOT change ul.products grid settings)
   ===================================================== */

/* Make the card a vertical stack (safe even if you're already doing this) */
.woocommerce ul.products li.product{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Keep the main link as the flexible middle section */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  position: relative;              /* anchor for rating */
  padding-bottom: 26px;            /* reserve space for rating row ALWAYS */
}

/* Put the rating in a fixed row at the bottom of the link area */
.woocommerce ul.products li.product .star-rating{
  position: absolute;
  left: 0;
  bottom: 6px;
  margin: 0 !important;
}
/* Center the rating row */
.woocommerce ul.products li.product .star-rating{
  left: 50% !important;
  transform: translateX(-50%);
}

/* If Storefront outputs the review count link, hide it on cards (optional) */
.woocommerce ul.products li.product .woocommerce-review-link,
.woocommerce ul.products li.product .count{
  display: none !important;
}

/* Pin the add-to-cart button to the bottom of the card */
.woocommerce ul.products li.product a.button{
  margin-top: auto;
}

/* ===============================
   SALE BADGE — FINAL CONTROL
   =============================== */

/* Ensure product cards are anchors */
.woocommerce ul.products li.product,
body.single-product .woocommerce div.product {
  position: relative !important;
}

/* Sale badge style */
.woocommerce span.onsale{
  background: #c62828 !important;
  color: #ffffff !important;

  padding: 8px 12px !important;
  border-radius: 999px !important;

  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;

  min-height: auto !important;
  line-height: 1 !important;

  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* SHOP / CATEGORY GRID position */
.woocommerce ul.products li.product .onsale{
  position: absolute !important;
  top: -12px !important;
  left: -12px !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 10 !important;
}

/* SINGLE PRODUCT position */
body.single-product .woocommerce div.product .onsale{
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 10 !important;
}


/* ===============================
   SCALE FLASH — POSITIONING
   =============================== */


/* SHOP GRID — anchor to product card */
.woocommerce ul.products li.product {
  position: relative;
}

/* SINGLE PRODUCT — correct anchor */
.woocommerce div.product .woocommerce-product-gallery__image {
  position: relative;
}

/* Single product image wrapper */
.intentio-image-wrap {
  position: relative;
  display: block;
}

/* Flash container */
.intentio-scale-flash {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
}


/* ===============================
   SCALE FLASH — SIZE CONTROL
   =============================== */

/* Shop grid size */
.intentio-scale-flash img {
  width: 96px;
  height: auto;
  display: block;
}

/* Single product size */
body.single-product .intentio-scale-flash img {
  width: 96px;   /* your chosen big size */
}





body.page:not(.woocommerce-page) .site-main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 32px;

  box-shadow:
    inset 1px 0 0 rgba(255,255,255,0.12),
    inset -1px 0 0 rgba(255,255,255,0.12);
}



/* INTENTIO — review star colours (Storefront/Woo) */
.woocommerce .woocommerce-product-rating .star-rating::before{
  color: rgba(255,255,255,0.35) !important;  /* empty stars */
}

.woocommerce .woocommerce-product-rating .star-rating span::before{
  color: #E6B800; !important;                 /* filled stars */
}

/* (optional) also affects stars on shop cards, widgets, etc */
.woocommerce .star-rating::before{
  color: rgba(255,255,255,0.35) !important;
}
.woocommerce .star-rating span::before{
  color: #E6B800; !important;
}

.woocommerce p.stars a::before{
  color: rgba(255,255,255,0.35) !important;
}
.woocommerce p.stars a:hover::before,
.woocommerce p.stars a.active::before{
  color: #E6B800; !important;
}
/* ===============================
   INTENTIO PDF BUTTON (Single Product)
   =============================== */

.intentio-pdf-button{
  display: inline-block;
  background: var(--intentio-red);
  color: #ffffff !important;

  padding: 14px 28px;
  border-radius: 4px;

  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  text-decoration: none !important;
  line-height: 1;

  transition: background-color 0.2s ease, transform 0.2s ease;
}

.intentio-pdf-button:hover{
  background: #b71c1c; /* darker Intentio red */
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ===============================
   PRODUCT ATTRIBUTES — BLACK TEXT
   =============================== */

.woocommerce table.shop_attributes,
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td,
.woocommerce table.shop_attributes p,
.woocommerce table.shop_attributes a {
  color: #000000 !important;
}

/* Attribute table styling */
.woocommerce table.shop_attributes {
  background: #ffffff;
  border-radius: 6px;
  padding: 12px;
}

.woocommerce table.shop_attributes th {
  font-weight: 700;
  text-align: left;
  padding-right: 16px;
}

.woocommerce table.shop_attributes td {
  font-weight: 400;
}


/* ===============================
   PRODUCT TABS — INTENTIO THEME
   =============================== */

/* Tabs container */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding:0;
  margin: 40px 0 0;
 
}

/* Remove Woo default junk */
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none;
}

/* Individual tab */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  margin: 0;
}

/* Tab links */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 26px;

  /* background: var(--intentio-red); */
  color: #ffffff !important;

  font-weight: 700;
  letter-spacing: 0.04em;

  font-size: 14px;

 border-bottom: 3px solid var(--intentio-red);
  margin-right: 8px;

  transition: background-color 0.2s ease;
}

/* Hover */
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  background: #b71c1c;
}
/* Hide the "Filters" heading text */
.wc-block-product-filters__overlay-content > h2.wp-block-heading {
  display: none !important;
}



/* ===============================
   FULL-WIDTH INTENTIO HEADER
   =============================== */

/* Let the header go edge-to-edge */
.site-header.intentio-header {
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Kill Storefront width constraints */
.site-header.intentio-header .col-full,
.site-header.intentio-header .header-inner {
  max-width: none !important;
  width: 100% !important;
}

/* Keep inner content aligned nicely */
.site-header.intentio-header .header-inner {
  padding-left: 40px;
  padding-right: 40px;
}
.site-header.intentio-header .site-nav {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}


/* =====================================================
   ORDER RECEIVED + VIEW ORDER — FORCE BLACK (SCOPED)
   ===================================================== */

body.woocommerce-order-received .woocommerce,
body.woocommerce-view-order .woocommerce { 
  color: #000 !important;
}

/* Order details tables on those pages */
body.woocommerce-order-received .woocommerce table.shop_table,
body.woocommerce-view-order .woocommerce table.shop_table,
body.woocommerce-order-received .woocommerce table.shop_table *,
body.woocommerce-view-order .woocommerce table.shop_table *{
  color: #000 !important;
}

/* =====================================================
   CART — FORCE WHITE (SCOPED)
   ===================================================== */

body.woocommerce-cart .woocommerce,
body.woocommerce-cart .woocommerce *{
  color: #fff !important;
}

/* prices on cart */
body.woocommerce-cart .woocommerce-Price-amount,
body.woocommerce-cart .woocommerce-Price-currencySymbol{
  color: #fff !important;
}

/* =====================================================
   CHECKOUT — FORCE WHITE (SCOPED)
   ===================================================== */

body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce *{
  color: #fff !important;
}

/* prices on checkout */
body.woocommerce-checkout .woocommerce-Price-amount,
body.woocommerce-checkout .woocommerce-Price-currencySymbol{
  color: #fff !important;
}
/* =====================================================
   ORDER RECEIVED — make the TOP summary block black
   (Order number / Date / Email / Total / Payment method)
   ===================================================== */

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-overview *,
body.woocommerce-order-received .woocommerce-thankyou-order-details,
body.woocommerce-order-received .woocommerce-thankyou-order-details *{
  color: #000 !important;
}

/* links inside that block */
body.woocommerce-order-received .woocommerce-order-overview a,
body.woocommerce-order-received .woocommerce-thankyou-order-details a{
  color: #000 !important;
}
/* =====================================================
   ORDER RECEIVED — BANK TRANSFER DETAILS (BLACK TEXT)
   ===================================================== */

body.woocommerce-order-received .woocommerce-bacs-bank-details,
body.woocommerce-order-received .woocommerce-bacs-bank-details *,
body.woocommerce-order-received .wc-bacs-bank-details,
body.woocommerce-order-received .wc-bacs-bank-details * {
  color: #000 !important;
}

/* Make sure labels (Bank:, IBAN:, etc.) are black */
body.woocommerce-order-received .woocommerce-bacs-bank-details strong,
body.woocommerce-order-received .wc-bacs-bank-details strong {
  color: #000 !important;
}





/* CART (empty) — remove "New in store" heading */
body.woocommerce-cart h2.wp-block-heading.has-text-align-center{
  display: none !important;
}


/* ================================
   EMPTY CART — KEEP TITLE, HIDE PROMO
   Paste at VERY BOTTOM
   ================================ */

/* 1) Force-show the empty cart title (overrides any earlier hide rules) */
body.woocommerce-cart h2.wp-block-heading.wc-block-cart__empty-cart__title{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 2) Hide the “New in store” heading (and similar promo headings),
      but NOT the empty-cart title */
body.woocommerce-cart h2.wp-block-heading:not(.wc-block-cart__empty-cart__title){
  display: none !important;
}
/* ================================
   EMPTY CART — WHITE TEXT + ICON
   ================================ */

/* Title text */
body.woocommerce-cart
.wc-block-cart__empty-cart__title{
  color: #ffffff !important;
}

/* Any descriptive text under the title */
body.woocommerce-cart
.wc-block-cart__empty-cart__description,
body.woocommerce-cart
.wc-block-cart__empty-cart__description *{
  color: #ffffff !important;
}

/* Empty cart icon (SVG) */
body.woocommerce-cart
.wc-block-cart__empty-cart svg{
  fill: #ffffff !important;
}

/* Some themes use stroke instead of fill */
body.woocommerce-cart
.wc-block-cart__empty-cart svg path{
  stroke: #ffffff !important;
  fill: #ffffff !important;
}

/* ======================================
   EMPTY CART — INTENTIO BUTTON
   (Woo Blocks cart)
   ====================================== */


body.woocommerce-cart .intentio-empty-cart-cta{
  text-align: center;
  margin-top: 18px;
}

body.woocommerce-cart .intentio-empty-cart-button{
  display: inline-block;
  background: var(--intentio-red);
  color: #fff !important;

  padding: 14px 28px;
  border-radius: 4px;

  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;

  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

body.woocommerce-cart .intentio-empty-cart-button:hover{
  background: #b71c1c;
}




/* CART PAGE — hide any product grids/lists Woo adds anywhere on the cart */
body.woocommerce-cart .wc-block-grid,
body.woocommerce-cart .wc-block-grid__products,
body.woocommerce-cart .wc-block-grid__product,
body.woocommerce-cart .wc-block-components-product-list,
body.woocommerce-cart .wc-block-components-product-list-item{
  display: none !important;
}

/* =========================================
   CART PAGE — REMOVE DOT SEPARATOR
   ========================================= */

body.woocommerce-cart hr.wp-block-separator.is-style-dots {
  display: none !important;
}

/* =========================================
   SHOP GRID — FORCE PRICE + TITLE BLACK
   (only product cards / loop)
   ========================================= */

.woocommerce ul.products li.product,
.woocommerce ul.products li.product *{
  color: #000 !important; /* base for card text */
}

/* Title specifically */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3{
  color: #000 !important;
}

/* Price specifically (belt & braces) */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price *,
.woocommerce ul.products li.product .woocommerce-Price-amount,
.woocommerce ul.products li.product .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product bdi{
  color: #000 !important;
}

/* =========================================
   PRODUCT — ADDITIONAL INFORMATION TAB
   ========================================= */

/* Panel background */
.woocommerce div.product .woocommerce-tabs .panel--additional_information,
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information {
  background: #ffffff !important;
  color: #000000 !important;
}
/* =========================================
   SINGLE PRODUCT — Additional information tab FIX
   (black text on white background)
   ========================================= */

/* The actual panel */
body.single-product #tab-additional_information,
body.single-product .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information{
  background: #ffffff !important;
  color: #000000 !important;
}

/* Everything inside it */
body.single-product #tab-additional_information *,
body.single-product .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information *{
  color: #000000 !important;
}

/* The attributes table specifically */
body.single-product #tab-additional_information table.shop_attributes,
body.single-product #tab-additional_information table.shop_attributes th,
body.single-product #tab-additional_information table.shop_attributes td{
  background: #ffffff !important;
  color: #000000 !important;
}








/* =========================================
   SINGLE PRODUCT — Additional information (Intentio styled)
   ========================================= */

/* Panel as a neat white card */
body.single-product #tab-additional_information,
body.single-product .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information{
  background: #ffffff !important;
  color: #0b1c2d !important;
  padding: 24px !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25) !important;
}

/* Headings inside panel */
body.single-product #tab-additional_information h2,
body.single-product #tab-additional_information h3{
  color: #0b1c2d !important;
  margin: 0 0 14px !important;
}

/* Attributes table: modern, not “gridy” */
body.single-product #tab-additional_information table.shop_attributes{
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(11,28,45,0.12) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Rows */
body.single-product #tab-additional_information table.shop_attributes tr{
  background: #ffffff !important;
}

/* Zebra + dividers */
body.single-product #tab-additional_information table.shop_attributes tr:nth-child(even){
  background: #f6f7f9 !important;
}

body.single-product #tab-additional_information table.shop_attributes th,
body.single-product #tab-additional_information table.shop_attributes td{
  padding: 12px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(11,28,45,0.10) !important;
  vertical-align: top !important;
  color: #0b1c2d !important;
}

/* Left labels */
body.single-product #tab-additional_information table.shop_attributes th{
  width: 32% !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}

/* Last row: remove bottom line */
body.single-product #tab-additional_information table.shop_attributes tr:last-child th,
body.single-product #tab-additional_information table.shop_attributes tr:last-child td{
  border-bottom: 0 !important;
}

/* Links (e.g. Scale tag) */
body.single-product #tab-additional_information a{
  color: var(--intentio-red) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body.single-product #tab-additional_information a:hover{
  text-decoration: underline !important;
}