@media(max-width:760px) {
    html {
      scroll-behavior:auto!important;
    }

    .reveal59,
    .reveal59[data-reveal] {
      opacity:1!important;
      transform:none!important;
      transition:none!important;
      will-change:auto!important;
    }

    *,
    *::before,
    *::after {
      backdrop-filter:none!important;
      -webkit-backdrop-filter:none!important;
    }

    .heroVisual59,
    .heroProduct59 {
      will-change:auto!important;
    }

    .heroDealEnter59,
    .heroDealExit59,
    .heroCircle59,
    .heroProduct59,
    .productImg59 .productImageWrap59.variantAnimated59 {
      animation:none!important;
    }

    .saleFilterGlow59 {
      display:none!important;
    }

    .saleSections59 {
      overflow-anchor:none;
    }

    .section59[data-reveal],
    .categorySection59[data-reveal],
    .promoRail59[data-reveal] {
      opacity:1!important;
      transform:none!important;
      transition:none!important;
    }

    .section59.featuredEmpty59 {
      display:none!important;
    }

    .categorySection59 {
      margin-bottom:0;
    }
  }


  /* ==========================================
    SHOP BY DEPARTMENT
    CLEAN PREMIUM CATEGORY CARDS
  ========================================== */

  /* Category grid */

  .homePage59 .categoryRail59 {
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    gap:18px!important;

    width:100%!important;
    max-width:100%!important;

    overflow:visible!important;
    padding:6px 0 12px!important;

    scroll-snap-type:none!important;
  }


  /* Main card */

  .homePage59 .categoryRail59 .catCard59 {
    --cat-accent:#f15b45;

    position:relative!important;
    display:block!important;
    isolation:isolate;

    flex:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    aspect-ratio:3/4;
    padding:0!important;
    margin:0!important;

    overflow:hidden!important;

    border:0!important;
    outline:0!important;
    border-radius:22px!important;

    background:#201522!important;

    box-shadow:0 10px 26px rgba(36,19,38,.16)!important;

    cursor:pointer;

    transition:
      transform .3s ease,
      box-shadow .3s ease!important;

    -webkit-tap-highlight-color:transparent;
  }


  /* Remove outlines and borders */

  .homePage59 .categoryRail59 .catCard59,
  .homePage59 .categoryRail59 .catCard59:focus,
  .homePage59 .categoryRail59 .catCard59:focus-visible,
  .homePage59 .categoryRail59 .catCard59:active {
    border:0!important;
    outline:0!important;
  }


  /* Full-cover category image */

  .homePage59 .categoryRail59 .catCard59>.catMedia59 {
    position:absolute!important;
    inset:0!important;

    display:grid!important;
    place-items:center;

    width:100%!important;
    height:100%!important;

    margin:0!important;
    padding:0!important;

    border:0!important;
    border-radius:0!important;

    overflow:hidden!important;

    background:linear-gradient(
      145deg,
      color-mix(in srgb,var(--cat-accent) 25%,white),
      color-mix(in srgb,var(--cat-accent) 5%,white)
    )!important;
  }


  /* Image appearance */

  .homePage59 .categoryRail59 .catCard59 .catMedia59 img {
    display:block!important;

    width:100%!important;
    height:100%!important;

    object-fit:cover!important;
    object-position:center!important;

    padding:0!important;
    margin:0!important;

    filter:grayscale(0);
    opacity:1;

    transition:
      filter .4s ease,
      opacity .4s ease,
      transform .5s ease!important;
  }


  /* Bottom gradient */

  .homePage59 .categoryRail59 .catCard59::after {
    content:"";

    position:absolute;
    inset:0;
    z-index:1;

    pointer-events:none;

    background:linear-gradient(
      to top,
      rgba(18,10,20,.85) 0%,
      rgba(18,10,20,.25) 42%,
      transparent 75%
    );
  }


  /* Category name container */

  .homePage59 .categoryRail59 .catCard59>.catBody59 {
    position:absolute!important;

    left:0!important;
    right:0!important;
    bottom:0!important;

    z-index:2!important;

    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-end!important;

    width:auto!important;
    height:auto!important;

    margin:0!important;
    padding:20px 12px 16px!important;

    border:0!important;
    border-radius:0!important;

    background:transparent!important;

    text-align:center!important;
    gap:0!important;
  }


  /* Category name */

  .homePage59 .categoryRail59 .catCard59 .catBody59 b {
    display:block!important;

    margin:0!important;
    padding:0!important;

    color:#fff!important;

    font-size:clamp(13px,1.15vw,17px)!important;
    font-weight:900!important;
    line-height:1.25!important;

    letter-spacing:-.025em!important;

    text-shadow:0 2px 8px rgba(0,0,0,.45);

    overflow-wrap:anywhere;
  }


  /* Tagline */

  .homePage59 .categoryRail59 .catCard59 .catTagline59 {
    display:-webkit-box!important;

    margin:6px 0 0!important;

    color:rgba(255,255,255,.82)!important;

    font-size:10px!important;
    line-height:1.4!important;

    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;

    overflow:hidden;
  }


  /* Explore button */

  .homePage59 .categoryRail59 .catCard59 .catGo59 {
    display:inline-flex!important;

    align-items:center;
    justify-content:center;

    gap:7px;

    margin:10px 0 0!important;
    padding:7px 12px!important;

    border:1px solid rgba(255,255,255,.3);
    border-radius:30px;

    background:rgba(255,255,255,.13);

    color:#fff!important;

    font-size:10px!important;
    font-weight:800!important;
    font-style:normal!important;

    opacity:0;
    transform:translateY(6px);

    transition:
      opacity .25s ease,
      transform .25s ease;
  }


  /* Explore arrow */

  .homePage59 .categoryRail59 .catCard59 .catGo59 span {
    font-size:14px;
    transition:transform .25s ease;
  }


  /* Admin badge */

  .homePage59 .categoryRail59 .catCard59 .catBadge59 {
    position:absolute;

    top:12px;
    left:12px;

    z-index:3;

    background:var(--cat-accent)!important;
    color:#fff!important;

    border:0!important;
    border-radius:30px;

    padding:6px 10px;

    font-size:9px;
    font-weight:900;
    letter-spacing:.04em;

    box-shadow:0 5px 14px rgba(0,0,0,.14);
  }


  /* Fallback icon */

  .homePage59 .categoryRail59 .catCard59 .catFallback59 {
    display:grid;
    place-items:center;

    width:100%;
    height:100%;

    color:var(--cat-accent);
    font-size:42px;
  }


  /* Hover effects */

  @media(hover:hover) {

    .homePage59 .categoryRail59 .catCard59:hover {
      transform:translateY(-5px)!important;

      box-shadow:0 20px 38px rgba(36,19,38,.22)!important;
    }

    .homePage59 .categoryRail59 .catCard59:hover .catMedia59 img {
      transform:scale(1.06);
    }

    .homePage59 .categoryRail59 .catCard59:hover .catGo59,
    .homePage59 .categoryRail59 .catCard59:focus-visible .catGo59 {
      opacity:1;
      transform:translateY(0);
    }

    .homePage59 .categoryRail59 .catCard59:hover .catGo59 span {
      transform:translate(2px,-1px);
    }
  }


  /* Other departments turn black and white */

  .homePage59 .categoryRail59 .catCard59.departmentMuted59 .catMedia59 img,
  .homePage59 .categoryRail59 .catCard59.departmentMuted59 .catFallback59 {
    filter:grayscale(100%) brightness(.82)!important;
    opacity:.75;
  }


  /* Keep muted category names readable */

  .homePage59 .categoryRail59 .catCard59.departmentMuted59 .catBody59 b {
    color:rgba(255,255,255,.9)!important;
  }


  /* All categories card */

  /* Text-only card: no picture and no icon. The colour sits on the card itself,
    and the name and caption are centred in it. */
  .homePage59 .categoryRail59 .allCategoryCard59 {
    background:linear-gradient(
      145deg,
      #f15b45,
      #241326
    )!important;
  }

  .homePage59 .categoryRail59 .allCategoryCard59::after {
    display:none!important;
  }

  .homePage59 .categoryRail59 .allCategoryCard59>.catBody59 {
    top:0!important;
    justify-content:center!important;
    padding:16px 14px!important;
    gap:6px!important;
  }

  .homePage59 .categoryRail59 .allCategoryCard59 .catBody59 b,
  .homePage59 .categoryRail59 .allCategoryCard59 .catBody59 small {
    width:100%;
    text-align:center!important;
  }

  .homePage59 .categoryRail59 .allCategoryCard59 .catBody59 small {
    display:block;
    color:rgba(255,255,255,.82);
    font-size:11px;
    font-weight:700;
    line-height:1.3;
  }


  /* ==========================================
    RESPONSIVE GRID
  ========================================== */

  @media(max-width:1280px) {
    .homePage59 .categoryRail59 {
      grid-template-columns:repeat(6,minmax(0,1fr))!important;
    }
  }

  @media(max-width:1100px) {
    .homePage59 .categoryRail59 {
      grid-template-columns:repeat(5,minmax(0,1fr))!important;
    }
  }

  @media(max-width:860px) {
    .homePage59 .categoryRail59 {
      grid-template-columns:repeat(4,minmax(0,1fr))!important;
      gap:14px!important;
    }
  }

  @media(max-width:680px) {
    .homePage59 .categoryRail59 {
      grid-template-columns:repeat(3,minmax(0,1fr))!important;
      gap:12px!important;
    }
  }

  @media(max-width:480px) {
    .homePage59 .categoryRail59 {
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      gap:10px!important;
    }

    .homePage59 .categoryRail59 .catCard59 {
      border-radius:17px!important;
    }

    .homePage59 .categoryRail59 .catCard59>.catBody59 {
      padding:16px 9px 11px!important;
    }

    .homePage59 .categoryRail59 .catCard59 .catTagline59 {
      font-size:9px!important;
    }

    .homePage59 .categoryRail59 .catCard59 .catGo59 {
      margin-top:8px!important;
      padding:6px 9px!important;
    }

    .homePage59 .categoryRail59 .catCard59 .catBadge59 {
      top:8px;
      left:8px;
      font-size:9px;
      padding:4px 8px;
    }
  }


  /* Phones: no hover, so keep Explore visible */

  @media(hover:none) {
    .homePage59 .categoryRail59 .catCard59 .catGo59 {
      opacity:1;
      transform:none;
    }
  }


  /* Department cards: the name sits low on the card, and on hover it is swapped for "Explore".
    The All categories card is excluded and keeps its own centred layout. */

  .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59)>.catBody59 {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:end!important;
    justify-items:center!important;
    padding:34px 12px 13px!important;
  }

  .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59) .catBody59 b,
  .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59) .catBody59 .catGo59 {
    grid-area:1 / 1;
    align-self:end;
    justify-self:center;
    text-align:center;
  }

  .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59) .catBody59 b {
    opacity:1;
    transform:translateY(0);
    transition:opacity .22s ease,transform .22s ease;
  }

  .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59) .catBody59 .catGo59 {
    margin:0!important;
    opacity:0;
    transform:translateY(8px);
    pointer-events:none;
  }

  @media(max-width:480px) {
    .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59)>.catBody59 {
      padding:28px 9px 11px!important;
    }
  }

  @media(hover:hover) {
    .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59):hover .catBody59 b,
    .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59):focus-visible .catBody59 b {
      opacity:0;
      transform:translateY(-8px);
    }

    .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59):hover .catBody59 .catGo59,
    .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59):focus-visible .catBody59 .catGo59 {
      opacity:1;
      transform:translateY(0);
    }
  }

  /* Touch screens have no hover, so the name simply stays and the whole card is tapped. */
  @media(hover:none) {
    .homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59) .catBody59 .catGo59 {
      display:none!important;
    }
  }


  /* ==========================================
    SHOP ALL PRODUCTS: COMPACT PAGE NUMBERS
    Prev 1 2 3 4 5 … 14 Next  (used when there are many pages)
  ========================================== */

  .shopPagination59.pgCompact59 {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    max-width:100%;
  }

  .shopPagination59.pgCompact59 button,
  .shopPagination59.pgCompact59 .pgGap59 {
    position:relative;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    flex:0 1 auto;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0 0 0 -1px!important;
    padding:0 12px!important;
    border:1px solid #cfc6cc!important;
    border-radius:0!important;
    box-sizing:border-box;
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:0!important;
    line-height:1;
    transform:none!important;
    box-shadow:none!important;
  }

  .shopPagination59.pgCompact59>:first-child {
    margin-left:0!important;
    border-radius:8px 0 0 8px!important;
  }

  .shopPagination59.pgCompact59>:last-child {
    border-radius:0 8px 8px 0!important;
  }

  .shopPagination59.pgCompact59 .pgGap59 {
    background:#f3eff1;
    color:#a99da6;
    cursor:default;
    user-select:none;
  }

  .shopPagination59.pgCompact59 button:hover:not(:disabled) {
    z-index:1;
  }

  .shopPagination59.pgCompact59 button.active {
    z-index:2;
    background:#f15b45!important;
    border-color:#f15b45!important;
    color:#fff!important;
  }

  @media(max-width:760px) {
    .shopPagination59.pgCompact59 button,
    .shopPagination59.pgCompact59 .pgGap59 {
      min-width:32px!important;
      height:38px!important;
      min-height:38px!important;
      padding:0 5px!important;
      font-size:11px!important;
    }

    .shopPagination59.pgCompact59>button:first-child,
    .shopPagination59.pgCompact59>button:last-child {
      padding:0 10px!important;
    }

    .shopPagination59.pgCompact59 .pgGap59 {
      min-width:26px!important;
    }
  }


  /* ==========================================
    SHOP BY DEPARTMENT ON SMALL SCREENS
    One row of cards that scrolls sideways
  ========================================== */

  @media(max-width:760px) {
    .homePage59 .categoryRail59 {
      display:flex!important;
      flex-wrap:nowrap!important;
      grid-template-columns:none!important;
      gap:12px!important;

      overflow-x:auto!important;
      overflow-y:hidden!important;
      padding:8px 2px 20px!important;

      scroll-snap-type:x proximity!important;
      -webkit-overflow-scrolling:touch;
      overscroll-behavior-x:contain;
      scrollbar-width:none;
    }

    .homePage59 .categoryRail59::-webkit-scrollbar {
      display:none;
    }

    .homePage59 .categoryRail59 .catCard59 {
      flex:0 0 clamp(138px,40vw,172px)!important;
      width:clamp(138px,40vw,172px)!important;
      min-width:clamp(138px,40vw,172px)!important;
      max-width:clamp(138px,40vw,172px)!important;
      scroll-snap-align:start;
    }
  }


  /* ==========================================
    VIEW ALL: ALL DEPARTMENTS POP-UP
  ========================================== */

  body.allCatsOpen59 {
    overflow:hidden;
  }

  .allCatsPopup59 {
    position:fixed;
    inset:0;
    z-index:1300;
    display:grid;
    place-items:center;
    padding:18px;
  }

  .allCatsShade59 {
    position:absolute;
    inset:0;
    background:rgba(20,10,22,.62);
  }

  .allCatsPanel59 {
    outline:none;
    position:relative;
    display:flex;
    flex-direction:column;
    width:min(1040px,100%);
    max-height:min(88vh,860px);
    overflow:hidden;
    border-radius:22px;
    background:#fff;
    box-shadow:0 30px 80px rgba(20,10,22,.45);
    animation:allCatsIn59 .22s ease;
  }

  @keyframes allCatsIn59 {
    from { opacity:0; transform:translateY(14px) scale(.98); }
    to   { opacity:1; transform:none; }
  }

  .allCatsHead59 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:20px 22px 14px;
    border-bottom:1px solid #eee5e9;
  }

  .allCatsHead59 span {
    display:block;
    color:#f15b45;
    font-size:10px;
    font-weight:900;
    letter-spacing:.16em;
  }

  .allCatsHead59 h2 {
    margin:4px 0 0;
    color:#241326;
    font-size:24px;
    letter-spacing:-.03em;
  }

  .allCatsClose59 {
    flex:none;
    width:40px;
    height:40px;
    border:1px solid #e3d9de;
    border-radius:50%;
    background:#fff;
    color:#241326;
    font-size:22px;
    line-height:1;
    cursor:pointer;
  }

  .allCatsClose59:hover {
    background:#f15b45;
    border-color:#f15b45;
    color:#fff;
  }

  .allCatsBody59 {
    overflow-y:auto;
    padding:16px 22px 24px;
    -webkit-overflow-scrolling:touch;
  }

  /* The tiles reuse the department card look, laid out as a grid (never a scrolling row) */
  .homePage59 .categoryRail59.allCatsGrid59 {
    display:grid!important;
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;
    gap:14px!important;
    overflow:visible!important;
    padding:8px 0 6px!important;
    scroll-snap-type:none!important;
  }

  .homePage59 .categoryRail59.allCatsGrid59 .catCard59 {
    flex:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }

  .allCatsEmpty59 {
    grid-column:1 / -1;
    margin:0;
    padding:30px 10px;
    text-align:center;
    color:#7c727b;
    font-size:13px;
  }

  @media(max-width:760px) {
    .allCatsPopup59 {
      padding:10px;
    }

    .allCatsPanel59 {
      max-height:92vh;
      border-radius:18px;
    }

    .allCatsHead59 {
      padding:16px 16px 12px;
    }

    .allCatsHead59 h2 {
      font-size:20px;
    }

    .allCatsBody59 {
      padding:12px 14px 20px;
    }

    .homePage59 .categoryRail59.allCatsGrid59 {
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      gap:10px!important;
    }
  }

  @media(min-width:540px) and (max-width:760px) {
    .homePage59 .categoryRail59.allCatsGrid59 {
      grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
  }

  .dark59 .allCatsPanel59 {
    background:#1b161c;
  }

  .dark59 .allCatsHead59 {
    border-bottom-color:#33293a;
  }

  .dark59 .allCatsHead59 h2 {
    color:#fff;
  }

  .dark59 .allCatsClose59 {
    background:#241d27;
    border-color:#3b313a;
    color:#fff;
  }


  /* ==========================================
    SMALL SCREENS: FLASHING "SCROLL →" HINT
    (sits at the right-middle of the department row)
  ========================================== */

  .catRailWrap59 {
    position:relative;
  }

  .catScrollHint59 {
    display:none;
  }

  @keyframes catHintFlash59 {
    0%, 100% { opacity:1; }
    50%      { opacity:.2; }
  }

  @keyframes catHintNudge59 {
    0%, 100% { transform:translateX(0); }
    50%      { transform:translateX(5px); }
  }

  @media(max-width:760px) {
    .catScrollHint59.on {
      position:absolute;
      right:4px;
      top:calc(50% - 8px);
      margin-top:-18px;
      z-index:5;
      display:flex;
      align-items:center;
      gap:6px;
      padding:9px 12px;
      border-radius:30px;
      background:rgba(36,19,38,.9);
      color:#fff;
      font-size:11px;
      font-weight:900;
      letter-spacing:.08em;
      text-transform:uppercase;
      box-shadow:0 8px 22px rgba(36,19,38,.35);
      border:0;
      font-family:inherit;
      cursor:pointer;
      pointer-events:auto;
      touch-action:manipulation;
      -webkit-tap-highlight-color:transparent;
      animation:catHintFlash59 1.1s ease-in-out infinite;
    }

    .catScrollHint59.on i {
      font-style:normal;
      font-size:16px;
      line-height:1;
      animation:catHintNudge59 1.1s ease-in-out infinite;
    }
  }

  @media(prefers-reduced-motion:reduce) {
    .catScrollHint59.on,
    .catScrollHint59.on i {
      animation:none!important;
    }
  }

  /* =====================================================================
    HERO CAROUSEL: no product image -> show the logo only, hide the deal card
    ===================================================================== */
  .heroVisual59.heroNoImg59 .heroDeal59,
  .heroVisual59.heroNoImg59 .heroOff59 {
    display:none!important;
  }

  .heroProduct59 img.heroLogoImg59 {
    width:68%!important;
    height:auto!important;
    max-width:240px!important;
    max-height:80%!important;
    object-fit:contain!important;
    margin:auto!important;
    display:block!important;
  }


  /* =====================================================================
    SHOP ALL PRODUCTS: product images fit inside the card frame (full view)
    Square frame that scales with the card width, whole image visible.
    ===================================================================== */
  .homePage59 #shop .productGrid59 .productImg59 {
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1 / 1;
    background:#fff!important;
    padding:0!important;
    overflow:hidden!important;
  }

  .homePage59 #shop .productGrid59 .productImg59 .productImageButton59 {
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100%!important;
    height:100%!important;
  }

  .homePage59 #shop .productGrid59 .productImg59 .productImageWrap59 {
    width:100%!important;
    height:100%!important;
    padding:6px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .homePage59 #shop .productGrid59 .productImg59 img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    transform:none!important;
  }

  .dark59 #shop .productGrid59 .productImg59 {
    background:#211c22!important;
  }

/* ==========================================
   SHOP BY DEPARTMENT: SMALLER CARDS
   ========================================== */
.homePage59 .categoryRail59{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:12px!important;
}
.homePage59 .categoryRail59 .catCard59{
  aspect-ratio:1/1.12!important;
  border-radius:16px!important;
  box-shadow:0 6px 16px rgba(36,19,38,.14)!important;
}
.homePage59 .categoryRail59 .catCard59 .catBody59 b{
  font-size:clamp(11px,.9vw,13px)!important;
}
.homePage59 .categoryRail59 .catCard59:not(.allCategoryCard59)>.catBody59{
  padding:22px 8px 10px!important;
}
.homePage59 .categoryRail59 .catCard59 .catTagline59{
  font-size:9px!important;
  margin-top:4px!important;
}
.homePage59 .categoryRail59 .catCard59 .catGo59{
  font-size:11px!important;
  padding:5px 10px!important;
}
.homePage59 .categoryRail59 .catCard59 .catBadge59{
  top:8px!important;
  left:8px!important;
  font-size:8px!important;
  padding:4px 8px!important;
}
.homePage59 .categoryRail59.allCatsGrid59{
  grid-template-columns:repeat(auto-fill,minmax(118px,1fr))!important;
  gap:10px!important;
}
@media(max-width:1100px){
  .homePage59 .categoryRail59{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
}
@media(max-width:860px){
  .homePage59 .categoryRail59{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;}
}
@media(max-width:760px){
  .homePage59 .categoryRail59{display:flex!important;gap:10px!important;}
  .homePage59 .categoryRail59 .catCard59{
    flex:0 0 clamp(104px,30vw,128px)!important;
    width:clamp(104px,30vw,128px)!important;
    min-width:clamp(104px,30vw,128px)!important;
    max-width:clamp(104px,30vw,128px)!important;
  }
  .homePage59 .categoryRail59.allCatsGrid59{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .homePage59 .categoryRail59.allCatsGrid59 .catCard59{
    flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;
  }
}
@media(max-width:480px){
  .homePage59 .categoryRail59 .catCard59{border-radius:14px!important;}
}


/* Department cards: neat centred rows, row length chosen by the small script in index.php */
@media(min-width:761px){
  .homePage59 .categoryRail59#homeCategories{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    gap:12px!important;
    grid-template-columns:none!important;
  }
  .homePage59 .categoryRail59#homeCategories .catCard59{
    flex:0 0 var(--catW,140px)!important;
    width:var(--catW,140px)!important;
    min-width:0!important;
    max-width:none!important;
  }
}


/* Account icon: never highlighted when logged in */
#accountNavLink,#accountNavLink.accountLoggedIn{background:transparent!important;box-shadow:none!important}
#accountNavLink svg{fill:none!important}
#accountNavLink:hover,#accountNavLink:focus-visible{background:#f8eef0!important}
.dark59 #accountNavLink:hover{background:#2a2029!important}


/* ==========================================
   LOGO SIZE  (change the four numbers below)
   ========================================== */
:root{
  --logo-w-desktop:200px;  /* header logo width on computers  */
  --logo-h-desktop:80px;   /* header logo height on computers (keep under 90px) */
  --logo-w-mobile:170px;   /* header logo width on phones     */
  --logo-h-mobile:800px;    /* header logo height on phones (keep under 60px) */
}
.logo59{width:var(--logo-w-desktop)!important;flex:0 0 var(--logo-w-desktop)!important;min-width:0!important;height:auto!important}
.logo59 img{width:var(--logo-w-desktop)!important;height:var(--logo-h-desktop)!important;object-fit:contain!important}
@media(max-width:760px){
  .logo59{position:absolute!important;left:45%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:var(--logo-w-mobile)!important;height:var(--logo-h-mobile)!important;flex:none!important;min-width:0!important;z-index:2;display:flex!important;align-items:center;justify-content:center}
  .logo59 img{width:var(--logo-w-mobile)!important;height:var(--logo-h-mobile)!important;object-fit:contain!important}
}

/* Hero heading "Great finds." in light mode: same purple as the logo text (dark mode stays white) */
:root{--kaome-title-light:#3d144d}
html:not(.dark59) .heroCopy59 h1{color:var(--kaome-title-light)!important}

/* Phone logo: --logo-h-mobile is 800px, which made the logo LINK 800px tall and invisibly covered the page below the header
   (tapping "Become a reseller" hit the logo and went home). The link is now only as tall as the header; the picture keeps its size
   but no longer catches taps. */
@media(max-width:760px){
  .flatNav59 .navInner59 .logo59{height:56px!important;max-height:56px!important;overflow:visible!important}
  .flatNav59 .navInner59 .logo59 img{pointer-events:none!important}
}