section.s-block.s-block--fixed-banner.wide-placeholder,  .banner--fixed img, .banner-entry {
    background-color: unset;
}
/* --- Skylexa Store: Extraordinary Theme --- */
:root {
    --sky-blue: #180932;
    --sky-gray: #419ea8;
    --grid:5;
    --gridmob:5;
}
.s-products-slider-card {
    height: 100% !important;
}
/* Slider */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide,
 [dir=rtl] salla-slider.photos-slider .swiper,
 salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *),
 section.s-block.s-block--photos-slider:first-of-type
 {
    width: 100%;
    margin: 0;
    padding:0;
}
/*--------------------*/
/* unset  */
section.s-block.s-block--fixed-banner.wide-placeholder,  .banner--fixed img, .banner-entry {
    background-color: unset;
}
/*--------------------*/
/* grid */
.two-row .banner-entry:first-child {
    grid-column: span 1/span 1;
    grid-row: 1/2;
}
#main-content > section:nth-child(3) > div {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
#main-content > section:nth-child(4) > div {
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.banner-entry {
    height: 225px;
}
section.s-block.s-block--banners.container .lazy__bg.lazy.entered.loaded {
    background-size: contain;
    background-repeat: no-repeat;
}
/*--------------------*/
/* unset  */
section.s-block.s-block--fixed-banner.wide-placeholder,  .banner--fixed img, .banner-entry {
    background-color: unset;
}
/*--------------------*/
/* NEW: Kill Salla's "featured" large cell in the 5-photo category grid
   (data-testid="store-home-square-photos", class .square-photos-grid--featured-5)
   Salla's own theme CSS spans one of the 5 banner-entry cells across 2
   columns/rows to make it "featured" — this forces all 5 back to equal size. */
.square-photos-grid--featured-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: 1fr !important;
}
.square-photos-grid--featured-5 .banner-entry {
    grid-column: auto / span 1 !important;
    grid-row: auto / span 1 !important;
}
/*--------------------*/
/*center*/
.flex.mb-6, .s-product-card-content-sub, .store-footer a, .s-product-card-content-title a, .store-footer .contact-social ul {
    text-align: center!important;
    justify-content: center !important;
}
/*--------------------*/
/* --- 1. Modern Dotted "Tech" Background --- */
/* .app-inner, main#main-content, body {
    background-color: #f4f7f8 !important;
    background-image: radial-gradient(rgba(24, 9, 50, 0.15) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
} */
/* --- 2. Unified Glassmorphism & WebKit Scroll Bug Fix --- */
/* Force transparency and KILL the browser transform bug on scroll */
header.s-header,
header.s-header.fixed-pinned,
.s-header-wrapper {
    background-color: white !important;
    background: white !important;
    z-index: 100 !important;
    transform: none !important;
    animation: none !important;
}
/* The Glass Container */
.main-nav-container {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: 2px solid var(--sky-blue) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    z-index: 100 !important;
    isolation: isolate !important;
    transform: none !important;
    !backdrop-filter: blur(0px) !important;
}
/* The Frosted Glass Layer */
.main-nav-container::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: -1 !important;
    pointer-events: none !important;
}
/* Keep PC Dropdowns on Top */
.dropdown-menu,
.s-dropdown-menu,
salla-user-menu,
.s-user-menu-container {
    z-index: 999999 !important;
}
/* --- 3. Floating Custom Product Cards --- */
custom-salla-product-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(126, 126, 126, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    padding: 8px !important;
    margin: 15px 0 !important;
    display: block;
}
custom-salla-product-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 20px 40px rgba(24, 9, 50, 0.15) !important;
    border-color: var(--sky-blue) !important;
}
/* --- 4. Vibrant "Add to Cart" Buttons --- */
custom-salla-product-card .s-button-btn {
    background: linear-gradient(45deg, #180932, #3e2f58) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(24, 9, 50, 0.3) !important;
    transition: all 0.3s ease !important;
}
custom-salla-product-card .s-button-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(24, 9, 50, 0.5) !important;
}
/* --- 5. Typography Enhancements --- */
.s-product-card-price {
    color: var(--sky-blue) !important;
    font-weight: 900 !important;
    font-size: 1.25rem !important;
}
.s-product-card-content-title a {
    color: var(--sky-gray) !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}
.s-product-card-content-title a:hover {
    color: var(--sky-blue) !important;
}
/* --- 6. Mobile Title Truncation (3 Lines) --- */
custom-salla-product-card .s-product-card-content-title {
    min-height: 66px !important;
    max-height: 66px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
}
custom-salla-product-card .s-product-card-content-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 22px !important;
    white-space: normal !important;
    word-break: break-word !important;
}
.store-footer__inner {
    background-color: #180932 !important;
}
#app > div.app-inner.flex.flex-col.min-h-full > footer {
    margin-top: 0;
}
@media (max-width: 768px) {
      .banner-entry {
    height: 100px;
    }
    custom-salla-product-card .s-product-card-content-title a {
        font-size: 0.9rem !important;
    }
  #main-content > section:nth-child(3) > div {
    grid-template-columns: repeat(var(--grid),minmax(0,1fr));
}
  #main-content > section:nth-child(4) > div {
    grid-template-columns: repeat(4,minmax(0,1fr));
}
}
/* --- 7. The Ultimate Mobile Menu Trap Fix --- */
salla-mobile-menu,
salla-drawer,
.s-drawer,
.s-offcanvas,
.mobile-menu {
    /* position: fixed !important; */
    z-index: 2147483647 !important;
}
.s-drawer-backdrop,
.offcanvas-backdrop {
    position: fixed !important;
    z-index: 2147483646 !important;
}
/* --- 8. Floating WhatsApp Button (Native Icon Font) --- */
.skylexa-whatsapp-btn {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(45deg, #25D366, #128C7E) !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
    z-index: 9999 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
}
.skylexa-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-6px) !important;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6) !important;
}
.skylexa-whatsapp-btn i {
    font-size: 34px !important;
    color: #ffffff !important;
    line-height: 0 !important;
    background: transparent !important;
}
.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    padding: 0;
    margin: 0px;
}
html[lang="en"] .home-slider.photos-slider .swiper-slide {
    position: relative;
}
/* إخفاء الصور في النسخة الإنجليزية فقط */
/* html[lang="en"] .home-slider.photos-slider .swiper-slide > a > img {
    opacity: 0;
} */
#swiper-wrapper-ff3b8657e739b5010 > div.swiper-slide.swiper-slide-prev > a > img
{display: none}
/* إظهار الصور في النسخة العربية */
html[lang="ar"] .home-slider.photos-slider .swiper-slide > a > img {
    opacity: 1 !important;
}
/* الإنجليزية */
html[lang="en"] .home-slider.photos-slider .swiper-slide:nth-child(1) {
    background: url("https://i.ibb.co/GvLPf35G/1.jpg") center/cover no-repeat;
}
html[lang="en"] .home-slider.photos-slider .swiper-slide:nth-child(2) {
    background: url("https://i.ibb.co/93dvqSBJ/2.jpg") center/cover no-repeat;
}
html[lang="en"] .home-slider.photos-slider .swiper-slide:nth-child(3) {
    background: url("https://i.ibb.co/msLGS7H/3.jpg") center/cover no-repeat;
}
html[lang="en"] .home-slider.photos-slider .swiper-slide:nth-child(4) {
    background: url("https://i.ibb.co/bjVHpzXz/Artboard-8.png") center/cover no-repeat;
}
html[lang="en"] .home-slider.photos-slider .swiper-slide:nth-child(5) {
    background: url("https://i.ibb.co/JNDw6WB/Artboard-9.png") center/cover no-repeat;
}
@media (max-width: 768px) {
  .s-products-slider-card.swiper-slide {
    width: 57% ;
}
    .skylexa-whatsapp-btn {
        bottom: 20px !important;
        left: 20px !important;
        width: 50px !important;
        height: 50px !important;
    }
    .skylexa-whatsapp-btn i {
        font-size: 28px !important;
    }
}
#app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div:nth-child(2) {
      text-align: center !important;
}
#app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div:nth-child(3) {
      text-align: center !important;
}
.store-footer__inner {
    background-color: #180932 !important;
}
.inner.bg-inherit.w-full {
    background-color: #f9fafb;
}
.s-products-slider-card {
    height: 100% !important;
}
button.s-infinite-scroll-btn.s-button-btn.s-button-primary {
    margin: 6px;
}
.max-w-sm.leading-6.mb-6 {
    text-align: center !important;
}
.flex.gap-4 {
    margin: auto;
    width: fit-content !important;
}
/* ===============================
   FOOTER RTL / LTR FIX
================================ */
/* ---------- English ---------- */
html[dir="ltr"] .store-footer{
    text-align:left !important;
}
html[dir="ltr"] .store-footer .lg\:col-span-2:first-child{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    text-align:left !important;
}
html[dir="ltr"] .store-footer .max-w-sm,
html[dir="ltr"] .store-footer h3,
html[dir="ltr"] .store-footer p,
html[dir="ltr"] .store-footer .s-menu-footer-item{
    text-align:left !important;
}
html[dir="ltr"] .store-footer salla-social{
    align-self:flex-start !important;
}
html[dir="ltr"] .store-footer .s-contacts-title,
html[dir="ltr"] .store-footer .s-contacts-list{
    text-align:left !important;
}
html[dir="ltr"] .store-footer .s-contacts-item{
    display:flex !important;
    flex-direction:row !important;
    justify-content:flex-start !important;
    align-items:center !important;
}
html[dir="ltr"] .store-footer .s-contacts-icon{
    margin-right:8px !important;
    margin-left:0 !important;
}
/* ---------- Arabic ---------- */
html[dir="rtl"] .store-footer{
    text-align:right !important;
}
html[dir="rtl"] .store-footer .lg\:col-span-2:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    text-align: right !important;
}
html[dir="rtl"] .store-footer .max-w-sm,
html[dir="rtl"] .store-footer h3,
html[dir="rtl"] .store-footer p,
html[dir="rtl"] .store-footer .s-menu-footer-item{
    text-align:right !important;
}
html[dir="rtl"] .store-footer salla-social{
    align-self:flex-end !important;
}
html[dir="rtl"] .store-footer .s-contacts-title,
html[dir="rtl"] .store-footer .s-contacts-list{
    text-align:right !important;
}
html[dir="rtl"] .store-footer #contact-slot{
    display:flex !important;
    justify-content:flex-end !important;
    width:100% !important;
}
html[dir="rtl"] .store-footer .s-contacts-item{
    display:flex !important;
    flex-direction:row !important;
    justify-content:flex-end !important;
    align-items:center !important;
}
html[dir="rtl"] .store-footer .s-contacts-icon{
    order:-1 !important;
    margin-left:8px !important;
    margin-right:0 !important;
}
html[dir="rtl"] .store-footer .s-trust-badges-wrapper{
    justify-content:flex-end !important;
    text-align:right !important;
}
html[dir="ltr"] .store-footer .s-trust-badges-wrapper{
    justify-content:flex-start !important;
    text-align:left !important;
}
html[dir="rtl"] .store-footer #contact-slot {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
}
/* ===============================================
   NEW FIXES — added from skylexa_issues_solutions PDF
   Everything below is new. Nothing above this line was changed
   except the one-character typo fix in the WhatsApp mobile rule above
   (left: 20pximportant → left: 20px !important).
================================================= */
/* --- Fix #4: Nav collapses to hamburger too early on laptop widths ---
   Your header confirmed to live in .main-nav-container. The exact menu-list
   and hamburger-button classes inside it aren't visible from CSS alone —
   inspect the hamburger icon on your live site around 1000-1100px width and
   swap in its real class if these attribute-selectors don't catch it. */
@media (min-width: 1000px) {
  .main-nav-container nav,
  .main-nav-container ul[class*="menu"],
  .main-nav-container [class*="s-header-menu"] {
    display: flex !important;
  }
  .main-nav-container button[class*="toggle"],
  .main-nav-container button[class*="hamburger"],
  .main-nav-container [class*="mobile-menu-icon"] {
    display: none !important;
  }
}
/* --- Shared shimmer animation for #3 and #9 below --- */
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* --- Fix #3: Category page flashes empty before loading ---
   Your product cards are <custom-salla-product-card>, confirmed from your
   own CSS — but the grid WRAPPER around them on category pages is likely
   different from the homepage's #main-content nth-child selectors above.
   Inspect an actual category page and replace the class below if needed. */
.products-grid:empty::before,
[class*="product-list"]:empty::before,
[class*="s-block--products"]:empty::before {
  content: "";
  display: block;
  height: 400px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s infinite;
}
/* --- Fix #9: Search-result thumbnails load slowly with no placeholder ---
   Verify the real search-dropdown/image class in DevTools while a live
   search is open; this targets the common Salla search-result patterns. */
.search-results img,
[class*="search-dropdown"] img,
salla-search-results img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s infinite;
}
/* --- Fix #10: Wishlist heart icon too small to tap accurately ---
   Scoped inside custom-salla-product-card since that's your confirmed card
   element; verify the exact wishlist button/icon class and narrow this if
   it's matching more than intended. */
custom-salla-product-card [class*="wishlist"],
custom-salla-product-card [class*="favorite"] {
  padding: 10px !important;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* --- Fix #2 fallback: Mobile sticky Add-to-Cart label truncated ---
   Try the dashboard option first (Store Design → Customize Theme → Raed →
   Product Page → Sticky Bar). Only keep this if no dashboard toggle exists —
   verify .is-sticky-product-bar is the real class on your product pages. */
@media (max-width: 380px) {
  .is-sticky-product-bar .btn-add-cart,
  .is-sticky-product-bar button[class*="add-to-cart"] {
    font-size: 12px;
    padding-left: 8px;
    padding-right: 8px;
    white-space: nowrap;
  }
  .is-sticky-product-bar .apple-pay-button,
  .is-sticky-product-bar [class*="applepay"] {
    display: none !important;
  }
}
/*--------------------*/
/* Category tiles: Cats / Dogs / Birds (3 items) */
.square-photos-grid--featured-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 1rem !important;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.square-photos-grid--featured-3 > .banner-entry {
    grid-row: auto !important;
    grid-column: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    margin-bottom: 2.75rem;
}
.square-photos-grid--featured-3 > .banner-entry .lazy__bg {
    border-radius: 1.25rem;
    background-size: cover !important;
    background-position: center !important;
}
.square-photos-grid--featured-3 > .banner-entry article {
    position: static !important;
    height: auto !important;
    padding: 0 !important;
}
.square-photos-grid--featured-3 > .banner-entry h3 {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: .6rem;
    align-items: center;
}
.square-photos-grid--featured-3 > .banner-entry h3,
.square-photos-grid--featured-3 > .banner-entry p {
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
    border: 0 !important;
    color: #1f2937 !important;
    font-size: 1.15rem !important;
    font-weight: 700;
    line-height: 1.75rem !important;
}
@media (max-width: 768px) {
    .square-photos-grid--featured-3 { gap: .6rem !important; }
    .square-photos-grid--featured-3 > .banner-entry { margin-bottom: 2.25rem; }
    .square-photos-grid--featured-3 > .banner-entry h3,
    .square-photos-grid--featured-3 > .banner-entry p { font-size: .95rem !important; }
}

/*--------------------*/
/* Sub-category banners on Cats / Dogs / Birds pages (smaller than the main tiles) */
.skx-subcats { margin-bottom: 1.5rem; }
.skx-subcats__row {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}
.skx-subcat {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 128px;
    text-decoration: none !important;
    color: #1f2937;
    transition: transform .2s ease;
}
.skx-subcat:hover { transform: translateY(-3px); }
.skx-subcat__pic {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background-color: #e5e7eb;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.skx-subcat__pic.is-placeholder::before {
    content: "\1F43E";
    font-size: 2.4rem;
    opacity: .28;
}
.skx-subcat__name {
    margin-top: .6rem;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}
@media (max-width: 768px) {
    .skx-subcats__row {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: .9rem;
        padding-bottom: .4rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .skx-subcat { flex: 0 0 auto; width: 92px; scroll-snap-align: start; }
    .skx-subcat__pic { width: 80px; height: 80px; }
    .skx-subcat__pic.is-placeholder::before { font-size: 1.8rem; }
    .skx-subcat__name { font-size: .82rem; }
}

/*--------------------*/
/* Category tiles: no dark overlay / square corners on hover */
.square-photos-grid--featured-3 > .banner-entry::before,
.square-photos-grid--featured-3 > .banner-entry::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
}
.square-photos-grid--featured-3 > .banner-entry:hover .lazy__bg {
    opacity: 1 !important;
    filter: none !important;
}

/*--------------------*/
/* Category tiles: hover animation (same feel as the sub-category circles) */
.square-photos-grid--featured-3 > .banner-entry {
    transition: transform .25s ease;
}
.square-photos-grid--featured-3 > .banner-entry .lazy__bg {
    transition: box-shadow .25s ease, opacity .5s ease;
}
.square-photos-grid--featured-3 > .banner-entry:hover {
    transform: translateY(-6px);
}
.square-photos-grid--featured-3 > .banner-entry:hover .lazy__bg {
    box-shadow: 0 14px 28px rgba(24, 9, 50, .35);
}
.square-photos-grid--featured-3 > .banner-entry:hover h3 {
    color: #180932 !important;
}
.square-photos-grid--featured-3 > .banner-entry h3 {
    transition: color .25s ease;
}

/*--------------------*/
/* Main theme color = #180932 (same values as the live store) */
:root {
    --color-primary: #180932 !important;
    --color-primary-dark: #00000c !important;
    --color-primary-light: #3e2f58 !important;
    --color-primary-reverse: #e4d5fe !important;
}

/*--------------------*/
/* Category pages: hide the repeated page heading, keep "Sort by" on the end side */
body.skx-category-page #page-main-title {
    display: none !important;
}
body.skx-category-page .container--products-list .main-content > div.flex.justify-between {
    justify-content: flex-end !important;
}

/*--------------------*/
/* Header menu order: Cats, Dogs, Birds, Fishes, Pets, Casper Outfit. Packages hidden. */
.main-menu > li { order: 99; }
.main-menu > li:has(> a[href$="/c1698234015"]) { order: 1; } /* Cats */
.main-menu > li:has(> a[href$="/c1570973978"]) { order: 2; } /* Dogs */
.main-menu > li:has(> a[href$="/c2035636068"]) { order: 3; } /* Birds */
.main-menu > li:has(> a[href$="/c1936712041"]) { order: 4; } /* Fishes */
.main-menu > li:has(> a[href$="/c512401489"]) { order: 5; } /* Pets */
.main-menu > li:has(> a[href$="/c154145181"]) { order: 6; } /* Casper Outfit */
.main-menu > li:has(> a[href$="/c2006056040"]) { display: none !important; } /* Packages */
/* Phone menu order (phone list is display:block and nests the category link inside a View all item) */
@media (max-width: 1023px) {
  nav.mobile-menu ul.main-menu { display: flex; flex-direction: column; }
  .main-menu > li:has(> ul > li:first-child > a[href$="/c1698234015"]) { order: 1; } /* Cats */
  .main-menu > li:has(> ul > li:first-child > a[href$="/c1570973978"]) { order: 2; } /* Dogs */
  .main-menu > li:has(> ul > li:first-child > a[href$="/c2035636068"]) { order: 3; } /* Birds */
  .main-menu > li:has(> ul > li:first-child > a[href$="/c1936712041"]) { order: 4; } /* Fishes */
  .main-menu > li:has(> ul > li:first-child > a[href$="/c512401489"]) { order: 5; } /* Pets */
  .main-menu > li:has(> ul > li:first-child > a[href$="/c2006056040"]) { display: none !important; } /* Packages */
}
/* Card button fit (phone): full Add to cart label in narrow cards */
@media (max-width: 640px) {
  .s-product-card-entry salla-add-product-button .s-button-element { padding-left: 8px !important; padding-right: 8px !important; font-size: 13px !important; }
  .s-product-card-entry salla-add-product-button .s-button-text { font-size: 13px !important; overflow: visible !important; text-overflow: clip !important; }
}

/* Main tiles row 2 (4 items): same style as the 3-tile row */
.square-photos-grid--featured-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 1rem !important;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.square-photos-grid--featured-4 > .banner-entry {
    grid-row: auto !important;
    grid-column: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    margin-bottom: 2.75rem;
}
.square-photos-grid--featured-4 > .banner-entry .lazy__bg {
    border-radius: 1.25rem;
    background-size: cover !important;
    background-position: center !important;
}
.square-photos-grid--featured-4 > .banner-entry article {
    position: static !important;
    height: auto !important;
    padding: 0 !important;
}
.square-photos-grid--featured-4 > .banner-entry h3 {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: .6rem;
    align-items: center;
}
.square-photos-grid--featured-4 > .banner-entry h3,
.square-photos-grid--featured-4 > .banner-entry p {
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
    border: 0 !important;
    color: #1f2937 !important;
    font-size: 1.15rem !important;
    font-weight: 700;
    line-height: 1.75rem !important;
}
.square-photos-grid--featured-4 { gap: .6rem !important; }
.square-photos-grid--featured-4 > .banner-entry { margin-bottom: 2.25rem; }
.square-photos-grid--featured-4 > .banner-entry h3,
    .square-photos-grid--featured-4 > .banner-entry p { font-size: .95rem !important; }
.square-photos-grid--featured-4 > .banner-entry::before,
.square-photos-grid--featured-4 > .banner-entry::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
}
.square-photos-grid--featured-4 > .banner-entry:hover .lazy__bg {
    opacity: 1 !important;
    filter: none !important;
}
.square-photos-grid--featured-4 > .banner-entry {
    transition: transform .25s ease;
}
.square-photos-grid--featured-4 > .banner-entry .lazy__bg {
    transition: box-shadow .25s ease, opacity .5s ease;
}
.square-photos-grid--featured-4 > .banner-entry:hover {
    transform: translateY(-6px);
}
.square-photos-grid--featured-4 > .banner-entry:hover .lazy__bg {
    box-shadow: 0 14px 28px rgba(24, 9, 50, .35);
}
.square-photos-grid--featured-4 > .banner-entry:hover h3 {
    color: #180932 !important;
}
.square-photos-grid--featured-4 > .banner-entry h3 {
    transition: color .25s ease;
}
.square-photos-grid--featured-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
/* Main tiles smaller */
.square-photos-grid--featured-3, .square-photos-grid--featured-4 { max-width: 520px !important; margin-left: auto !important; margin-right: auto !important; }
.square-photos-grid--featured-4 { max-width: 640px !important; }
.square-photos-grid--featured-3 > .banner-entry h3, .square-photos-grid--featured-4 > .banner-entry h3 { font-size: .9rem !important; }
@media (max-width: 768px) {
  .square-photos-grid--featured-3 { max-width: 300px !important; }
  .square-photos-grid--featured-4 { max-width: 280px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .square-photos-grid--featured-3 > .banner-entry h3, .square-photos-grid--featured-4 > .banner-entry h3 { font-size: .8rem !important; }
}

/* Main tiles row 2: the 4-tile row uses the equal-2 class */
.square-photos-grid--equal-2 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; gap: .8rem !important; max-width: 640px !important; margin-left: auto !important; margin-right: auto !important; }
.square-photos-grid--equal-2 > .banner-entry { grid-row: auto !important; grid-column: auto !important; height: auto !important; aspect-ratio: 1 / 1; padding: 0 !important; overflow: visible !important; background: transparent !important; margin-bottom: 3.2rem; transition: transform .25s ease; }
.square-photos-grid--equal-2 > .banner-entry .lazy__bg { border-radius: 1.25rem; background-size: cover !important; background-position: center !important; transition: box-shadow .25s ease, opacity .5s ease; }
.square-photos-grid--equal-2 > .banner-entry article { position: static !important; height: auto !important; padding: 0 !important; }
.square-photos-grid--equal-2 > .banner-entry h3 { position: absolute !important; top: 100%; left: 0; right: 0; margin-top: .6rem; align-items: center; transition: color .25s ease; }
.square-photos-grid--equal-2 > .banner-entry h3, .square-photos-grid--equal-2 > .banner-entry p { opacity: 1 !important; transform: none !important; height: auto !important; border: 0 !important; color: #1f2937 !important; font-size: .9rem !important; font-weight: 700; line-height: 1.5rem !important; }
.square-photos-grid--equal-2 > .banner-entry::before, .square-photos-grid--equal-2 > .banner-entry::after { content: none !important; display: none !important; background: transparent !important; opacity: 0 !important; }
.square-photos-grid--equal-2 > .banner-entry:hover .lazy__bg { opacity: 1 !important; filter: none !important; box-shadow: 0 14px 28px rgba(24, 9, 50, .35); }
.square-photos-grid--equal-2 > .banner-entry:hover { transform: translateY(-6px); }
.square-photos-grid--equal-2 > .banner-entry:hover h3 { color: #180932 !important; }
@media (max-width: 768px) {
  .square-photos-grid--equal-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: 280px !important; gap: .6rem !important; }
  .square-photos-grid--equal-2 > .banner-entry h3, .square-photos-grid--equal-2 > .banner-entry p { font-size: .8rem !important; }
}

/* Main categories: one row of 7 tiles */
.square-photos-grid.skx-main-row { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; max-width: 860px !important; gap: .7rem !important; margin-left: auto !important; margin-right: auto !important; }
.square-photos-grid.skx-main-row > .banner-entry { margin-bottom: 3.2rem !important; }
.square-photos-grid.skx-main-row > .banner-entry h3, .square-photos-grid.skx-main-row > .banner-entry p { font-size: .8rem !important; line-height: 1.3rem !important; }
@media (max-width: 768px) {
  .square-photos-grid.skx-main-row { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; max-width: 100% !important; gap: .7rem !important; padding: .3rem .2rem 3.4rem !important; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .square-photos-grid.skx-main-row > .banner-entry { flex: 0 0 88px !important; width: 88px !important; height: 88px !important; aspect-ratio: auto !important; margin-bottom: 0 !important; scroll-snap-align: start; }
  .square-photos-grid.skx-main-row > .banner-entry h3, .square-photos-grid.skx-main-row > .banner-entry p { font-size: .75rem !important; }
}
/* Main row on phone: two rows (4 + 3), no swipe */
@media (max-width: 768px) {
  .square-photos-grid.skx-main-row { flex-wrap: wrap !important; overflow-x: visible !important; justify-content: center !important; gap: .6rem .5rem !important; padding: .3rem .4rem 0 !important; scroll-snap-type: none !important; }
  .square-photos-grid.skx-main-row > .banner-entry { flex: 0 0 calc(25% - .5rem) !important; width: calc(25% - .5rem) !important; height: auto !important; aspect-ratio: 1 / 1 !important; margin-bottom: 2.2rem !important; }
}

/* Menu order: Best Selling third */
.main-menu > li:has(> a[href$="/c298394220"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c298394220"]) { order: 3; }
.main-menu > li:has(> a[href$="/c2035636068"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c2035636068"]) { order: 4; }
.main-menu > li:has(> a[href$="/c1936712041"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c1936712041"]) { order: 5; }
.main-menu > li:has(> a[href$="/c512401489"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c512401489"]) { order: 6; }
.main-menu > li:has(> a[href$="/c154145181"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c154145181"]) { order: 7; }
/* Sub-categories on phone: wrap into rows of 3 */
@media (max-width: 768px) {
  .skx-subcats__row { flex-wrap: wrap !important; overflow-x: visible !important; justify-content: center !important; gap: .9rem .5rem !important; scroll-snap-type: none !important; }
  .skx-subcat { flex: 0 0 calc(33.333% - .4rem) !important; width: calc(33.333% - .4rem) !important; }
  .skx-subcat__pic { width: 88px !important; height: 88px !important; }
}
/* Menu order: Best Selling first */
.main-menu > li:has(> a[href$="/c298394220"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c298394220"]) { order: 1; }
.main-menu > li:has(> a[href$="/c1698234015"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c1698234015"]) { order: 2; }
.main-menu > li:has(> a[href$="/c1570973978"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c1570973978"]) { order: 3; }
.main-menu > li:has(> a[href$="/c2035636068"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c2035636068"]) { order: 4; }
.main-menu > li:has(> a[href$="/c1936712041"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c1936712041"]) { order: 5; }
.main-menu > li:has(> a[href$="/c512401489"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c512401489"]) { order: 6; }
.main-menu > li:has(> a[href$="/c154145181"]), .main-menu > li:has(> ul > li:first-child > a[href$="/c154145181"]) { order: 7; }
/* Phone menu: no category photos */
.main-menu > li > span img.rounded-full { display: none !important; }
/* Footer banner slider: no arrows, no dots */
section.s-block--photos-slider:last-of-type .s-slider-nav-arrow,
section.s-block--photos-slider:last-of-type .swiper-pagination { display: none !important; }
/* Footer banner slider: square corners so no white shows next to the footer */
section.s-block--photos-slider:last-of-type,
section.s-block--photos-slider:last-of-type *,
section.s-block--photos-slider:last-of-type .swiper,
section.s-block--photos-slider:last-of-type .swiper-slide,
section.s-block--photos-slider:last-of-type img { border-radius: 0 !important; }
/* Brands: slow auto-moving logo strip (stage) */
.s-block--logos-slider.skx-brands { background: #fff !important; padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.skx-brands__title { text-align: center; margin-bottom: 1.6rem; }
.skx-brands__title h2 { font-size: 1.9rem; font-weight: 700; color: #180932; margin: 0 0 .8rem; }
.skx-brands__line { display: inline-flex; align-items: center; gap: .6rem; }
.skx-brands__line::before, .skx-brands__line::after { content: ""; display: block; width: 4.5rem; height: 2px; background: #4a1d8f; }
.skx-brands__line i { display: block; width: .8rem; height: .8rem; border: 2px solid #4a1d8f; border-radius: 50%; }
.skx-brands__view { direction: ltr; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.skx-brands__track { display: flex; width: max-content; animation: skx-brands-scroll 60s linear infinite; }
.skx-brands__view:hover .skx-brands__track { animation-play-state: paused; }
.skx-brands__group { display: flex; align-items: center; flex-shrink: 0; }
.skx-brands__group .brand-item { display: flex !important; align-items: center; justify-content: center; flex: 0 0 auto; width: 150px; height: 72px; margin: 0 1.4rem; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.skx-brands__group .brand-item img { max-height: 64px !important; max-width: 140px !important; width: auto !important; height: auto !important; object-fit: contain; }
@keyframes skx-brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .skx-brands__track { animation: none; } .skx-brands__view { overflow-x: auto; } }
@media (max-width: 640px) { .skx-brands__title h2 { font-size: 1.5rem; } .skx-brands__group .brand-item { width: 110px; height: 56px; margin: 0 .9rem; } .skx-brands__group .brand-item img { max-height: 48px !important; max-width: 100px !important; } }
/* Header: bigger store logo */
header .navbar-brand img { max-height: 76px !important; height: 76px !important; width: auto !important; }
@media (max-width: 1023px) { header .navbar-brand img { max-height: 58px !important; height: 58px !important; } }
/* Header: logo closer to the categories (desktop) */
@media (min-width: 1024px) { header .main-menu { margin-inline-start: 4px !important; } }
/* Header: categories vertically centered with the logo (also when sticky) */
@media (min-width: 1024px) { header custom-main-menu { display: flex !important; align-items: center !important; } }
/* Brands: paw divider (option 3) */
.skx-brands__line { color: #4a1d8f; gap: .9rem; }
.skx-brands__line::before, .skx-brands__line::after { width: 4rem; height: 2px; background: #cdbbf0; }
.skx-brands__line i { display: none; }
.skx-brands__line svg { width: 26px; height: 26px; fill: currentColor; }
/* Best Sellers / Latest: centered title with paw divider (same as brands) */
section.s-block--best-offers .s-slider-block__title { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 1.6rem; }
section.s-block--best-offers .s-slider-block__title-right { width: 100%; text-align: center; }
section.s-block--best-offers .s-slider-block__title h2 { font-size: 1.9rem; font-weight: 700; color: #180932; margin: 0; text-align: center; }
section.s-block--best-offers .s-slider-block__title h2::after { content: ""; display: block; width: 11.5rem; height: 26px; margin: .85rem auto 0; background: linear-gradient(#cdbbf0, #cdbbf0) left center / 4rem 2px no-repeat, linear-gradient(#cdbbf0, #cdbbf0) right center / 4rem 2px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a1d8f'%3E%3Cellipse cx='5.2' cy='10.2' rx='2.1' ry='2.8'/%3E%3Cellipse cx='9.6' cy='5.6' rx='2.1' ry='2.9'/%3E%3Cellipse cx='14.4' cy='5.6' rx='2.1' ry='2.9'/%3E%3Cellipse cx='18.8' cy='10.2' rx='2.1' ry='2.8'/%3E%3Cpath d='M12 11.2c-3.1 0-6.2 3.2-6.2 6 0 1.9 1.4 3 3.2 3 1.2 0 2-.5 3-.5s1.8.5 3 .5c1.8 0 3.2-1.1 3.2-3 0-2.8-3.1-6-6.2-6z'/%3E%3C/svg%3E") center / 26px 26px no-repeat; }
section.s-block--best-offers .s-slider-block__title-left { margin-top: .8rem; }
@media (min-width: 768px) { section.s-block--best-offers .s-slider-block__title-left { position: absolute; inset-inline-end: 0; top: .6rem; margin-top: 0; } }
@media (max-width: 640px) { section.s-block--best-offers .s-slider-block__title h2 { font-size: 1.5rem; } }
/* Section titles: no theme side padding, so they stay centered on phones */
section.s-block--best-offers .s-slider-block__title-right, section.s-block--best-offers .s-slider-block__title h2 { padding-left: 0 !important; padding-right: 0 !important; }
/* Hero banner: square corners, fills the space */
section.s-block--photos-slider .swiper-slide, section.s-block--photos-slider .swiper-slide img { border-radius: 0 !important; }
section.s-block--photos-slider:not(:last-of-type) .swiper-slide img { object-fit: cover; }
/* Phone: main tiles 3 + 3, centered */
@media (max-width: 768px) {
  .square-photos-grid.skx-main-row { justify-content: center !important; }
  .square-photos-grid.skx-main-row > .banner-entry { flex: 0 0 calc(33.333% - .6rem) !important; width: calc(33.333% - .6rem) !important; }
}
/* Phone: footer banner taller and directly under the brands section (no grey gap) */
@media (max-width: 768px) {
  section.s-block--photos-slider:last-of-type { margin-top: 0 !important; }
  section.s-block--photos-slider:last-of-type .swiper-slide img { height: 150px !important; width: 100% !important; object-fit: cover !important; object-position: 50% 100% !important; }
}
/* Product cards: image fills the whole image area (cropped, not stretched) */
.s-product-card-image img.s-product-card-image-contain { object-fit: cover !important; width: 100% !important; height: 100% !important; }
/* Footer banner: directly under the brands section on every screen size */
section.s-block--photos-slider:last-of-type { margin-top: 0 !important; }
/* Product cards: image box has the photos' own shape (11:15) so cover crops nothing and the whole product shows */
.s-product-card-image { aspect-ratio: 11 / 15 !important; height: auto !important; max-height: none !important; }
.s-product-card-image img.s-product-card-image-contain { object-position: 50% 50% !important; }
/* Home: free shipping notice under the hero */
.skx-freeship { display: flex; align-items: center; justify-content: center; gap: .6rem; background: #efe7fb; color: #180932; font-weight: 700; font-size: 1.05rem; line-height: 1.4; padding: .75rem 1rem; text-align: center; }
.skx-freeship svg { width: 22px; height: 22px; flex: none; color: #4a1d8f; }
@media (max-width: 640px) { .skx-freeship { font-size: .92rem; padding: .65rem .8rem; } .skx-freeship svg { width: 20px; height: 20px; } }