/* =============================================================
   newhomeafd4.css — Homepage Stylesheet
   ============================================================= */
/* Disable focus ring on all interactive elements globally */
*:focus,
*:focus-visible,
*:active {
    outline: 0 !important;
    box-shadow: none !important;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent the home carousel and wide promotional rows from creating a
   horizontal document scroll on phones and small desktop viewports. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ── Global col padding ─────────────────────────────────────── */
.col-xs,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,
.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,
.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,
.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,
.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,
.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,
.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,
.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,
.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,
.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12 {
    padding-right: 7px;
    padding-left:  7px;
}

picture > img        { width: 100%; }
.home-element img    { width: 100%; }
.product-related img { width: 100%; }

.home-element::after {
    content: "";
    display: table;
    clear: both;
}

.row > div {
    padding: 0 7px;
    margin: 7px 0;
}

/* ── Layout ─────────────────────────────────────────────────── */
/* DO NOT set width/overflow on .home-element — it breaks Bootstrap
   grid children. Just center and cap. */
.home-content {
    margin: 0 auto;
    max-width: 1440px;
}
.home-element {
    margin-top: 32px;
    max-width: 100%;
}

#homepage {
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   HERO SLIDER
   Key: DO NOT set max-height on the img when inside a Slick/Owl
   carousel — let the image define its own height naturally.
   Use aspect-ratio on the SLIDE, not the img.
   ══════════════════════════════════════════════════════════════ */
.hp-hero-wrap {
    width: 100%;
    /* no overflow:hidden here — Slick needs to paint outside */
    margin: 0 auto;
    padding: 0;
    border-radius: 12px;
    background: #f5f5f5;
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
/* The carousel container itself must not overflow the page */
.hp-hero-wrap .hometop-slider {
    width: 100%;
    overflow: hidden;  /* clips carousel track, not the slides */
}
.hp-hero-wrap .hometop-slide {
    display: block;
    line-height: 0;    /* removes ghost gap under img */
    background: #f5f5f5;
}
.hp-hero-wrap .hometop-slide a {
    display: block;
    line-height: 0;
}
/* Let the image scale naturally — aspect ratio via the image itself */
.hp-hero-wrap img {
    width: 100%;
    height: clamp(220px, 31vw, 520px);
    display: block;
    object-fit: cover;
    object-position: center;
}
.hp-hero-wrap .slick-dots {
    bottom: 12px;
}
.hp-hero-wrap .slick-dots li {
    width: auto;
    height: auto;
    margin: 0 3px;
}
.hp-hero-wrap .slick-dots li button {
    width: 22px;
    height: 4px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.65);
}
.hp-hero-wrap .slick-dots li button::before {
    display: none;
}
.hp-hero-wrap .slick-dots li.slick-active button {
    width: 34px;
    background: #fff;
}

@media (max-width: 767px) {
    .hp-hero-wrap img { height: clamp(170px, 46vw, 260px); }
}
@media (max-width: 480px) {
    .hp-hero-wrap {
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(0,0,0,.08);
    }
    .hp-hero-wrap img { height: clamp(145px, 48vw, 210px); }
}

/* ══════════════════════════════════════════════════════════════
   BODY MENU / QUICK-NAV
   ══════════════════════════════════════════════════════════════ */
.body-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    /* FIX: original had margin: 14px -15px which caused overflow.
       Use 0 margin and let the container handle padding. */
    margin: 16px 0 0 0;
    padding: 8px;
    min-height: 58px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
    gap: 8px;
}
.body-menu-item {
    min-height: 44px;
    line-height: 44px;
    font-weight: 600;
}
.body-menu > .body-menu-item:nth-child(1) {
    width: calc(100% - 430px);
    display: flex;
    flex-direction: row;
    gap: 8px;
}
.body-menu > .body-menu-item:nth-child(1) > div:nth-child(1) {
    text-align: left;
}
.body-menu > .body-menu-item:nth-child(1) > div {
    width: 25%;
    text-align: center;
}
.body-menu > .body-menu-item:nth-child(2) {
    width: 422px;
}
.skew {
    transform: none;
    background: #f6f6f6;
    padding: 0 14px;
    margin: 0;
    border-radius: 8px;
}
.unskew {
    transform: none;
    display: flex;
    align-items: center;
}
.app5p img {
    height: 40px;
    margin-bottom: 4px;
    margin-left: 15px;
}
.no-style-link,
.no-style-link:hover,
.no-style-link:visited {
    color: inherit;
    text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   EVENT STRIP
   ══════════════════════════════════════════════════════════════ */
.hp-event-strip {
    margin-top: 14px;
}
.hp-event-strip a { text-decoration: none; }
.hp-event-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    background: #f0fbfc;
    border: 1px solid #c7eef2;
    border-left: 4px solid #00acc1;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13.5px;
    color: #1a1a1a;
}
.hp-event-inner .ev-cta {
    margin-left: auto;
    color: #0097a7;
    font-weight: 700;
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADER
   ══════════════════════════════════════════════════════════════ */
.hp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}
.hp-section-head h2 {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin: 0;
    position: relative;
    padding-bottom: 6px;
}
.hp-section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 3px;
    background: #e53935;
    border-radius: 2px;
}
.hp-view-all {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    border: 1px solid #ddd;
    background: #fff;
    padding: 6px 13px;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}
.hp-view-all:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY TILES — flex-cat-button FIX
   
   Root cause: .flex-cat-img had overflow:hidden AND was the
   position:relative parent. The button (position:absolute) was
   clipped because it was INSIDE the overflow:hidden element.
   
   Fix: Remove overflow:hidden from .flex-cat-img.
        Make .flex-cat-block the clipping boundary instead,
        but only for the image — not for the button.
        Restructure so button sits OUTSIDE .flex-cat-img.
   
   In the blade the structure is:
     .flex-cat-block
       .flex-cat-img           ← image only, no overflow clip
         <a><img></a>
         .flex-cat-button      ← absolute, positioned over image
   
   Since .flex-cat-img IS the position parent and we REMOVED
   overflow:hidden from it, the button now shows freely.
   ══════════════════════════════════════════════════════════════ */
.flex-cat-block {
    border-radius: 8px;
    overflow: hidden;          /* clips the image corners */
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    margin-bottom: 2px;
    position: relative;        /* ← positioning context for button */
}
.flex-cat-block:hover {
    box-shadow: 0 14px 30px rgba(0,0,0,.13);
    transform: translateY(-2px);
}

/* .flex-cat-img: DO NOT set overflow:hidden here — it was clipping the button */
.flex-cat-img {
    border-radius: 8px;
    position: static;          /* let .flex-cat-block be the parent */
    display: block;
}
.flex-cat-img > a {
    display: block;
    line-height: 0;
}
.flex-cat-img img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.flex-cat-block:hover img {
    transform: scale(1.04);
}

/* Button: sits at bottom of .flex-cat-block (the position:relative parent) */
.flex-cat-button {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;                /* above the image */
    pointer-events: auto;
}
.flex-cat-button a {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,.96);
    border-radius: 20px;
    text-decoration: none;
    color: #222;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 88%;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.flex-cat-button a:hover {
    background: #fff;
    color: #000;
}

/* ══════════════════════════════════════════════════════════════
   BANNER IMAGES
   ══════════════════════════════════════════════════════════════ */
.hp-banner-wrap {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    position: relative;
    background: #f5f5f5;
}
.hp-banner-wrap:hover {
    box-shadow: 0 14px 30px rgba(0,0,0,.13);
    transform: translateY(-2px);
}
.hp-banner-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}
.hp-banner-wrap:hover img {
    transform: scale(1.025);
}

/* ══════════════════════════════════════════════════════════════
   HERO-LINK (text overlay on banners)
   ══════════════════════════════════════════════════════════════ */
.hero-link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 1.05rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.62) 0%,
        rgba(0,0,0,.38) 40%,
        transparent 100%
    );
    padding: 42px 10px 12px;
    font-family: 'Fjalla One', sans-serif;
    pointer-events: none;
    line-height: 1.2;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════════ */
.home-product {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.home-product:hover {
    box-shadow: 0 14px 30px rgba(0,0,0,.13);
    transform: translateY(-2px);
}
.home-product > img,
.home-product img:first-child {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    display: block;
    object-fit: cover;
}
.product-link {
    text-decoration: none;
    color: #000;
    display: block;
}
.product-link:hover,.product-link:visited,.product-link:active {
    text-decoration: none;
    color: #000;
}

/* product-info overlay */
.product-info {
    background: linear-gradient(0deg, rgba(0,0,0,.58), rgba(0,0,0,.12));
    padding: 18px 10px 6px;
    position: absolute;
    bottom: 30px;
    left: 0; right: 0;
    opacity: 0;
    color: #fff;
    transition: opacity 0.2s;
    display: block;   /* was display:none in original — changed to opacity toggle */
}
.home-product:hover .product-info { opacity: 1; }

.product-name {
    text-align: center;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 12px;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    text-align: center;
}
.product-price > div {
    font-size: 12px;
    text-align: center;
    background: #fff;
    color: #000;
    border-radius: 0 0 10px 10px;
    padding: 5px 7px;
    width: 100%;
}
.product-price strike { color: #aaa; font-size: 11px; }

/* View-more overlay */
.hot-container-link {
    top: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    background: rgba(0,0,0,.45);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1;
}
.home-product:hover .hot-container-link { opacity: 1; }
.hot-image-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hot-image-title > span {
    color: #fff;
    font-size: 1.3rem;
    text-transform: uppercase;
    text-shadow: 2px 2px #272525;
    font-weight: 700;
}
.hot-image-title.light > div {
    color: #009688 !important;
    text-shadow: 1px 1px #fff !important;
    font-size: .9rem;
}
.hot-image-title > div {
    text-align: center;
    font-size: 1.1em;
    font-family: 'Fjalla One', sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY SECTION WRAPPER
   ══════════════════════════════════════════════════════════════ */
.hp-cat-section {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #eee;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
}
.hp-cat-section .cat-banner {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}
.hp-cat-section .cat-banner img {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

/* ══════════════════════════════════════════════════════════════
   COMFORT / BRAND INTRO
   FIX: original .comfort had transform:translate(0,40%) which
   pushed content out of view on mobile.
   ══════════════════════════════════════════════════════════════ */
.comfort {
    padding: 16px 12px;
    /* transform removed */
}
.comfort-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.comfort-flex > div {
    position: relative;
}
/* The absolute positioning trick for centering the text vertically */
.comfort-flex > div > div {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}
.comfort-heading   { font-size: 2.2rem; font-weight: 800; line-height: 1.2; }
.comfort-subheading { font-size: 1.3rem; color: #555; margin: 8px 0; font-style: italic; }

/* ══════════════════════════════════════════════════════════════
   WORK WITH US
   ══════════════════════════════════════════════════════════════ */
.hp-work {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 34px 22px;
    border: 1px solid #eee;
    margin-top: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
}
.hp-work h3 { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 8px; }
.hp-work .partner-line {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.8;
}
.hp-work .partner-line img { height: 28px; vertical-align: middle; }
.hp-work p { max-width: 580px; margin: 0 auto; font-size: 14px; color: #666; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   CLIENT LOGOS
   ══════════════════════════════════════════════════════════════ */
.carousel-block  { display: flex; flex-direction: column; }
.carousel-row    { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; margin: 10px auto; gap: 12px; }
.carousel-col    { margin: auto; }
.carousel-row img {
    width: 110px; height: auto; object-fit: contain;
    filter: grayscale(1); opacity: .6;
    transition: filter 0.2s, opacity 0.2s;
}
.carousel-row img:hover { filter: grayscale(0); opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   AFFILIATE BANNER (original skew design preserved)
   ══════════════════════════════════════════════════════════════ */
.affliate_container {
    height: 180px;
    transform: skew(-20deg, 0deg);
    color: #000;
    border-left: 10px solid #00aeef;
    border-right: 10px solid #fbb03b;
    overflow: hidden;
    background: #d7f7f1;
    margin-top: 24px;
    border-radius: 10px;
}
.affliate_link,
.affliate_link:hover,
.affliate_link:focus,
.affliate_link:active { color: unset; text-decoration: unset; }
.affliate_container > div {
    height: 100%;
    background: url('../image-gallery/61a699084e310.png');
    background-size: cover;
    transform: skew(20deg, 0deg);
    background-position: right;
}
.affliate-title     { color: #545454; font-size: 1.1em; font-family: 'Fjalla One', sans-serif; }
.affliate-title-sub { color: #2b9c94; font-size: 2.8em; line-height: 2.8rem; font-family: 'Fjalla One', sans-serif; }
.affiliate-hot-link { font-size: 1rem; }
.affiliate_invite   { text-align: right; margin-right: 8%; transform: translateY(45%); }

/* ══════════════════════════════════════════════════════════════
   MISC KEPT FROM ORIGINAL
   ══════════════════════════════════════════════════════════════ */
.hot-container {
    margin-bottom: 12px;
    position: relative;
    background-size: cover;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
}
.left > .hot-container > a > img,
.right > .hot-container > a > img { width: 100%; }

.hot-container-img {
    top: 0; left: 0; display: block; overflow: hidden; height: 100%;
    transition: 0.2s ease all; background-position: center !important;
}
.hot-container:hover > .hot-container-img { transform: scale(1.035); }
.hot-title { text-transform: uppercase; }
.hot-topic { font-size: 2em !important; }
.hot-link  { font-size: .9em !important; }
.hot-title,.hot-topic,.hot-link { text-shadow: 1px 1px #272525; }
.bdr,.bdrr { border-right: 6px solid #fff; }
.bdl,.bdll { border-left:  6px solid #fff; }
.climg     { width: 100px; }
.height125 { height: 128px; }
.height150 { height: 150px; }
.height225 { height: 225px; }
.height330 { height: 330px; }
.height360 { height: 360px; }
.height660 { height: 677px; }
.hw45 { width: 48%; height: 48%; margin: 1%; float: left; }
.home-slider-full { width: 100%; }
.home-slider-full-container { height: calc(100vw / 5); }
.hero-containers { z-index:1; height: calc(23vw + 8px); min-height: 250px; }
.collection-header { margin: 24px 0 14px; font-size: 1.4rem; font-weight: 600; }
.padding15 { padding: 15px; }
.flex-cats { width: 100% !important; }
.flex-cat-description,.flex-cat-description i { display: none; }
.corporate-block { display: none; }
.wrapper-div { padding-top: 0 !important; }
.slick-prev::before,.slick-next::before { font-size: 30px !important; color: #000 !important; }
.pay_artist { position:absolute; top:0; right:0; writing-mode:vertical-rl; text-orientation:mixed; background:#ccf7f1; color:#009688; height:100%; line-height:22px; }
.pay_artist i { line-height:22px; padding:10px 0; background:#00968896; color:#ccf7f1; }
.shoptop { background:#ccf7f1; height:100px; margin-top:0; position:relative; overflow:hidden; border-radius:6px; }
.campaign { background:#fcf4e9; }
.campaign .hot-image-title.light > div { color:#cc8119 !important; }
.shoptop .hot-topic { font-size:2rem !important; text-align:center; }
.shoptop .hot-link  { font-size:.85em !important; text-align:center; }
.mindfordesign { background: unset; }
.hero { display:flex; flex-direction:row; width:100%; cursor:pointer; position:relative; }
.hero-a { height:100%; cursor:pointer; }
.hero1-content { background:transparent; height:450px; position:relative; }
.hero-text { margin-top:calc(50% - 69px); text-align:center; transform:skew(20deg,0deg); }
.hero-img { transform:skew(20deg,0deg); z-index:1; height:100%; width:auto; margin:0 auto; text-align:center; display:inline; }
.hero-text-header { font-size:1.6em; font-weight:500; margin-bottom:-5px; }
.hero-btn { background:var(--mgray); border:unset; box-shadow:0 0 6px 0 rgba(0,0,0,.23); color:#fff; font-size:small; }
.hero-description { font-size:small; margin:5px 0 10px; }
.hero1-left  { background:#caebf4; transform:skewX(-15deg) translateX(5%); height:450px; position:absolute; top:0; width:200%; z-index:-1; overflow:hidden; right:60%; border-right:10px solid #fff; box-shadow:8px 0 12px -4px rgba(0,0,0,.16); }
.hero1-right { background:#feda8d; transform:skewX(-15deg) translateX(5%); height:450px; position:absolute; top:0; width:200%; z-index:-2; overflow:hidden; left:40%; box-shadow:8px 0 12px -4px rgba(0,0,0,.16); }
.hero-left  { background-color:#caebf4; transform:skew(-20deg,0deg); border-right:10px solid #fff; height:calc(23vw + 8px); min-height:250px; }
.hero-left::before { background:#caebf4; content:''; width:40%; height:100%; position:absolute; left:0; top:0; transform:skew(20deg); }
.hero-right { background-color:#feda8d; transform:skew(-20deg,0deg); height:calc(23vw + 8px); min-height:250px; }
.hero-right::after { background:#feda8d; content:''; width:40%; height:100%; position:absolute; right:0; top:0; transform:skew(20deg); }

/* ══════════════════════════════════════════════════════════════
   MEDIA QUERIES
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-left  { width:100%; border:0; }
    .hero-left::after  { background:#caebf4; content:''; width:40%; height:100%; position:absolute; right:-12px; transform:skew(20deg); z-index:-1; top:0; }
    .hero-right { width:100%; }
    .hero-right::before { background:#feda8d; content:''; width:40%; height:100%; position:absolute; left:0; top:0; transform:skew(20deg); z-index:-1; }
    .hero-text { margin-top:calc(125px - 69px); }
    .corporate-block { display:block; }
    .corporate-block-large { display:none; }
    .shoptop { height:85px; }
    .shoptop .hot-topic { font-size:2rem !important; }
}

@media (max-width: 900px) {
    .body-menu {
        flex-direction: column;
        font-size: .8rem;
        height: auto;
        padding: 6px 0;
    }
    .body-menu > .body-menu-item:nth-child(1) {
        width: 100%;
        background: #f7f7f7;
    }
    .body-menu > .body-menu-item:nth-child(2) {
        width: 100%;
        text-align: center;
    }
    .app5p.skew {
        transform: unset;
        margin: 6px auto 0;
        padding: 10px 0;
        height: auto;
        background: transparent;
    }
    .app5p .unskew { transform: unset; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }
    .app5p img { height: 36px; margin-left: 8px; }
}

@media (max-width: 768px) {
    .collection-header { font-size: 1.1em; }
    .bdr,.bdl { border-left:unset; border-right:unset; }
    .shoptop { height:75px; }
    .shoptop .hot-topic { font-size:1.4rem !important; }
    .corporate-block { display:block; }
    .corporate-block-large { display:none; }
    .hot-container { margin-bottom:8px; }

    /* comfort section mobile */
    .comfort-flex { display: block; }
    .comfort-flex > div > div {
        top: unset;
        transform: unset;
        position: static;
    }
    .comfort { text-align: center; padding: 10px 8px; }
    .comfort-heading   { font-size: 1.6rem; }
    .comfort-subheading { font-size: 1.1rem; }

    .hp-work { padding: 18px 12px; }
    .hp-work h3 { font-size: 17px; }

    .affliate_container {
        height: 150px;
        transform: skew(-12deg, 0deg);
    }
    .affliate_container > div { transform: skew(12deg, 0deg); }
    .affliate-title-sub { font-size: 2rem; line-height: 2rem; }
    .affiliate_invite   { margin-right: 0; text-align: center; transform: translateY(55%); }
    .bdrr,.bdll { border-left:unset; border-right:unset; }
    .climg { width: 86px; }
}

@media (max-width: 480px) {
    .app5p img { height: 32px; }
    .hero-containers { min-height: 180px; }
    .affliate-title-sub { font-size: 1.8rem; line-height: 1.9rem; }
    .affiliate_invite { transform: translateY(60%); }
}

@media (max-width: 480px) {
    .body-menu > .body-menu-item:nth-child(1) > div:nth-child(2),
    .body-menu > .body-menu-item:nth-child(1) > div:nth-child(3),
    .body-menu > .body-menu-item:nth-child(1) > div:nth-child(4) {
        background: #f7f7f7;
    }
}

/* =============================================================
   Modern responsive homepage layer
   ============================================================= */
#homepage {
    min-width: 0;
}

#homepage .container,
#homepage .container-fluid,
#homepage .row,
#homepage [class*="col-"] {
    min-width: 0;
}

#homepage .row {
    margin-left: -7px;
    margin-right: -7px;
}

#homepage img {
    max-width: 100%;
}

.hp-banner-col-half .hp-banner-wrap img {
    aspect-ratio: 16 / 7;
}

.hp-banner-col-third .hp-banner-wrap img,
.hp-campaign-col .hp-banner-wrap img {
    aspect-ratio: 4 / 3;
}

.hp-tile-col,
.hp-prod-col,
.hp-banner-col-half,
.hp-banner-col-third,
.hp-campaign-col {
    min-width: 0;
}

@media (min-width: 1200px) {
    .home-element {
        margin-top: 36px;
    }

    .hp-section-head h2 {
        font-size: 22px;
    }
}

@media (max-width: 1199px) {
    .body-menu {
        align-items: stretch;
    }

    .body-menu > .body-menu-item:nth-child(1) {
        width: calc(100% - 360px);
    }

    .body-menu > .body-menu-item:nth-child(2) {
        width: 352px;
    }

    .store-badges a {
        width: 132px;
        height: 40px;
    }
}

@media (max-width: 991px) {
    .home-content {
        max-width: 100%;
    }

    .home-element {
        margin-top: 28px;
    }

    .body-menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px;
    }

    .body-menu > .body-menu-item:nth-child(1),
    .body-menu > .body-menu-item:nth-child(2) {
        width: 100%;
    }

    .body-menu > .body-menu-item:nth-child(1) {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .body-menu > .body-menu-item:nth-child(1) > div {
        width: auto;
    }

    .body-menu-item {
        height: auto;
        line-height: 1.2;
    }

    .body-menu .no-style-link {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        padding: 8px 6px;
        font-size: 12px;
    }

    .app5p.skew {
        border-radius: 8px;
        background: #f6f6f6;
    }

    .app5p .unskew {
        gap: 8px;
        justify-content: center;
    }

    .hp-event-inner {
        align-items: flex-start;
    }

    .hp-event-inner .ev-cta {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .home-element {
        margin-top: 24px;
    }

    .hp-section-head {
        margin-bottom: 10px;
    }

    .hp-section-head h2 {
        font-size: 17px;
    }

    .hp-view-all {
        padding: 5px 11px;
        font-size: 11px;
    }

    .body-menu > .body-menu-item:nth-child(1) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .body-menu .no-style-link {
        font-size: 11px;
    }

    .store-badges {
        width: 100%;
        justify-content: center;
    }

    .hp-event-inner {
        display: block;
        padding: 11px 13px;
        line-height: 1.55;
    }

    .hp-event-inner i,
    .hp-event-inner span {
        margin-left: 4px;
    }

    .flex-cat-block,
    .home-product,
    .hp-banner-wrap,
    .hp-cat-section,
    .hp-work {
        box-shadow: 0 5px 16px rgba(0,0,0,.06);
    }

    .hero-link {
        font-size: .9rem;
        padding: 34px 8px 9px;
    }

    .product-info {
        opacity: 1;
        bottom: 29px;
        padding-top: 14px;
    }

    .product-name {
        font-size: 12px;
    }

    .hp-cat-section {
        padding: 10px;
        border-radius: 10px;
    }

    .hp-work {
        padding: 22px 14px;
    }
}

@media (max-width: 575px) {
    .container-fluid.px-2 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .home-element {
        margin-top: 20px;
    }

    .row > div {
        padding-left: 5px;
        padding-right: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    #homepage .row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .body-menu {
        margin-top: 10px;
        padding: 6px;
        border-radius: 8px;
    }

    .body-menu > .body-menu-item:nth-child(1) {
        gap: 6px;
    }

    .body-menu .no-style-link {
        min-height: 38px;
        padding: 7px 5px;
    }

    .app5p .unskew > span {
        width: 100%;
        text-align: center;
        font-size: .75rem !important;
    }

    .store-badges a {
        width: 124px;
        height: 38px;
    }

    .flex-cat-button {
        bottom: 7px;
    }

    .flex-cat-button a {
        max-width: 92%;
        padding: 5px 9px;
        font-size: .68rem;
    }

    .hp-banner-col-half .hp-banner-wrap img,
    .hp-banner-col-third .hp-banner-wrap img,
    .hp-campaign-col .hp-banner-wrap img {
        aspect-ratio: 4 / 3;
    }

    .comfort-heading {
        font-size: 1.45rem;
    }

    .comfort-subheading {
        font-size: 1rem;
    }

    .affliate_container {
        height: 132px;
        border-left-width: 6px;
        border-right-width: 6px;
        border-radius: 8px;
    }

    .affliate-title {
        font-size: .9em;
    }

    .affliate-title-sub {
        font-size: 1.45rem;
        line-height: 1.55rem;
    }

    .affiliate-hot-link {
        font-size: .82rem;
    }
}

@media (max-width: 380px) {
    .store-badges a {
        width: 112px;
        height: 34px;
    }

    .body-menu .no-style-link {
        font-size: 10px;
    }

    .hp-section-head h2 {
        font-size: 16px;
    }
}

/* =============================================================
   Final homepage refinements: hero + quick nav
   ============================================================= */
@media (min-width: 768px) {
    .hp-hero-wrap {
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(0,0,0,.10);
    }

    .hp-hero-wrap .hometop-slider,
    .hp-hero-wrap .slick-list,
    .hp-hero-wrap .slick-track,
    .hp-hero-wrap .hometop-slide,
    .hp-hero-wrap .hometop-slide a {
        height: auto !important;
    }

    .hp-hero-wrap img {
        height: auto !important;
        max-height: none !important;
        object-fit: contain;
        object-position: center;
        background: #fff;
    }
}

.body-menu {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 10px;
    min-height: 0;
    margin: 18px 0 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.body-menu-item {
    min-height: 0;
    height: auto;
    line-height: 1.2;
}

.body-menu > .body-menu-item:nth-child(1) {
    width: auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    background: transparent !important;
}

.body-menu > .body-menu-item:nth-child(1) > div {
    width: auto !important;
    min-width: 0;
    text-align: center;
}

.body-menu .skew {
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
    border-radius: 0;
}

.body-menu .unskew {
    transform: none !important;
}

.body-menu .no-style-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    color: #191919;
    background: #f7f7f7;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.2;
    text-align: center;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.body-menu .no-style-link:hover {
    color: #fff;
    background: #111;
    border-color: #111;
    transform: translateY(-1px);
}

.body-menu > .body-menu-item:nth-child(1) > div:first-child .no-style-link {
    color: #fff;
    background: #111;
    border-color: #111;
}

.body-menu > .body-menu-item:nth-child(2) {
    width: auto !important;
}

.body-menu .app5p {
    background: #f2fbf7;
    border: 1px solid #dcefe6;
    border-radius: 12px;
    padding: 8px 12px !important;
}

.body-menu .app5p .unskew {
    display: grid !important;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.body-menu .app5p .unskew > span {
    color: #0f2f21;
    font-size: .78rem !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

.body-menu .store-badges {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px !important;
    width: auto;
}

.body-menu .store-badges a {
    width: 112px;
    height: 34px;
    background: transparent;
    border: 0;
    padding: 0 !important;
}

.body-menu .store-badges img,
.body-menu .app5p img {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    object-fit: contain;
}

@media (max-width: 1199px) {
    .body-menu {
        grid-template-columns: 1fr;
    }

    .body-menu .app5p .unskew {
        grid-template-columns: auto auto;
    }
}

@media (max-width: 767px) {
    .body-menu {
        margin-top: 12px;
        padding: 8px;
        gap: 8px;
        border-radius: 10px;
    }

    .body-menu > .body-menu-item:nth-child(1) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .body-menu .no-style-link {
        min-height: 40px;
        padding: 9px 8px;
        font-size: 11px;
    }

    .body-menu .app5p {
        padding: 9px 8px !important;
    }

    .body-menu .app5p .unskew {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .body-menu .app5p .unskew > span {
        text-align: center;
        white-space: normal;
    }

    .body-menu .store-badges {
        width: 100%;
    }

    .body-menu .store-badges a {
        width: 122px;
        height: 37px;
    }
}

@media (max-width: 380px) {
    .body-menu .store-badges a {
        width: 108px;
        height: 33px;
    }
}

/* =============================================================
   Theme-driven homepage polish
   ============================================================= */
.hp-hero-wrap,
.hp-hero-wrap .slick-list,
.hp-hero-wrap .hometop-slide a,
.hp-hero-wrap img {
    border-radius: 14px;
}

.hp-hero-wrap .slick-list {
    overflow: hidden;
}

.hp-hero-wrap .slick-dots li.slick-active button,
.hp-section-head h2::after,
.hp-view-all:hover,
.body-menu .no-style-link:hover,
.body-menu > .body-menu-item:nth-child(1) > div:first-child .no-style-link {
    background: #d5154f;
}

.hp-view-all,
.hp-view-all:hover,
.body-menu .no-style-link:hover,
.body-menu > .body-menu-item:nth-child(1) > div:first-child .no-style-link {
    border-color: #d5154f;
}

.hp-view-all {
    color: #d5154f;
}

.hp-event-inner {
    background: #552a7b14;
    border-color: #552a7b33;
    border-left-color: #552a7b;
}

.hp-event-inner .ev-cta {
    color: #d5154f;
}

.body-menu {
    border-color: #552a7b24;
}

.body-menu .app5p {
    background: #552a7b14;
    border-color: #552a7b33;
}

.body-menu .app5p .unskew > span,
.comfort-heading,
.hp-work h3 {
    color: #552a7b;
}

.affliate_container {
    border-left-color: #552a7b;
    border-right-color: #d5154f;
    background: #552a7b14;
}

.affliate-title-sub,
.affiliate-hot-link i {
    color: #d5154f !important;
}

.hp-benefits-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.hp-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

.hp-benefit-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #552a7b, #d5154f);
    border-radius: 50%;
    font-size: 15px;
}

.hp-benefit strong,
.hp-benefit small {
    display: block;
    min-width: 0;
}

.hp-benefit strong {
    color: #171717;
    font-size: 13px;
    line-height: 1.25;
}

.hp-benefit small {
    color: #777;
    font-size: 11px;
    line-height: 1.35;
    margin-top: 2px;
}

@media (max-width: 991px) {
    .hp-benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hp-hero-wrap,
    .hp-hero-wrap .slick-list,
    .hp-hero-wrap .hometop-slide a,
    .hp-hero-wrap img {
        border-radius: 10px;
    }

    .hp-benefits-strip {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-top: 10px;
    }

    .hp-benefit {
        align-items: flex-start;
        gap: 7px;
        padding: 10px 9px;
        border-radius: 10px;
    }

    .hp-benefit-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .hp-benefit strong {
        font-size: 11px;
    }

    .hp-benefit small {
        font-size: 10px;
    }

    .footer-container .footer-bottom {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: calc(78px + var(--safe-area-bottom, 0px)) !important;
    }

    .footer-container #footer > .row:last-of-type > div {
        width: 100% !important;
        padding: 14px 12px calc(86px + var(--safe-area-bottom, 0px)) !important;
    }

    .footer-container #footer > .row:last-of-type > div > div {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px 6px !important;
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: clip !important;
        line-height: 1.6 !important;
    }

    .footer-container #footer > .row:last-of-type a {
        white-space: normal !important;
    }
}
