/*
Theme Name: Astra Child
Template: astra
*/

body {
    background-color: #ffffff;
}

/* Gold Shimmer Effect for Hero Headline */
.hero-headline,
.page-title,
.entry-title,
h1.hero-title {
    background: linear-gradient(
        90deg,
        #d4af37 0%,
        #f9e295 25%,
        #d4af37 50%,
        #f9e295 75%,
        #d4af37 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gold-shimmer 3s linear infinite;
}

@keyframes gold-shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

h1 {
  background: linear-gradient(90deg, #d4af37, #ffffff, #d4af37);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* 1 – restore the original ticker-bar height */
.ks-ticker-bar{
    height:44px;
    line-height:44px;
}

/* 2 – move the crypto wheel below the blue dashboard strip */
.ks-dashboard-cta{
    position:absolute;
    top:calc(100% + 24px);   /* 24 px under the blue strip */
    left:50%;
    transform:translateX(-50%);
}

/* 3 – hide the Bitcoin circle inside the hero */
.ks-hero-btc{
    display:none !important;
}

/* TEST: Product page button styling — limited to 3 trending products only */
/* IDs: 3197=shoulder-bag, 3192=cigarette-box, 3172=watch-box */


body.postid-3197 .single_add_to_cart_button,
body.postid-3192 .single_add_to_cart_button,
body.postid-3172 .single_add_to_cart_button {
    width: 220px !important;
    max-width: 220px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 10px !important;
    background: #1a6b53 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

body.postid-3197 .single_add_to_cart_button:hover,
body.postid-3192 .single_add_to_cart_button:hover,
body.postid-3172 .single_add_to_cart_button:hover {
    background: #135240 !important;
    opacity: 1 !important;
}

body.postid-3197 .komato-buy-now-btn,
body.postid-3192 .komato-buy-now-btn,
body.postid-3172 .komato-buy-now-btn,
body.postid-3197 #komato-buy-now-single,
body.postid-3192 #komato-buy-now-single,
body.postid-3172 #komato-buy-now-single {
    width: 220px !important;
    max-width: 220px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 10px !important;
    background: #2d6cdf !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

body.postid-3197 .komato-buy-now-btn:hover,
body.postid-3192 .komato-buy-now-btn:hover,
body.postid-3172 .komato-buy-now-btn:hover,
body.postid-3197 #komato-buy-now-single:hover,
body.postid-3192 #komato-buy-now-single:hover,
body.postid-3172 #komato-buy-now-single:hover {
    background: #1f55b8 !important;
    opacity: 1 !important;
}

body.postid-3197 .single_add_to_cart_button {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 14px !important;
}

body.postid-3197 .komato-buy-now-btn,
body.postid-3197 #komato-buy-now-single {
    display: inline-block !important;
    vertical-align: middle !important;
}

body.postid-3165 form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.postid-3165 form.cart .quantity {
  float: none !important;
  margin: 0 !important;
}

body.postid-3165 form.cart .ast-woo-single-cart-button-wrap {
  display: flex;
  gap: 10px;
}

body.postid-3165 form.cart .single_add_to_cart_button,
body.postid-3165 form.cart .komato-buy-now-btn {
  flex: 1;
  margin: 0 !important;
  height: 42px !important;
  line-height: 42px !important;
  padding: 0 22px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
}

/* ירוק - ADD TO CART */
body.postid-3165 form.cart .single_add_to_cart_button {
  background: #1a6b53 !important;
  color: #fff !important;
  opacity: 1 !important;
  margin-right: 10px !important;
}

/* כחול - BUY NOW */
body.postid-3165 form.cart .komato-buy-now-btn {
  background: #2d6cdf !important;
  color: #fff !important;
}

body.postid-3094 form.cart .ast-woo-single-cart-button-wrap,
body.postid-7940 form.cart .ast-woo-single-cart-button-wrap,
body.postid-7957 form.cart .ast-woo-single-cart-button-wrap,
body.postid-7841 form.cart .ast-woo-single-cart-button-wrap,
body.postid-7949 form.cart .ast-woo-single-cart-button-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.postid-3094 form.cart .single_add_to_cart_button,
body.postid-7940 form.cart .single_add_to_cart_button,
body.postid-7957 form.cart .single_add_to_cart_button,
body.postid-7841 form.cart .single_add_to_cart_button,
body.postid-7949 form.cart .single_add_to_cart_button,
body.postid-3094 form.cart .komato-buy-now-btn,
body.postid-7940 form.cart .komato-buy-now-btn,
body.postid-7957 form.cart .komato-buy-now-btn,
body.postid-7841 form.cart .komato-buy-now-btn,
body.postid-7949 form.cart .komato-buy-now-btn {
  display: inline-block;
  vertical-align: middle;
}

body.postid-3094 form.cart .single_add_to_cart_button,
body.postid-7940 form.cart .single_add_to_cart_button,
body.postid-7957 form.cart .single_add_to_cart_button,
body.postid-7841 form.cart .single_add_to_cart_button,
body.postid-7949 form.cart .single_add_to_cart_button {
  margin-right: 10px;
}

body.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.single-product form.cart .quantity {
  margin: 0;
  flex: 0 0 auto;
}

body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart .komato-buy-now-btn {
  flex: 0 0 auto;
}

body.single-product form.cart .ast-woo-single-cart-button-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.single-product form.cart .quantity {
  float: none !important;
  margin: 0 !important;
}

body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart .komato-buy-now-btn {
  flex: 1;
  text-align: center;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  border-radius: 6px !important;
}

body.single-product form.cart .single_add_to_cart_button {
  background: #1b5e20 !important;
  color: #fff !important;
}

body.single-product form.cart .komato-buy-now-btn {
  background: #1e88e5 !important;
  color: #fff !important;
}

.single_add_to_cart_button:hover {
  background: #145a1a !important;
}

.komato-buy-now-btn:hover {
  background: #1565c0 !important;
}

.single-product .variations label {
    display: none !important;
}

.single-product .product_meta {
    display: none !important;
}

/* ============================================================
   === STANDALONE PAGES: SHARED LAYOUT (Cart / Checkout / Account)
   ============================================================ */

/* Prevent Astra sticky-header body padding on standalone pages */
body.ks-standalone {
    padding-top: 0 !important;
    background: #f8f4ef;
}

/* --- Keyframe: gold shimmer for page titles --- */
@keyframes ks-sl-shine {
    from { background-position: 0% center; }
    to   { background-position: 200% center; }
}

/* --- Mini header --- */
.ks-sl-header {
    background: #1a2a1a;
    padding: 13px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.ks-sl-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 1;
    /* override child-theme global h1 gradient rule */
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    animation: none !important;
}

.ks-sl-logo span {
    -webkit-text-fill-color: #e8a020 !important;
    color: #e8a020 !important;
}

.ks-sl-back {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    padding: 7px 13px;
    transition: color 0.2s, border-color 0.2s;
}

.ks-sl-back:hover {
    color: #e8a020;
    border-color: rgba(232,160,32,0.45);
}

/* --- Hero banner (base) --- */
.ks-sl-hero {
    position: relative;
    background: #0d2b1e;
    overflow: hidden;
    padding: 26px 32px 22px;
    text-align: center;
}

/* Diagonal stripe texture overlay */
.ks-sl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent 0,
        transparent 28px,
        rgba(255,255,255,0.016) 28px,
        rgba(255,255,255,0.016) 56px
    );
    pointer-events: none;
}

/* Radial glow behind the icon */
.ks-sl-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(232,160,32,0.07) 0%, transparent 68%);
    pointer-events: none;
}

.ks-sl-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}

.ks-sl-hero-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: rgba(232,160,32,0.10);
    border: 2px solid rgba(232,160,32,0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-sl-hero-icon svg {
    width: 22px;
    height: 22px;
    stroke: #e8a020;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Page title — overrides the child theme's global h1 gradient */
.ks-sl-page-title {
    display: block !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
    margin: 0 0 12px !important;
    background: linear-gradient(90deg, #d4af37 0%, #f9e295 45%, #d4af37 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: ks-sl-shine 3s linear infinite !important;
}

.ks-sl-hero-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.52);
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* --- Main content area --- */
.ks-sl-main {
    padding: 40px 20px 64px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- WooCommerce element overrides (scoped to standalone) --- */

/* Standard buttons */
.ks-standalone .woocommerce a.button,
.ks-standalone .woocommerce button.button,
.ks-standalone .woocommerce input.button,
.ks-standalone .woocommerce #respond input#submit {
    background: #1e3d1e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.4px !important;
    padding: 11px 24px !important;
    transition: background 0.2s !important;
    cursor: pointer !important;
}

.ks-standalone .woocommerce a.button:hover,
.ks-standalone .woocommerce button.button:hover,
.ks-standalone .woocommerce input.button:hover {
    background: #e8a020 !important;
    color: #fff !important;
}

/* Primary CTA: Proceed to Checkout & Place Order */
.ks-standalone .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.ks-standalone .woocommerce-checkout #payment #place_order {
    background: linear-gradient(90deg, #d4af37 0%, #e8a020 100%) !important;
    color: #1a2a1a !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    padding: 15px 32px !important;
    border-radius: 10px !important;
    border: none !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    transition: opacity 0.2s !important;
    box-shadow: 0 4px 14px rgba(212,175,55,0.35) !important;
}

.ks-standalone .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.ks-standalone .woocommerce-checkout #payment #place_order:hover {
    opacity: 0.88 !important;
    color: #1a2a1a !important;
}

/* Cart table */
.ks-standalone .woocommerce table.shop_table {
    background: #ffffff;
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.ks-standalone .woocommerce table.shop_table thead th {
    background: #1a2a1a !important;
    color: #e8a020 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    padding: 14px 20px !important;
}

.ks-standalone .woocommerce table.shop_table tbody tr {
    border-bottom: 1px solid #f0ebe4 !important;
}

.ks-standalone .woocommerce table.shop_table tbody td {
    border: none !important;
    padding: 16px 20px !important;
    vertical-align: middle !important;
}

/* Cart totals box */
.ks-standalone .cart_totals {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

/* Headings inside WooCommerce on standalone — override child theme h2/h3 if any */
.ks-standalone .cart_totals > h2,
.ks-standalone .woocommerce-checkout h3,
.ks-standalone .woocommerce h3#order_review_heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #1a2a1a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 16px !important;
    background: none !important;
    -webkit-text-fill-color: #1a2a1a !important;
    animation: none !important;
}

/* Checkout form inputs */
.ks-standalone .woocommerce form .input-text,
.ks-standalone .woocommerce form select,
.ks-standalone .woocommerce form textarea {
    border: 1.5px solid #d9d0c7 !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #ffffff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    outline: none !important;
}

.ks-standalone .woocommerce form .input-text:focus,
.ks-standalone .woocommerce form select:focus {
    border-color: #e8a020 !important;
    box-shadow: 0 0 0 3px rgba(232,160,32,0.12) !important;
}

/* My Account navigation panel */
.ks-standalone .woocommerce-MyAccount-navigation {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
    margin-bottom: 24px;
}

.ks-standalone .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ks-standalone .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f3ede6;
}

.ks-standalone .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.ks-standalone .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a2a1a;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.ks-standalone .woocommerce-MyAccount-navigation ul li a:hover,
.ks-standalone .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #1e3d1e;
    color: #e8a020;
}

/* My Account content panel */
.ks-standalone .woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

/* WooCommerce notices */
.ks-standalone .woocommerce-message,
.ks-standalone .woocommerce-error,
.ks-standalone .woocommerce-info {
    border-radius: 8px !important;
    margin-bottom: 20px !important;
}

/* --- Minimal footer --- */
.ks-sl-footer {
    background: #1a2a1a;
    color: rgba(255,255,255,0.48);
    padding: 20px 32px;
}

.ks-sl-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
}

.ks-sl-footer a {
    color: #e8a020;
    text-decoration: none;
}

.ks-sl-footer a:hover { text-decoration: underline; }

.ks-sl-coins {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ks-sl-coin {
    border-radius: 5px;
    padding: 3px 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1.4;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .ks-sl-header { padding: 11px 16px; }
    .ks-sl-logo { font-size: 18px !important; }
    .ks-sl-back { font-size: 12px; padding: 6px 10px; }
    .ks-sl-hero { padding: 14px 16px 12px; }
    .ks-sl-hero-icon { width: 42px; height: 42px; margin-bottom: 10px; }
    .ks-sl-hero-icon svg { width: 18px; height: 18px; }
    .ks-sl-page-title { font-size: 22px !important; }
    .ks-sl-hero-sub { font-size: 13px; }
    .ks-sl-main { padding: 24px 14px 40px; }
    .ks-sl-footer { padding: 18px 16px; }
    .ks-sl-footer-inner { gap: 14px; }
}

/* ============================================================
   === CART PAGE STANDALONE
   ============================================================ */

.ks-standalone-cart .ks-sl-hero { background: #0b2416; }

/* ============================================================
   === CHECKOUT PAGE STANDALONE
   ============================================================ */

.ks-standalone-checkout .ks-sl-hero { background: #081910; }

/* ============================================================
   === MY ACCOUNT PAGE STANDALONE
   ============================================================ */

.ks-standalone-account .ks-sl-hero { background: #0f2920; }

/* === KOMATOSHOP SHOP PAGE UPGRADE - LAYOUT V1 === */

body.post-type-archive-product,
body.woocommerce-shop {
  background: #f7f4ee !important;
}

/* Main shop wrapper */
body.woocommerce-shop .site-content,
body.post-type-archive-product .site-content {
  background: linear-gradient(180deg, #f7f4ee 0%, #ffffff 55%) !important;
}

/* Make the shop content wider and cleaner */
body.woocommerce-shop .ast-container,
body.post-type-archive-product .ast-container {
  max-width: 1320px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

/* Sidebar smaller */
body.woocommerce-shop #secondary,
body.post-type-archive-product #secondary {
  width: 22% !important;
  max-width: 260px !important;
  padding-right: 18px !important;
}

/* Product area bigger */
body.woocommerce-shop #primary,
body.post-type-archive-product #primary {
  width: 78% !important;
  padding-left: 28px !important;
}

/* Shop title area */
body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
  margin-bottom: 34px !important;
  padding: 42px 30px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #0d3b2e 0%, #164f50 55%, #c89b2e 100%) !important;
  text-align: center !important;
  box-shadow: 0 18px 45px rgba(13, 59, 46, 0.16) !important;
}

body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.woocommerce-shop h1.woocommerce-products-header__title,
body.post-type-archive-product h1.woocommerce-products-header__title {
  color: #f7d98b !important;
  font-size: clamp(44px, 5vw, 76px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  margin: 0 !important;
  letter-spacing: -1.5px !important;
}

/* Breadcrumb above title */
body.woocommerce-shop .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 600 !important;
  margin-bottom: 14px !important;
  text-align: center !important;
}

body.woocommerce-shop .woocommerce-breadcrumb a,
body.post-type-archive-product .woocommerce-breadcrumb a {
  color: rgba(255,255,255,0.92) !important;
}

/* Toolbar */
body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
  margin-bottom: 26px !important;
}

body.woocommerce-shop .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select {
  border-radius: 999px !important;
  border: 1px solid rgba(13,59,46,.14) !important;
  padding: 10px 18px !important;
  background: #fff !important;
  font-weight: 700 !important;
}

/* Sidebar cards */
body.woocommerce-shop #secondary .widget,
body.post-type-archive-product #secondary .widget {
  background: #ffffff !important;
  border: 1px solid rgba(13,59,46,.08) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  margin-bottom: 18px !important;
  box-shadow: 0 10px 28px rgba(13,59,46,.07) !important;
}

body.woocommerce-shop #secondary .widget-title,
body.post-type-archive-product #secondary .widget-title,
body.woocommerce-shop #secondary h2,
body.post-type-archive-product #secondary h2 {
  color: #0d3b2e !important;
  font-weight: 900 !important;
  font-size: 19px !important;
  margin-bottom: 14px !important;
}

/* Product grid cards */
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product {
  background: #ffffff !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  padding: 0 0 18px !important;
  box-shadow: 0 12px 32px rgba(13,59,46,.08) !important;
  border: 1px solid rgba(13,59,46,.06) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.woocommerce-shop ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(200,155,46,.42) !important;
  box-shadow: 0 18px 42px rgba(13,59,46,.14) !important;
}

body.woocommerce-shop ul.products li.product img,
body.post-type-archive-product ul.products li.product img {
  border-radius: 20px 20px 0 0 !important;
  background: #f7f4ee !important;
  padding: 12px !important;
  min-height: 245px !important;
  object-fit: contain !important;
}

body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
  color: #0d3b2e !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  padding: 14px 18px 4px !important;
}

body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price {
  color: #0d3b2e !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  padding: 0 18px !important;
}

/* Product buttons */
body.woocommerce-shop ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button {
  margin: 12px 18px 0 !important;
  border-radius: 999px !important;
  background: #0d3b2e !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  padding: 12px 18px !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
}

body.woocommerce-shop ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product .button:hover {
  background: #c89b2e !important;
  color: #0d3b2e !important;
}

/* Mobile safety */
@media (max-width: 921px) {
  body.woocommerce-shop #primary,
  body.post-type-archive-product #primary,
  body.woocommerce-shop #secondary,
  body.post-type-archive-product #secondary {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.woocommerce-shop .woocommerce-products-header,
  body.post-type-archive-product .woocommerce-products-header {
    padding: 34px 18px !important;
    border-radius: 18px !important;
  }
}

/* === END KOMATOSHOP SHOP PAGE UPGRADE - LAYOUT V1 === */


/* === KOMATOSHOP SHOP HERO TUNE V2 === */

body.woocommerce-shop #primary,
body.post-type-archive-product #primary {
  padding-top: 0 !important;
}

body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
  width: 100% !important;
  min-height: 170px !important;
  margin-top: 0 !important;
  margin-bottom: 38px !important;
  padding: 54px 34px !important;
  border-radius: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.woocommerce-shop h1.woocommerce-products-header__title,
body.post-type-archive-product h1.woocommerce-products-header__title {
  font-size: clamp(58px, 6vw, 92px) !important;
  text-shadow: 0 8px 22px rgba(0,0,0,.14) !important;
}

/* Reduce empty white space at top of shop content */
body.woocommerce-shop .site-main,
body.post-type-archive-product .site-main {
  padding-top: 18px !important;
}

/* === END KOMATOSHOP SHOP HERO TUNE V2 === */


/* === KOMATOSHOP SHOP CARD WIDTH FILL === */

/* Make product cards use more of the available right-side space */
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

/* Force each product card to fill its grid cell */
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* === END KOMATOSHOP SHOP CARD WIDTH FILL === */


/* === KOMATOSHOP SHOP CARD VISUAL SIZE V3 === */

/* Do not touch sidebar. Only make product cards/images visually larger */
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product {
  min-height: 455px !important;
}

/* Bigger product visual area */
body.woocommerce-shop ul.products li.product img,
body.post-type-archive-product ul.products li.product img {
  min-height: 330px !important;
  max-height: 330px !important;
  width: 100% !important;
  object-fit: contain !important;
  padding: 8px !important;
}

/* === END KOMATOSHOP SHOP CARD VISUAL SIZE V3 === */


/* === KOMATOSHOP SHOP RAISE RIGHT CONTENT === */

/* Raise the right shop content area */
body.woocommerce-shop #primary,
body.post-type-archive-product #primary {
  margin-top: -58px !important;
}

/* Reduce empty space above the Shop hero */
body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
  margin-top: 0 !important;
  margin-bottom: 28px !important;
}

/* Bring toolbar closer to hero */
body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

/* Safety: do not raise on mobile */
@media (max-width: 921px) {
  body.woocommerce-shop #primary,
  body.post-type-archive-product #primary {
    margin-top: 0 !important;
  }
}

/* === END KOMATOSHOP SHOP RAISE RIGHT CONTENT === */


/* === KOMATOSHOP SHOP RAISE RIGHT CONTENT V2 === */

/* Raise shop content a bit more on desktop */
body.woocommerce-shop #primary,
body.post-type-archive-product #primary {
  margin-top: -86px !important;
}

/* Keep mobile safe */
@media (max-width: 921px) {
  body.woocommerce-shop #primary,
  body.post-type-archive-product #primary {
    margin-top: 0 !important;
  }
}

/* === END KOMATOSHOP SHOP RAISE RIGHT CONTENT V2 === */


/* === KOMATOSHOP SHOP RAISE MORE V3 === */
body.woocommerce-shop #primary,
body.post-type-archive-product #primary {
  margin-top: -112px !important;
}

@media (max-width: 921px) {
  body.woocommerce-shop #primary,
  body.post-type-archive-product #primary {
    margin-top: 0 !important;
  }
}
/* === END KOMATOSHOP SHOP RAISE MORE V3 === */


/* === KOMATOSHOP SHOP ALIGN HIGHER V4 === */
body.woocommerce-shop #primary,
body.post-type-archive-product #primary {
  margin-top: -145px !important;
}

body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

@media (max-width: 921px) {
  body.woocommerce-shop #primary,
  body.post-type-archive-product #primary {
    margin-top: 0 !important;
  }
}
/* === END KOMATOSHOP SHOP ALIGN HIGHER V4 === */


/* === KOMATOSHOP SHOP SIDEBAR RAISE V1 === */
body.woocommerce-shop #secondary,
body.post-type-archive-product #secondary {
  margin-top: -45px !important;
}

@media (max-width: 921px) {
  body.woocommerce-shop #secondary,
  body.post-type-archive-product #secondary {
    margin-top: 0 !important;
  }
}
/* === END KOMATOSHOP SHOP SIDEBAR RAISE V1 === */


/* === KOMATOSHOP SHOP SIDEBAR RAISE FIX V2 === */
body.woocommerce-shop #secondary,
body.post-type-archive-product #secondary {
  margin-top: -20px !important;
}

@media (max-width: 921px) {
  body.woocommerce-shop #secondary,
  body.post-type-archive-product #secondary {
    margin-top: 0 !important;
  }
}
/* === END KOMATOSHOP SHOP SIDEBAR RAISE FIX V2 === */


/* === KOMATOSHOP SHOP SIDEBAR LOWER FIX V3 === */
body.woocommerce-shop #secondary,
body.post-type-archive-product #secondary {
  margin-top: -10px !important;
}

@media (max-width: 921px) {
  body.woocommerce-shop #secondary,
  body.post-type-archive-product #secondary {
    margin-top: 0 !important;
  }
}
/* === END KOMATOSHOP SHOP SIDEBAR LOWER FIX V3 === */


/* === KOMATOSHOP SHOP SIDEBAR RESET POSITION V4 === */
body.woocommerce-shop #secondary,
body.post-type-archive-product #secondary {
  margin-top: 0 !important;
}

@media (max-width: 921px) {
  body.woocommerce-shop #secondary,
  body.post-type-archive-product #secondary {
    margin-top: 0 !important;
  }
}
/* === END KOMATOSHOP SHOP SIDEBAR RESET POSITION V4 === */


/* === KOMATOSHOP TOP MENU PILLS V1 === */

/* Desktop main menu - cleaner compact pills */
@media (min-width: 922px) {

  .main-header-menu,
  .ast-builder-menu-1 .main-header-menu {
    gap: 7px !important;
  }

  .main-header-menu > .menu-item,
  .ast-builder-menu-1 .main-header-menu > .menu-item {
    margin: 0 !important;
  }

  .main-header-menu > .menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    min-height: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 17px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(13, 59, 46, 0.10) !important;
    background: rgba(255,255,255,0.72) !important;
    box-shadow: 0 8px 22px rgba(13,59,46,0.055) !important;
    color: #0d3b2e !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .25px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    transition: all .22s ease !important;
  }

  .main-header-menu > .menu-item > .menu-link:hover,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover {
    background: #0d3b2e !important;
    color: #ffffff !important;
    border-color: #0d3b2e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 26px rgba(13,59,46,0.16) !important;
  }

  .main-header-menu > .current-menu-item > .menu-link,
  .main-header-menu > .current_page_item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .current_page_item > .menu-link {
    background: linear-gradient(135deg, #0d3b2e 0%, #164f50 100%) !important;
    color: #f7d98b !important;
    border-color: rgba(200,155,46,.34) !important;
    box-shadow: 0 10px 28px rgba(13,59,46,0.18) !important;
  }

}

/* === END KOMATOSHOP TOP MENU PILLS V1 === */


/* === KOMATOSHOP SHOP HIDE TOP CONTACT WIDGET === */

/* Hide the Contact box from the top of the Shop sidebar only */
body.woocommerce-shop #secondary .widget:first-child,
body.post-type-archive-product #secondary .widget:first-child {
  display: none !important;
}

/* === END KOMATOSHOP SHOP HIDE TOP CONTACT WIDGET === */


/* === KOMATOSHOP HIDE CONTACT ON ALL PRODUCT ARCHIVES === */

/* Hide Contact widget on Shop, product categories, product tags and product archives */
body.woocommerce-shop #secondary .widget:first-child,
body.post-type-archive-product #secondary .widget:first-child,
body.tax-product_cat #secondary .widget:first-child,
body.tax-product_tag #secondary .widget:first-child {
  display: none !important;
}

/* === END KOMATOSHOP HIDE CONTACT ON ALL PRODUCT ARCHIVES === */


/* === KOMATOSHOP SHOP VIEW PRODUCT HOVER === */

/* Only Shop + product category/tag/archive cards */
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  position: relative !important;
}

/* Create VIEW PRODUCT overlay */
body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_tag ul.products li.product a.woocommerce-LoopProduct-link {
  position: relative !important;
  display: block !important;
}

body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link::after,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link::after,
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link::after,
body.tax-product_tag ul.products li.product a.woocommerce-LoopProduct-link::after {
  content: "VIEW PRODUCT";
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  background: rgba(13, 59, 46, 0.92);
  color: #f7d98b;
  border: 1px solid rgba(247, 217, 139, 0.45);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .35px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(13, 59, 46, 0.22);
  transition: opacity .2s ease, transform .2s ease;
}

body.woocommerce-shop ul.products li.product:hover a.woocommerce-LoopProduct-link::after,
body.post-type-archive-product ul.products li.product:hover a.woocommerce-LoopProduct-link::after,
body.tax-product_cat ul.products li.product:hover a.woocommerce-LoopProduct-link::after,
body.tax-product_tag ul.products li.product:hover a.woocommerce-LoopProduct-link::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Keep mobile clean */
@media (max-width: 921px) {
  body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link::after,
  body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link::after,
  body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link::after,
  body.tax-product_tag ul.products li.product a.woocommerce-LoopProduct-link::after {
    display: none !important;
  }
}

/* === END KOMATOSHOP SHOP VIEW PRODUCT HOVER === */


/* === KOMATOSHOP REMOVE SHOP VIEW PRODUCT HOVER === */

body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link::after,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link::after,
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link::after,
body.tax-product_tag ul.products li.product a.woocommerce-LoopProduct-link::after {
  display: none !important;
  content: none !important;
}

/* === END KOMATOSHOP REMOVE SHOP VIEW PRODUCT HOVER === */


/* === KOMATOSHOP HIDE BEST SELLERS ON PRODUCT CATEGORIES ONLY === */

/* Keep Our Best Sellers on main Shop, hide it only on product category/tag pages */
body.tax-product_cat #secondary .widget_top_rated_products,
body.tax-product_cat #secondary .woocommerce.widget_top_rated_products,
body.tax-product_cat #secondary .widget.woocommerce.widget_top_rated_products,
body.tax-product_tag #secondary .widget_top_rated_products,
body.tax-product_tag #secondary .woocommerce.widget_top_rated_products,
body.tax-product_tag #secondary .widget.woocommerce.widget_top_rated_products {
  display: none !important;
}

/* === END KOMATOSHOP HIDE BEST SELLERS ON PRODUCT CATEGORIES ONLY === */


/* === KOMATOSHOP CHECKOUT WHITE AREA UPGRADE V1 === */

/* Checkout page background below hero */
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .checkout,
body.page-template-page-checkout .woocommerce,
body.page-template-page-checkout .checkout {
  background: #f7f4ee !important;
}

/* Main checkout layout/card spacing */
body.woocommerce-checkout form.checkout,
body.page-template-page-checkout form.checkout {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 34px 20px 54px !important;
}

/* Billing section as premium card */
body.woocommerce-checkout #customer_details,
body.page-template-page-checkout #customer_details {
  background: #ffffff !important;
  border: 1px solid rgba(13, 59, 46, 0.10) !important;
  border-radius: 24px !important;
  padding: 28px !important;
  box-shadow: 0 14px 36px rgba(13, 59, 46, 0.08) !important;
}

/* Order section card */
body.woocommerce-checkout #order_review_heading,
body.page-template-page-checkout #order_review_heading {
  margin-top: 34px !important;
  margin-bottom: 16px !important;
  color: #0d3b2e !important;
  font-size: 28px !important;
  font-weight: 950 !important;
}

body.woocommerce-checkout #order_review,
body.page-template-page-checkout #order_review {
  background: #ffffff !important;
  border: 1px solid rgba(13, 59, 46, 0.10) !important;
  border-radius: 24px !important;
  padding: 28px !important;
  box-shadow: 0 14px 36px rgba(13, 59, 46, 0.08) !important;
}

/* Section headings */
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.page-template-page-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout h3,
body.page-template-page-checkout h3 {
  color: #0d3b2e !important;
  font-weight: 950 !important;
  letter-spacing: -0.03em !important;
}

/* Input fields */
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.page-template-page-checkout .form-row input.input-text,
body.page-template-page-checkout .form-row textarea,
body.page-template-page-checkout .form-row select,
body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.page-template-page-checkout .select2-container--default .select2-selection--single {
  min-height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(13, 59, 46, 0.16) !important;
  background: #ffffff !important;
  color: #0d3b2e !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.page-template-page-checkout .form-row input.input-text:focus,
body.page-template-page-checkout .form-row textarea:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16) !important;
}

/* Labels */
body.woocommerce-checkout .form-row label,
body.page-template-page-checkout .form-row label {
  color: #0d3b2e !important;
  font-weight: 850 !important;
  margin-bottom: 6px !important;
}

/* Order table */
body.woocommerce-checkout table.shop_table,
body.page-template-page-checkout table.shop_table {
  border: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td,
body.page-template-page-checkout table.shop_table th,
body.page-template-page-checkout table.shop_table td {
  border-color: rgba(13, 59, 46, 0.10) !important;
  padding: 16px 14px !important;
  color: #0d3b2e !important;
}

body.woocommerce-checkout table.shop_table thead th,
body.page-template-page-checkout table.shop_table thead th {
  background: #0d3b2e !important;
  color: #f9e295 !important;
  font-weight: 950 !important;
}

/* Payment box */
body.woocommerce-checkout #payment,
body.page-template-page-checkout #payment {
  background: #f7f4ee !important;
  border-radius: 20px !important;
  border: 1px solid rgba(13, 59, 46, 0.10) !important;
  padding: 18px !important;
}

body.woocommerce-checkout #payment div.payment_box,
body.page-template-page-checkout #payment div.payment_box {
  background: #ffffff !important;
  border-radius: 16px !important;
  color: #0d3b2e !important;
}

/* Place order button */
body.woocommerce-checkout #place_order,
body.page-template-page-checkout #place_order {
  width: 100% !important;
  min-height: 56px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #d4af37, #f9e295) !important;
  color: #0d3b2e !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  letter-spacing: .4px !important;
  border: 0 !important;
  box-shadow: 0 14px 30px rgba(13, 59, 46, 0.16) !important;
}

body.woocommerce-checkout #place_order:hover,
body.page-template-page-checkout #place_order:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 38px rgba(13, 59, 46, 0.22) !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.woocommerce-checkout form.checkout,
  body.page-template-page-checkout form.checkout {
    padding: 24px 14px 42px !important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review,
  body.page-template-page-checkout #customer_details,
  body.page-template-page-checkout #order_review {
    padding: 18px !important;
    border-radius: 18px !important;
  }
}

/* === END KOMATOSHOP CHECKOUT WHITE AREA UPGRADE V1 === */


/* === KOMATOSHOP PRODUCT CATEGORY COMPACT HEADER V1 === */

/* Product category pages only: smaller title + less dead space */
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  min-height: 95px !important;
  margin-top: -35px !important;
  margin-bottom: 18px !important;
  padding: 18px 24px !important;
}

body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title,
body.tax-product_cat h1.woocommerce-products-header__title,
body.tax-product_tag h1.woocommerce-products-header__title,
body.tax-product_cat .page-title,
body.tax-product_tag .page-title {
  font-size: 46px !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pull results/sorting/products upward under category title */
body.tax-product_cat .woocommerce-notices-wrapper + .woocommerce-result-count,
body.tax-product_tag .woocommerce-notices-wrapper + .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
  margin-top: -4px !important;
  margin-bottom: 18px !important;
}

body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  margin-top: 0 !important;
}

/* Mobile safe */
@media (max-width: 921px) {
  body.tax-product_cat .woocommerce-products-header,
  body.tax-product_tag .woocommerce-products-header {
    min-height: auto !important;
    margin-top: 0 !important;
    padding: 14px 10px !important;
  }

  body.tax-product_cat h1.woocommerce-products-header__title,
  body.tax-product_tag h1.woocommerce-products-header__title,
  body.tax-product_cat .page-title,
  body.tax-product_tag .page-title {
    font-size: 34px !important;
  }
}

/* === END KOMATOSHOP PRODUCT CATEGORY COMPACT HEADER V1 === */


/* === KOMATOSHOP PRODUCT CATEGORY COMPACT HEADER V1 === */

/* Product category pages only: smaller title + less dead space */
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  min-height: 95px !important;
  margin-top: -35px !important;
  margin-bottom: 18px !important;
  padding: 18px 24px !important;
}

body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title,
body.tax-product_cat h1.woocommerce-products-header__title,
body.tax-product_tag h1.woocommerce-products-header__title,
body.tax-product_cat .page-title,
body.tax-product_tag .page-title {
  font-size: 46px !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pull results/sorting/products upward under category title */
body.tax-product_cat .woocommerce-notices-wrapper + .woocommerce-result-count,
body.tax-product_tag .woocommerce-notices-wrapper + .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
  margin-top: -4px !important;
  margin-bottom: 18px !important;
}

body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  margin-top: 0 !important;
}

/* Mobile safe */
@media (max-width: 921px) {
  body.tax-product_cat .woocommerce-products-header,
  body.tax-product_tag .woocommerce-products-header {
    min-height: auto !important;
    margin-top: 0 !important;
    padding: 14px 10px !important;
  }

  body.tax-product_cat h1.woocommerce-products-header__title,
  body.tax-product_tag h1.woocommerce-products-header__title,
  body.tax-product_cat .page-title,
  body.tax-product_tag .page-title {
    font-size: 34px !important;
  }
}

/* === END KOMATOSHOP PRODUCT CATEGORY COMPACT HEADER V1 === */


/* === KOMATOSHOP CATEGORY HEADER ASTRA DIRECT FIX V3 === */

/* Categories only */
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_tag .woocommerce-breadcrumb,
body.tax-product_cat nav.woocommerce-breadcrumb,
body.tax-product_tag nav.woocommerce-breadcrumb {
  display: none !important;
}

/* Astra category title wrapper */
body.tax-product_cat .ast-archive-description,
body.tax-product_tag .ast-archive-description {
  padding: 10px 0 8px !important;
  margin: -55px 0 8px !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

/* Category title */
body.tax-product_cat .ast-archive-description .page-title,
body.tax-product_tag .ast-archive-description .page-title,
body.tax-product_cat h1.page-title,
body.tax-product_tag h1.page-title {
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  color: #0d3b2e !important;
  letter-spacing: -0.03em !important;
  margin: 0 !important;
  padding: 0 0 10px !important;
  position: relative !important;
  text-align: left !important;
}

/* Small gold line under title */
body.tax-product_cat .ast-archive-description .page-title::after,
body.tax-product_tag .ast-archive-description .page-title::after,
body.tax-product_cat h1.page-title::after,
body.tax-product_tag h1.page-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: #d4af37;
}

/* Pull result count / sorting / products upward */
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

body.tax-product_cat .ast-woocommerce-container,
body.tax-product_tag .ast-woocommerce-container {
  padding-top: 0 !important;
}

body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  margin-top: 0 !important;
}

/* Mobile safe */
@media (max-width: 921px) {
  body.tax-product_cat .ast-archive-description,
  body.tax-product_tag .ast-archive-description {
    margin: 0 0 10px !important;
    padding: 8px 0 !important;
  }

  body.tax-product_cat h1.page-title,
  body.tax-product_tag h1.page-title {
    font-size: 30px !important;
  }
}

/* === END KOMATOSHOP CATEGORY HEADER ASTRA DIRECT FIX V3 === */


/* === KOMATOSHOP CATEGORY SIDEBAR MATCH SHOP V1 === */

/* Product categories/tags sidebar should look like main Shop sidebar */
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
  padding-top: 0 !important;
}

body.tax-product_cat #secondary .widget,
body.tax-product_tag #secondary .widget {
  background: rgba(255,255,255,0.82) !important;
  border: 1px solid rgba(13,59,46,0.08) !important;
  border-radius: 20px !important;
  padding: 24px 22px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 12px 30px rgba(13,59,46,0.065) !important;
  overflow: hidden !important;
}

/* Widget titles */
body.tax-product_cat #secondary .widget-title,
body.tax-product_tag #secondary .widget-title,
body.tax-product_cat #secondary h2,
body.tax-product_tag #secondary h2 {
  color: #0d3b2e !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  margin-bottom: 18px !important;
}

/* Category links */
body.tax-product_cat #secondary .widget_product_categories ul,
body.tax-product_tag #secondary .widget_product_categories ul {
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat #secondary .widget_product_categories li,
body.tax-product_tag #secondary .widget_product_categories li {
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(13,59,46,0.07) !important;
}

body.tax-product_cat #secondary .widget_product_categories li:last-child,
body.tax-product_tag #secondary .widget_product_categories li:last-child {
  border-bottom: 0 !important;
}

body.tax-product_cat #secondary .widget_product_categories a,
body.tax-product_tag #secondary .widget_product_categories a {
  color: #23576a !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Price filter button */
body.tax-product_cat #secondary .price_slider_amount .button,
body.tax-product_tag #secondary .price_slider_amount .button {
  background: #0d3b2e !important;
  color: #f7d98b !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  border: 0 !important;
  padding: 10px 18px !important;
}

/* Price text */
body.tax-product_cat #secondary .price_label,
body.tax-product_tag #secondary .price_label {
  color: #0d3b2e !important;
  font-weight: 800 !important;
}

/* === END KOMATOSHOP CATEGORY SIDEBAR MATCH SHOP V1 === */


/* === KOMATOSHOP CATEGORY SIDEBAR LIFT V1 === */

/* Lift category sidebar to align with category content */
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
  margin-top: -42px !important;
}

/* === END KOMATOSHOP CATEGORY SIDEBAR LIFT V1 === */


/* === KOMATOSHOP CATEGORY SIDEBAR LIFT TUNE V2 === */

/* Tune category sidebar: less aggressive lift */
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
  margin-top: -18px !important;
}

/* === END KOMATOSHOP CATEGORY SIDEBAR LIFT TUNE V2 === */


/* === KOMATOSHOP CATEGORY SIDEBAR LIFT ZERO V3 === */

/* Reset category sidebar position */
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
  margin-top: 0 !important;
}

/* === END KOMATOSHOP CATEGORY SIDEBAR LIFT ZERO V3 === */


/* === KOMATOSHOP CATEGORY SIDEBAR LOWER POSITIVE V4 === */

/* Lower category sidebar to align with products/title area */
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
  margin-top: 22px !important;
}

/* === END KOMATOSHOP CATEGORY SIDEBAR LOWER POSITIVE V4 === */


/* === KOMATOSHOP CATEGORY SIDEBAR LOWER 34 V5 === */

/* Fine tune: lower category sidebar a bit more */
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
  margin-top: 34px !important;
}

/* === END KOMATOSHOP CATEGORY SIDEBAR LOWER 34 V5 === */


/* === KOMATOSHOP CATEGORY SIDEBAR LOWER 28 V6 === */

/* Fine tune: raise category sidebar slightly from 34px */
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
  margin-top: 28px !important;
}

/* === END KOMATOSHOP CATEGORY SIDEBAR LOWER 28 V6 === */


/* === KOMATOSHOP CATEGORY RESULT COUNT ALIGN V1 === */

/* Align result count with sorting dropdown on product category pages */
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
  margin-top: 18px !important;
}

/* === END KOMATOSHOP CATEGORY RESULT COUNT ALIGN V1 === */


/* === KOMATOSHOP CATEGORY CONTROLS FLEX ALIGN V2 === */

/* Category pages: align result count and sorting on one clean row */
body.tax-product_cat .ast-woocommerce-container,
body.tax-product_tag .ast-woocommerce-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

/* result count left */
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
  float: none !important;
  order: 1 !important;
  width: 50% !important;
  margin: 18px 0 18px !important;
  line-height: 42px !important;
}

/* sorting right */
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
  float: none !important;
  order: 2 !important;
  width: 50% !important;
  margin: 18px 0 18px !important;
  text-align: right !important;
}

/* products full width underneath */
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  order: 3 !important;
  width: 100% !important;
  clear: both !important;
}

/* === END KOMATOSHOP CATEGORY CONTROLS FLEX ALIGN V2 === */


/* === KOMATOSHOP UNDO CATEGORY CONTROLS FLEX === */

/* Undo last flex alignment change on category pages */
body.tax-product_cat .ast-woocommerce-container,
body.tax-product_tag .ast-woocommerce-container {
  display: block !important;
}

/* Restore normal WooCommerce result count / sorting behavior */
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
  float: left !important;
  width: auto !important;
  order: initial !important;
  line-height: normal !important;
  margin: 0 0 18px !important;
}

body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
  float: right !important;
  width: auto !important;
  order: initial !important;
  text-align: right !important;
  margin: 0 0 18px !important;
}

/* Restore products and pagination */
body.tax-product_cat ul.products,
body.tax-product_tag ul.products,
body.tax-product_cat nav.woocommerce-pagination,
body.tax-product_tag nav.woocommerce-pagination {
  order: initial !important;
  width: auto !important;
  clear: both !important;
}

/* === END KOMATOSHOP UNDO CATEGORY CONTROLS FLEX === */


/* === KOMATOSHOP SHOP SIDEBAR FILTER ONLY === */

/* Main Shop only: make price filter match the category style */
body.woocommerce-shop #secondary .price_slider_amount .button,
body.post-type-archive-product #secondary .price_slider_amount .button {
  background: #0d3b2e !important;
  color: #f7d98b !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  border: 0 !important;
  padding: 10px 18px !important;
}

body.woocommerce-shop #secondary .price_label,
body.post-type-archive-product #secondary .price_label {
  color: #0d3b2e !important;
  font-weight: 800 !important;
}

/* Main Shop only: lower sidebar a tiny bit */
body.woocommerce-shop #secondary,
body.post-type-archive-product #secondary {
  margin-top: 12px !important;
}

/* === END KOMATOSHOP SHOP SIDEBAR FILTER ONLY === */


/* === KOMATOSHOP SHOP CATEGORIES WIDGET MATCH CATEGORY STYLE === */

/* Main Shop only: make Categories widget match category pages */
body.woocommerce-shop #secondary .widget_product_categories,
body.post-type-archive-product #secondary .widget_product_categories {
  background: rgba(255,255,255,0.82) !important;
  border: 1px solid rgba(13,59,46,0.08) !important;
  border-radius: 20px !important;
  padding: 24px 22px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 12px 30px rgba(13,59,46,0.065) !important;
  overflow: hidden !important;
}

body.woocommerce-shop #secondary .widget_product_categories .widget-title,
body.post-type-archive-product #secondary .widget_product_categories .widget-title,
body.woocommerce-shop #secondary .widget_product_categories h2,
body.post-type-archive-product #secondary .widget_product_categories h2 {
  color: #0d3b2e !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  margin-bottom: 18px !important;
}

body.woocommerce-shop #secondary .widget_product_categories ul,
body.post-type-archive-product #secondary .widget_product_categories ul {
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-shop #secondary .widget_product_categories li,
body.post-type-archive-product #secondary .widget_product_categories li {
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(13,59,46,0.07) !important;
}

body.woocommerce-shop #secondary .widget_product_categories li:last-child,
body.post-type-archive-product #secondary .widget_product_categories li:last-child {
  border-bottom: 0 !important;
}

body.woocommerce-shop #secondary .widget_product_categories a,
body.post-type-archive-product #secondary .widget_product_categories a {
  color: #23576a !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.woocommerce-shop #secondary .widget_product_categories a:hover,
body.post-type-archive-product #secondary .widget_product_categories a:hover {
  color: #0d3b2e !important;
}

/* === END KOMATOSHOP SHOP CATEGORIES WIDGET MATCH CATEGORY STYLE === */

