/*
Theme Name: Brivox TopDiving
Theme URI: https://brivox.tech
Author: Brivox
Author URI: https://brivox.tech
Description: Ultra-modern minimalist child theme for Top Divers (Blocksy-based). Designed & engineered by Brivox.
Template: blocksy
Version: 1.1.0
Text Domain: brivox-topdiving
*/

/* =========================================================
   BRIVOX TOPDIVING — MAIN THEME CSS (CORE)
   - Global tokens + polish
   - WooCommerce: cards everywhere + cart/checkout/single product
   - Blog: archive cards + single post + comments
   - Home is handled by assets/home.css (enqueue)
   ========================================================= */

/* =========================
   Design Tokens
   ========================= */
:root{
  /* Brand */
  --td-blue: #093a5a;
  --td-aqua: #20a2c4;
  --td-aqua-hi: #2fd2ea;
  --td-white: #ffffff;

  /* Backgrounds */
  --td-bg: #f6fbff;
  --td-surface: #ffffff;
  --td-surface-2: #f3f8fc;

  /* Text */
  --td-text: #073047;
  --td-muted: rgba(7,48,71,0.72);
  --td-muted2: rgba(7,48,71,0.62);

  /* Strokes */
  --td-stroke: rgba(7,48,71,0.12);
  --td-stroke-soft: rgba(7,48,71,0.08);
  --td-stroke-accent: rgba(32,162,196,0.35);

  /* Shadows (cool) */
  --td-shadow-xs: 0 8px 18px rgba(9,58,90,0.06);
  --td-shadow-sm: 0 14px 34px rgba(9,58,90,0.10);
  --td-shadow-md: 0 22px 60px rgba(9,58,90,0.14);
  --td-shadow-lg: 0 36px 90px rgba(9,58,90,0.18);

  /* Glass */
  --td-glass: rgba(255,255,255,0.90);
  --td-glass-strong: rgba(255,255,255,0.86);
  --td-overlay: rgba(0,0,0,0.55);

  /* Radius */
  --td-r: 16px;
  --td-r2: 22px;
  --td-r3: 28px;

  /* Layout */
  --td-container: 1180px;

  /* Motion */
  --td-ease: cubic-bezier(.2,.8,.2,1);
  --td-fast: 140ms;
  --td-mid: 220ms;

  /* Type */
  --td-font: "Bebas Neue", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Spacing (global, tight + consistent) */
  --td-gap: clamp(10px, 1vw, 14px);
  --td-pad: clamp(12px, 1.2vw, 18px);
  --td-sec: clamp(18px, 2.2vw, 34px);

  /* Forms */
  --td-field-h: 46px;
}

/* =========================
   Base / Reset
   ========================= */
*,
*::before,
*::after{ box-sizing: border-box; }

html{ scroll-behavior:smooth; }

body{
  background: var(--td-bg);
  color: var(--td-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

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

a{
  color: var(--td-blue);
  text-decoration: none;
  transition: color var(--td-fast) var(--td-ease), opacity var(--td-fast) var(--td-ease), transform var(--td-fast) var(--td-ease);
}
a:hover{ color: var(--td-aqua); }

:focus-visible{
  outline: 3px solid rgba(32,162,196,0.35);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Containers */
.ct-container,
.container{
  max-width: var(--td-container);
}

/* Small global rhythm */
.ct-container > * + *{ margin-top: 0; }

/* Typography */
h1,h2,h3,h4,.td-display{
  font-family: var(--td-font);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--td-blue);
}
h1{ line-height: .86; }
p{ color: var(--td-text); line-height: 1.75; }
.td-muted{ color: var(--td-muted); }
.td-muted2{ color: var(--td-muted2); }

/* Selection */
::selection{
  background: rgba(32,162,196,.22);
}

/* =========================
   Surfaces / Cards / Glass
   ========================= */
.td-card{
  background: var(--td-surface);
  border: 1px solid var(--td-stroke-soft);
  border-radius: var(--td-r3);
  box-shadow: var(--td-shadow-sm);
  overflow: hidden;
}
.td-card__head{
  background: var(--td-surface-2);
  border-bottom: 1px solid var(--td-stroke-soft);
}

.td-glass{
  background: var(--td-glass);
  border: 1px solid var(--td-stroke-soft);
  border-radius: var(--td-r3);
  box-shadow: var(--td-shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* =========================
   Premium Buttons (global)
   ========================= */
.td-btn{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(32,162,196,0.40);
  color: var(--td-blue);
  font-weight: 800;
  letter-spacing: .02em;
  background: linear-gradient(180deg, rgba(32,162,196,0.22), rgba(32,162,196,0.10));
  box-shadow: var(--td-shadow-sm);
  transition: transform var(--td-fast) var(--td-ease), box-shadow var(--td-fast) var(--td-ease), border-color var(--td-fast) var(--td-ease), background var(--td-fast) var(--td-ease), filter var(--td-fast) var(--td-ease);
  will-change: transform;
}
.td-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(32,162,196,0.62);
  box-shadow: var(--td-shadow-md);
  filter: saturate(1.05);
}
.td-btn:active{
  transform: translateY(0);
  box-shadow: var(--td-shadow-sm);
}

/* shine */
.td-btn::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 34%,
    rgba(255,255,255,0.58) 50%,
    rgba(255,255,255,0) 66%);
  transform: translateX(-120%);
  opacity:.55;
  pointer-events:none;
}
.td-btn:hover::after{
  animation: td-shine 950ms var(--td-ease);
}
@keyframes td-shine{ to{ transform: translateX(120%); } }

.td-btn--ghost{
  background: var(--td-surface);
  border-color: var(--td-stroke);
  box-shadow: var(--td-shadow-xs);
}
.td-btn--ghost:hover{
  border-color: rgba(32,162,196,0.40);
  box-shadow: var(--td-shadow-sm);
}

/* =========================
   Forms (global)
   ========================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea{
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--td-stroke-soft);
  background: #fff;
  color: var(--td-text);
  box-shadow: var(--td-shadow-xs);
  transition: border-color var(--td-fast) var(--td-ease), box-shadow var(--td-fast) var(--td-ease), transform var(--td-fast) var(--td-ease);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
select{
  height: var(--td-field-h);
  padding: 10px 12px;
}

textarea{
  padding: 12px 12px;
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus{
  outline: none;
  border-color: rgba(32,162,196,0.45);
  box-shadow: 0 0 0 4px rgba(32,162,196,0.16), var(--td-shadow-xs);
}

/* =========================
   Minimal Header polish (safe)
   ========================= */
header#header{
  border-bottom: 1px solid var(--td-stroke-soft);
  background: rgba(246,251,255,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Sticky header stability (prevents “half cut” look in some setups) */
#header,
#header .ct-header,
#header [data-sticky],
#header .ct-sticky-container{
  transform: translateZ(0);
  will-change: transform;
}
#header .ct-sticky-container{ overflow: visible; }

/* Blocksy menu link polish (safe selectors) */
#header .ct-header a{ color: rgba(7,48,71,0.86); }
#header .ct-header a:hover{ color: var(--td-aqua); }

/* =========================
   GTranslate minimal
   ========================= */
.gtranslate_wrapper{
  display:inline-flex;
  align-items:center;
  gap: 10px;
}
.gtranslate_wrapper,
.gtranslate_wrapper *{
  font-size: 13px !important;
}
.gtranslate_wrapper a{
  color: rgba(7,48,71,0.86) !important;
  text-decoration: none !important;
}
.gtranslate_wrapper a:hover{
  color: var(--td-aqua) !important;
}

/* =========================
   WordPress blocks polish
   ========================= */
.wp-block-image img{ border-radius: var(--td-r2); }
.wp-block-table table{ border-radius: var(--td-r2); overflow:hidden; }
.wp-block-quote{
  border-left: 3px solid rgba(32,162,196,.45);
  background: rgba(32,162,196,.06);
  border-radius: var(--td-r2);
  padding: 14px 16px;
}
.wp-block-code,
pre{
  border-radius: var(--td-r2);
  border: 1px solid var(--td-stroke-soft);
  background: #fff;
  box-shadow: var(--td-shadow-xs);
  padding: 14px;
  overflow:auto;
}

/* Remove page title on homepage if theme prints it */
body.home .ct-page-title{ display:none !important; }

/* Global FontAwesome icon styling */
.bx-home i.fa-solid,
.bx-home i.fa-regular,
.bx-home i.fa-brands,
.bx-home .fa-solid,
.bx-home .fa-regular,
.bx-home .fa-brands{
  color: var(--td-aqua);
  line-height: 1;
}

/* Icon badge (square premium) */
.bx-ic{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(32,162,196,.10);
  border: 1px solid rgba(32,162,196,.22);
  box-shadow: var(--td-shadow-xs);
}
.bx-ic i{ font-size: 20px; }

/* =========================================================
   WOOCOMMERCE — GLOBAL (CARDS + PAGES)
   Goal: product cards everywhere = like Home cards
   ========================================================= */

/* ----- Notices (success/error/info) ----- */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background: #fff;
  box-shadow: var(--td-shadow-xs);
  padding: 14px 16px;
}
.woocommerce .woocommerce-message{ border-left: 4px solid rgba(52, 211, 153, .55); }
.woocommerce .woocommerce-info{ border-left: 4px solid rgba(32,162,196,.55); }
.woocommerce .woocommerce-error{ border-left: 4px solid rgba(239, 68, 68, .55); }

/* ----- Breadcrumb ----- */
.woocommerce .woocommerce-breadcrumb{
  color: rgba(7,48,71,.66);
  font-size: 13px;
}
.woocommerce .woocommerce-breadcrumb a{ color: rgba(7,48,71,.80); }
.woocommerce .woocommerce-breadcrumb a:hover{ color: var(--td-aqua); }

/* ----- Buttons (WC) unify with theme ----- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.added_to_cart{
  border-radius: 14px !important;
  border: 1px solid rgba(32,162,196,0.40) !important;
  background: linear-gradient(180deg, rgba(32,162,196,0.22), rgba(32,162,196,0.10)) !important;
  color: var(--td-blue) !important;
  font-weight: 800 !important;
  box-shadow: var(--td-shadow-xs) !important;
  transition: transform var(--td-fast) var(--td-ease), box-shadow var(--td-fast) var(--td-ease), border-color var(--td-fast) var(--td-ease), filter var(--td-fast) var(--td-ease) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.added_to_cart:hover{
  transform: translateY(-1px);
  box-shadow: var(--td-shadow-sm) !important;
  border-color: rgba(32,162,196,0.62) !important;
  filter: saturate(1.05);
}
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active{
  transform: translateY(0);
}

/* ----- Product cards everywhere (archive/related/upsells/widgets) ----- */
.woocommerce ul.products,
.woocommerce-page ul.products{
  gap: var(--td-gap);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  position:relative;
  border: 1px solid var(--td-stroke-soft) !important;
  border-radius: var(--td-r3) !important;
  background: #fff !important;
  box-shadow: var(--td-shadow-xs) !important;
  overflow:hidden !important;
  transition: transform var(--td-fast) var(--td-ease), box-shadow var(--td-fast) var(--td-ease), border-color var(--td-fast) var(--td-ease);
  display:flex;
  flex-direction:column;
  min-height: 100%;
  padding: 0 !important;
}

.woocommerce ul.products li.product:hover{
  transform: translateY(-2px);
  box-shadow: var(--td-shadow-sm) !important;
  border-color: rgba(32,162,196,0.22) !important;
}

/* Media wrapper (make image feel like bx-card__media) */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product > a{
  display:block;
  position:relative;
  overflow:hidden;
  background: #eef6fb;
}

.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product > a img{
  width:100% !important;
  height:auto !important;
  aspect-ratio: 16/10;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--td-mid) var(--td-ease), filter var(--td-mid) var(--td-ease);
  filter: saturate(1.06) contrast(1.03);
}
.woocommerce ul.products li.product:hover > a img{
  transform: scale(1.05);
}

/* subtle fade on media */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link::after,
.woocommerce ul.products li.product > a::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.12));
  pointer-events:none;
  opacity:.9;
}

/* Body spacing */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2{
  margin: 0 !important;
  padding: 13px 13px 6px !important;
  font-family: var(--td-font) !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  color: var(--td-blue) !important;
  font-size: 18px !important;
  line-height:1.05 !important;
}

.woocommerce ul.products li.product .price{
  margin: 0 !important;
  padding: 0 13px 10px !important;
  color: rgba(7,48,71,.86) !important;
  font-weight: 800;
}
.woocommerce ul.products li.product .price del{ opacity:.55; }
.woocommerce ul.products li.product .price ins{ text-decoration:none; }

/* Rating */
.woocommerce ul.products li.product .star-rating{
  margin: 0 13px 10px !important;
  opacity:.92;
}

/* Actions area like bx-card__bottom */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart{
  margin: 10px 13px 14px !important;
  align-self: flex-start;
}

/* Sale badge more premium */
.woocommerce span.onsale{
  border-radius: 999px !important;
  padding: 8px 10px !important;
  min-height: auto !important;
  min-width: auto !important;
  font-weight: 900 !important;
  letter-spacing: .10em;
  text-transform: uppercase;
  background: rgba(255,255,255,.92) !important;
  color: var(--td-blue) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.18) !important;
  top: 12px !important;
  left: 12px !important;
}

/* Product title (single) */
.woocommerce div.product .product_title{
  font-family: var(--td-font);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--td-blue);
}

/* Summary panel (single) */
.woocommerce div.product div.summary{
  background: #fff;
  border: 1px solid var(--td-stroke-soft);
  border-radius: var(--td-r3);
  padding: clamp(14px, 1.5vw, 20px);
  box-shadow: var(--td-shadow-xs);
}

/* Single product gallery frame */
.woocommerce div.product div.images,
.woocommerce div.product div.images .woocommerce-product-gallery{
  border-radius: var(--td-r3);
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{
  border-radius: var(--td-r3);
  overflow:hidden;
  border: 1px solid var(--td-stroke-soft);
  box-shadow: var(--td-shadow-sm);
  background: #eef6fb;
}

/* Price on single */
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color: rgba(7,48,71,.86);
  font-weight: 900;
  font-size: 20px;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{ opacity:.55; }
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins{ text-decoration:none; }

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description{
  color: rgba(7,48,71,.78);
  line-height: 1.7;
}

/* Quantity */
.woocommerce .quantity .qty{
  border-radius: 14px;
  border: 1px solid var(--td-stroke-soft);
  padding: 10px 12px;
  height: var(--td-field-h);
  box-shadow: var(--td-shadow-xs);
}

/* Variations */
.woocommerce div.product form.cart .variations{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background: rgba(246,251,255,.70);
  box-shadow: var(--td-shadow-xs);
  padding: 12px;
}
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th{
  padding: 8px 8px !important;
}

/* Add to cart button emphasis */
.woocommerce div.product form.cart .single_add_to_cart_button{
  border-radius: 16px !important;
  padding: 13px 18px !important;
  font-weight: 900 !important;
}

/* Product meta */
.woocommerce div.product .product_meta{
  margin-top: 14px;
  border-top: 1px solid var(--td-stroke-soft);
  padding-top: 12px;
  color: rgba(7,48,71,.72);
}
.woocommerce div.product .product_meta a{ color: rgba(7,48,71,.82); }
.woocommerce div.product .product_meta a:hover{ color: var(--td-aqua); }

/* Tabs */
.woocommerce div.product .woocommerce-tabs{
  margin-top: var(--td-sec);
}
.woocommerce div.product .woocommerce-tabs ul.tabs{
  padding: 0 !important;
  margin: 0 0 12px !important;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  border:0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  border: 1px solid var(--td-stroke) !important;
  border-radius: 999px !important;
  background: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:block !important;
  padding: 9px 13px !important;
  font-family: var(--td-font);
  letter-spacing:.09em;
  text-transform:uppercase;
  font-weight: 900;
  color: rgba(7,48,71,.86) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{
  border-color: rgba(32,162,196,.60) !important;
  background: rgba(32,162,196,.10) !important;
}
.woocommerce div.product .woocommerce-tabs .panel{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: clamp(14px, 1.5vw, 20px);
}

/* Related/Upsells headings */
.woocommerce .related > h2,
.woocommerce .up-sells > h2,
.woocommerce .cross-sells > h2{
  font-family: var(--td-font);
  letter-spacing:.10em;
  text-transform:uppercase;
  color: var(--td-blue);
}

/* Reviews */
.woocommerce #reviews #comments ol.commentlist li .comment_container{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: 14px;
}
.woocommerce #review_form #respond{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: 14px;
}

/* ----- Mini cart (widget + drawer) ----- */
.woocommerce-mini-cart,
.woocommerce-mini-cart__total,
.woocommerce-mini-cart__buttons{
  font-size: 14px;
}
.woocommerce-mini-cart-item{
  border-radius: 16px;
  border: 1px solid var(--td-stroke-soft);
  background: #fff;
  box-shadow: var(--td-shadow-xs);
  padding: 10px;
  margin-bottom: 10px;
}
.woocommerce-mini-cart-item a{
  color: rgba(7,48,71,.86);
}
.woocommerce-mini-cart-item a:hover{ color: var(--td-aqua); }

/* =========================================================
   CART (سلة) — clean slabs like home
   ========================================================= */
.woocommerce-cart .woocommerce{
  margin-top: 10px;
}

.woocommerce-cart table.shop_table{
  border-radius: var(--td-r3);
  overflow:hidden;
  border: 1px solid var(--td-stroke-soft) !important;
  box-shadow: var(--td-shadow-xs);
  background:#fff;
}
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td{
  border-top: 1px solid var(--td-stroke-soft) !important;
  padding: 12px !important;
}
.woocommerce-cart table.shop_table thead th{
  background: rgba(246,251,255,.70);
  color: rgba(7,48,71,.86);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight: 900;
  font-size: 12px;
}
.woocommerce-cart table.shop_table a{
  color: rgba(7,48,71,.86);
}
.woocommerce-cart table.shop_table a:hover{ color: var(--td-aqua); }

/* Product remove */
.woocommerce a.remove{
  border-radius: 999px !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 32px !important;
  background: rgba(239,68,68,.08) !important;
  color: rgba(239,68,68,.90) !important;
  border: 1px solid rgba(239,68,68,.18) !important;
}
.woocommerce a.remove:hover{
  background: rgba(239,68,68,.12) !important;
}

/* Cart actions area */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cross-sells{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: clamp(14px, 1.5vw, 18px);
}
.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-cart .cart-collaterals .cross-sells h2{
  font-family: var(--td-font);
  letter-spacing:.10em;
  text-transform:uppercase;
  color: var(--td-blue);
}

/* Coupon block */
.woocommerce-cart .coupon{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.woocommerce-cart .coupon input.input-text{
  flex: 1 1 220px;
}

/* =========================================================
   CHECKOUT — minimal premium
   ========================================================= */
.woocommerce-checkout .woocommerce{
  margin-top: 10px;
}

/* Two columns wrap feel like slabs */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: clamp(14px, 1.5vw, 18px);
}

.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading{
  font-family: var(--td-font);
  letter-spacing:.10em;
  text-transform:uppercase;
  color: var(--td-blue);
}

/* Checkout fields spacing */
.woocommerce-checkout .form-row{
  margin: 0 0 12px !important;
}
.woocommerce-checkout label{
  font-weight: 800;
  color: rgba(7,48,71,.80);
  margin-bottom: 6px;
}

/* Select2 */
.woocommerce-checkout .select2-container .select2-selection--single{
  height: var(--td-field-h) !important;
  border-radius: 16px !important;
  border: 1px solid var(--td-stroke-soft) !important;
  box-shadow: var(--td-shadow-xs);
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: calc(var(--td-field-h) - 2px) !important;
  padding-left: 12px !important;
  color: rgba(7,48,71,.86);
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{
  height: var(--td-field-h) !important;
}

/* Order review table */
.woocommerce-checkout table.shop_table{
  border-radius: var(--td-r3);
  overflow:hidden;
  border: 1px solid var(--td-stroke-soft) !important;
  box-shadow: var(--td-shadow-xs);
  background:#fff;
}
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td{
  border-top: 1px solid var(--td-stroke-soft) !important;
  padding: 12px !important;
}
.woocommerce-checkout table.shop_table thead th{
  background: rgba(246,251,255,.70);
  font-weight: 900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size: 12px;
}

/* Payment box */
.woocommerce-checkout #payment{
  border-radius: var(--td-r3) !important;
  border: 1px solid var(--td-stroke-soft) !important;
  background:#fff !important;
  box-shadow: var(--td-shadow-xs) !important;
}
.woocommerce-checkout #payment ul.payment_methods{
  border-bottom: 1px solid var(--td-stroke-soft) !important;
}
.woocommerce-checkout #payment div.payment_box{
  border-radius: var(--td-r2);
  background: rgba(32,162,196,.06) !important;
  border: 1px dashed rgba(32,162,196,.30);
}
.woocommerce-checkout #place_order{
  border-radius: 16px !important;
  padding: 14px 18px !important;
  font-weight: 900 !important;
  width: 100%;
}

/* =========================================================
   BLOG — archive cards like home + single post premium
   ========================================================= */

/* Archive / blog list cards (Blocksy common selectors) */
.ct-posts-container .ct-post,
.ct-posts-container .ct-entry,
.ct-post-card,
article.post,
article.type-post{
  border-radius: var(--td-r3);
}

/* Blocksy card wrapper (safe) */
.ct-posts-container .ct-entry,
.ct-post-card{
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  overflow:hidden;
  transition: transform var(--td-fast) var(--td-ease), box-shadow var(--td-fast) var(--td-ease), border-color var(--td-fast) var(--td-ease);
}
.ct-posts-container .ct-entry:hover,
.ct-post-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--td-shadow-sm);
  border-color: rgba(32,162,196,0.22);
}

/* Thumbnails */
.ct-posts-container .ct-entry .ct-image-container,
.ct-post-card .ct-image-container,
.post .ct-featured-image,
.single-post .ct-featured-image{
  border-radius: var(--td-r3);
  overflow:hidden;
}
.ct-posts-container .ct-entry img,
.ct-post-card img{
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.02);
  transition: transform var(--td-mid) var(--td-ease);
}
.ct-posts-container .ct-entry:hover img,
.ct-post-card:hover img{
  transform: scale(1.05);
}

/* Titles */
.ct-posts-container .ct-entry .entry-title,
.ct-post-card .entry-title,
.single-post .entry-title{
  font-family: var(--td-font);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--td-blue);
}
.ct-posts-container .ct-entry .entry-title a,
.ct-post-card .entry-title a{
  color: var(--td-blue);
}
.ct-posts-container .ct-entry .entry-title a:hover,
.ct-post-card .entry-title a:hover{
  color: var(--td-aqua);
}

/* Excerpt */
.ct-posts-container .ct-entry .entry-content,
.ct-post-card .entry-content{
  color: rgba(7,48,71,.78);
  line-height: 1.7;
}

/* Single post content slab */
.single-post .site-main article,
.single .site-main article{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: clamp(14px, 1.6vw, 22px);
}

/* Post meta */
.single-post .entry-meta,
.single .entry-meta{
  color: rgba(7,48,71,.68);
}
.single-post .entry-meta a,
.single .entry-meta a{
  color: rgba(7,48,71,.82);
}
.single-post .entry-meta a:hover,
.single .entry-meta a:hover{
  color: var(--td-aqua);
}

/* Comments area */
#comments,
.woocommerce #reviews{
  margin-top: var(--td-sec);
}
#comments .comment-list > li,
#comments .comment-body{
  border-radius: var(--td-r3);
}
#comments .comment-body{
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: 14px;
}
#comments .comment-respond{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: 14px;
}

/* Widgets */
.widget,
.ct-widget{
  border-radius: var(--td-r3);
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  padding: 14px;
}
.widget .widget-title,
.ct-widget .widget-title{
  font-family: var(--td-font);
  letter-spacing:.10em;
  text-transform:uppercase;
  color: var(--td-blue);
}

/* Pagination */
.nav-links .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--td-stroke-soft);
  background:#fff;
  box-shadow: var(--td-shadow-xs);
  margin: 0 6px 6px 0;
  color: rgba(7,48,71,.86);
  font-weight: 900;
}
.nav-links .page-numbers.current{
  border-color: rgba(32,162,196,.60);
  background: rgba(32,162,196,.10);
}
.nav-links .page-numbers:hover{
  border-color: rgba(32,162,196,.30);
  color: var(--td-aqua);
}

/* =========================================================
   Responsive padding
   ========================================================= */
@media (max-width: 768px){
  .ct-container, .container{ padding-left: 14px; padding-right: 14px; }

  /* Make checkout slabs breathe */
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review{
    padding: 14px;
  }

  /* Cart coupon stack clean */
  .woocommerce-cart .coupon{
    flex-direction: column;
  }
  .woocommerce-cart .coupon input.input-text{
    width:100%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .td-btn::after{ animation:none !important; }
  .woocommerce ul.products li.product,
  .ct-posts-container .ct-entry,
  .ct-post-card{
    transition:none !important;
  }
  .woocommerce ul.products li.product > a img,
  .ct-posts-container .ct-entry img,
  .ct-post-card img{
    transition:none !important;
    transform:none !important;
  }
}