/* Thriftropolis Look: editorial, quiet, product-first. Sits on top of the Woopy theme. */

:root{
  --tl-ink:#141413;
  --tl-grey:#4a4a4a;
  --tl-grey2:#8a8a8a;
  --tl-line:#e6e6e3;
  --tl-tile:#f6f6f4;
  --tl-band:#f3f1ec;
  --tl-lime:#9bd13d;
  --tl-lime-soft:#eef7d8;
  --tl-lime-ink:#3b5a0f;
  --tl-plum:#76175a;
  --tl-font:'Inter Tight',system-ui,-apple-system,sans-serif;
}

/* ---------- Type ---------- */
body.tlook, body.tlook h1, body.tlook h2, body.tlook h3, body.tlook h4, body.tlook h5, body.tlook h6,
body.tlook .sc_layouts_menu_nav > li > a, body.tlook .woocommerce-loop-product__title, body.tlook .price,
body.tlook button, body.tlook .button, body.tlook input, body.tlook select{
  font-family:var(--tl-font) !important;
  letter-spacing:0 !important;
}
body.tlook{ color:var(--tl-ink); }

/* ---------- Header ---------- */
body.tlook .top_panel{ background:#fff !important; }
body.tlook .sc_layouts_logo img{ max-height:72px !important; width:auto !important; }
body.tlook .sc_layouts_menu_nav > li > a{ font-size:15px !important; font-weight:500 !important; color:var(--tl-ink) !important; }
body.tlook .sc_layouts_menu_nav > li.current-menu-item > a{ border-bottom:2px solid var(--tl-ink); padding-bottom:2px; }
body.tlook .sc_layouts_cart_items_short{ background:var(--tl-ink) !important; color:#fff !important; }
body.tlook .page_content_wrap{ padding-top:0 !important; }

/* ---------- Promo strip (Buy 3 Get 1) ---------- */
body.tlook .tb3g1-banner{
  background:var(--tl-lime-soft) !important; color:var(--tl-lime-ink) !important;
  border-radius:0 !important; padding:9px 16px !important; margin:0 0 20px !important;
  font-size:13px !important; font-weight:600 !important; text-align:center;
}
body.tlook .tb3g1-banner a{ color:var(--tl-lime-ink) !important; }

/* ---------- Hero band ---------- */
.tlook-hero{
  background:var(--tl-band); display:flex; align-items:stretch; gap:0; min-height:360px;
  overflow:hidden; margin:0 0 28px; border-radius:6px;
}
.tlook-hero-text{ flex:0 0 38%; padding:56px 0 48px 56px; display:flex; flex-direction:column; justify-content:center; gap:12px; }
.tlook-eyebrow{ font-size:13px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--tl-grey2); }
.tlook-title{ margin:0 !important; font-size:64px !important; line-height:.95 !important; font-weight:800 !important; letter-spacing:-2px !important; color:var(--tl-ink) !important; }
.tlook-sub{ margin:0; font-size:16px; line-height:1.5; color:var(--tl-grey); max-width:300px; }
.tlook-hero-collage{ flex:1; position:relative; min-height:300px; }
.tlook-card{
  position:absolute; bottom:-14%; width:34%; aspect-ratio:1/1; border-radius:8px; overflow:hidden;
  transform:rotate(var(--r)); box-shadow:0 12px 30px rgba(0,0,0,.08); transition:transform .25s;
}
.tlook-card img{ width:100%; height:100%; object-fit:cover; object-position:center 20%; display:block; }
.tlook-card:hover{ transform:rotate(var(--r)) translateY(-10px); }
.tlook-card-0{ left:0; }
.tlook-card-1{ left:16%; bottom:-10%; }
.tlook-card-2{ left:33%; bottom:-8%; width:36%; z-index:2; }
.tlook-card-3{ left:51%; bottom:-6%; width:38%; z-index:3; box-shadow:0 20px 40px rgba(0,0,0,.14); }
.tlook-card-4{ left:71%; bottom:-12%; }
/* theme's own hidden Shop header is redundant now */
body.tlook .list_products_header{ display:none !important; }

/* ---------- Result row ---------- */
body.tlook .woocommerce-result-count{ color:var(--tl-grey2) !important; font-size:14px !important; }
body.tlook .woocommerce-ordering select{ border:0 !important; font-weight:500 !important; font-size:14px !important; background:transparent !important; }

/* ---------- Product grid ---------- */
body.tlook ul.products{ --gap:24px; }
body.tlook ul.products li.product .post_item{ background:transparent !important; box-shadow:none !important; border:0 !important; }
body.tlook ul.products li.product .post_featured{
  background:var(--tl-tile) !important; border-radius:6px !important; overflow:hidden;
  aspect-ratio:1/1; box-shadow:none !important;
}
body.tlook ul.products li.product .post_featured img{ width:100% !important; height:100% !important; object-fit:cover !important; transition:none !important; }
body.tlook ul.products li.product .post_featured .mask{ display:none !important; }
body.tlook ul.products li.product .post_featured .bottom-info,
body.tlook ul.products li.product .post_featured .top-info{ opacity:0; transition:opacity .2s; }
body.tlook ul.products li.product:hover .post_featured .top-info{ opacity:1; }
body.tlook ul.products li.product .post_data{ padding:14px 0 0 !important; text-align:left !important; }
body.tlook ul.products li.product .woocommerce-loop-product__title{
  font-size:15px !important; font-weight:500 !important; line-height:1.35 !important; margin:0 0 4px !important; color:var(--tl-ink) !important;
}
body.tlook ul.products li.product .price{ font-size:14px !important; font-weight:400 !important; color:var(--tl-grey) !important; }
body.tlook ul.products li.product .price del{ color:var(--tl-grey2) !important; margin-right:6px; }
body.tlook ul.products li.product .price ins{ text-decoration:none !important; color:var(--tl-ink) !important; }
body.tlook ul.products li.product .post_data .add_to_cart_button{ display:none !important; }
/* badges: small, quiet */
body.tlook ul.products li.product .onsale, body.tlook ul.products li.product .post_featured .onsale{
  position:absolute !important; top:12px !important; left:12px !important; right:auto !important;
  font-size:11px !important; font-weight:600 !important; letter-spacing:.8px !important; text-transform:uppercase !important;
  background:var(--tl-lime) !important; color:var(--tl-ink) !important; padding:4px 8px !important; border-radius:4px !important;
  line-height:1.2 !important; min-width:0 !important; min-height:0 !important; width:auto !important; height:auto !important; transform:none !important;
}
body.tlook ul.products li.product .onsale.tlook-sale::before{ content:none; }
body.tlook ul.products li.product.outofstock .post_featured img{ opacity:.45; }
body.tlook ul.products li.product.outofstock .post_featured .onsale{ display:none !important; }
body.tlook ul.products li.product .outofstock_label{
  position:absolute !important; top:12px !important; left:12px !important; right:auto !important; transform:none !important;
  font-size:11px !important; font-weight:600 !important; letter-spacing:.8px !important; text-transform:uppercase !important;
  background:#fff !important; color:var(--tl-grey) !important; padding:4px 8px !important; border-radius:4px !important; border:1px solid var(--tl-line);
}
body.tlook ul.products li.product.outofstock .woocommerce-loop-product__title::after{ content:" · Sold"; color:var(--tl-grey2); font-weight:400; }

/* ---------- Filters sidebar ---------- */
body.tlook .sidebar .sc_form_field_title_caption{ font-size:15px !important; font-weight:600 !important; }
body.tlook .sidebar .sc_form_field_item_label{ font-size:14px !important; color:var(--tl-grey) !important; }
body.tlook .sidebar .sc_form_field_item_checked .sc_form_field_item_label{ color:var(--tl-ink) !important; font-weight:500; }
body.tlook .sidebar .sc_form_field_pa_size .sc_form_field_items{ display:flex; flex-wrap:wrap; gap:8px; }
body.tlook .sidebar .sc_form_field_pa_size .sc_form_field_item{
  border:1px solid #d9d9d9 !important; border-radius:999px !important; padding:0 14px !important; margin:0 !important;
  height:36px !important; line-height:34px !important; display:inline-flex !important; align-items:center !important;
  font-size:13px !important; font-weight:500 !important; background:#fff !important; color:var(--tl-ink) !important; min-width:0 !important; box-shadow:none !important;
}
body.tlook .sidebar .sc_form_field_pa_size .sc_form_field_item_label{ padding:0 !important; line-height:1 !important; }
body.tlook .sidebar .sc_form_field_pa_size .sc_form_field_item_checked{ background:var(--tl-ink) !important; border-color:var(--tl-ink) !important; color:#fff !important; }
body.tlook .sidebar .sc_form_field_pa_size .sc_form_field_item_checked .sc_form_field_item_label{ color:#fff !important; }
body.tlook .trx_addons_woocommerce_search_button_show{ background:var(--tl-ink) !important; color:#fff !important; border-radius:999px !important; }

/* ---------- Single product ---------- */
body.tlook .single-product .product_title{ font-size:36px !important; font-weight:700 !important; letter-spacing:-.5px !important; }
body.tlook .single-product .summary .price{ font-size:22px !important; color:var(--tl-ink) !important; }
body.tlook .single-product .summary .single_add_to_cart_button{
  background:var(--tl-ink) !important; color:#fff !important; border-radius:999px !important; padding:16px 36px !important; font-weight:600 !important;
}
body.tlook .single-product .summary .single_add_to_cart_button:hover{ background:var(--tl-plum) !important; }
body.tlook .single-product .woocommerce-product-attributes{ font-size:14px; }

/* ---------- Buttons & links ---------- */
body.tlook a{ color:var(--tl-ink); }
body.tlook .woocommerce-pagination .page-numbers.current{ background:var(--tl-ink) !important; color:#fff !important; border-radius:50% !important; }

/* ---------- Footer ---------- */
body.tlook .footer_wrap{ background:var(--tl-ink) !important; }
body.tlook .footer_wrap, body.tlook .footer_wrap a{ color:#c8c8c8 !important; }
body.tlook .footer_wrap h1, body.tlook .footer_wrap h2, body.tlook .footer_wrap h3, body.tlook .footer_wrap h4{ color:#fff !important; }
body.tlook .footer_wrap a:hover{ color:var(--tl-lime) !important; }

/* ---------- Phone ---------- */
@media (max-width:767px){
  .tlook-hero{ flex-direction:column; min-height:0; }
  .tlook-hero-text{ flex:none; padding:28px 20px 0; }
  .tlook-title{ font-size:44px !important; }
  .tlook-hero-collage{ min-height:210px; margin-top:8px; }
  .tlook-card{ width:46%; bottom:-22%; }
  .tlook-card-0{ left:-8%; } .tlook-card-1{ left:12%; } .tlook-card-2{ left:30%; width:50%; } .tlook-card-3{ left:52%; width:50%; } .tlook-card-4{ left:72%; }
  body.tlook .sc_layouts_logo img{ max-height:52px !important; }
}

/* ---------- Filters on top (desktop/tablet) ---------- */
@media (min-width:768px){
  body.tlook .content_wrap{ display:flex; flex-direction:column; }
  body.tlook .content_wrap > .tlook-hero{ order:-2; }
  body.tlook .content_wrap > .sidebar.widget_area{ order:-1; width:100% !important; max-width:none !important; float:none !important; margin:0 0 8px !important; padding:0 !important; }
  body.tlook .content_wrap > .content{ width:100% !important; max-width:none !important; float:none !important; margin:0 !important; padding-left:0 !important; padding-right:0 !important; }
  body.tlook .sidebar .sidebar_inner{ padding:0 !important; }
  body.tlook .sidebar .elementor-section, body.tlook .sidebar .elementor-column, body.tlook .sidebar .elementor-widget-wrap{ padding:0 !important; }
  body.tlook .sidebar .elementor-widget-spacer{ display:none !important; }
  body.tlook .trx_addons_woocommerce_search_form_fields_wrap_inner{ display:flex; flex-wrap:wrap; gap:12px 40px; align-items:flex-start; }
  body.tlook .sidebar .sc_form_field{ margin:0 !important; flex:0 1 auto; }
  body.tlook .sidebar .sc_form_field_title{ display:flex; align-items:center; gap:10px; margin:0 0 10px !important; padding:0 !important; border:0 !important; cursor:default !important; }
  body.tlook .sidebar .sc_form_field_title_caption{ font-size:12px !important; font-weight:600 !important; letter-spacing:1.2px; text-transform:uppercase; color:var(--tl-grey2) !important; }
  body.tlook .sidebar .sc_form_field_arrow{ display:none !important; }
  body.tlook .sidebar .sc_form_field_wrap{ display:block !important; height:auto !important; overflow:visible !important; }
  body.tlook .sidebar .sc_form_field_items{ display:flex !important; flex-wrap:wrap; gap:8px; max-height:none !important; }
  body.tlook .sidebar .sc_form_field_product_cat .sc_form_field_item{
    border:1px solid #d9d9d9 !important; border-radius:999px !important; padding:0 14px !important; margin:0 !important;
    height:36px !important; line-height:34px !important; display:inline-flex !important; align-items:center !important;
    font-size:13px !important; font-weight:500 !important; background:#fff !important; color:var(--tl-ink) !important;
  }
  body.tlook .sidebar .sc_form_field_product_cat .sc_form_field_item_label{ padding:0 !important; line-height:1 !important; color:var(--tl-ink) !important; }
  body.tlook .sidebar .sc_form_field_product_cat .sc_form_field_item_level_1{ padding-left:14px !important; }
  body.tlook .sidebar .sc_form_field_product_cat .sc_form_field_item_label::before{ display:none !important; }
  body.tlook .sidebar .sc_form_field_item:hover{ border-color:var(--tl-ink) !important; }
  body.tlook .sidebar .sc_form_field_item.sc_form_field_item_checked, body.tlook .sidebar .sc_form_field_item.sc_form_field_item_checked:hover{ background-color:var(--tl-ink) !important; border-color:var(--tl-ink) !important; }
  body.tlook .sidebar .sc_form_field_item.sc_form_field_item_checked .sc_form_field_item_label{ color:#fff !important; }
  body.tlook .trx_addons_woocommerce_search_header{ display:none !important; }
  body.tlook .trx_addons_woocommerce_search_button_show{ display:none !important; }
  body.tlook .trx_addons_woocommerce_search_form{ padding:18px 0 10px !important; border-bottom:1px solid var(--tl-line); margin-bottom:8px; }
  body.tlook .sidebar_control, body.tlook .sidebar_close{ display:none !important; }
}

/* ---------- Filters as dropdowns (desktop/tablet), v1.2 ---------- */
@media (min-width:768px){
  body.tlook .trx_addons_woocommerce_search_form_fields_wrap_inner{ display:flex !important; flex-wrap:wrap; align-items:center; gap:6px 28px !important; }
  body.tlook .trx_addons_woocommerce_search_form_fields_wrap_inner::before{ content:"Filter by"; font-size:14px; color:var(--tl-grey2); margin-right:-8px; }
  body.tlook .sidebar .sc_form_field{ position:relative !important; }
  body.tlook .sidebar .sc_form_field_title{ margin:0 !important; cursor:pointer !important; padding:8px 0 !important; gap:6px !important; user-select:none; }
  body.tlook .sidebar .sc_form_field_title_caption{ font-size:14px !important; font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important; color:var(--tl-ink) !important; }
  body.tlook .sidebar .sc_form_field_title::after{ content:""; width:7px; height:7px; border-right:1.6px solid var(--tl-ink); border-bottom:1.6px solid var(--tl-ink); transform:rotate(45deg) translate(-2px,-2px); margin-left:4px; transition:transform .15s; }
  body.tlook .sidebar .sc_form_field.tlook-open .sc_form_field_title::after{ transform:rotate(-135deg) translate(-2px,-2px); }
  body.tlook .sidebar .sc_form_field_selected_items{ font-size:13px; color:var(--tl-lime-ink); font-weight:600; }
  body.tlook .sidebar .sc_form_field_wrap{
    display:none !important; position:absolute !important; top:calc(100% + 6px); left:-14px; z-index:100;
    background:#fff !important; border-radius:10px; box-shadow:0 12px 32px rgba(0,0,0,.14); padding:14px !important; min-width:220px; max-width:340px;
  }
  body.tlook .sidebar .sc_form_field.tlook-open .sc_form_field_wrap{ display:block !important; }
  body.tlook .sidebar .sc_form_field_product_cat .sc_form_field_items{ flex-direction:column; gap:2px !important; }
  body.tlook .sidebar .sc_form_field_product_cat .sc_form_field_item{ border:0 !important; border-radius:6px !important; height:34px !important; padding:0 10px !important; width:100%; justify-content:flex-start; }
  body.tlook .sidebar .sc_form_field_product_cat .sc_form_field_item_level_1{ padding-left:10px !important; }
  body.tlook .sidebar .sc_form_field_product_cat .sc_form_field_item:hover{ background:var(--tl-tile) !important; }
  body.tlook .sidebar .sc_form_field_item_label{ border:0 !important; background:none !important; box-shadow:none !important; outline:0 !important; }
  body.tlook .trx_addons_woocommerce_search_form{ padding:10px 0 !important; }
}

/* ---------- Size line under product name ---------- */
body.tlook .tlook-size{ font-size:13px; color:var(--tl-grey2); margin:0 0 4px; font-weight:500; }
body.tlook .single-product .summary .tlook-size{ font-size:15px; color:var(--tl-grey); margin:4px 0 10px; }

/* ---------- Sticky filter bar gets a solid background ---------- */
@media (min-width:768px){
  body.tlook .content_wrap > .sidebar.widget_area{ background:#fff !important; z-index:40 !important; margin:0 -40px 8px !important; padding:0 40px !important; width:calc(100% + 80px) !important; }
  body.tlook .trx_addons_woocommerce_search_form{ margin-bottom:0 !important; }
}

/* ---------- 5-up grid + quick add (v1.4) ---------- */
body.tlook ul.products{ display:grid !important; grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:36px 20px !important; margin:0 !important; }
body.tlook ul.products::before, body.tlook ul.products::after{ display:none !important; }
body.tlook ul.products li.product{ width:auto !important; float:none !important; padding:0 !important; margin:0 !important; }
body.tlook ul.products li.product .woocommerce-loop-product__title{ font-size:14px !important; }
body.tlook ul.products li.product .post_data .add_to_cart_button{
  display:inline-flex !important; align-items:center; justify-content:center; margin-top:10px !important; height:38px !important;
  padding:0 14px !important; border-radius:999px !important; background:var(--tl-ink) !important; color:#fff !important;
  font-size:13px !important; font-weight:600 !important; line-height:1 !important; border:0 !important; width:100%; box-sizing:border-box;
  text-transform:none !important; letter-spacing:0 !important; transition:background .15s;
}
body.tlook ul.products li.product .post_data .add_to_cart_button:hover{ background:var(--tl-plum) !important; }
body.tlook ul.products li.product .post_data .add_to_cart_button.loading{ opacity:.55; pointer-events:none; }
body.tlook ul.products li.product .post_data .add_to_cart_button.tlook-added{ background:var(--tl-lime-soft) !important; color:var(--tl-lime-ink) !important; }
body.tlook ul.products li.product .post_data .added_to_cart{ display:none !important; }
body.tlook ul.products li.product.outofstock .post_data .button{ display:none !important; }
@media (max-width:1199px){ body.tlook ul.products{ grid-template-columns:repeat(4,minmax(0,1fr)) !important; } }
@media (max-width:991px){ body.tlook ul.products{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; } }
@media (max-width:767px){ body.tlook ul.products{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:28px 14px !important; } }

/* Guests only: no account link in the header (also removed by script; this stops it flashing). */
body:not(.logged-in) .sc_layouts_login,body:not(.logged-in) .sc_layouts_item:has(> .elementor-widget-container > .sc_layouts_login){display:none!important}
