/* ===========================================================================
   HOMESARA THEME — page-shop.css
   Extracted verbatim from the original shop.html <style> block
   (assets/css/legacy/shop.css is the same content, unmodified —
   this file is the enqueue-ready copy loaded only on this page/template).

   NOTE: kept as a full verbatim copy rather than hand-split against
   style.css/common.css, so some rules here duplicate the root/common
   layer. Deliberate fidelity-first tradeoff (plan §4 / README) —
   harmless (browser uses the later matching rule), safe to
   de-duplicate later once this page is confirmed pixel-correct in
   the Elementor rebuild.
   =========================================================================== */

  html{scroll-behavior:smooth;}

  button,input{font-family:inherit;}

  .btn{padding:14px 28px;font-size:12px;letter-spacing:1.3px;white-space:nowrap;}

  .btn-sm{padding:10px 16px;font-size:11px;}

  /* ===== TOP BAR ===== */
  .topbar{background:var(--topbar);border-bottom:1px solid var(--line);}
  .topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:38px;font-size:12.5px;color:var(--brown-800);}
  .topbar .left{display:flex;gap:26px;align-items:center;}
  .topbar .item{display:flex;align-items:center;gap:6px;font-weight:500;}
  .topbar .icon{width:14px;height:14px;color:var(--gold-dark);}

  /* ===== HEADER ===== */
  header.main{border-bottom:1px solid var(--line);background:var(--white);}
  .header-inner{display:flex;align-items:center;gap:34px;padding-top:18px;padding-bottom:18px;}
  .logo{display:flex;align-items:center;gap:12px;flex-shrink:0;}
  .logo-mark{width:46px;height:46px;flex-shrink:0;}
  .logo-text{line-height:1;}
  .search-bar{flex:1;display:flex;max-width:560px;border:1.5px solid var(--line);border-radius:3px;overflow:hidden;}
  .search-bar input{border:none;outline:none;flex:1;padding:12px 16px;font-size:13.5px;font-family:inherit;color:var(--ink);background:var(--cream);}
  .search-bar input::placeholder{color:var(--muted);}
  .search-bar button{background:var(--brown-800);border:none;padding:0 20px;color:var(--white);}
  .header-actions{display:flex;align-items:center;gap:28px;margin-left:auto;flex-shrink:0;}
  .header-actions .action{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--brown-900);font-weight:500;}
  .header-actions .action .icon{color:var(--gold-dark);width:20px;height:20px;}
  .header-actions .action .lbl small{display:block;color:var(--muted);font-weight:400;font-size:11px;}
  .header-actions .action .lbl b{font-weight:600;font-size:13px;}

  /* ===== NAV ===== */
  nav.catnav{background:var(--white);border-bottom:1px solid var(--line);}
  .catnav-inner{display:flex;align-items:center;gap:34px;height:52px;}
  .all-cat{background:var(--brown-900);color:var(--white);height:34px;padding:0 16px;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;border-radius:2px;white-space:nowrap;}
  .catnav-links{display:flex;gap:30px;flex:1;}
  .catnav-links a{font-size:13.5px;font-weight:500;color:var(--ink);white-space:nowrap;}
  .catnav-links a:hover{color:var(--gold-dark);}
  .catnav-links a.current{color:var(--gold-dark);font-weight:700;}
  .catnav-links a.sale{color:var(--red);font-weight:600;}
  .mobile-menu-btn{display:none;align-items:center;justify-content:center;width:38px;height:38px;background:var(--cream-2);border:none;border-radius:4px;color:var(--brown-900);margin-left:auto;flex-shrink:0;}

  /* ===== PAGE HERO / BREADCRUMB BANNER ===== */
  .page-hero{background:var(--cream-2);}
  .page-hero-inner{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:40px;padding:44px 0 0;}
  .page-hero h1{font-size:34px;margin:0 0 12px;color:var(--ink);}
  .page-hero p{font-size:14px;color:var(--muted);max-width:430px;margin:0 0 20px;line-height:1.7;}
  .breadcrumb{font-size:12.5px;color:var(--muted);display:flex;gap:8px;align-items:center;padding-bottom:36px;}
  .breadcrumb a{color:var(--brown-800);font-weight:600;}
  .page-hero-img{border-radius:8px 8px 0 0;overflow:hidden;height:260px;align-self:end;}
  .page-hero-img img{width:100%;height:100%;object-fit:cover;display:block;}

  /* floating stats card - horizontal icon+text variant */
  .stats-card2{background:var(--white);border-radius:8px;box-shadow:0 20px 45px rgba(58,42,28,.14);padding:28px 10px;margin:-46px auto 0;max-width:1160px;position:relative;z-index:4;overflow:hidden;}
  .stats-card2 .stat{display:flex;align-items:center;gap:13px;position:relative;padding:0 8px;}
  .stats-card2 .stat:not(:last-child)::after{content:"";position:absolute;right:0;top:2px;bottom:2px;width:1px;background:var(--line);display:none;}
@media (min-width:901px){.stats-card2 .stat:not(:last-child)::after{display:block;}}
  .stats-card2 .stat .circ{width:46px;height:46px;border-radius:50%;background:var(--cream-2);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .stats-card2 .stat .circ .icon{width:21px;height:21px;color:var(--brown-800);}
  .stats-card2 .stat b{display:block;font-size:13px;color:var(--ink);font-weight:600;line-height:1.3;}
  .stats-card2 .stat span{font-size:11px;color:var(--muted);}

  /* ===== SHOP LAYOUT ===== */
  .shop-section{padding:78px 0 70px;}
  .shop-layout{display:grid;grid-template-columns:266px 1fr;gap:30px;align-items:start;}

  /* sidebar */
  .sidebar{border:1px solid var(--line);border-radius:8px;padding:22px;}
  .sidebar-block{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px;}
  .sidebar-block:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0;}
  .sidebar-title{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--ink);margin-bottom:14px;}
  .sidebar-title .chev{width:14px;height:14px;color:var(--muted);}
  .cat-list{display:flex;flex-direction:column;gap:2px;}
  .cat-list li a{display:flex;justify-content:space-between;align-items:center;padding:8px 8px;font-size:13px;color:var(--muted);border-radius:4px;}
  .cat-list li a:hover{background:var(--cream);}
  .cat-list li.active a{background:var(--cream-2);color:var(--brown-900);font-weight:600;}
  .cat-list li.parent a{color:var(--ink);font-weight:600;}
  .cat-list li.sub a{padding-left:24px;font-size:12.5px;}

  /* Expand/collapse arrow for a parent's sub-categories (any depth - some
     sub-categories, like Mattress under Bedding, have their own children). */
  .cat-list li.parent.has-toggle,
  .cat-list li.sub.has-toggle{display:flex;align-items:center;}
  .cat-list li.parent.has-toggle a,
  .cat-list li.sub.has-toggle a{flex:1;}
  .cat-toggle{background:none;border:none;padding:6px;margin-left:2px;cursor:pointer;color:var(--muted);display:flex;align-items:center;justify-content:center;border-radius:4px;transition:transform .2s ease;flex-shrink:0;}
  .cat-toggle:hover{background:var(--cream);color:var(--ink);}
  .cat-toggle .icon{width:14px;height:14px;}
  .cat-toggle.is-collapsed{transform:rotate(-90deg);}
  .cat-list li.sub.is-collapsed{display:none;}

  .price-range{position:relative;height:16px;margin:16px 0 8px;}
  .price-range .track{position:absolute;top:6px;left:0;right:0;height:4px;background:var(--line);border-radius:2px;}
  .price-range .track-fill{position:absolute;top:6px;left:8%;right:15%;height:4px;background:var(--gold-dark);border-radius:2px;}
  .price-range .handle{position:absolute;top:2px;width:12px;height:12px;border-radius:50%;background:var(--brown-900);border:2px solid var(--white);box-shadow:0 0 0 1px var(--brown-900);}
  .price-labels{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);}
  .filter-check{display:flex;align-items:center;justify-content:space-between;padding:7px 0;font-size:13px;color:var(--ink);}
  .filter-check label{display:flex;align-items:center;gap:10px;cursor:pointer;}
  .filter-check input[type=checkbox]{width:15px;height:15px;accent-color:var(--brown-900);}
  .filter-check .cnt{color:var(--muted);font-size:12px;}
  .view-more-link{font-size:12.5px;color:var(--brown-800);font-weight:600;margin-top:6px;display:inline-block;}
  .clear-filters{width:100%;justify-content:center;}

  /* toolbar */
  .shop-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:14px;}
  .shop-toolbar .count{font-size:13.5px;color:var(--muted);}
  .toolbar-right{display:flex;align-items:center;gap:14px;}
  .sort-wrap{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);}
  .sort-select{border:1px solid var(--line);border-radius:4px;padding:9px 12px;font-size:13px;font-family:inherit;color:var(--ink);background:var(--white);}
  .view-toggle{display:flex;gap:6px;}
  .view-toggle button{width:34px;height:34px;border:1px solid var(--line);border-radius:4px;display:flex;align-items:center;justify-content:center;background:var(--white);color:var(--brown-800);}
  .view-toggle button.active{background:var(--brown-900);color:var(--white);border-color:var(--brown-900);}

  /* product grid */
  .product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
  .product-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--white);display:flex;flex-direction:column;cursor:pointer;}
  .product-card .thumb{position:relative;aspect-ratio:1/0.86;overflow:hidden;}
  .product-card .thumb img{width:100%;height:100%;object-fit:cover;display:block;}
  .product-card .wish{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:var(--brown-800);}
  .product-card .wish .icon{width:15px;height:15px;}
  .product-card .info{padding:16px;flex:1;display:flex;flex-direction:column;}
  /* Clamp to 2 lines with a matching min-height, so every card is the same
     height regardless of title length (1 line vs 2) - needed for sliders in
     particular (e.g. related products), where Swiper's slide-to-slide equal
     height stretch doesn't reliably apply in loop mode. */
  .product-card h4{font-size:15px;line-height:1.3;margin:0 0 4px;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.6em;}
  .product-card .designs{font-size:12px;color:var(--muted);margin:0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .product-card .price{font-size:12.5px;color:var(--ink);margin:0 0 14px;}
  .product-card .price b{font-weight:700;}
  .product-card .btn{width:100%;margin-top:auto;}

  /* pagination (mockup markup, kept for reference/back-compat) */
  .pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:42px;flex-wrap:wrap;}
  .pagination a{width:36px;height:36px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:500;color:var(--brown-800);border:1px solid var(--line);}
  .pagination a.active{background:var(--brown-900);color:var(--white);border-color:var(--brown-900);}
  .pagination .dots{border:none;width:auto;color:var(--muted);}

  /* Real WooCommerce pagination markup (nav.woocommerce-pagination > ul.page-numbers) */
  /* Selectors are qualified with nav/ul/li to safely out-specify
     WooCommerce's own `.woocommerce nav.woocommerce-pagination ul li a:hover,
     ...  li span.current` rule (equal class count, more element selectors -
     it would otherwise win the cascade over a plain `.page-numbers.current`). */
  nav.woocommerce-pagination{margin-top:42px;}
  nav.woocommerce-pagination ul.page-numbers{list-style:none;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:0;padding:0;border:none;}
  nav.woocommerce-pagination ul.page-numbers li{display:flex;border-right:none;overflow:visible;}
  nav.woocommerce-pagination ul.page-numbers li .page-numbers{width:36px;height:36px;padding:0 6px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:500;color:var(--brown-800);background:var(--white);border:1px solid var(--line);transition:all .18s ease;}
  nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover{border-color:var(--gold-dark);color:var(--gold-dark);background:var(--cream);}
  nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current{background:var(--brown-900);color:var(--white);border-color:var(--brown-900);cursor:default;}
  nav.woocommerce-pagination ul.page-numbers li span.page-numbers.dots{border:none;background:none;width:auto;color:var(--muted);}
  nav.woocommerce-pagination ul.page-numbers li a.next.page-numbers,
  nav.woocommerce-pagination ul.page-numbers li a.prev.page-numbers{font-size:14px;}

  /* promo strip */
  .promo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
  .promo-card{background:var(--cream-2);border-radius:8px;padding:22px;display:flex;flex-direction:column;gap:10px;}
  .promo-card .circ{width:48px;height:48px;border-radius:50%;background:var(--white);display:flex;align-items:center;justify-content:center;margin-bottom:2px;}
  .promo-card .circ .icon{width:22px;height:22px;color:var(--brown-800);}
  .promo-card h4{font-size:15px;margin:0;line-height:1.3;}
  .promo-card p{font-size:12.5px;color:var(--muted);margin:0 0 4px;line-height:1.55;}
  .promo-card .btn{align-self:flex-start;}

  /* trust strip */
  .trust-strip{background:var(--cream-2);border-top:1px solid var(--line);}
  .trust-row{display:flex;justify-content:space-between;padding:22px 0;flex-wrap:wrap;gap:16px 24px;}
  .trust-item{display:flex;align-items:center;gap:11px;flex:1 1 auto;}
  .trust-item .circ{width:38px;height:38px;border-radius:50%;background:var(--white);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .trust-item .circ .icon{width:18px;height:18px;color:var(--brown-800);}
  .trust-item b{display:block;font-size:12.5px;}
  .trust-item span{font-size:11px;color:var(--muted);}

  /* ===== FOOTER ===== */
  footer{background:#fbf9f5;border-top:1px solid var(--line);padding-top:56px;}
  .foot-grid{display:grid;grid-template-columns:1.4fr .9fr 1fr 1fr 1.3fr;gap:26px;padding-bottom:40px;}
  .foot-grid h5{font-size:12.5px;letter-spacing:1px;font-weight:600;color:var(--ink);margin:0 0 18px;text-transform:uppercase;}
  .foot-logo .logo{margin-bottom:14px;}
  .foot-grid p{font-size:12.5px;color:var(--muted);line-height:1.7;margin:0 0 18px;max-width:220px;}
  .foot-social{display:flex;gap:10px;}
  .foot-social a{width:32px;height:32px;border-radius:50%;background:var(--cream-2);display:flex;align-items:center;justify-content:center;}
  .foot-social .icon{width:15px;height:15px;color:var(--brown-800);}
  .foot-grid ul li{margin-bottom:11px;font-size:12.5px;color:var(--muted);}
  .foot-contact li{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px;font-size:12.5px;color:var(--muted);line-height:1.5;}
  .foot-contact .icon{width:15px;height:15px;color:var(--gold-dark);flex-shrink:0;margin-top:1px;}
  .news-input{display:flex;border:1px solid var(--line);border-radius:3px;overflow:hidden;background:var(--white);margin-bottom:24px;}
  .news-input input{flex:1;border:none;outline:none;padding:11px 14px;font-size:12.5px;font-family:inherit;}
  .news-input button{background:var(--brown-800);border:none;color:var(--white);padding:0 16px;}
  .foot-bottom{border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);}
  footer .foot-logo-inner{display:flex;align-items:center;gap:10px;}

  .whatsapp-fab{position:fixed;bottom:26px;right:26px;width:56px;height:56px;border-radius:50%;background:var(--green);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.22);z-index:50;}
  .whatsapp-fab .icon{width:28px;height:28px;color:var(--white);}

  /* ===================================================================
     RESPONSIVE
  =================================================================== */
  @media (max-width:1180px){
    .product-grid{grid-template-columns:repeat(3,1fr);}
    .promo-grid{grid-template-columns:repeat(2,1fr);}
    .foot-grid{grid-template-columns:1fr 1fr 1fr;}
    .foot-logo{grid-column:1/-1;}
  }

  @media (max-width:960px){
    .wrap{padding:0 18px;}
    .topbar .item:nth-child(2),.topbar .item:nth-child(3){display:none;}

    .header-inner{flex-wrap:wrap;gap:14px;padding-top:14px;padding-bottom:14px;justify-content:space-between;}
    .search-bar{order:3;flex:1 1 100%;max-width:100%;}
    .header-actions{gap:16px;margin-left:auto;}
    .header-actions .action .lbl{display:none;}
    .header-actions .action .icon{width:22px;height:22px;}

    .mobile-menu-btn{display:flex;}
    .catnav-inner{position:relative;flex-wrap:nowrap;}
    .catnav-links{display:none;position:absolute;top:calc(100% + 1px);left:-18px;right:-18px;flex-direction:column;gap:0;background:var(--white);border-top:1px solid var(--line);box-shadow:0 16px 30px rgba(0,0,0,.12);z-index:60;max-height:70vh;overflow-y:auto;}
    .catnav-links.open{display:flex;}
    .catnav-links a{padding:14px 22px;border-bottom:1px solid var(--line);}

    .page-hero-inner{grid-template-columns:1fr;padding-top:34px;}
    .page-hero-img{height:200px;order:-1;border-radius:8px;}
    .breadcrumb{padding-bottom:56px;}

    .stats-card2{padding:24px 16px;margin-top:-30px;}

    .shop-section{padding:64px 0 50px;}
    .shop-layout{grid-template-columns:1fr;}
    .sidebar{margin-bottom:6px;}

    .product-grid{grid-template-columns:repeat(2,1fr);}
    .promo-grid{grid-template-columns:repeat(2,1fr);}
    .foot-grid{grid-template-columns:1fr 1fr;}
  }

  @media (max-width:640px){
    .topbar .wrap>.item{display:none;}
    .topbar .left{gap:12px;overflow-x:auto;max-width:80%;-ms-overflow-style:none;scrollbar-width:none;}
    .topbar .left::-webkit-scrollbar{display:none;}
    .topbar .item{white-space:nowrap;font-size:10.5px;}

    .logo-mark{width:36px;height:36px;}
    .logo-text .name{font-size:18px;letter-spacing:1px;}
    .logo-text .tag{font-size:9px;letter-spacing:3.5px;}
    .all-cat{padding:0 12px;font-size:12px;}

    .page-hero h1{font-size:25px;}
    .page-hero p{font-size:12.5px;}


    .shop-toolbar{flex-direction:column;align-items:flex-start;}
    .toolbar-right{width:100%;justify-content:space-between;}

    .product-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
    .product-card .info{padding:12px;}
    .product-card h4{font-size:13.5px;}

    .promo-grid{grid-template-columns:1fr;}
    .trust-row{justify-content:flex-start;}
    .trust-item{flex:1 1 45%;}

    .foot-grid{grid-template-columns:1fr;gap:30px;}
    .foot-bottom{flex-direction:column;gap:8px;text-align:center;}

    .whatsapp-fab{width:48px;height:48px;bottom:18px;right:18px;}
  }

  /* ===== COMMON: INTERACTIVE ADD-ONS ===== */
  .catnav-inner{position:relative;}
  .all-cat{cursor:pointer;}
  .all-cat .care{transition:transform .2s ease;}
  .all-cat.open .care{transform:rotate(180deg);}
  .all-cat-panel{
    display:none;position:absolute;top:calc(100% + 10px);left:0;background:var(--white);
    border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 45px rgba(20,14,8,.18);
    padding:10px;min-width:260px;z-index:80;grid-template-columns:1fr 1fr;gap:2px;
  }
  .all-cat-panel.open{display:grid;}
  .all-cat-panel a{padding:10px 12px;font-size:13px;font-weight:500;color:var(--ink);border-radius:5px;white-space:nowrap;}
  .all-cat-panel a:hover{background:var(--cream-2);color:var(--gold-dark);}
  .all-cat-panel a.view-all-link{grid-column:1/-1;border-top:1px solid var(--line);margin-top:4px;padding-top:12px;font-weight:700;color:var(--brown-800);}
  .all-cat-panel a.sale{color:var(--red);font-weight:700;}
  @media (max-width:640px){ .all-cat-panel{grid-template-columns:1fr;left:-6px;right:-6px;min-width:0;} }

  .nav-dropdown{position:relative;}
  .nav-dropdown-trigger{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:500;color:var(--ink);cursor:pointer;white-space:nowrap;}
  .nav-dropdown-trigger:hover{color:var(--gold-dark);}
  .nav-dropdown-trigger .care{width:11px;height:11px;transition:transform .2s ease;}
  .nav-dropdown.open .nav-dropdown-trigger .care{transform:rotate(180deg);}
  .nav-dropdown-panel{display:none;position:absolute;top:calc(100% + 10px);left:0;background:var(--white);border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 45px rgba(20,14,8,.18);padding:8px;min-width:190px;z-index:80;}
  .nav-dropdown.open .nav-dropdown-panel{display:block;}
  .nav-dropdown-panel a{display:block;padding:10px 14px;font-size:13px;font-weight:500;color:var(--ink);border-radius:5px;white-space:nowrap;}
  .nav-dropdown-panel a:hover{background:var(--cream-2);color:var(--gold-dark);}

  .action.wishlist-action{position:relative;}
  .wishlist-panel{
    display:none;position:absolute;top:calc(100% + 14px);right:0;background:var(--white);
    border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 45px rgba(20,14,8,.18);
    padding:14px;min-width:230px;z-index:80;font-size:12.5px;color:var(--ink);
  }
  .wishlist-panel.open{display:block;}
  .wishlist-panel .wl-empty{color:var(--muted);line-height:1.6;}
  .wishlist-panel .wl-empty a{color:var(--gold-dark);font-weight:600;}
  .wishlist-panel .wl-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);}
  .wishlist-panel .wl-item:last-child{border-bottom:none;}
  .wishlist-panel .wl-item button{background:none;border:none;color:var(--muted);font-size:15px;line-height:1;padding:0 2px;}
  .wishlist-panel .wl-item button:hover{color:var(--red);}
  .wishlist-panel .wl-title{font-weight:700;font-size:12px;letter-spacing:.5px;text-transform:uppercase;color:var(--brown-800);margin-bottom:10px;}

  #toastWrap{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:999;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;}
  .toast-msg{
    background:var(--brown-900);color:var(--white);padding:12px 20px;border-radius:30px;
    font-size:13px;font-weight:500;box-shadow:0 12px 30px rgba(0,0,0,.25);
    opacity:0;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease;max-width:88vw;text-align:center;
  }
  .toast-msg.show{opacity:1;transform:translateY(0);}

  .search-bar{position:relative;}
  .search-bar button{cursor:pointer;}

  /* ===== SHOP: interactive add-ons ===== */
  .sidebar-title{cursor:pointer;user-select:none;}
  .sidebar-title .chev{transition:transform .2s ease;}
  .sidebar-block:not(.collapsed) .sidebar-title .chev{transform:rotate(180deg);}
  .sidebar-block.collapsed .sidebar-collapsible{display:none;}
  .price-range .handle{cursor:grab;touch-action:none;}
  .price-range .handle:active{cursor:grabbing;}
  .product-card .wish{cursor:pointer;transition:background .2s ease,color .2s ease;}
  .product-card .wish.active{background:var(--red);color:var(--white);}
  .product-card .wish.active svg{fill:currentColor;}
  .product-grid.list-view{grid-template-columns:1fr;}
  .product-grid.list-view .product-card{display:grid;grid-template-columns:220px 1fr;gap:18px;}
  .product-grid.list-view .product-card .thumb{aspect-ratio:auto;height:100%;}
  .product-grid.list-view .product-card .info{display:flex;flex-direction:column;justify-content:center;}
  .cat-list li a{cursor:pointer;}
  .pagination a{cursor:pointer;}

/* ===========================================================================
   WooCommerce integration overrides — beat WC's default .price / grid styles
   so the product cards match the original .product-card design exactly.
   (WC's ".woocommerce div.product p.price" is high-specificity; match it.)
   =========================================================================== */
.woocommerce div.product.product-card p.price,
.product-grid .product-card .price {
  font-size:12.5px; color:var(--ink); margin:0 0 14px; font-weight:400; line-height:1.5;
}
.product-card .price b { font-weight:700; }
.product-card .price .woocommerce-Price-amount { font-size:inherit; font-weight:inherit; color:inherit; }
.woocommerce div.product.product-card { padding:0; margin:0; text-align:left; width:auto; float:none; }
.product-card .info h4 a { color:inherit; }
.product-card .info h4 a:hover { color:var(--gold-dark); }
/* keep WC's loop add-to-cart looking like the original small solid button */
.product-card .add-to-cart-btn.added { opacity:.85; }
.product-card .add-to-cart-btn.loading { opacity:.7; }

/* ===========================================================================
   WooCommerce sort dropdown — match the original .sort-select design.
   =========================================================================== */
.shop-toolbar .woocommerce-ordering { margin:0; }
.shop-toolbar select.orderby,
.woocommerce-ordering select.orderby {
  font-family:inherit; font-size:12.5px; color:var(--ink); background:var(--white);
  border:1px solid var(--line); border-radius:4px; padding:9px 34px 9px 14px; cursor:pointer;
  -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c4230' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:13px;
}
.shop-toolbar select.orderby:focus { outline:none; border-color:var(--gold-dark); }
