/*
Theme Name: Merto Child
Template: merto
Version: 1.0.1
Text Domain: merto-child
*/

/* RepsBaskets visual identity */
:root {
    --rb-black: #111111;
    --rb-white: #ffffff;
    --rb-orange: #f26a21;
    --rb-light: #f5f5f5;
    --rb-grey: #777777;
}

body {
    color: var(--rb-black);
    background: var(--rb-white);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    transition: color .2s ease;
}

a:hover {
    color: var(--rb-orange);
}

button,
.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--rb-black);
    color: var(--rb-white);
    border: 1px solid var(--rb-black);
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .2s ease;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--rb-orange);
    border-color: var(--rb-orange);
    color: var(--rb-white);
}

.woocommerce ul.products li.product {
    background: var(--rb-white);
    padding: 12px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.woocommerce ul.products li.product img {
    border-radius: 3px;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--rb-orange);
    font-weight: 700;
}

.woocommerce span.onsale {
    background: var(--rb-orange);
    color: var(--rb-white);
    border-radius: 3px;
    min-height: auto;
    min-width: auto;
    padding: 7px 12px;
    line-height: 1.3;
}

.woocommerce div.product .product_title {
    font-weight: 800;
    letter-spacing: -.5px;
}

.woocommerce div.product form.cart .variations select {
    border: 1px solid #dddddd;
    border-radius: 3px;
    padding: 10px;
}

.woocommerce-message {
    border-top-color: var(--rb-orange);
}

.woocommerce-message::before {
    color: var(--rb-orange);
}

@media (max-width: 767px) {
    .woocommerce ul.products li.product {
        padding: 7px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px;
    }

    .woocommerce ul.products li.product .price {
        font-size: 14px;
    }
}

/* REPSBASKETS PRODUCT DESIGN */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    background: #fff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 10px !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 240px !important;
    object-fit: contain !important;
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #171717 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.woocommerce ul.products li.product .price {
    color: #171717 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

.woocommerce ul.products li.product .button {
    background: #f36b32 !important;
    color: #fff !important;
    border-radius: 5px !important;
    font-weight: 700 !important;
    padding: 12px 18px !important;
}

@media (max-width: 767px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .woocommerce ul.products li.product img {
        height: 160px !important;
    }
}


/* REPSBASKETS PRODUCT CARD POLISH */
.woocommerce ul.products li.product {
    background: #fff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 8px !important;
    padding: 12px !important;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
}

.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    margin: 0 auto 12px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #171717 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

@media (max-width: 767px) {
    .woocommerce ul.products li.product img {
        height: 160px !important;
    }
}

/* RepsBaskets homepage product image sizing */
.home .woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    .home .woocommerce ul.products li.product a img {
        height: 155px !important;
        padding: 6px !important;
    }
}


/* REPSBASKETS PREMIUM HOMEPAGE */
.rb-premium-home{color:#171717;background:#fff;font-family:inherit}
.rb-premium-home *{box-sizing:border-box}
.rb-announcement{background:#111;color:#eee;text-align:center;padding:10px 12px;font-size:10px;letter-spacing:2px;font-weight:700}
.rb-announcement span{color:#f36b35;padding:0 8px}
.rb-hero{min-height:490px;background-color:#171717;background-size:cover;background-position:center 45%;display:flex;align-items:center;position:relative;padding:70px 8%;color:#fff;overflow:hidden}
.rb-hero-content{max-width:570px;position:relative;z-index:1}
.rb-eyebrow{display:block;color:#ef713d;font-size:10px;font-weight:800;letter-spacing:3px;margin-bottom:17px}
.rb-hero h1{font-size:clamp(54px,7vw,92px);line-height:.91;letter-spacing:-4px;font-weight:900;color:#fff;margin:0 0 22px}
.rb-hero h1 em,.rb-latest-intro h2 em{font-style:normal;color:#ef713d}
.rb-hero p{font-size:15px;color:#ddd;margin:0 0 30px}
.rb-main-button{display:inline-flex;align-items:center;gap:25px;background:#ef713d;color:#fff!important;padding:16px 22px;font-size:10px;font-weight:800;letter-spacing:1.4px;text-decoration:none!important;transition:.25s}
.rb-main-button:hover{background:#fff;color:#111!important}
.rb-main-button span{font-size:17px}
.rb-hero-index{position:absolute;right:7%;bottom:27px;color:#fff;font-size:10px;letter-spacing:2px}
.rb-hero-index span{color:#ef713d;padding:0 8px}
.rb-benefits{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #eee;border-top:1px solid #eee;padding:22px 7%;gap:15px}
.rb-benefits div{display:flex;justify-content:center;align-items:center;gap:12px;font-size:10px;letter-spacing:1px}
.rb-benefits span{font-size:19px;color:#ef713d}
.rb-categories{padding:65px 6% 45px}
.rb-section-heading,.rb-latest-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}
.rb-section-heading h2,.rb-latest-intro h2{font-size:30px;line-height:1.1;letter-spacing:-1px;font-weight:900;margin:0;color:#151515}
.rb-heading-note{font-size:9px;letter-spacing:1.5px;color:#888;font-weight:700;padding-bottom:5px}
.rb-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.rb-category-card{height:235px;background:#f2f1ee;position:relative;overflow:hidden;display:flex;align-items:end;text-decoration:none!important;color:#fff!important}
.rb-category-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(0deg,rgba(0,0,0,.82),transparent)}
.rb-category-card img{position:absolute;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.rb-category-card:hover img{transform:scale(1.06)}
.rb-category-copy{position:relative;z-index:1;padding:20px;display:flex;flex-direction:column;gap:6px}
.rb-category-copy strong{font-size:15px;letter-spacing:1px;color:#fff}
.rb-category-copy small{font-size:10px;color:#ddd}
.rb-category-arrow{position:absolute;z-index:2;right:18px;bottom:22px;font-size:20px;color:#fff}
.rb-latest-intro{padding:25px 6% 10px;margin:0}
.rb-latest-intro h2{font-size:38px}
.home .elementor-widget-shortcode{padding:15px 6% 70px}
.home .elementor-widget-shortcode .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:28px 18px!important;margin:0!important}
.home .elementor-widget-shortcode .woocommerce ul.products:before,.home .elementor-widget-shortcode .woocommerce ul.products:after{display:none!important}
.home .elementor-widget-shortcode .woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:0 0 17px!important;background:#fff;border:1px solid #eee;transition:transform .25s,box-shadow .25s;overflow:hidden}
.home .elementor-widget-shortcode .woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:0 12px 30px rgba(0,0,0,.08)}
.home .elementor-widget-shortcode .woocommerce ul.products li.product a img{width:100%!important;height:245px!important;object-fit:contain!important;padding:16px!important;margin:0 0 12px!important;background:#f7f7f5}
.home .elementor-widget-shortcode .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;font-weight:700!important;line-height:1.5;padding:0 15px!important;color:#171717!important}
.home .elementor-widget-shortcode .woocommerce ul.products li.product .price{padding:5px 15px 0!important;color:#ef713d!important;font-size:13px!important;font-weight:800!important}
.home .elementor-widget-shortcode .woocommerce ul.products li.product .button{margin:12px 15px 0!important;background:#171717!important;color:#fff!important;border-radius:0!important;font-size:9px!important;letter-spacing:1px!important;padding:12px 14px!important;text-transform:uppercase}
@media(max-width:900px){.rb-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-category-card{height:220px}.home .elementor-widget-shortcode .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rb-hero{min-height:430px}}
@media(max-width:600px){.rb-hero{min-height:390px;padding:55px 7%;background-position:60% center}.rb-hero h1{font-size:58px;letter-spacing:-2px}.rb-hero p{font-size:13px}.rb-benefits{grid-template-columns:1fr;padding:17px 6%;gap:12px}.rb-benefits div{justify-content:flex-start}.rb-categories{padding:45px 5% 25px}.rb-section-heading h2{font-size:23px}.rb-heading-note{display:none}.rb-category-grid{gap:9px}.rb-category-card{height:175px}.rb-category-copy{padding:12px}.rb-category-copy strong{font-size:11px}.rb-category-copy small{font-size:9px}.rb-category-arrow{right:11px;bottom:13px}.rb-latest-intro{padding:25px 5% 8px}.rb-latest-intro h2{font-size:32px}.home .elementor-widget-shortcode{padding:12px 5% 45px}.home .elementor-widget-shortcode .woocommerce ul.products{gap:12px!important}.home .elementor-widget-shortcode .woocommerce ul.products li.product a img{height:165px!important;padding:8px!important}.home .elementor-widget-shortcode .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:11px!important;padding:0 10px!important}.home .elementor-widget-shortcode .woocommerce ul.products li.product .price{padding:5px 10px 0!important}.home .elementor-widget-shortcode .woocommerce ul.products li.product .button{margin:10px!important}}
/* REPSBASKETS LUXURY HOMEPAGE */
.rb-luxe, .rb-luxe-products {
  --rb-ink:#171715; --rb-cream:#f4f1eb; --rb-muted:#817e76;
  color:var(--rb-ink); font-family:inherit;
}
.rb-luxe-hero {
  position:relative; background:#e9e5dc; min-height:610px;
  display:grid; grid-template-columns:1fr 1fr; align-items:center;
  padding:75px 8%; overflow:hidden; gap:35px;
}
.rb-luxe-hero-copy { position:relative; z-index:2; max-width:550px; }
.rb-luxe-kicker { font-size:10px; letter-spacing:3px; font-weight:700; color:#827c70; }
.rb-luxe-hero h1 {
  font-family:Georgia,serif; font-size:clamp(58px,7vw,100px);
  line-height:.91; letter-spacing:-4px; font-weight:400; margin:30px 0;
  color:#191916;
}
.rb-luxe-hero h1 em, .rb-luxe-intro h2 em,
.rb-luxe-section-head h2 em, .rb-luxe-footer-banner h2 em {
  font-weight:400; color:#9a7951;
}
.rb-luxe-hero-copy p {
  max-width:390px; color:#625f58; font-size:14px; line-height:1.9;
}
.rb-luxe-cta {
  display:inline-flex; align-items:center; gap:35px; margin-top:27px;
  padding:17px 22px; background:#191916; color:#fff !important;
  font-size:10px; font-weight:700; letter-spacing:1.5px;
  text-decoration:none !important; transition:.25s;
}
.rb-luxe-cta:hover { background:#9a7951; color:#fff !important; }
.rb-luxe-hero-visual { position:relative; height:440px; display:flex; align-items:center; justify-content:center; }
.rb-luxe-hero-visual img {
  width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply;
}
.rb-luxe-visual-placeholder {
  font-family:Georgia,serif; font-size:40px; color:#9a7951; letter-spacing:5px;
}
.rb-luxe-image-caption {
  position:absolute; bottom:0; right:0; font-size:9px; letter-spacing:2px; color:#777;
}
.rb-luxe-vertical {
  position:absolute; right:22px; top:50%; writing-mode:vertical-rl;
  font-size:8px; letter-spacing:3px; color:#777;
}
.rb-luxe-marquee {
  display:flex; justify-content:space-around; align-items:center; gap:20px;
  padding:19px 4%; background:#191916; color:#eee9df;
  font-size:9px; letter-spacing:2px; flex-wrap:wrap;
}
.rb-luxe-marquee i { color:#b4956c; font-style:normal; }
.rb-luxe-intro {
  padding:95px 10%; display:grid; grid-template-columns:1fr 1fr;
  gap:50px; align-items:end; background:#f8f7f3;
}
.rb-luxe-intro h2, .rb-luxe-section-head h2,
.rb-luxe-footer-banner h2 {
  font-family:Georgia,serif; font-weight:400; font-size:clamp(42px,5vw,66px);
  line-height:1.05; letter-spacing:-2px; margin:20px 0 0; color:#191916;
}
.rb-luxe-intro p { max-width:430px; color:#77736c; font-size:13px; line-height:2; }
.rb-luxe-products { background:#f8f7f3; padding:30px 7% 90px; }
.rb-luxe-section-head {
  display:flex; justify-content:space-between; align-items:end;
  gap:20px; margin-bottom:42px;
}
.rb-luxe-section-head h2 { font-size:54px; }
.rb-luxe-section-head > a {
  font-size:9px; letter-spacing:1.5px; font-weight:700;
  color:#625b50; text-decoration:none; padding-bottom:8px;
  border-bottom:1px solid #b9ad9c;
}
.rb-luxe-product-grid ul.products {
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:28px 18px !important; margin:0 !important;
}
.rb-luxe-product-grid ul.products li.product {
  width:auto !important; margin:0 !important; float:none !important;
  background:transparent; text-align:left; padding:0 0 15px !important;
}
.rb-luxe-product-grid ul.products li.product a img {
  width:100%; height:300px; object-fit:contain; background:#eeece6;
  padding:20px; margin:0 0 17px !important; transition:transform .35s;
}
.rb-luxe-product-grid ul.products li.product:hover a img { transform:scale(1.035); }
.rb-luxe-product-grid ul.products li.product .woocommerce-loop-product__title {
  font-family:Georgia,serif; font-size:15px !important; line-height:1.5;
  font-weight:400; color:#26241f; padding:0 !important;
}
.rb-luxe-product-grid ul.products li.product .price {
  color:#76654f !important; font-size:13px; margin-top:8px !important;
}
.rb-luxe-product-grid ul.products li.product .button {
  background:#191916 !important; color:#fff !important; border-radius:0 !important;
  font-size:9px !important; letter-spacing:1px; padding:12px 15px !important;
}
.rb-luxe-bottom-link { text-align:center; margin-top:55px; }
.rb-luxe-bottom-link a {
  display:inline-block; padding:18px 28px; border:1px solid #aaa194;
  color:#292720; text-decoration:none; font-size:9px; letter-spacing:1.7px;
}
.rb-luxe-footer-banner {
  background:#1b1b19; color:#f4f1eb; padding:95px 10%;
  text-align:center; margin-top:0;
}
.rb-luxe-footer-banner h2 { color:#f4f1eb; margin:22px 0; }
.rb-luxe-cta-light { background:#f4f1eb; color:#191916 !important; }
.rb-luxe-cta-light:hover { background:#9a7951; color:#fff !important; }

@media(max-width:767px) {
  .rb-luxe-hero { grid-template-columns:1fr; padding:65px 7% 45px; min-height:0; gap:15px; }
  .rb-luxe-hero h1 { font-size:62px; letter-spacing:-2px; margin:22px 0; }
  .rb-luxe-hero-visual { height:270px; }
  .rb-luxe-vertical { display:none; }
  .rb-luxe-marquee { gap:12px; padding:15px 8px; font-size:8px; }
  .rb-luxe-intro { grid-template-columns:1fr; padding:65px 8%; gap:20px; }
  .rb-luxe-intro h2 { font-size:46px; }
  .rb-luxe-products { padding:35px 5% 60px; }
  .rb-luxe-section-head { align-items:start; flex-direction:column; margin-bottom:25px; }
  .rb-luxe-section-head h2 { font-size:45px; }
  .rb-luxe-product-grid ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:20px 11px !important;
  }
  .rb-luxe-product-grid ul.products li.product a img {
    height:190px; padding:10px; margin-bottom:12px !important;
  }
  .rb-luxe-product-grid ul.products li.product .woocommerce-loop-product__title { font-size:13px !important; }
  .rb-luxe-footer-banner { padding:70px 7%; }
  .rb-luxe-footer-banner h2 { font-size:48px; }
}
/* REPSBASKETS — PREMIUM FOOTER */
#colophon.footer-container {
    background: #11100f !important;
    color: #e9e3d8 !important;
    border-top: 1px solid rgba(190, 160, 105, .3);
    padding-top: 48px;
    padding-bottom: 24px;
}

#colophon.footer-container,
#colophon.footer-container .elementor-element,
#colophon.footer-container .elementor-widget-container {
    color: #e9e3d8;
}

#colophon.footer-container h1,
#colophon.footer-container h2,
#colophon.footer-container h3,
#colophon.footer-container h4,
#colophon.footer-container .elementor-icon-box-title {
    color: #d2b77b !important;
    letter-spacing: .04em;
}

#colophon.footer-container p,
#colophon.footer-container .elementor-icon-box-description {
    color: #bdb5a8 !important;
    line-height: 1.8;
}

#colophon.footer-container a {
    color: #e9e3d8 !important;
    text-decoration: none;
    transition: color .2s ease;
}

#colophon.footer-container a:hover {
    color: #d2b77b !important;
}

#colophon.footer-container .button-text {
    padding-left: 0;
    border: 0 !important;
    background: transparent !important;
}

#colophon.footer-container .elementor-icon {
    color: #d2b77b !important;
}

#colophon.footer-container .elementor-widget-image img {
    max-width: 190px;
    height: auto;
}

#colophon.footer-container .elementor-widget-image:last-child img {
    max-width: 300px;
}

@media (max-width: 767px) {
    #colophon.footer-container {
        padding-top: 32px;
        padding-bottom: 20px;
    }
}

/* REPSBASKETS — FOOTER LAYOUT FIX */
#colophon.footer-container {
    background: #11100f !important;
    color: #e9e3d8 !important;
    padding: 55px 5% 25px !important;
    border-top: 1px solid rgba(190,160,105,.3);
}
#colophon .elementor-container,
#colophon .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 28px 20px !important;
}
#colophon .elementor-column,
#colophon .e-con {
    flex: 1 1 180px !important;
    min-width: 0 !important;
}
#colophon h1,
#colophon h2,
#colophon h3,
#colophon h4 {
    color: #d2b77b !important;
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
}
#colophon p,
#colophon li,
#colophon a {
    color: #c8c0b4 !important;
    font-size: 13px;
    line-height: 1.9;
}
#colophon a:hover { color: #d2b77b !important; }
#colophon ul { list-style: none; padding: 0; margin: 0; }
#colophon .elementor-widget { margin-bottom: 15px; }
#colophon .elementor-widget-image img { max-width: 180px; height: auto; }
@media (max-width: 767px) {
    #colophon.footer-container { padding: 35px 22px 20px !important; }
    #colophon .elementor-container,
    #colophon .e-con-inner { gap: 22px 14px !important; }
    #colophon .elementor-column,
    #colophon .e-con { flex: 1 1 100% !important; width: 100% !important; }
}

/* RepsBaskets - Luxury ivory product cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product .product-wrapper,
.woocommerce-page ul.products li.product .product-wrapper,
.products .product-wrapper,
.ts-product .product-wrapper,
.elementor-widget-woocommerce-products .product-wrapper {
    background-color: #F8F7F3 !important;
    border-color: #E7E1D7 !important;
}


/* RepsBaskets - Warm Cream Background */
body,
#page,
#main,
#content,
.site-content,
.page-wrapper,
#primary {
    background-color: #FBF7EC !important;
}

/* Header background */
.site-header,
.ts-header,
.header-wrapper,
.header-middle,
.header-bottom,
.header-top,
.header-sticky,
.elementor-location-header {
    background-color: #FBF7EC !important;
}

/* Header logo containers */
.site-logo,
.header-logo,
.logo-wrapper,
.header-logo-wrapper {
    background-color: transparent !important;
}

/* Blend white pixels in the logo image with the cream background */
.site-logo img,
.header-logo img,
.logo-wrapper img {
    mix-blend-mode: multiply;
}

/* Brand selector row */
.rb-brand-strip {
    background-color: #FBF7EC !important;
}


/* REPSBASKETS HIDE SHOP FILTER SIDEBAR */
body.post-type-archive-product #left-sidebar,
body.post-type-archive-product #secondary,
body.post-type-archive-product .ts-sidebar,
body.post-type-archive-product .widget-area,
body.tax-product_cat #left-sidebar,
body.tax-product_cat #secondary,
body.tax-product_cat .ts-sidebar,
body.tax-product_cat .widget-area {
    display: none !important;
}

body.post-type-archive-product #primary,
body.post-type-archive-product .content-area,
body.tax-product_cat #primary,
body.tax-product_cat .content-area {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
/* END REPSBASKETS HIDE SHOP FILTER SIDEBAR */


/* REPSBASKETS: FIX FOUR-COLUMN SHOP GRID */
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-width: 0 !important;
}

/* REPSBASKETS: RESTORE FULL HEADER VISIBILITY */
.ts-header,
.ts-header .header-template,
.ts-header .header-middle,
.ts-header .header-middle > .container {
    height: auto !important;
    min-height: 100px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.ts-header .header-middle {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.ts-header .header-middle > .container {
    align-items: center !important;
}

.ts-header .header-middle .logo-wrapper,
.ts-header .header-middle .logo,
.ts-header .header-middle .header-search,
.ts-header .header-middle .search-wrapper {
    align-self: center !important;
}

/* END REPSBASKETS GRID AND HEADER FIX */


/* REPSBASKETS — DARK LUXURY NAVIGATION */
.header-bottom {
    background: #171614 !important;
    border-top: 1px solid #302a20 !important;
    border-bottom: 1px solid #302a20 !important;
}

.header-bottom .menu-wrapper,
.header-bottom .ts-menu {
    background: transparent !important;
}

.header-bottom .main-menu > ul > li > a {
    color: #f4efe5 !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 1.1px !important;
    text-transform: uppercase !important;
    transition: color .25s ease !important;
}

.header-bottom .main-menu > ul > li:hover > a,
.header-bottom .main-menu > ul > li.current-menu-item > a,
.header-bottom .main-menu > ul > li.current-menu-ancestor > a {
    color: #c9a96e !important;
}

.header-bottom .main-menu ul.sub-menu,
.header-bottom .main-menu .ts-mega-menu {
    background: #201e1a !important;
    border-top: 2px solid #c9a96e !important;
}

.header-bottom .main-menu ul.sub-menu a,
.header-bottom .main-menu .ts-mega-menu a {
    color: #eee7da !important;
    transition: color .2s ease !important;
}

.header-bottom .main-menu ul.sub-menu a:hover,
.header-bottom .main-menu .ts-mega-menu a:hover {
    color: #c9a96e !important;
}


/* FIX: SNEAKERS dropdown readability */
.header-bottom .main-menu > ul > li.menu-item-has-children:hover > ul.sub-menu a,
.header-bottom .main-menu > ul > li.menu-item-has-children > ul.sub-menu a {
    color: #29251f !important;
}

.header-bottom .main-menu > ul > li.menu-item-has-children > ul.sub-menu a:hover {
    color: #a78345 !important;
}


/* REPSBASKETS — SINGLE PRODUCT CART CONTROLS */
.single-product div.product form.cart,
.single-product div.product .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
}

.single-product div.product form.cart .quantity,
.single-product div.product .woocommerce-variation-add-to-cart .quantity {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product .woocommerce-variation-add-to-cart .single_add_to_cart_button,
.single-product div.product form.cart .buy_now_button,
.single-product div.product form.cart .ts-buy-now-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    min-width: max-content !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.single-product div.product form.cart .single_add_to_cart_button *,
.single-product div.product form.cart .buy_now_button *,
.single-product div.product form.cart .ts-buy-now-button * {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

@media (max-width: 767px) {
    .single-product div.product form.cart,
    .single-product div.product .woocommerce-variation-add-to-cart {
        gap: 8px !important;
    }
}


/* REPSBASKETS — BUY NOW BUTTON SIZE AND ALIGNMENT */
.single-product div.product form.cart .buy_now_button,
.single-product div.product form.cart .ts-buy-now-button,
.single-product div.product .woocommerce-variation-add-to-cart .buy_now_button,
.single-product div.product .woocommerce-variation-add-to-cart .ts-buy-now-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    padding: 0 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .single-product div.product form.cart .buy_now_button,
    .single-product div.product form.cart .ts-buy-now-button,
    .single-product div.product .woocommerce-variation-add-to-cart .buy_now_button,
    .single-product div.product .woocommerce-variation-add-to-cart .ts-buy-now-button {
        min-height: 46px !important;
        padding: 0 18px !important;
    }
}

@media (max-width: 767px) {
    .single-product div.product form.cart .buy_now_button,
    .single-product div.product form.cart .ts-buy-now-button,
    .single-product div.product .woocommerce-variation-add-to-cart .buy_now_button,
    .single-product div.product .woocommerce-variation-add-to-cart .ts-buy-now-button {
        min-height: 44px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
    }
}


/* REPSBASKETS — FULL-WIDTH LUXURY PRODUCT SECTIONS */
.rb-luxe-products {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: clamp(16px, 3vw, 48px) !important;
    padding-right: clamp(16px, 3vw, 48px) !important;
    box-sizing: border-box !important;
}

.rb-luxe-products .rb-luxe-product-grid {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}


/* REPSBASKETS — UNIFORM PRODUCT IMAGE FRAMING */

/* Consistent image dimensions in product grids */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.rb-luxe-product-grid ul.products li.product a img {
    display: block !important;
    width: 100% !important;
    height: clamp(190px, 25vw, 300px) !important;
    max-height: 300px !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img,
    .rb-luxe-product-grid ul.products li.product a img {
        height: 240px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img,
    .rb-luxe-product-grid ul.products li.product a img {
        height: 190px !important;
    }
}

/* RepsBaskets - corrected Merto header search */
.ts-search-by-category {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.ts-search-by-category form {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    overflow: hidden;
    background: #f2f2f2;
    border-radius: 10px;
    box-sizing: border-box;
}

.ts-search-by-category .select-category {
    flex: 0 1 190px;
    width: 190px;
    min-width: 0;
    max-width: 35%;
    height: 46px;
    margin: 0 !important;
    box-sizing: border-box;
}

.ts-search-by-category .search-table {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    display: flex;
    box-sizing: border-box;
}

.ts-search-by-category .search-field.search-content {
    display: flex !important;
    flex: 1 1 auto;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    box-sizing: border-box;
}

.ts-search-by-category .search-field.search-content > input[type="text"] {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    height: 46px;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
}

.ts-search-by-category .search-field.search-content .search-button {
    flex: 0 0 46px;
    width: 46px;
    min-width: 46px;
    height: 46px;
    margin: 0 !important;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    color: #fff !important;
    overflow: hidden;
    box-sizing: border-box;
}

.ts-search-by-category .search-field.search-content .search-button input[type="submit"] {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #fff !important;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .ts-search-by-category .select-category {
        flex-basis: 30%;
        width: 30%;
        max-width: 30%;
    }

    .ts-search-by-category .search-field.search-content > input[type="text"],
    .ts-search-by-category .search-field.search-content .search-button {
        height: 44px;
    }

    .ts-search-by-category .search-field.search-content .search-button {
        flex-basis: 44px;
        width: 44px;
        min-width: 44px;
    }
}

/* REPSBASKETS — HIDE CATEGORY AND SKU ON PRODUCT CARDS */
.woocommerce ul.products li.product .product-categories,
.woocommerce ul.products li.product .product-category,
.woocommerce ul.products li.product .ts-product-category,
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .sku,
.woocommerce ul.products li.product .sku_wrapper,
.woocommerce ul.products li.product .product_meta,
.rb-luxe-product-grid .product .product-categories,
.rb-luxe-product-grid .product .product-category,
.rb-luxe-product-grid .product .ts-product-category,
.rb-luxe-product-grid .product .posted_in,
.rb-luxe-product-grid .product .sku,
.rb-luxe-product-grid .product .sku_wrapper,
.rb-luxe-product-grid .product .product_meta {
    display: none !important;
}
/* END HIDE PRODUCT CATEGORY AND SKU */


/* REPSBASKETS — MOBILE PRODUCT GRID: 3 COLUMNS */
@media screen and (max-width: 767px) {
    body.post-type-archive-product ul.products,
    body.tax-product_cat ul.products,
    body.woocommerce-shop ul.products,
    .rb-luxe-product-grid ul.products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 10px !important;
        row-gap: 18px !important;
    }

    body.post-type-archive-product ul.products li.product,
    body.tax-product_cat ul.products li.product,
    body.woocommerce-shop ul.products li.product,
    .rb-luxe-product-grid ul.products li.product {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
}
/* END MOBILE 3 COLUMNS */

/* REPSBASKETS — FIX ACTUAL HOMEPAGE SHORTCODE MARKUP */

/* Desktop product grid */
.rb-luxe-product-grid .woocommerce > .products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px 18px !important;
    width: 100% !important;
    margin: 0 !important;
}

.rb-luxe-product-grid .woocommerce > .products > .product {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.rb-luxe-product-grid .products > .product img {
    display: block !important;
    width: 100% !important;
    height: 300px !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Mobile product grid */
@media screen and (max-width: 767px) {
    .rb-luxe-product-grid .woocommerce > .products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 10px !important;
        row-gap: 20px !important;
    }

    .rb-luxe-product-grid .products > .product img {
        height: clamp(115px, 35vw, 165px) !important;
        padding: 5px !important;
        object-fit: contain !important;
    }

    .rb-luxe-product-grid .products > .product .woocommerce-loop-product__title {
        font-size: 11px !important;
        line-height: 1.4 !important;
        padding: 0 4px !important;
    }
}

/* END HOMEPAGE SHORTCODE MARKUP FIX */
