/* Thokai Sarees - Custom Stylesheet */

/* Color Variables */

:root {
    --primary-color: #E67E22;
    --primary-dark: #D35400;
    --primary-light: #F39C12;
    --bg-beige: #F5EBDD;
    --text-dark: #2C1810;
    --text-light: #666666;
    --accent-gold: #D4AF37;
    --border-light: #E8DCC8;
}

/* Global Woo & Elementor Overrides */
.woocommerce {
    font-family: "calibri", Sans-serif;
}
/* No min-height here. `.woocommerce` wraps whole pages *and* small fragments —
   a notices container, a single form — so a viewport-tall minimum on it left
   hundreds of pixels of white space under an "added to cart" notice on the
   product page. Keeping the footer down on a short page is `.site-main`'s job,
   further down this file. */

.woocommerce-loop-product__title,
.woocommerce .single-product .product_title {
    font-family: "Calibri", serif;
    color: var(--text-dark);
}

/* Product Grid Customization */
.woocommerce ul.products li.product {
/*     border: 1px solid var(--border-light); */
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
	text-align:center;
	padding: 10px 0px 20px 0px;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    height: 375px;
    object-fit: cover;
    width: 100%;	
}

/* Product Price */
.woocommerce .woocommerce-loop-product__title {
 font-size: 20px !important;
  margin: 15px 0 0 !important;
  min-height: 50px;
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
  font-weight: bold;
  padding: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
}

.woocommerce span.woocommerce-Price-amount.amount {
  font-weight: 600;
  font-size: 20px;
  font-style: italic;
}

/* Product Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.woocommerce a.add_to_cart_button {
   background-color: var(--text-dark) !important;
  color: #fff !important;
border-radius:30px !important
}

.woocommerce a.add_to_cart_button:hover {
    background-color: var(--primary-color) !important;
}

/* Cart & Checkout */
.woocommerce-cart-form {
    margin: 30px 0;
}

.woocommerce .cart-collaterals {
    background-color: var(--bg-beige);
    padding: 20px;
    border-radius: 2px;
}

.woocommerce .shop_table {
    border-color: var(--border-light);
}

/* Elementor Customization */
.elementor-container {
    max-width: 1200px;
}

.elementor-section {
    padding: 60px 0;
}

.elementor-heading-title {
    font-family: "Calibri", serif;
    color: var(--text-dark);
}

.elementor-button {
    background-color: var(--text-dark);
    border-radius: 2px;
}

.elementor-button:hover {
    background-color: var(--primary-color);
}

/* Image with Border Effect */
.elementor-image img {
    border-radius: 2px;
    transition: all 0.3s ease;
}

.image-with-orange-border {
    border: 3px solid var(--primary-color);
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(24, 96, 120, 0.2);
}

/* Hero Section Custom Styling */
.elementor-section.hero-section {
    background: linear-gradient(135deg, #e8f0f7 0%, #f7fbfd 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay-text {
    position: absolute;
    font-size: 48px;
    font-weight: 600;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-family: "Calibri", serif;
}

/* Section Heading with Border Accent */
.section-heading-with-accent {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
    display: inline-block;
}

/* Two-Column Section */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.two-column-content {
    padding: 30px;
}

/* Overlapping Images */
.overlapping-images {
    position: relative;
    height: 400px;
}

.overlapping-images .image-1 {
    position: absolute;
    width: 60%;
    height: 80%;
    top: 10%;
    left: 0;
    z-index: 2;
}

.overlapping-images .image-2 {
    position: absolute;
    width: 60%;
    height: 80%;
    bottom: 10%;
    right: 0;
    z-index: 1;
}

/* CTA Buttons with Hover Effect */
.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--text-dark);
    color: var(--white);
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(24, 96, 120, 0.3);
}

/* Featured Products Section */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-product-item {
    text-align: center;
    transition: all 0.3s ease;
}

.featured-product-item:hover {
    transform: translateY(-8px);
}

.featured-product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 15px;
}

.featured-product-name {
    font-family: "Calibri", serif;
    font-size: 16px;
    color: var(--text-dark);
    margin: 10px 0;
}

.featured-product-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
    margin: 10px 0 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .two-column-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .elementor-section {
        padding: 40px 0;
    }

    .hero-overlay-text {
        font-size: 32px;
    }

    .featured-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .overlapping-images {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .elementor-section {
        padding: 30px 0;
    }

    .hero-overlay-text {
        font-size: 24px;
    }

    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column-content {
        padding: 20px;
    }

    .featured-product-image {
        height: 200px;
    }

    .section-heading-with-accent {
        font-size: 24px;
    }
}

/* WooCommerce Cart Page */
.woocommerce-cart .cart_totals {
    background: var(--bg-beige);
    border: 1px solid var(--border-light);
    padding: 20px;
    border-radius: 2px;
}

.woocommerce .checkout-button {
    background-color: var(--primary-color) !important;
    padding: 15px 40px !important;
    font-size: 14px !important;
}

/* Search Results Page */
.woocommerce-search .woocommerce-loop-product__link {
    text-decoration: none;
}

/* Product Single Page */
.woocommerce .single-product .product .images {
    margin-bottom: 30px;
}

.woocommerce .single-product .product .summary {
    background: var(--bg-beige);
    padding: 30px;
    border-radius: 2px;
}

/* Loading Animation */

.loading {
position: relative;
  padding-right: 40px !important;
}
.loading::after {
    content:'';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-light);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .navigation {
        display: none;
    }
}


.custom-logo {
  max-width: 100px !important;
}
.tc-cate-box > .elementor-element{transition: all ease-in-out 0.75s; min-height: 200px;}
.tc-cate-box:hover > .elementor-element {  min-height: 100%;}

.tc-cate-box > .elementor-element h2{transition: all ease-in-out 0.75s;}
.tc-cate-box:hover > .elementor-element h2{ color: var( --e-global-color-secondary ) !important;}

.woocommerce ul.products li.product:hover {  padding: 10px 10px 20px 10px; }


/* =====================================================
   SAREE SLIDER CSS  —  v4  (original design, zero CLS)
   Pairs with saree-slider.js v4. Load both or neither.

   HOW THE ORIGINAL LOOK IS KEPT WITHOUT LAYOUT SHIFT
   -------------------------------------------------------
   The old code animated `left` and `width`. Those are layout
   properties, so every transition was recorded as a layout
   shift (your 0.369 score). Transforms and clip-path are not.

   So the slide box is now ALWAYS 70% x 100% and never resized:

     position   -> transform: translateX()   (exempt from CLS)
     tall strip -> clip-path: inset()        (paint only)
     zoom match -> transform: scale() on the <img>

   Clipping a 26.04%-wide window out of a 70%-wide box whose
   image has been scaled 0.93 shows exactly the same 31.7% of
   the image that `width:28% + object-fit:cover + scale(.93)`
   used to show. Identical pixels, no layout animation.
   ===================================================== */

/* ---- WRAPPER ---- */
.saree-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #db4a09 url('https://thokaisarees.com/wp-content/uploads/2026/07/slider-bg.webp') no-repeat;
  background-position: left center;
  background-size: 50% 100%;
  font-family: 'Cormorant Garamond', Georgia, serif;
  min-height: 583px;              /* 580 track + 3 progress bar */

  /* Base width of EVERY slide box. All translateX values in the
     JS are percentages of this, so changing it rescales the whole
     arrangement. Must match SLIDE_W in the JS. */
  --slide-w: 70%;
}

/* ---- PROGRESS BAR ----
   Driven by transform:scaleX() from JS, not width. Animating
   width here would force a layout recalculation on every one
   of the ~60 frames per second, for 10 seconds at a time.
   ---- */
.slider-progress {
  height: 3px;
  background: #f2e3cf;
  width: 100%;
}
.slider-progress-bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  background: linear-gradient(90deg, #186078, #f0a050);
}

/* ---- TRACK ----
   Fixed height reserves space before the images load, which is
   what stops everything below the hero from jumping upward.
   ---- */
.slider-track-wrapper {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
}
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* =====================================================
   SLIDES
   JS writes ONLY: transform, clip-path, opacity, filter,
   z-index, transition.  NEVER left / width / height.
   ===================================================== */
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--slide-w);   /* fixed forever — never animated */
  height: 100%;
  overflow: hidden;
  cursor: pointer;

  transform-origin: left center;
  backface-visibility: hidden;
  will-change: transform, clip-path, opacity;
  transition: none;        /* JS switches transitions on after init */

  /* default: parked off the right edge */
  transform: translate3d(190%, 0, 0);
  clip-path: inset(0% 0% 0% 0%);
  opacity: 0;
  z-index: 0;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
  user-select: none;

  /* Scaled by JS to reproduce the original per-slot zoom */
  transform: scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
}

/* =====================================================
   NO-JAVASCRIPT RESTING STATE
   The full arrangement is described here with :nth-child, so
   the hero paints complete on the very first frame instead of
   waiting for the script. This is what removes the 10,170 ms
   element render delay — and if the JS ever fails to load,
   the slider still looks right, it just doesn't move.

   Generated from your original design values:
     d1  left 68%  width 28%  scale .93
     d2  left 80%  width 24%  scale .83
     d3  left 100% width 20%  scale .74
     d4  left 100% width 16%  scale .65
   ===================================================== */

/* slot 0 — ACTIVE */
.slide-item:nth-child(1),
.slide-item.active {
  transform: translate3d(0, 0, 0);
  clip-path: inset(0% 0% 0% 0%);
  filter: none;
  opacity: 1;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.slide-item:nth-child(1) img,
.slide-item.active img { transform: scale(1); }

/* slot 1 */
.slide-item:nth-child(2) {
  transform: translate3d(67.143%, 0, 0);
  clip-path: inset(3.50% 31.400% 3.50% 31.400%);
  filter: brightness(0.70) saturate(0.85);
  opacity: 1;
  z-index: 7;
}
.slide-item:nth-child(2) img { transform: scale(0.93); }

/* slot 2 */
.slide-item:nth-child(3) {
  transform: translate3d(81.429%, 0, 0);
  clip-path: inset(8.50% 35.771% 8.50% 35.771%);
  filter: brightness(0.50) saturate(0.85);
  opacity: 1;
  z-index: 4;
}
.slide-item:nth-child(3) img { transform: scale(0.83); }

/* slot 3 */
.slide-item:nth-child(4) {
  transform: translate3d(107.143%, 0, 0);
  clip-path: inset(13.00% 39.429% 13.00% 39.429%);
  filter: brightness(0.35) saturate(0.85);
  opacity: 1;
  z-index: 2;
}
.slide-item:nth-child(4) img { transform: scale(0.74); }

/* slot 4 */
.slide-item:nth-child(5) {
  transform: translate3d(104.286%, 0, 0);
  clip-path: inset(17.50% 42.571% 17.50% 42.571%);
  filter: brightness(0.22) saturate(0.85);
  opacity: 1;
  z-index: 1;
}
.slide-item:nth-child(5) img { transform: scale(0.65); }

/* Inert (non-active) slides stay clickable to advance, but
   their links must not be clickable or keyboard-focusable. */
.slide-item[inert] { pointer-events: auto; }
.slide-item[inert] .btn-shop { pointer-events: none; }

/* ---- OVERLAY (active only) ---- */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(20, 8, 4, 0.62) 0%,
    rgba(20, 8, 4, 0.28) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 2;
  pointer-events: none;
}
.slide-item:nth-child(1) .slide-overlay,
.slide-item.active .slide-overlay { opacity: 1; }

/* ---- CAPTION ---- */
.slide-caption {
  position: absolute;
  left: 5%;
  bottom: 10%;
  z-index: 3;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
  max-width: 50%;
}
.slide-item:nth-child(1) .slide-caption,
.slide-item.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.slide-caption .tag {
  display: inline-block;
  background: #3b1f14;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.slide-caption .slide-title {
  font-family: "Calibri", Georgia, serif;
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.slide-caption .slide-title em {
  font-style: italic;
  color: #f0c080;
}

.slide-caption p {
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.slide-caption .btn-shop {
  display: inline-block;
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 22px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  cursor: pointer;
  white-space: nowrap;
}
.slide-caption .btn-shop:hover {
  background: #186078;
  border-color: #186078;
  color: #fff;
}
.slide-caption .btn-shop:focus-visible {
  outline: 3px solid #f0c080;
  outline-offset: 3px;
}

/* ---- BADGE ---- */
.slide-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  background: rgb(61, 29, 15);
  border: 1px solid rgb(61, 29, 15);
  border-radius: 4px;
  padding: 8px 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
  pointer-events: none;
}
.slide-item:nth-child(1) .slide-badge,
.slide-item.active .slide-badge {
  opacity: 1;
  transform: translateY(0);
}
.slide-badge .badge-italic {
  font-family: "Calibri", Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: #fff;
  display: block;
  line-height: 1.4;
}
.slide-badge .badge-bold {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  display: block;
}

/* ---- CONTROLS ---- */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 15px;
    background: #db4a09;
    position: absolute;
    bottom: 0px;
    z-index: 999;
    right: 0px;
}
.ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #c09070;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a4c30;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.ctrl-btn:hover {
  background: #3d1d0f;
  border-color: #3d1d0f;
  color: #fff;
}
.ctrl-btn:focus-visible {
  outline: 3px solid #3d1d0f;
  outline-offset: 2px;
}
.ctrl-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* ---- DOTS ---- */
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 22px;
}
.slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4bfb0;
  cursor: pointer;
  transition: background 0.35s ease, width 0.35s ease;
  border: none;
  padding: 0;
  display: inline-block;
}
.slider-dots .dot.active {
  background: #3d1d0f;
  width: 22px;
  border-radius: 4px;
}
.slider-dots .dot:focus-visible {
  outline: 2px solid #3d1d0f;
  outline-offset: 3px;
}

.ctrl-btn .ctrl-icon { width:24px; height: 24px; display: block; overflow: visible; }
.ctrl-btn .ctrl-icon path { fill: none !important; stroke: #fff !important; stroke-width: 2; }
.ctrl-btn:hover .ctrl-icon path { stroke: #fff !important; }

/* =====================================================
   LOGO — clears the "unsized image element" CLS entry.
   ALSO REQUIRED: Smush -> Lazy Load -> Exclusions, add
   `custom-logo`. It is above the fold and must not lazy-load.
   ===================================================== */
.custom-logo,
img.custom-logo {
  width: 200px;
  height: auto;
  aspect-ratio: 200 / 200;
}

/* Stops the nav row collapsing while webfonts swap in */
#menu-main-menu {
  min-height: 30px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .slider-track-wrapper { height: 268px; }
  .saree-slider-section { min-height: 270px; }
}

@media (max-width: 768px) {
  .slider-track-wrapper { height: 300px; }
  .saree-slider-section {
    min-height: 303px;
    --slide-w: 92%;              /* near full-bleed hero on phones */
    background-size: 100% 100%;
  }
  .slide-caption { max-width: 78%; left: 6%; bottom: 8%; }
  .slide-badge   { top: 12px; right: 12px; padding: 6px 10px; }
	.slide-item { display: none;}

.slide-item.active {
    display: block;
}
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .slide-item,
  .slide-item img,
  .slide-overlay,
  .slide-caption,
  .slide-badge {
    transition: none !important;
  }
  .slider-progress { display: none; }
}



/* =====================================================
   SAREE SLIDER — RESPONSIVE HEIGHT FIX  (v4.1 patch)

   Paste this AFTER saree-slider.css (or at the bottom of
   Appearance → Customize → Additional CSS). It overrides
   only what needs changing; keep v4 in place.

   WHAT WAS WRONG
   --------------
   1. Your theme / Elementor / Smush sets `img { height: auto }`,
      which beat the slider's `height: 100%`. The image rendered
      at its natural aspect ratio instead of filling the slide,
      so the lower part of every slide was empty background.
   2. The track height was a fixed 580px with hard breakpoints,
      so it never matched the image height in between.
   ===================================================== */

/* -----------------------------------------------------
   1. FLUID TRACK HEIGHT
   One variable drives the track and the section min-height,
   so they can never disagree. It still reserves space before
   the images load, so no layout shift is reintroduced.
   ----------------------------------------------------- */
.saree-slider-section {
  --track-h: clamp(300px, 41.5vw, 580px);
  min-height: calc(var(--track-h) + 3px);   /* +3px progress bar */
}

.slider-track-wrapper {
  height: var(--track-h);
}

/* Kill the old fixed heights from the v4 media queries */
@media (max-width: 1024px) {
  .slider-track-wrapper { height: var(--track-h); }
  .saree-slider-section { min-height: calc(var(--track-h) + 3px); }
}
@media (max-width: 768px) {
  .slider-track-wrapper { height: var(--track-h); }
  .saree-slider-section { min-height: calc(var(--track-h) + 3px); }
}

/* -----------------------------------------------------
   1b. SQUARE TRACK FOR THE PHONE BANNERS
   The m-Thokai-Banner crops are 1:1 (768x768); the desktop
   banners are 4:1. Both --track-h clamps above are tuned for
   the 4:1 art, so on a phone the square artwork was being
   cover-cropped — about a quarter of its height at 390px, half
   of it by 600px. A square track lets it fill the box exactly:
   nothing cropped, nothing letterboxed.

   Capped at 620px so it stays square across every phone width
   without taking over a small tablet's screen. 100vw is known
   before the image loads, so the space is still reserved and no
   layout shift is reintroduced.

   The selector carries `body` on purpose: page 9's Elementor
   Custom CSS sets --track-h from an inline <style> that loads
   after this file, so a bare `.saree-slider-section` would lose
   the tie. `body .saree-slider-section` outranks it on
   specificity, which holds whatever the source order — and,
   being in the theme, it survives a save from the builder.
   ----------------------------------------------------- */
@media (max-width: 767px) {
  body .saree-slider-section { --track-h: min(100vw, 620px); }
  body .saree-slider-section .slider-track-wrapper { height: var(--track-h); }
}

/* -----------------------------------------------------
   2. FORCE THE IMAGE TO FILL THE SLIDE
   The !important is deliberate — it exists purely to beat
   the theme's `img { height: auto }`. Without it the image
   collapses to its natural aspect ratio again.
   ----------------------------------------------------- */
.saree-slider-section .slide-item img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;

}

/* -----------------------------------------------------
   3. CAPTION SCALING
   The title was overflowing its slide on narrow screens.
   ----------------------------------------------------- */
.slide-caption {
  max-width: 52%;
  bottom: 10%;
}

@media (max-width: 1200px) {
  .slide-caption { max-width: 58%; }
  .slide-caption .slide-title { font-size: clamp(20px, 3.2vw, 38px); }
}

@media (max-width: 900px) {
  .slide-caption { max-width: 66%; bottom: 9%; }
  .slide-caption .slide-title { font-size: clamp(19px, 3.6vw, 30px); }
  .slide-caption p { font-size: 13px; margin-bottom: 14px; }
  .slide-caption .btn-shop { font-size: 13px; padding: 8px 16px; }
}

@media (max-width: 600px) {
  /* Full-bleed hero on phones — the queue slides clip off-screen */
  .saree-slider-section { --slide-w: 100%; }

  .slide-caption {
    max-width: 88%;
    left: 5%;
    bottom: 12%;
  }
  .slide-caption .slide-title { font-size: clamp(17px, 5.4vw, 24px); line-height: 1.2; }
  .slide-caption p           { display: none; }   /* no room, and it's decorative */
  .slide-caption .tag        { font-size: 9px; margin-bottom: 6px; }
  .slide-caption .btn-shop   { font-size: 12px; padding: 7px 14px; letter-spacing: 1.5px; }

  .slide-badge { top: 10px; right: 10px; padding: 5px 9px; }
  .slide-badge .badge-italic { font-size: 11px; }
  .slide-badge .badge-bold   { font-size: 8px; letter-spacing: 1.2px; }
}

/* -----------------------------------------------------
   4. CONTROLS — float over the hero, bottom right
   Also fixes the "touch targets too small" audit:
   the hit area is 28px, the visible pill stays 7px.
   ----------------------------------------------------- */
.slider-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  padding: 6px 10px;
  gap: 6px;
  background: rgba(20, 8, 4, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
}

/* 44px buttons — comfortable touch target */
.ctrl-btn {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  flex: 0 0 auto;
  padding: 0;
}
.ctrl-btn:hover {
  background: #186078;
  border-color: #186078;
}
/* Dots: 28px hit area, small visible pill drawn by ::before */
.slider-dots { gap: 0; }

.slider-dots .dot {
  width: 28px;
  height: 28px;
  background: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.slider-dots .dot::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
}
.slider-dots .dot.active::before {
  width: 20px;
  border-radius: 4px;
  background: #f0a050;
}
.slider-dots .dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .slider-controls { right: 10px; bottom: 10px; padding: 4px 6px; }
  .ctrl-btn { width: 40px; height: 40px; }
}

/* -----------------------------------------------------
   5. SAFETY: nothing here may animate a layout property,
   or the 0.376 CLS score comes straight back. Height is
   set once per breakpoint via a variable, never animated.
   ----------------------------------------------------- */





.wc-block-components-form .wc-block-components-text-input input[type="email"], .wc-block-components-form .wc-block-components-text-input input[type="number"], .wc-block-components-form .wc-block-components-text-input input[type="password"], .wc-block-components-form .wc-block-components-text-input input[type="tel"], .wc-block-components-form .wc-block-components-text-input input[type="text"], .wc-block-components-form .wc-block-components-text-input input[type="url"], .wc-block-components-text-input input[type="email"], .wc-block-components-text-input input[type="number"], .wc-block-components-text-input input[type="password"], .wc-block-components-text-input input[type="tel"], .wc-block-components-text-input input[type="text"], .wc-block-components-text-input input[type="url"], .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea {
  background: #ffffff !important; outline: none !important;
}
/* the checked box takes the brand teal, not the field fill — it used to be in
   the group above, which left a checkmark on a near-white square. */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
  background: #186078 !important;
  border-color: #186078 !important;
  outline: none !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #ffffff  !important; }
.wp-block-woocommerce-checkout-order-summary-block{background: #fff;}

.woocommerce .woocommerce-breadcrumb{display: flex; gap: 10px; align-items:center}

.site-main {
  min-height: calc(100vh - 518px);
}





/* =====================================================
   WooCommerce My Account — Thokai Sarees
   Fixed for Divi theme + Bootstrap col2-set structure
   Paste into: Appearance → Customize → Additional CSS
   ===================================================== */

/* ── ENTRY TITLE — spacing & hide on auth pages ── */
.woocommerce-account .entry-header,
.woocommerce-checkout .entry-header,
.woocommerce-cart .entry-header {
  padding-top: 40px !important;
  margin-top: 0 !important;
}
.woocommerce-account .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-cart .entry-title {
  margin-top: 0 !important;
  font-family: var(--td-display) !important;
}
.woocommerce-account:not(.logged-in) .entry-title,
.woocommerce-account:not(.logged-in) .entry-header {
  display: none !important;
}

/* Palette tokens are declared in assets/css/thokai-design.css. */

/* ── FIX DIVI FLOAT — MAKE SIDE BY SIDE LAYOUT ── */
.woocommerce-account .woocommerce {
  display: flex !important;
  flex-direction: row !important;
  gap: 36px !important;
  align-items: flex-start !important;  
  margin: 40px auto !important;
  padding: 0 0px 80px !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
    flex-direction: column !important;
    padding: 20px 15px 60px !important;
    gap: 24px !important;
  }
}

/* ── SIDEBAR ── */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 260px !important;
  min-width: 260px !important;
  flex-shrink: 0 !important;
  float: none !important;
  background: var(--white) !important;
  border-radius: 14px !important;
  border: 1px solid var(--border) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow) !important;
  position: sticky !important;
  top: 90px !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
    min-width: unset !important;
    position: static !important;
  }
}


.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 6px 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--border) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 13px 22px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--brown-md) !important;
  text-decoration: none !important;
  transition: all 0.25s !important;
  background: transparent !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #f2f8fb !important;
  color: var(--orange) !important;
  padding-left: 28px !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--collect) !important;
  color: var(--orange) !important;
  font-weight: 600 !important;
  border-left: 3px solid var(--orange) !important;
  padding-left: 19px !important;
}

/* Icons come from navigation.php as inline SVG — sized in section 12 of
   thokai-inner.css. The Font Awesome glyphs that used to be here rendered as
   tofu boxes: only Elementor enqueues Font Awesome, and only on pages with an
   icon widget. */
.woocommerce-account li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--brown-md) !important;
}
.woocommerce-account li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: #fbeef0 !important;
  color: #751b2a !important;
}

/* ── CONTENT AREA ── */
.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1 1 auto !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  background: var(--white) !important;
  border-radius: 14px !important;
  border: 1px solid var(--border) !important;
  padding: 30px !important;
  box-shadow: var(--shadow) !important;
  box-sizing: border-box !important;
}
@media (max-width: 600px) {
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 22px 18px !important;
  }
}
.woocommerce-account .woocommerce-MyAccount-content::after {
  content: '' !important;
  display: table !important;
  clear: both !important;
}

/* Headings */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--td-display) !important;
  color: var(--brown) !important;
  margin-bottom: 20px !important;
}
.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: clamp(20px, 2.5vw, 28px) !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  color: #751b2a !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid var(--border) !important;
}

/* Intro message bar */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  font-size: 13px !important;
  color: var(--brown-lt) !important;
  margin-bottom: 28px !important;
  padding: 12px 16px !important;
  background: var(--collect) !important;
  border-left: 3px solid var(--orange) !important;
  border-radius: 0 4px 4px 0 !important;
}

/* ── ADDRESSES — FIX col2-set / u-columns FLOAT ── */
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .u-columns.woocommerce-Addresses,
.woocommerce-account .col2-set.woocommerce-Addresses,
.woocommerce-account .col2-set.addresses {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  width: 100% !important;
  float: none !important;
  overflow: visible !important;
  clear: both !important;
}
.woocommerce-account .col2-set::after,
.woocommerce-account .col2-set::before {
  display: none !important;
}
@media (max-width: 600px) {
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce-account .u-columns.woocommerce-Addresses,
  .woocommerce-account .col2-set.woocommerce-Addresses,
  .woocommerce-account .col2-set.addresses {
    grid-template-columns: 1fr !important;
  }
}

/* Address column items */
.woocommerce-account .woocommerce-Address,
.woocommerce-account .u-column1.woocommerce-Address,
.woocommerce-account .u-column2.woocommerce-Address,
.woocommerce-account .woocommerce-Addresses .col-1,
.woocommerce-account .woocommerce-Addresses .col-2,
.woocommerce-account .col2-set .col-1,
.woocommerce-account .col2-set .col-2,
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  background: var(--collect) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 22px 24px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Address card header row */
.woocommerce-account .woocommerce-Address-title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 16px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid var(--border) !important;
}
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
  font-family: var(--td-display) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--brown) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Edit button */
.woocommerce-account .woocommerce-Address-title .edit {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--orange) !important;
  text-decoration: none !important;
  border: 1.5px solid var(--orange) !important;
  padding: 5px 14px !important;
  border-radius: 3px !important;
  transition: all 0.25s !important;
  background: transparent !important;
  white-space: nowrap !important;
}
.woocommerce-account .woocommerce-Address-title .edit:hover {
  background: var(--orange) !important;
  color: #fff !important;
}

/* Address text */
.woocommerce-account .woocommerce-Address address {
  font-style: normal !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: var(--brown-md) !important;
}
.woocommerce-account .woocommerce-Address p {
  font-size: 14px !important;
  color: var(--brown-lt) !important;
  font-style: italic !important;
  text-align: center !important;
  padding: 16px 0 !important;
  margin: 0 !important;
}

/* ── ORDERS TABLE ── */
.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
  margin: 0 !important;
}
.woocommerce-account table th {
  background: var(--primary-dark) !important;
  color: #fff !important;
  padding: 12px 16px !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  text-align: left !important;
  border: none !important;
}
.woocommerce-account table td {
  padding: 13px 16px !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--brown-md) !important;
  vertical-align: middle !important;
}
.woocommerce-account table tr:nth-child(even) td { background: #f8fbfd !important; }
.woocommerce-account table tr:hover td { background: var(--collect) !important; }

/* Status badges */
.woocommerce-account mark.order-status {
  background: transparent !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  display: inline-block !important;
}
.woocommerce-account mark.order-status.status-completed,
.woocommerce-account mark.order-status.status-processing { background: #e6f7ec !important; color: #1a7a40 !important; }
.woocommerce-account mark.order-status.status-pending,
.woocommerce-account mark.order-status.status-on-hold    { background: #fff3e0 !important; color: #a8641b !important; }
.woocommerce-account mark.order-status.status-cancelled,
.woocommerce-account mark.order-status.status-refunded   { background: #fde8e8 !important; color: #c0392b !important; }

/* Table buttons */
.woocommerce-account table .button,
.woocommerce-account table a.button {
  background: transparent !important;
  border: 1.5px solid var(--orange) !important;
  color: var(--orange) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  border-radius: 3px !important;
  text-decoration: none !important;
  transition: all 0.25s !important;
  display: inline-block !important;
}
.woocommerce-account table .button:hover,
.woocommerce-account table a.button:hover {
  background: var(--orange) !important; color: #fff !important;
}

/* ── ORDERS / DOWNLOADS — Responsive table ── */
@media (max-width: 768px) {
  .woocommerce-account table.shop_table_responsive thead {
    display: none !important;
  }
  .woocommerce-account table.shop_table_responsive tr {
    display: block !important;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    margin-bottom: 14px !important;
    padding: 6px 0 !important;
    box-shadow: 0 2px 8px rgba(58,31,16,0.05) !important;
  }
  .woocommerce-account table.shop_table_responsive td,
  .woocommerce-account table.shop_table_responsive th[scope="row"] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 16px !important;
    border-bottom: 1px solid var(--border) !important;
    font-size: 13px !important;
    text-align: right !important;
  }
  .woocommerce-account table.shop_table_responsive td:last-child,
  .woocommerce-account table.shop_table_responsive th[scope="row"]:last-child {
    border-bottom: none !important;
  }
  .woocommerce-account table.shop_table_responsive td::before,
  .woocommerce-account table.shop_table_responsive th[scope="row"]::before {
    content: attr(data-title) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--brown) !important;
    text-align: left !important;
    flex-shrink: 0 !important;
    margin-right: 12px !important;
  }
  .woocommerce-account table.shop_table_responsive tr:nth-child(even) td {
    background: transparent !important;
  }
}

/* ── ORDERS / DOWNLOADS / ADDRESSES — Empty state ──
   Woo says "no orders yet" with a .woocommerce-info that carries a Browse
   products button, and that is the only account notice that wants this tall
   centred panel. Without the :has() test it also caught every ordinary
   account notice — "your billing address is used for invoices", "address
   changed successfully" — and rendered a one-line message as a 100px block
   with its icon hidden. Those now take the compact notice from section 6 of
   thokai-inner.css. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .button),
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message:has(> .button) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  border: 1px solid var(--border) !important;
  border-left: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 40px 24px !important;
  background: var(--collect) !important;
  color: var(--brown-md) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .button)::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message:has(> .button)::before {
  display: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .button) .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .button) a.wc-forward,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .button) .woocommerce-Button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message:has(> .button) .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message:has(> .button) a.wc-forward,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message:has(> .button) .woocommerce-Button {
  display: inline-block !important;
  float: none !important;
  order: 2 !important;
  margin-top: 18px !important;
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px !important;
  padding: 12px 28px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background 0.3s !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .button) .button:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .button) a.wc-forward:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message:has(> .button) .button:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message:has(> .button) a.wc-forward:hover {
  background: var(--orange) !important;
}

/* ── PAGINATION for orders ── */
.woocommerce-account .woocommerce-pagination {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--border) !important;
}
.woocommerce-account .woocommerce-pagination .button {
  background: transparent !important;
  border: 1.5px solid var(--orange) !important;
  color: var(--orange) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: all 0.25s !important;
}
.woocommerce-account .woocommerce-pagination .button:hover {
  background: var(--orange) !important;
  color: #fff !important;
}

/* ── FORMS ── */
.woocommerce-account .form-row { margin-bottom: 18px !important; }
.woocommerce-account .form-row.form-row-wide { float: none !important; }
.woocommerce-account .form-row label {
  display: block !important;
  font-size: 11px !important; font-weight: 700 !important;
  letter-spacing: 1.5px !important; text-transform: uppercase !important;
  color: var(--brown-md) !important; margin-bottom: 6px !important;
}
.woocommerce-account .form-row input[type=text],
.woocommerce-account .form-row input[type=email],
.woocommerce-account .form-row input[type=password],
.woocommerce-account .form-row input[type=tel],
.woocommerce-account .form-row select,
.woocommerce-account .form-row textarea {
  width: 100% !important; border: 1.5px solid var(--border) !important;
  border-radius: 5px !important; padding: 11px 14px !important;
  font-size: 14px !important; color: var(--brown) !important;
  background: var(--white) !important; box-shadow: none !important;
  outline: none !important; transition: border-color 0.25s, box-shadow 0.25s !important;
}
.woocommerce-account .form-row input:focus,
.woocommerce-account .form-row select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(42,135,163,0.16) !important;
}

/* ── EDIT ACCOUNT FORM — centered card + name fields side by side ── */
.woocommerce-account .edit-account {
  max-width: 620px !important;
  margin: 0 !important;
}
.woocommerce-account .edit-account .form-row-first,
.woocommerce-account .edit-account .form-row-last {
  width: 48% !important;
  display: inline-block !important;
  vertical-align: top !important;
  float: none !important;
}
.woocommerce-account .edit-account .form-row-first {
  margin-right: 3% !important;
}
.woocommerce-account .edit-account .clear {
  display: none !important;
}
.woocommerce-account .edit-account fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 28px 0 0 !important;
}
.woocommerce-account .edit-account fieldset legend {
  font-family: var(--td-display) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #751b2a !important;
  padding-bottom: 14px !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid var(--border) !important;
  width: 100% !important;
}

/* Submit */
.woocommerce-account button[type=submit],
.woocommerce-account input[type=submit],
.woocommerce-account .woocommerce-Button {
  /* The plate artwork and the hover swap come from section 3 of
     thokai-inner.css. A `background:` shorthand here would set
     background-color as well, and the plate's notched corners are
     transparent — the flat colour showed through them as a coloured sliver at
     each end. So: no fill of its own. */
  background-color: transparent !important;
  color: #fff !important;
  border: none !important;
  font-size: 13px !important; font-weight: 600 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
  cursor: pointer !important;
  margin-top: 8px !important;
}
.woocommerce-account button[type=submit]:hover,
.woocommerce-account input[type=submit]:hover,
.woocommerce-account .woocommerce-Button:hover {
  /* hover is the green plate, set in thokai-inner.css */
  background-color: transparent !important;
  text-decoration: none !important;
}

/* ── NOTICES ──
   The whole treatment — fills, rules, padding and the icon's position — is in
   section 6 of thokai-inner.css. The padding that used to be set here was
   14px 18px, which put the text under Woo's absolutely positioned icon. Don't
   set notice padding without moving ::before to match. */

/* ── LINKS ── */
.wc-block-components-button {
color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
 
}



.woocommerce-account .woocommerce-MyAccount-content a:hover { text-decoration:underline !important;}

.woocommerce-account .woocommerce::after, .woocommerce-account .woocommerce::before{position: absolute;}

/* =====================================================
   ORDER RECEIVED / THANK YOU PAGE
   ===================================================== */
.woocommerce-order {
  padding: 20px 0 40px !important;
}

/* "Thank you" confirmation text */
.woocommerce-order .woocommerce-notice--success.woocommerce-thankyou-order-received,
.woocommerce-order > .woocommerce-thankyou-order-received {
  font-size: 15px !important;
  color: var(--brown-md, #6c1824) !important;
  background: var(--collect, #e8f0f7) !important;
  border-left: 3px solid var(--orange, #186078) !important;
  border-radius: 0 4px 4px 0 !important;
  padding: 14px 20px !important;
  margin-bottom: 20px !important;
}

/* Order overview summary strip */
.woocommerce-order ul.woocommerce-order-overview {
  display: flex !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  background: linear-gradient(90deg, #186078 0%, #3c7848 100%) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.woocommerce-order ul.woocommerce-order-overview li {
  flex: 1 1 0 !important;
  min-width: 150px !important;
  padding: 20px 22px !important;
  border-right: 1px solid rgba(255,255,255,0.1) !important;
  border-bottom: none !important;
  margin: 0 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
}
.woocommerce-order ul.woocommerce-order-overview li:last-child {
  border-right: none !important;
}
.woocommerce-order ul.woocommerce-order-overview li strong {
  display: block !important;
  margin-top: 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  color: #fff !important;
}
.woocommerce-order ul.woocommerce-order-overview li.total strong {
  color: var(--orange-lt, #2a87a3) !important;
  font-size: 17px !important;
}

/* Section headings */
.woocommerce-order h2 {
  font-family: var(--td-display) !important;
  font-size: clamp(18px, 2.5vw, 22px) !important;
  font-weight: 700 !important;
  color: var(--brown, #48180c) !important;
  padding-bottom: 10px !important;
  margin: 0 0 14px !important;
  border-bottom: 1px solid var(--border, #d7e4ec) !important;
}

/* Order details table */
.woocommerce-order table.woocommerce-table--order-details,
.woocommerce-order table.shop_table.order_details {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid var(--border, #d7e4ec) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  font-size: 14px !important;
  margin-bottom: 24px !important;
}
.woocommerce-order table.shop_table thead th {
  background: var(--primary-dark, #124e60) !important;
  color: #fff !important;
  padding: 13px 20px !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  text-align: left !important;
  border: none !important;
}
.woocommerce-order table.shop_table td,
.woocommerce-order table.shop_table th[scope="row"] {
  padding: 14px 20px !important;
  border-bottom: 1px solid var(--border, #d7e4ec) !important;
  color: var(--brown-md, #6c1824) !important;
  vertical-align: middle !important;
}
.woocommerce-order table.shop_table tr:last-child td,
.woocommerce-order table.shop_table tr:last-child th {
  border-bottom: none !important;
}
.woocommerce-order table.shop_table tfoot th,
.woocommerce-order table.shop_table tfoot td {
  background: #f8fbfd !important;
  color: var(--brown-md, #6c1824) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid var(--border, #d7e4ec) !important;
}
.woocommerce-order table.shop_table tfoot tr:last-child th,
.woocommerce-order table.shop_table tfoot tr:last-child td {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--brown, #48180c) !important;
  border-bottom: none !important;
}
.woocommerce-order table.shop_table tbody tr:nth-child(even) td {
  background: #f8fbfd !important;
}
.woocommerce-order table.shop_table a {
  color: var(--orange) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.woocommerce-order table.shop_table a:hover {
  text-decoration: underline !important;
}
.woocommerce-order table.shop_table .amount {
  font-weight: 500 !important;
  color: var(--brown, #48180c) !important;
}
.woocommerce-order table.shop_table tfoot tr:last-child .amount {
  font-weight: 700 !important;
  font-size: 17px !important;
  color: #a8641b !important;
}

/* Order status badge */
.woocommerce-order mark,
.woocommerce mark.order-status {
  background: transparent !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  display: inline-block !important;
}
.woocommerce-order mark.order-status-completed,
.woocommerce-order mark.order-status-processing {
  background: #e6f7ec !important;
  color: #1a7a40 !important;
}
.woocommerce-order mark.order-status-pending,
.woocommerce-order mark.order-status-on-hold {
  background: #fff3e0 !important;
  color: #a8641b !important;
}
.woocommerce-order mark.order-status-cancelled,
.woocommerce-order mark.order-status-refunded,
.woocommerce-order mark.order-status-failed {
  background: #fde8e8 !important;
  color: #c0392b !important;
}

/* Billing / Shipping address section */
.woocommerce-order .woocommerce-customer-details {
  margin-top: 24px !important;
}
.woocommerce-order .woocommerce-customer-details address {
  background: var(--collect, #e8f0f7) !important;
  border: 1px solid var(--border, #d7e4ec) !important;
  border-radius: 12px !important;
  padding: 22px 24px !important;
  font-style: normal !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: var(--brown-md, #6c1824) !important;
}
.woocommerce-order .woocommerce-customer-details address p {
  margin: 0 0 4px !important;
}
.woocommerce-order .woocommerce-columns--addresses {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}

/* Bank transfer details section */
.woocommerce-order .woocommerce-bacs-bank-details {
  margin-top: 24px !important;
}
.woocommerce-order .wc-bacs-bank-details-heading + .wc-bacs-bank-details {
  background: var(--collect, #e8f0f7) !important;
  border: 1px solid var(--border, #d7e4ec) !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
}

@media (max-width: 768px) {
  .woocommerce-order ul.woocommerce-order-overview li {
    min-width: 45% !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  .woocommerce-order .woocommerce-columns--addresses {
    grid-template-columns: 1fr !important;
  }
}

/* The card buttons used to be an outline treatment here — a transparent fill,
   a 1.5px brown border and `border-radius: 6px !important` — which fought the
   plate artwork they now use: the flat fill showed through the plate's
   transparent notched ends and the !important radius rounded off its corners.
   `.ts-rel-btn` is styled in product-detail.css; the loop's add-to-cart /
   product_type_simple button in section 2 of thokai-inner.css. */

.privacytermswrap hr {
  margin: 30px 0 !important;
  background-color: #9e9e9e !important;
}


ul.page-numbers {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent;
  border: 0px !important;
}
.page-numbers {
  display: flex !important; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 4px;
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 13px; font-weight: 600;
  color: var(--brown-md); text-decoration: none; transition: all 0.25s; list-style: none;
}
li .page-numbers:hover, li .page-numbers.current {
  background: var(--orange) !important;
  color: #fff !important;
  border-color: var(--orange);
}
li .page-numbers.dots { border: none; background: none; }



.woocommerce .products ul, .woocommerce ul.products{display: grid;  grid-template-columns: repeat(4, 1fr);  gap: 30px;  margin-bottom: 40px;}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{margin: 0 !important; width:inherit !important}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {  display: none !important;}



.added_to_cart.wc-forward {  margin-left: 15px;}

.woocommerce-order-details, .woocommerce-customer-details { padding: 0px;}

.woocommerce-account .woocommerce-Address-title::before, .woocommerce-account .woocommerce-Address-title::after { display: none !important;}

.button.product_type_simple.disabled.out-of-stock-btn {
  opacity: 1;
}


@media(max-width:991px){


::-webkit-scrollbar {
    display: none;
 }

body{-ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width: none;     /* Firefox */}

.footer-main .col-md-5 {
  width: 100%;
  margin-bottom: 50px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.taracol {
  overflow-x: auto;
  padding-bottom: 30px;  
        padding-right: 30px;
	
}

.taracol > .elementor-element {
  min-width: 300px;
}

.hfproduct ul {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.hfproduct ul li {
  min-width: 300px;
  margin-right: 15px !important;
}

.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product{margin:0}
.woocommerce .products ul, .woocommerce ul.products{ grid-template-columns: repeat(3, 1fr);}
}


@media(max-width:900px){
.ts-search-sidebar {
  position: static;
}
}


@media(max-width:767px){
	.slide-caption{max-width:85%}
}

@media(max-width:575px){
.slide-caption p {display:none}
.woocommerce ul.products li.product .woocommerce-loop-product__link img { height: 300px;}
/* Icon-only submit on a phone. width:48px is border-box, so the base rule's
   24px of side padding left a 0px content box and the icon collapsed to a
   hairline — the padding has to go with it. The label is hidden by class, not
   by text-indent: text-indent does not move a flex item, so the word was only
   ever hidden by that zero-width content box. */
.ts-search-bar-wrap button {
  display: flex;
  flex: 0 0 50px;
  width: 50px;
  max-width: 50px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.ts-search-bar-wrap .ts-search-bar-label { display: none; }
.ts-search-bar-wrap button svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
}
.woocommerce .products ul, .woocommerce ul.products{ grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 414px) {
  .woocommerce ul.products li.product .woocommerce-loop-product__link img {
    height: 200px;
  }
 .taracol > .elementor-element {
        min-width: 220px;
 min-height: auto !important;
    height: 300px;
    }

.hfproduct ul li { min-width: 220px;}
}

   

/* =====================================================
   FOOTER — responsive layout
   -------------------------------------------------------
   The markup is five Bootstrap columns — logo, contact,
   information, policy, brandmark — carrying only col-md-*
   classes. So above 768px they sit in one row and below it
   they stack, with nothing defined for the tablet band in
   between. Three things went wrong there:

   1. A `width: 33.33%` override under 991px put three
      columns in the first row and left "Policy and Enquiry"
      orphaned at the far left of a second row beside the
      brandmark.
   2. The white logo disc takes its size from its column
      rather than a cap, so it grew to 274px on a tablet and
      450px on a phone. (The theme's `max-width: 108px` on
      the logo is dead — a later rule sets the inner img to
      `width: 100% !important`, and the disc is the <a>.)
   3. Anything laid out with flex — the phone/email links,
      the social row, the copyright halves — ignored the
      `text-align: center` that was meant to centre it.

   Flex `order` is used to regroup rather than reorder the
   markup, so the two decorative blocks (logo, brandmark)
   read as one centred band and the three content columns
   share the row below.
   ===================================================== */

/* The disc is the <a>, so that is what has to be capped. 210px is the size
   the desktop design already uses. Comments stay outside the block: the
   minifier mangles in-block ones (see .footer-brandmark below). */
.site-footer .footer-main .footer-logo .custom-logo-link {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* the brandmark is decorative; it should never set the column width */
/* width:100% keeps .img-fluid's container constraint, which a bare
   max-width:190px replaced: in the 992-1024px band the 190px image outgrew
   its 167px column and pushed the whole footer wider than the viewport.
   Kept as two plain declarations rather than min() -- and with no comment
   inside the block -- because WP Fastest Cache's CSS minifier ate an in-block
   comment here and left the rule unclosed, which silently swallowed every
   media query below it. */
.footer-brandmark {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  margin-inline: auto;
}

.taracol {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

/* ---- tablet: logo + brandmark band, then three link columns ---- */
@media (max-width: 991px) {
  .footer-main > .row { row-gap: 34px; }

  .footer-main > .row > div:first-child,
  .footer-main > .row > div:last-child {
    flex: 0 0 auto;
    width: 50%;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important;
  }

  .footer-main > .row > div:nth-child(2),
  .footer-main > .row > div:nth-child(3),
  .footer-main > .row > div:nth-child(4) {
    flex: 0 0 auto;
    width: 33.3333%;
    order: 2;
    margin-bottom: 0 !important;
  }

  .site-footer .footer-main .footer-logo { justify-content: center; }
  .site-footer .footer-main .footer-logo .custom-logo-link { max-width: 170px; }
}

/* ---- narrow tablet / large phone: contact needs a full row ---- */
@media (max-width: 767px) {
  .footer-main > .row > div:nth-child(2) {
    width: 100%;
    order: 2;
    text-align: center;
  }
  .footer-main > .row > div:nth-child(3),
  .footer-main > .row > div:nth-child(4) {
    width: 50%;
    order: 3;
    text-align: center;
  }

  /* flex rows don't inherit text-align, so they are centred directly */
  .site-footer .contact-info p,
  .site-footer .contact-info a,
  .site-footer .social-links { justify-content: center; }

  /* Bootstrap's .text-start/.text-end carry !important, so this must too */
  .site-footer .footer-bottom .copyright-text.text-start,
  .site-footer .footer-bottom .copyright-text.text-end {
    text-align: center !important;
  }
  .site-footer .footer-bottom .row { row-gap: 4px; }
}

/* ---- phone: one column, everything centred ---- */
@media (max-width: 575px) {
  .footer-main > .row { row-gap: 28px; }

  .footer-main > .row > div:first-child,
  .footer-main > .row > div:nth-child(2),
  .footer-main > .row > div:nth-child(3),
  .footer-main > .row > div:nth-child(4),
  .footer-main > .row > div:last-child {
    width: 100%;
    text-align: center;
  }
  /* keep the decorative pair first and last, links in between */
  .footer-main > .row > div:first-child { order: 1; }
  .footer-main > .row > div:nth-child(2) { order: 2; }
  .footer-main > .row > div:nth-child(3) { order: 3; }
  .footer-main > .row > div:nth-child(4) { order: 4; }
  .footer-main > .row > div:last-child  { order: 5; }

  .site-footer .footer-main .footer-logo .custom-logo-link { max-width: 150px; }
  .footer-brandmark { max-width: 170px; }

  .site-footer .footer-title { margin-bottom: 10px !important; }
  .site-footer .footer-links { line-height: 1.9; }
  .woocommerce-account .edit-account .form-row-first, .woocommerce-account .edit-account .form-row-last{ width: 100% !important; display: block !important; margin-right: 0 !important;}
}
