/*
Theme Name:   Hello Elementor Child
Theme URI:    https://woodworks.vevos.digital
Description:  Child theme of Hello Elementor for The Wood Works. Custom PHP and CSS
              belong here so they survive parent-theme updates.
Author:       Vevos
Author URI:   https://vevos.digital
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

/* Site-specific CSS goes below. Design tokens live in the Elementor kit, not here. */

/* =========================================================================
   Main nav + Products mega panel (redesign brief sections 2 and 3)
   Shared by the static menu row and the sticky bar via the .tww-mainnav class
   on each nav widget. Replaces the layered rules from 23-24 Sep.
   ========================================================================= */

/* The header needs its own stacking context or page content paints over the panel */
[data-elementor-type="header"] { position: relative; z-index: 100; }
.elementor-element-twwnav01 { position: relative; z-index: 101; }

/* The panel resolves against the full-width row, not the menu's own width */
.tww-mainnav,
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu,
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children { position: static; }
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > a[href="#"] { cursor: default; }

/* The panel. SmartMenus writes width/left/margin inline when it opens a
   submenu, so the geometry needs !important. Inner content is a centred
   1320 container (1256 + 32px gutters) on a full-width white band. */
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu {
  --tww-pad: max(32px, calc((100% - 1256px) / 2));
  position: absolute; top: 100%; z-index: 200 !important;
  left: 0 !important; right: 0 !important; width: 100% !important;
  max-width: none !important; min-width: 0 !important; margin: 0 !important;
  box-sizing: border-box; border-radius: 0;
  padding: 30px calc(var(--tww-pad) + 328px) 34px var(--tww-pad) !important; /* 280 popular + 48 gap */
  columns: 4 170px; column-gap: 28px;
  background: #fff;
  border-top: 1px solid #e8dfd4; border-bottom: 1px solid #e8dfd4;
  box-shadow: 0 18px 40px -20px rgba(20,16,12,.25);
}
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu::before {
  content: "All categories"; display: block; column-span: all; margin-bottom: 14px;
  font: 400 12px/1.3 'Hanken Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6f6961;
}
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu > li { break-inside: avoid; width: 100%; }
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu > li > a {
  display: block; padding: 5px 0 !important; border: 0 !important; background: transparent !important;
  font: 400 14px/1.4 'Hanken Grotesk', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
  color: #2e221b !important; white-space: normal;
}
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu > li > a:hover { color: #86652f !important; }

/* "Popular right now": pinned right, outside the column flow */
li.tww-mega-feature { display: none !important; }
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu > li.tww-mega-feature {
  display: block !important; position: absolute !important;
  top: 30px; right: var(--tww-pad); left: auto !important; width: 280px !important;
}
.tww-mega-feature__inner { display: grid; gap: 12px; }
.tww-mega-feature__head { font: 400 12px/1.3 'Hanken Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6f6961; margin-bottom: 2px; }
a.tww-mega-tile { display: flex !important; align-items: center; gap: 14px; padding: 0 !important; background: transparent !important; text-decoration: none; }
a.tww-mega-tile img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex: none; background: #f4eee7; }
.tww-mega-tile__text { display: grid; min-width: 0; }
.tww-mega-tile__label { font: 500 14px/1.35 'Hanken Grotesk', sans-serif; color: #2e221b; }
.tww-mega-tile__sub { font: 400 13px/1.35 'Hanken Grotesk', sans-serif; color: #6f6961; }
a.tww-mega-tile:hover .tww-mega-tile__label { color: #86652f; }

/* =========================================================================
   Sticky compact header (brief section 3). Fixed, slides in past 240px
   (body.tww-stuck, toggled from functions.php). Desktop only: at 1024px and
   below the Kirema mobile header takes over, matching the main nav row.
   ========================================================================= */
.tww-sticky {
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fbf9f6; border-bottom: 1px solid #e8dfd4;
  box-shadow: 0 8px 24px -16px rgba(20,16,12,.35);
  transform: translateY(-110%); visibility: hidden;
  transition: transform .28s ease, visibility 0s linear .28s;
}
body.tww-stuck .tww-sticky { transform: none; visibility: visible; transition: transform .28s ease; }
body.admin-bar .tww-sticky { top: 32px; }
@media (max-width: 1024px) { .tww-sticky { display: none !important; } }
.tww-sticky .tww-mainnav { flex: 0 0 auto; margin: 0 auto; }
.tww-sticky .tww-mainnav ul.elementor-nav-menu { flex-wrap: nowrap; }
.tww-sticky .tww-sticky-search { flex: 1 1 200px; max-width: 220px; min-width: 40px; }
.tww-sticky .tww-sticky-search .e-search-form {
  height: 38px; background: #fff; border: 1px solid #e8dfd4; border-radius: 999px;
  padding: 0 13px; align-items: center; gap: 8px; box-sizing: border-box; overflow: hidden;
}
.tww-sticky .tww-sticky-search .e-search-input-wrapper { flex: 1 1 auto; min-width: 0; }
.tww-sticky .tww-sticky-search .e-search-input {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  height: 36px; padding: 0 0 0 26px !important; font-size: 14px; color: #2e221b;
}
.tww-sticky .tww-sticky-search .e-search-input::placeholder { color: #6f6961; opacity: 1; }
.tww-sticky .tww-sticky-search .e-search-label i { background-color: #6f6961; }

/* ---- Loop grid product cards -------------------------------------------
   Kirema's card assumes uniform furniture photography. Wood Works product
   shots vary from 77px to 411px tall at the same width, which makes the grid
   ragged. Force a consistent square image area, letterboxed not cropped, so
   tools are never sliced. (Ports the rule the old shop-grid mu-plugin applied
   before the Elementor archive template took over the markup.) */
.e-loop-item .elementor-widget-theme-post-featured-image img,
.e-loop-item .elementor-widget-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  background: #F6F4F2;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 6px;
  display: block;
}

/* equal-height cards so the row baseline is consistent */
.elementor-loop-container .e-loop-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---- Product card: title / price row ------------------------------------
   Kirema's card is built for a short furniture name and a single price. Wood
   Works titles run long and grouped products show a RANGE ($76.59 - $81.81),
   which wrapped onto two lines inside the kit's fixed-width price column.
   Let the price size to its own content on one line and give the title
   whatever width is left.

   Scoped to >=768px on purpose: below that the kit stacks title and price
   (elementor-widget-mobile__width-inherit) and forcing them side by side
   squeezes the title down to ~30px. */
@media (min-width: 768px) {
  .e-loop-item .elementor-widget-woocommerce-product-price {
    width: auto !important;
    flex: 0 0 auto !important;
    align-self: flex-start;
    padding-left: 12px;
  }
  .e-loop-item .elementor-widget-icon-box {
    width: auto !important;
    flex: 1 1 0 !important;   /* basis 0, or a long title claims the whole row
                                 and pushes the price onto a second line */
    min-width: 0;
    align-self: flex-start;
  }
  /* keep the title and price on one row whatever the title length */
  .e-loop-item .e-con-inner:has(> .elementor-widget-woocommerce-product-price) {
    flex-wrap: nowrap;
  }
}

/* Price never breaks mid-range, at any width. */
.e-loop-item p.price {
  white-space: nowrap;
  font-size: 14px;
  margin: 0;
}

/* Title capped at two lines and the category line at one, so every card in a
   row ends at the same height regardless of how long the imported name is. */
.e-loop-item .elementor-icon-box-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.e-loop-item .elementor-icon-box-description {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Header search pill (redesign brief §2) -----------------------------
   The Elementor Pro search widget styles the <input> as the pill. The brief
   wants the whole FORM as the pill: white, 1px line border, 46px tall, with
   the magnifier, a transparent input and a 34px ink "Search" button inside. */
:is(.elementor-element-52a85d77, .elementor-element-twsrch2) .e-search-form {
  height: 46px;
  background: #fff;
  border: 1px solid #e8dfd4;
  border-radius: 999px;
  padding: 0 6px 0 18px;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}
:is(.elementor-element-52a85d77, .elementor-element-twsrch2) .e-search-input-wrapper { flex: 1 1 auto; min-width: 0; }
:is(.elementor-element-52a85d77, .elementor-element-twsrch2) .e-search-input {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  height: 44px;
  padding: 0 0 0 26px !important;   /* room for the magnifier */
  font-size: 14px;
  color: #2e221b;
  box-shadow: none !important;
}
:is(.elementor-element-52a85d77, .elementor-element-twsrch2) .e-search-input::placeholder { color: #6f6961; opacity: 1; }
:is(.elementor-element-52a85d77, .elementor-element-twsrch2) .e-search-label i { background-color: #6f6961; }
:is(.elementor-element-52a85d77, .elementor-element-twsrch2) .e-search-submit {
  height: 34px;
  padding: 0 18px;
  background: #2e221b !important;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
:is(.elementor-element-52a85d77, .elementor-element-twsrch2) .e-search-submit:hover { background: #3d2e24 !important; }
:is(.elementor-element-52a85d77, .elementor-element-twsrch2) .e-search-submit { text-transform: none; letter-spacing: 0; }

/* ---- Header cart badge (brief section 2) ---------------------------------
   Typography, icon position and colours are set on the widget itself; only the
   badge geometry needs CSS (18px circle, 11px/600 dark text). */
.tww-cart .elementor-button-icon-qty[data-counter] {
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 9px;
  padding: 0 4px;
  top: -6px;
  right: -9px;
  background: #b48d4c !important;
  color: #1a1612 !important;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
}

/* =========================================================================
   Homepage redesign (Claude Design handoff 2026-09-24)
   Only what Elementor can't express natively. Colours/type live on widgets.
   ========================================================================= */
body { background: #fbf9f6; }
.tww-num, .tww-num .amount, .tww-tile-foot .price { font-variant-numeric: tabular-nums; }

/* Hero: the brief's wash has three stops; Elementor's overlay only takes two */
.elementor-element-twhero01::before {
  background-image: linear-gradient(90deg, rgba(18,14,11,.78) 0%, rgba(18,14,11,.45) 45%, rgba(18,14,11,0) 75%) !important;
  opacity: 1 !important;
}
.elementor-element-twhero04 .elementor-heading-title { text-wrap: balance; }

/* Sidebar: plain list, hairline rows, chevron, brass + 6px indent on hover */
@media (min-width: 1025px) {
  .tww-side { position: sticky; top: 80px; align-self: flex-start; }
}
.tww-catlist ul.product-categories { list-style: none; margin: 0; padding: 0; }
.tww-catlist ul.product-categories li { margin: 0; padding: 0; }
.tww-catlist ul.product-categories li a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid #e8dfd4;
  font-size: 14px; line-height: 1.4; color: #2e221b; text-decoration: none;
}
.tww-catlist ul.product-categories li a::after { content: "\203A"; color: #b3aca3; }
.tww-catlist ul.product-categories li a:hover { color: #86652f; } /* no indent on hover (Nick, 24 Sep) */
.tww-catlist ul.product-categories .count { display: none; }

/* Featured tile: tinted square well, product blended into it */
.tww-tile-well a, .tww-tile-well img { display: block; }
.e-loop-item .tww-tile-well img { /* beats the older generic loop-card rule (#F6F4F2 / 12px) */
  width: 100% !important; height: auto !important; aspect-ratio: 1 / 1;
  object-fit: contain; padding: 18px !important; box-sizing: border-box;
  background: #f4eee7; border-radius: 4px; mix-blend-mode: multiply;
}
.e-loop-item .tww-tile-well a { background: #f4eee7; border-radius: 4px; overflow: hidden; }
.tww-tile-foot { margin-top: auto !important; }
.tww-tile-cta { flex: 0 0 auto; }
.tww-tile-cta .tww-tile-btn,
.tww-tile-cta a.button {
  display: inline-block; white-space: nowrap;
  border: 1px solid #2e221b !important; background: transparent !important; color: #2e221b !important;
  border-radius: 999px !important; padding: 8px 16px !important;
  font-family: 'Hanken Grotesk', sans-serif; font-size: 13px !important; font-weight: 500; line-height: 1.2;
  text-transform: none; letter-spacing: 0; transition: background .15s ease, color .15s ease;
}
.tww-tile-cta .tww-tile-btn:hover, .tww-tile-cta a.button:hover { background: #2e221b !important; color: #fff !important; }
.tww-tile-cta a.added_to_cart { display: none; }

/* Featured carousel: arrows + "1 / 2" sit top-right, in the heading row */
.tww-featured { position: relative; }
.tww-featured .elementor-swiper-button,
.tww-featured .swiper-pagination-fraction { top: -62px !important; bottom: auto !important; transform: none !important; }
.tww-featured .elementor-swiper-button {
  position: absolute; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid #e8dfd4; background: #fff; color: #2e221b;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: border-color .15s ease;
}
.tww-featured .elementor-swiper-button:hover { border-color: #2e221b; }
.tww-featured .elementor-swiper-button svg { width: 14px; height: 14px; fill: #2e221b; }
.tww-featured .elementor-swiper-button-next { right: 0 !important; left: auto !important; }
.tww-featured .elementor-swiper-button-prev { right: 48px !important; left: auto !important; }
.tww-featured .swiper-pagination-fraction {
  position: absolute; left: auto !important; right: 98px !important; width: auto !important;
  height: 38px; line-height: 38px; font-size: 13px; color: #6f6961; font-variant-numeric: tabular-nums;
}

/* Brands spread across the row */
.tww-brands .elementor-icon-list-items { justify-content: space-between; row-gap: 16px; column-gap: 28px; margin-left: 0 !important; margin-right: 0 !important; } /* inline lists get -space/2 margins that overran the row by 14px */
.tww-brands .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.tww-brands .elementor-icon-list-item::after { display: none !important; }

/* Blog: 4:3 cover, date above the title as in the design */
.tww-blog .elementor-post__text { display: flex; flex-direction: column; gap: 10px; }
.tww-blog .elementor-post__meta-data { order: -1; margin: 0 !important; }
.tww-blog .elementor-post__title, .tww-blog .elementor-post__excerpt p { margin: 0 !important; }
.tww-blog .elementor-post__thumbnail { border-radius: 4px; overflow: hidden; background: #f4eee7; }

/* Featured tile price: 16px/600 per brief (the older card rule forces 14px) */
.e-loop-item .tww-tile-foot p.price, .e-loop-item .tww-tile-foot .price { font-size: 16px; font-weight: 600; }

/* Footer contact: email is white and underlined per brief */
.tww-foot-contact p { margin: 0 0 10px; }
.tww-foot-contact a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.tww-foot-contact a:hover { color: #e4cf9f !important; }

/* Sticky logo: size by height and let width follow the aspect ratio. Without this
   the hi-res PNG keeps its intrinsic width (680px box) and crowds the bar. */
.tww-sticky .elementor-element-twstlogo { flex: 0 0 auto; }
.tww-sticky .elementor-element-twstlogo img { height: 38px !important; width: auto !important; max-width: none; }
.tww-sticky .tww-cart, .tww-sticky .elementor-element-twstacct { flex: 0 0 auto; }

/* Mega panel: hold it open for the Popular column (absolutely positioned, so it
   does not size the panel): 30 + heading + 3x64 rows + gaps + 34 */
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu { min-height: 310px; }
/* no per-item dividers in the design (left over from the kit dropdown styling) */
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu > li { border: 0 !important; }
.tww-mainnav .elementor-nav-menu--main > ul.elementor-nav-menu > li.menu-item-has-children > ul.sub-menu > li > a { border-bottom: 0 !important; }

/* Modal forms (brief section 8): 46px fields */
.tww-modal-form .elementor-field-textual { min-height: 46px; padding: 0 14px; }
.tww-modal-form .elementor-button { min-height: 46px; margin-top: 6px; }

/* Footer logo: size by height, width from the aspect ratio (else it letterboxes
   inside a 468px box and reads as centred) */
.elementor-element-twfA1 img { height: 54px !important; width: auto !important; max-width: 100%; }
/* Sticky search: icon and placeholder were touching; leave an 8px gap */
.tww-sticky .tww-sticky-search .e-search-input { padding-left: 34px !important; }

/* Mobile header: the cart total made the icon cluster wrap under the hamburger.
   Bag + badge only on phones, as before. */
@media (max-width: 767px) {
  .elementor-element-3e93b6d9 .elementor-menu-cart__toggle_button .elementor-button-text { display: none; }
}

/* "Log in" never breaks mid-label (tablet); icon-only on phones, as before */
.elementor-element-twwlogin .elementor-icon-list-text { white-space: nowrap; }
@media (max-width: 767px) {
  .elementor-element-twwlogin .elementor-icon-list-text { display: none; }
}

/* Header logo: size by height so the graphic starts at the box edge and lines
   up with the hero (it was letterboxed in the centre of a 410px box). */
.elementor-element-7ea2ccd6 img { width: auto !important; height: 58px !important; max-width: 100%; }

/* Utility bar contacts: inline icon lists get -space/2 side margins, which pushed
   the email 12px past the hero edge */
.elementor-element-7f6e6ed8 .elementor-icon-list-items.elementor-inline-items { margin-right: 0 !important; margin-left: 0 !important; column-gap: 24px; }
.elementor-element-7f6e6ed8 .elementor-inline-item { margin: 0 !important; }
.elementor-element-7f6e6ed8 .elementor-inline-item::after { display: none !important; }
/* Sidebar categories: nothing animates on hover */
.tww-catlist ul.product-categories li a { transition: none !important; }

/* =========================================================================
   Product archives (shop, categories, tags, product search) - template 6070,
   styled to match the homepage.
   ========================================================================= */
.tww-crumbs .woocommerce-breadcrumb { margin: 0; }
.tww-crumbs a { text-decoration: none; }
.tww-crumbs a:hover { color: #86652f !important; }
.tww-archive-desc { max-width: 720px; }
.tww-archive-desc p { margin: 0 0 8px; }

/* Sidebar tree: every top level, plus the open path down to the current category */
.tww-catlist--tree ul.product-categories .children { display: none; list-style: none; margin: 0; padding: 0; }
.tww-catlist--tree ul.product-categories .current-cat > .children,
.tww-catlist--tree ul.product-categories .current-cat-parent > .children { display: block; }
.tww-catlist--tree ul.product-categories .children li a {
  padding: 7px 0 7px 14px; font-size: 13px; color: #4d4741;
}
.tww-catlist--tree ul.product-categories .children .children li a { padding-left: 28px; }
.tww-catlist--tree ul.product-categories .children li a::after { content: none; }
.tww-catlist ul.product-categories li.current-cat > a { color: #86652f; font-weight: 600; }

/* Count + sort */
.tww-archive-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tww-archive-count { font-size: 13px; color: #6f6961; font-variant-numeric: tabular-nums; }
.tww-archive-sort { margin: 0; }
.tww-archive-sort select {
  height: 38px; padding: 0 36px 0 16px; border: 1px solid #e8dfd4; border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232e221b' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none;
  font: 400 13px/1 'Hanken Grotesk', sans-serif; color: #2e221b; cursor: pointer;
}

/* Pagination: 38px circles, matching the carousel arrows */
.tww-archive-grid .elementor-pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px;
  font: 500 14px/1 'Hanken Grotesk', sans-serif; font-variant-numeric: tabular-nums;
}
.tww-archive-grid .elementor-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 6px; margin: 0 !important; box-sizing: border-box;
  border: 1px solid #e8dfd4; border-radius: 999px; background: #fff; color: #2e221b; text-decoration: none;
}
.tww-archive-grid .elementor-pagination a.page-numbers:hover { border-color: #2e221b; }
.tww-archive-grid .elementor-pagination .page-numbers.current { background: #2e221b; border-color: #2e221b; color: #fff; }
.tww-archive-grid .elementor-pagination .page-numbers.dots { border: 0; background: none; min-width: 20px; }
.tww-archive-grid .elementor-pagination .page-numbers.prev, .tww-archive-grid .elementor-pagination .page-numbers.next { font-size: 16px; }

/* Category tree as an accordion (functions.php adds .tww-tree-ready). Without JS
   the current path stays open via the rules above. Nothing animates. */
.tww-catlist--tree ul.product-categories.tww-tree-ready li > .children { display: none; }
.tww-catlist--tree ul.product-categories.tww-tree-ready li.tww-open > .children { display: block; }
.tww-catlist--tree ul.product-categories li.cat-parent > a::after { transition: none; }
.tww-catlist--tree ul.product-categories li.cat-parent.tww-open > a::after { transform: rotate(90deg); }
.tww-catlist--tree ul.product-categories .children li.cat-parent > a::after { content: "\203A"; color: #b3aca3; }
.tww-catlist--tree ul.product-categories li.tww-cat-all > a { font-weight: 500; color: #2e221b; }
.tww-catlist--tree ul.product-categories li.tww-cat-all.current-cat > a { color: #86652f; font-weight: 600; }
/* the parent row itself is only "current" in colour once its branch is showing */
.tww-catlist--tree ul.product-categories li.cat-parent.current-cat > a { font-weight: 600; }

/* WooCommerce notices ("added to your cart" etc.): in the 1320 container, site style */
.woocommerce-notices-wrapper:not(:empty) { max-width: 1384px; margin: 20px auto 0; padding: 0 32px; box-sizing: border-box; } /* 1320 column + 32px gutters */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 0 !important; padding: 14px 18px !important; border: 1px solid #e8dfd4 !important; border-radius: 4px;
  background: #f4eee7 !important; color: #2e221b !important; font: 400 14px/1.5 "Hanken Grotesk", sans-serif;
}
.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before { color: #86652f !important; position: static !important; margin-right: 10px; }
.woocommerce-notices-wrapper .woocommerce-error { background: #fbeeee !important; border-color: #efcfcf !important; }
.woocommerce-notices-wrapper .button.wc-forward {
  order: 2; margin-left: auto; padding: 8px 16px !important; border: 1px solid #2e221b !important; border-radius: 999px !important;
  background: transparent !important; color: #2e221b !important; font: 500 13px/1.2 "Hanken Grotesk", sans-serif !important; text-transform: none !important;
}
.woocommerce-notices-wrapper .button.wc-forward:hover { background: #2e221b !important; color: #fff !important; }
/* header cart total: all prices are GST-inclusive, the "(incl. tax)" suffix is noise there */
.elementor-menu-cart__toggle .tax_label, .elementor-menu-cart__toggle small { display: none; }

/* =========================================================================
   Product + category pages (Claude Design handoff "product_category", 24 Sep)
   Templates: 6077 single product, 6070 archive, 6151 archive card.
   Components are rendered by inc/tww-shop.php.
   ========================================================================= */

/* ---- breadcrumb ---- */
.tww-crumbs .woocommerce-breadcrumb { margin: 0; color: #2e221b; }
.tww-crumbs .woocommerce-breadcrumb a { color: #6f6961 !important; text-decoration: none; }
.tww-crumbs .woocommerce-breadcrumb a:hover { color: #2e221b !important; }
.tww-crumbs .tww-sep { color: #b3aca3; margin: 0 8px; }

/* ---- sidebar on shop pages: 240px, sticky under the sticky header ---- */
.tww-side.tww-side--shop { position: sticky; top: 24px; align-self: flex-start; width: 240px !important; flex: 0 0 240px !important; }
body.tww-stuck .tww-side.tww-side--shop { top: 96px; }
@media (max-width: 1099px) { body.single-product .tww-side--shop { display: none !important; } }
@media (max-width: 999px)  { .tww-side--shop { display: none !important; } }

/* category tree (shared with the homepage): row borders sit on the <li> so an
   open branch's subcategories stay inside its row */
.tww-catlist--tree ul.product-categories > li { border-bottom: 1px solid #e8dfd4; }
.tww-catlist--tree ul.product-categories > li > a { border-bottom: 0 !important; }
.tww-catlist--tree ul.product-categories > li.tww-open > a { font-weight: 600; color: #2e221b; }
.tww-catlist--tree ul.product-categories li.cat-parent.tww-open > a::after { content: "\2304"; transform: none; }
.tww-catlist--tree ul.product-categories > li > .children {
  padding: 0 0 10px 12px !important; margin: 0 0 4px !important; border-left: 1px solid #e8dfd4;
}
.tww-catlist--tree ul.product-categories .children li { border: 0 !important; }
.tww-catlist--tree ul.product-categories .children li a {
  padding: 4px 0 !important; border: 0 !important; font-size: 13px; color: #6f6961; font-weight: 400;
}
.tww-catlist--tree ul.product-categories .children .children { padding-left: 12px !important; border-left: 1px solid #e8dfd4; margin: 2px 0 4px !important; }
.tww-catlist--tree ul.product-categories .children li.current-cat > a,
.tww-catlist--tree ul.product-categories .children li.tww-cat-all.current-cat > a { color: #2e221b; font-weight: 600; }
.tww-catlist--tree ul.product-categories .children li.tww-cat-all > a { color: #6f6961; font-weight: 500; }

/* =========================================================================
   Single product
   ========================================================================= */
.tww-product-main, .tww-archive-main { min-width: 0; }
.tww-imgcol { flex: 1 1 360px !important; width: auto !important; max-width: 440px; position: sticky; top: 24px; }
body.tww-stuck .tww-imgcol { top: 96px; }
.tww-infocol { flex: 1.5 1 480px !important; width: auto !important; min-width: 0; }

/* image well: the photo is never enlarged (natural size or smaller, max 300px) */
.tww-well { position: relative; aspect-ratio: 1 / 1; background: #f4eee7; border-radius: 6px; overflow: hidden; }
.tww-well__img {
  position: absolute; inset: 0; margin: auto; display: block;
  width: auto !important; height: auto !important;
  max-width: min(calc(100% - 80px), 300px) !important; max-height: calc(100% - 80px) !important;
  mix-blend-mode: multiply;
}
.tww-well--empty { display: flex; align-items: center; justify-content: center; }
.tww-well--empty span, .tww-card__noimg { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #a39b91; }
.tww-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tww-thumb {
  width: 56px; height: 56px; padding: 4px !important; box-sizing: border-box; cursor: pointer;
  background: #f4eee7 !important; border: 1px solid transparent !important; border-radius: 4px !important;
}
.tww-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tww-thumb.is-active { border-color: #2e221b !important; }

/* questions card */
.tww-questions { border: 1px solid #e8dfd4; border-radius: 6px; padding: 20px 22px; }
.tww-questions h3 { font: 400 19px/1.3 'Marcellus', serif; color: #2e221b; margin: 0 0 6px; }
.tww-questions p { margin: 0; font: 400 14px/1.55 'Hanken Grotesk', sans-serif; color: #6f6961; }
.tww-questions a { color: #2e221b; font-weight: 600; text-decoration: none; }
.tww-questions a:hover { color: #86652f; }

/* info column */
.tww-eyebrow { font: 400 12px/1.3 'Hanken Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #86652f; text-decoration: none; }
.tww-eyebrow:hover { color: #2e221b; }
.tww-product-h1 .elementor-heading-title { font-size: clamp(26px, 2.6vw, 36px) !important; text-wrap: pretty; }
.tww-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.tww-price-row__price { font-size: 24px; font-weight: 600; color: #2e221b; font-variant-numeric: tabular-nums; }
.tww-price-row__gst { font-size: 13px; color: #6f6961; }
.tww-price-row__count { font-size: 13px; color: #6f6961; padding-left: 14px; border-left: 1px solid #e8dfd4; }
.tww-short { margin: 0; font-size: 15px; line-height: 1.65; color: #4d4741; max-width: 640px; text-wrap: pretty; }

/* grouped options panel */
.tww-buy { margin: 0; }
.tww-buy--grouped { border: 1px solid #e8dfd4; border-radius: 6px; background: #fff; overflow: hidden; }
.tww-buy__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e8dfd4; }
.tww-buy__eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6f6961; }
.tww-buy__filter { flex: 0 1 260px; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; box-sizing: border-box; border: 1px solid #e8dfd4; border-radius: 999px; background: #fbf9f6; margin: 0; }
.tww-buy__filter input { flex: 1; min-width: 0; height: 32px; padding: 0 !important; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; font: 400 13px 'Hanken Grotesk', sans-serif; color: #2e221b; }
.tww-buy__list--scroll { max-height: 440px; overflow-y: auto; }
.tww-opt { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid #e8dfd4; }
.tww-opt[hidden] { display: none; }
.tww-opt.is-selected { background: #f4eee7; }
.tww-opt__main { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
.tww-opt__label { font-size: 14px; font-weight: 500; line-height: 1.35; color: #2e221b; }
.tww-opt__code { font-size: 12px; color: #6f6961; }
.tww-opt__price { flex: 0 0 auto; min-width: 72px; text-align: right; font-size: 14px; font-weight: 600; color: #2e221b; font-variant-numeric: tabular-nums; }
.tww-opt__na { flex: 0 0 92px; text-align: center; font-size: 12px; color: #6f6961; }
.tww-opt.is-unavailable .tww-opt__label, .tww-opt.is-unavailable .tww-opt__price { color: #6f6961; }
.tww-buy__none { padding: 22px 18px; font-size: 14px; color: #6f6961; }
.tww-buy__none[hidden] { display: none; }
.tww-buy__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 18px; background: #fbf9f6; }
.tww-buy__sum { display: grid; gap: 1px; }
.tww-buy__status { font-size: 13px; color: #6f6961; }
.tww-buy__total { font-size: 18px; font-weight: 600; color: #2e221b; font-variant-numeric: tabular-nums; }

/* steppers */
.tww-step { flex: 0 0 auto; display: flex; align-items: center; border: 1px solid #e8dfd4; border-radius: 999px; background: #fff; }
.tww-step__btn {
  display: flex; align-items: center; justify-content: center; padding: 0 !important; cursor: pointer;
  border: 0 !important; border-radius: 999px !important; background: none !important; color: #2e221b !important;
  font-family: 'Hanken Grotesk', sans-serif; line-height: 1; box-shadow: none !important;
}
.tww-step__btn:hover { background: #f4eee7 !important; }
.tww-step__val { text-align: center; font-variant-numeric: tabular-nums; color: #2e221b; }
.tww-step--sm { height: 34px; }
.tww-step--sm .tww-step__btn { width: 32px; height: 32px; font-size: 16px; }
.tww-step--sm .tww-step__val { width: 24px; font-size: 14px; }
.tww-opt.is-selected .tww-step__val { font-weight: 600; }
.tww-step--lg { height: 46px; }
.tww-step--lg .tww-step__btn { width: 44px; height: 44px; font-size: 17px; }
.tww-step--lg .tww-step__val { width: 28px; font-weight: 600; }

/* add to cart */
.tww-buy__add {
  height: 46px; padding: 0 30px !important; cursor: pointer;
  border: 0 !important; border-radius: 999px !important; background: #2e221b !important; color: #fff !important;
  font: 600 14px/1 'Hanken Grotesk', sans-serif !important; text-transform: none !important; letter-spacing: 0 !important;
}
.tww-buy__add:not(:disabled):hover { background: #3d2e24 !important; }
.tww-buy__add:disabled { opacity: .35; cursor: default; }
.tww-buy__msg { padding: 10px 18px; font-size: 13px; color: #8a2b2b; background: #fbeeee; }
.tww-buy__msg[hidden] { display: none; }
.tww-buy--simple { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tww-buy--simple .tww-buy__add { flex: 0 1 260px; }
.tww-buy--simple .tww-buy__msg { flex-basis: 100%; border-radius: 6px; }
.tww-buy__unavailable { margin: 0; font-size: 14px; color: #4d4741; }
.tww-buy__unavailable a { color: #2e221b; font-weight: 600; }

/* meta list */
.tww-meta { display: grid; margin: 0; font-size: 14px; border-top: 1px solid #e8dfd4; }
.tww-meta__row { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid #e8dfd4; }
.tww-meta dt { flex: 0 0 110px; font-weight: 400; color: #6f6961; }
.tww-meta dd { flex: 1; min-width: 0; margin: 0; color: #2e221b; }
.tww-meta dd a { color: #2e221b; text-decoration: none; }
.tww-meta dd a:hover { color: #86652f; }
.tww-meta .tww-sep { color: #b3aca3; margin: 0 6px; }

/* tabs */
.tww-tabs-wrap { padding-bottom: 80px; }
.tww-tabs__bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 44px; border-bottom: 1px solid #e8dfd4; }
.tww-tabs__tab {
  padding: 16px 0 !important; margin-bottom: -1px; cursor: pointer;
  border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: none !important;
  font: 400 20px/1.2 'Marcellus', serif !important; color: #8a837a !important; text-transform: none !important; letter-spacing: 0 !important;
}
.tww-tabs__tab.is-active { color: #2e221b !important; border-bottom-color: #2e221b !important; }
.tww-tabs__panel { max-width: 780px; margin: 0 auto; padding-top: 40px; font: 400 16px/1.75 'Hanken Grotesk', sans-serif; color: #3d3630; }
.tww-tabs__panel[hidden] { display: none; }
.tww-desc-body > * { margin: 0; }
.tww-desc-body > * + * { margin-top: 18px; }
.tww-desc-body strong { color: #2e221b; }
.tww-desc-body h2, .tww-desc-body h3, .tww-desc-body h4 { font: 400 22px/1.3 'Marcellus', serif; color: #2e221b; margin-top: 28px; }
.tww-desc-body img {
  display: block; max-width: 100%; height: auto; margin: 0 auto; box-sizing: border-box;
  background: #fff; border: 1px solid #e8dfd4; border-radius: 6px; padding: 20px;
}
.tww-desc-body hr { border: 0; border-top: 1px solid #e8dfd4; }
.tww-desc-body ul, .tww-desc-body ol { padding-left: 20px; }
.tww-desc-body li + li { margin-top: 6px; }
.tww-desc-body table { border-collapse: collapse; font-size: 14px; }
.tww-desc-body td, .tww-desc-body th { border: 1px solid #e8dfd4; padding: 6px 10px; }
.tww-desc-body a { color: #2e221b; text-decoration: underline; text-underline-offset: 3px; }
.tww-spec { border: 1px solid #e8dfd4; border-radius: 6px; overflow: hidden; background: #fff; font-size: 14px; }
.tww-spec__row { display: flex; gap: 16px; padding: 12px 18px; border-bottom: 1px solid #e8dfd4; }
.tww-spec__row:last-child { border-bottom: 0; }
.tww-spec__row span:first-child { flex: 0 0 180px; color: #6f6961; }

/* related: compact, max 3, absent when none */
.tww-related-wrap:not(:has(.tww-related)) { display: none; }
.tww-related { border-top: 1px solid #e8dfd4; padding: 28px 0 72px; }
.tww-related h2 { font: 400 22px/1.2 'Marcellus', serif; color: #2e221b; margin: 0 0 18px; }
.tww-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 24px; }
.tww-related__item { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid #e8dfd4; border-radius: 6px; background: #fff; color: #2e221b; text-decoration: none; }
.tww-related__item:hover { border-color: #2e221b; }
.tww-related__thumb { flex: 0 0 64px; height: 64px; box-sizing: border-box; padding: 6px; display: flex; align-items: center; justify-content: center; background: #f4eee7; border-radius: 4px; }
.tww-related__thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.tww-related__text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tww-related__name { font-size: 14px; font-weight: 500; line-height: 1.35; text-wrap: pretty; }
.tww-related__price { font-size: 13px; color: #6f6961; font-variant-numeric: tabular-nums; }

body.single-product [data-elementor-type="footer"] { margin-top: 64px; }

/* stacking: below 1240 with the sidebar, below 960 without it */
@media (min-width: 1100px) and (max-width: 1239px), (max-width: 959px) {
  .tww-imgcol { flex-basis: 100% !important; max-width: none; position: static; }
  .tww-infocol { flex-basis: 100% !important; }
  .tww-well { aspect-ratio: 16 / 9; }
}

/* =========================================================================
   Category archive
   ========================================================================= */
.tww-archive-h1 .elementor-heading-title { font-size: clamp(34px, 3.4vw, 46px) !important; }
.tww-archive-desc { max-width: 640px; }
.tww-archive-desc p { margin: 0 0 8px; }
.tww-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tww-chip {
  padding: 7px 14px; border: 1px solid #e8dfd4; border-radius: 999px; background: #fff; color: #2e221b;
  font-size: 13px; font-weight: 500; line-height: 1.3; white-space: nowrap; text-decoration: none;
}
.tww-chip:hover { border-color: #2e221b; }
.tww-chip.is-active { background: #2e221b; border-color: #2e221b; color: #fff; }

.tww-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; margin-bottom: 28px; border-top: 1px solid #e8dfd4; border-bottom: 1px solid #e8dfd4;
}
.tww-toolbar__count { font-size: 14px; color: #6f6961; white-space: nowrap; }
.tww-toolbar__right { display: flex; align-items: center; gap: 14px; }
.tww-toolbar__sort { margin: 0; }
.tww-toolbar__sort label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #6f6961; }
.tww-toolbar__sort select {
  height: 36px; padding: 0 34px 0 14px; cursor: pointer; border: 1px solid #e8dfd4; border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232e221b' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 13px center;
  appearance: none; -webkit-appearance: none; font: 400 14px 'Hanken Grotesk', sans-serif; color: #2e221b;
}
.tww-view { display: flex; overflow: hidden; border: 1px solid #e8dfd4; border-radius: 999px; background: #fff; }
.tww-view__btn {
  width: 40px; height: 34px; padding: 0 !important; display: flex; align-items: center; justify-content: center; cursor: pointer;
  border: 0 !important; border-radius: 0 !important; background: #fff !important; color: #6f6961 !important;
}
.tww-view__btn.is-active { background: #2e221b !important; color: #fff !important; }

/* grid view */
.tww-archive-grid .elementor-loop-container { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; gap: 36px 28px !important; } /* 260, not the brief's 220: at 4-up (237px) price ranges wrapped under the CTA and put the footer rules out of line */
.tww-card-wrap, .tww-card-wrap > .elementor-widget-container, .tww-card-wrap .elementor-shortcode { height: 100%; }
.tww-card { display: flex; flex-direction: column; height: 100%; }
.tww-card__well { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 16px; overflow: hidden; background: #f4eee7; border-radius: 4px; }
.tww-card__img {
  position: absolute; inset: 0; margin: auto; display: block;
  width: auto !important; height: auto !important;
  max-width: min(calc(100% - 44px), 240px) !important; max-height: calc(100% - 44px) !important;
  mix-blend-mode: multiply;
}
.tww-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tww-card__name { margin-bottom: 12px; font-size: 15px; font-weight: 500; line-height: 1.4; color: #2e221b; text-decoration: none; text-wrap: pretty; }
.tww-card__name:hover { color: #86652f; }
.tww-card__foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid #e8dfd4;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px;
}
.tww-card__price { font-size: 15px; font-weight: 600; color: #2e221b; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tww-card__cta {
  padding: 7px 14px; border: 1px solid #2e221b; border-radius: 999px; color: #2e221b;
  font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; text-decoration: none;
}
.tww-card__cta:hover { background: #2e221b; color: #fff; }

/* list view */
.tww-archive-grid.tww-view-list .elementor-loop-container { grid-template-columns: 1fr !important; gap: 0 !important; border-top: 1px solid #e8dfd4; }
.tww-view-list .tww-card { flex-direction: row; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid #e8dfd4; }
.tww-view-list .tww-card__well { flex: 0 0 96px; height: 72px; aspect-ratio: auto; margin: 0; }
.tww-view-list .tww-card__img { max-width: calc(100% - 16px) !important; max-height: calc(100% - 16px) !important; }
.tww-view-list .tww-card__noimg { font-size: 9px; text-align: center; }
.tww-view-list .tww-card__name { flex: 1 1 auto; min-width: 0; margin: 0; }
.tww-view-list .tww-card__foot { flex: 0 0 auto; margin: 0; padding: 0; border: 0; gap: 20px; flex-wrap: nowrap; }
.tww-view-list .tww-card__price { text-align: right; }
/* content column takes what is left beside the 240px sidebar (Elementor gives it 100%) */
.tww-product-main, .tww-archive-main { flex: 1 1 0% !important; width: auto !important; min-width: 0; }

/* =========================================================================
   Alternative homepage "Showroom" (/home-alternative/, Claude Design home_alt)
   ========================================================================= */

/* hero: full bleed, three-stop wash (Elementor overlays take two) */
.tww-alt-hero::before {
  background-color: transparent !important;
  background-image: linear-gradient(90deg, rgba(18,14,11,.82) 0%, rgba(18,14,11,.5) 45%, rgba(18,14,11,.05) 80%) !important;
  opacity: 1 !important;
}
.tww-alt-h1 .elementor-heading-title { font-size: clamp(40px, 5vw, 68px) !important; text-wrap: balance; }
.tww-alt-lede { max-width: 520px; }
.tww-alt-lede p { margin: 0; }

/* section headers */
.tww-alt-h2 .elementor-heading-title { font-size: clamp(28px, 3vw, 40px) !important; }

/* featured carousel: 44px arrows + 14px page label in the header row */
.tww-alt-carousel .elementor-swiper-button { width: 44px !important; height: 44px !important; }
.tww-alt-carousel .swiper-pagination-fraction { font-size: 14px !important; height: 44px !important; line-height: 44px !important; right: 110px !important; }
.tww-alt-carousel .elementor-swiper-button-prev { right: 54px !important; }

/* product cards */
.tww-alt { display: flex; flex-direction: column; height: 100%; }
.tww-alt__well { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 16px; overflow: hidden; background: #f4eee7; border-radius: 6px; }
.tww-alt__img {
  position: absolute; inset: 0; margin: auto; display: block;
  width: auto !important; height: auto !important;
  max-width: min(calc(100% - 48px), 240px) !important; max-height: calc(100% - 48px) !important;
  mix-blend-mode: multiply;
}
.tww-alt__cat { margin-bottom: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #6f6961; }
.tww-alt__name { margin-bottom: 14px; font-size: 16px; font-weight: 500; line-height: 1.4; color: #2e221b; text-decoration: none; text-wrap: pretty; }
.tww-alt__name:hover { color: #86652f; }
.tww-alt__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid #e8dfd4;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px;
}
.tww-alt__price { font-size: 17px; font-weight: 600; color: #2e221b; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tww-alt__foot .tww-alt__btn {
  padding: 9px 18px !important; border: 1px solid #2e221b !important; border-radius: 999px !important;
  background: transparent !important; color: #2e221b !important; white-space: nowrap;
  font: 500 14px/1.2 'Hanken Grotesk', sans-serif !important; text-transform: none !important; letter-spacing: 0 !important;
}
.tww-alt__foot .tww-alt__btn:hover { background: #2e221b !important; color: #fff !important; }
.tww-alt__foot a.added_to_cart { display: none; }
.tww-alt--simple { display: flex; flex-direction: column; gap: 14px; height: 100%; color: #2e221b; text-decoration: none; }
.tww-alt--simple .tww-alt__well { margin-bottom: 0; }
.tww-alt--simple .tww-alt__name { margin: 0; }
.tww-alt--simple:hover .tww-alt__name { color: #86652f; }

/* stats band */
.tww-alt-stats > .e-con { flex: 1 1 200px !important; width: auto !important; }
.tww-alt-stat .elementor-heading-title { font-size: clamp(40px, 4vw, 56px) !important; font-variant-numeric: tabular-nums; }

/* blog: 4:3 covers, date above the title (shares .tww-blog rules) */
.tww-alt-blog .elementor-post__text { gap: 12px; }

/* trust strip */
.tww-alt-trustgrid > .e-con { flex: 1 1 200px !important; width: auto !important; } /* 5 items since 29 Sep */
.tww-alt-trust p { margin: 0; }
.tww-alt-trust a { color: #2e221b; font-weight: 600; text-decoration: none; }
.tww-alt-trust a:hover { color: #86652f; }

/* section header: title block sizes to its content so the right-hand link sits
   on the same row (wraps below only on narrow screens) */
.tww-alt-sechead > .e-con:first-child { flex: 0 1 auto !important; width: auto !important; }
@media (min-width: 768px) { .tww-alt-sechead { flex-wrap: nowrap !important; } }
/* carousel controls bottom-aligned with the H2, as the header row is flex-end */
.tww-alt-carousel .elementor-swiper-button, .tww-alt-carousel .swiper-pagination-fraction { top: -76px !important; }

/* =========================================================================
   Header: menu and search swapped (Claude Design home_alt, 2 Oct)
   Row 1 logo | menu | log in + cart; row 2 the search pill. Desktop only;
   tablet/mobile keep the Kirema mobile header (hamburger + search).
   ========================================================================= */
.tww-hdr-row1 .elementor-element-7ea2ccd6 { flex: 0 0 auto !important; width: auto !important; }
.tww-hdr-row1 .elementor-element-2c20dc67 { flex: 0 0 auto !important; width: auto !important; }
.tww-hdr-row1 .elementor-element-twwnav02 { flex: 1 1 0% !important; min-width: 0; width: auto !important; }
.tww-hdr-row1 .elementor-element-twwnav02 .elementor-nav-menu--main > ul.elementor-nav-menu {
  justify-content: center; flex-wrap: wrap; gap: 0 clamp(16px, 2.2vw, 32px);
}
.tww-hdr-row1 .elementor-element-twwnav02 .elementor-nav-menu--main > ul > li > a { padding: 14px 0 !important; }
/* the mega panel anchors to the bottom of the whole header (below the search row),
   so row 1 must not be its positioning context */
.tww-hdr-row1, .tww-hdr-row1 > .e-con-inner { position: static !important; }
.tww-hdr-row2 .elementor-element-twsrch2 { width: 100% !important; max-width: 560px !important; } /* Elementor sets max-width:100% on container children */

/* shop by category (round 3, 3 Oct): 25 photo tiles under the hero, 5 across */
.tww-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(180px, calc((100% - 80px) / 5)), 1fr)); gap: 20px; }
.tww-catgrid__tile {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px;
  background: #2a241f; color: #fff; text-decoration: none;
  box-shadow: 0 18px 40px -24px rgba(20,16,12,.35);
}
.tww-catgrid__tile:hover { color: #fff; box-shadow: 0 22px 44px -20px rgba(20,16,12,.45); }
.tww-catgrid__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.tww-catgrid__initial { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font-family: Marcellus, serif; font-size: 56px; line-height: 1; color: rgba(255,255,255,.22); }
.tww-catgrid__fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,14,11,0) 35%, rgba(18,14,11,.55) 62%, rgba(18,14,11,.85) 100%); }
.tww-catgrid__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; font-family: Marcellus, serif; font-size: 22px; line-height: 1.15; text-wrap: pretty; color: #fff; }
/* homepage: the 12 proposed categories (interim, 10 Oct), 4 across = 3 rows */
.tww-catgrid--home12 { grid-template-columns: repeat(auto-fill, minmax(max(200px, calc((100% - 60px) / 4)), 1fr)); }

/* =========================================================================
   Homepage round 4 (Claude Design, 10 Oct): badges, On sale, Just arrived band, ordering panel
   ========================================================================= */
.tww-alt__well { position: relative; }
.tww-alt__badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 12px; border-radius: 999px;
  background: #2e221b; color: #f6e7c4; font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .04em;
}
.tww-alt__badge--sale { background: #a33a26; color: #fff; }
.tww-alt__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.tww-alt__price--sale { color: #a33a26; }
.tww-alt__was { font-size: 14px; color: #6f6961; text-decoration: line-through; white-space: nowrap; }
/* Just arrived sits on a tint band, so its image wells turn white */
.tww-alt-justin .tww-alt__well { background: #fff; }

/* ordering panel ("How ordering works"), replaces the trust strip */
.tww-order { display: flex; flex-wrap: wrap; border: 1px solid #e8dfd4; border-radius: 10px; overflow: hidden; background: #fff; }
.tww-order__text { flex: 2 1 520px; min-width: 0; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.tww-order__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #86652f; }
.tww-order h2.tww-order__title { margin: 0; font-family: Marcellus, serif; font-weight: 400; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; color: #2e221b; text-wrap: balance; }
.tww-order__body { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.7; color: #4d4741; text-wrap: pretty; }
.tww-order__steps { flex: 1 1 300px; min-width: 0; padding: clamp(32px, 4vw, 56px); background: #f4eee7; display: flex; flex-direction: column; justify-content: center; gap: 28px; margin: 0; list-style: none; }
.tww-order__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.tww-order__step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: -28px; width: 2px; background: #d9c7ad; }
.tww-order__num { position: relative; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid #d9c7ad; color: #2e221b; font-family: Marcellus, serif; font-size: 20px; }
.tww-order__step:last-child .tww-order__num { background: #2e221b; border-color: #2e221b; color: #f6e7c4; }
.tww-order__step-text { display: grid; gap: 4px; padding-top: 9px; }
.tww-order__step-title { font-family: Marcellus, serif; font-size: 21px; line-height: 1.2; color: #2e221b; }
.tww-order__step-body { font-size: 15px; line-height: 1.55; color: #6f6961; }

/* homepage brands row: single-colour logos (10 Oct). The label sits on its own line so the logos get the full
   width: 6 across on desktop, 3 on tablets, 2 on phones. Stacked marks (Stubai, Bad Axe) get more height. */
.tww-brandlogos-wrap { flex: 1 1 100% !important; min-width: 0; }
.tww-brandlogos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 32px; align-items: center; }
.tww-brandlogos__item { display: flex; align-items: center; justify-content: center; height: 72px; transition: opacity .15s; }
.tww-brandlogos__item:hover { opacity: .7; }
.tww-brandlogos__img { display: block; width: auto; height: auto; max-width: 100%; max-height: 34px; }
.tww-brandlogos__img--tall { max-height: 64px; }
@media (max-width: 1200px) { .tww-brandlogos { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* 6 across below ~1200px shrinks Brusso to ~15px tall */
@media (max-width: 600px) { .tww-brandlogos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
