:root {
    --tf-ink: #142731;
    --tf-green: #203e48;
    --tf-paper: #f7f4ed;
    --tf-line: #e2ddd1;
    --tf-muted: #58666a;
    --tf-rust: #963e29;
    --tf-display: Georgia, "Times New Roman", serif;
    --tf-ease: cubic-bezier(.2,.75,.25,1);
}

body { background: #fdfbf7; color: var(--tf-ink); }
h1, h2, h3 { color: var(--tf-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
    outline: 2px solid var(--tf-rust);
    outline-offset: 4px;
}
.site-header { padding: 0; background: #fdfbf7; position: relative; z-index: 20; }
.site-header:focus-within { z-index: 30; }
.tf-service-strip { background: var(--tf-ink); padding: 8px 16px; text-align: center; font-size: 13px; }
.tf-service-strip a, .tf-service-strip a:hover { color: #fff9ed; }
.tf-service-strip a:hover { text-decoration: underline; }
.tf-masthead {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}
.tf-masthead::before, .tf-masthead::after { display: none; }
.tf-wordmark {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: var(--tf-ink);
    font: 600 29px/1 var(--tf-display);
    letter-spacing: -.06em;
}
.tf-wordmark span { color: var(--tf-rust); margin-left: 3px; }
.tf-wordmark i {
    width: 16px;
    height: 15px;
    margin: 0 0 1px 10px;
    border: 1px solid var(--tf-rust);
    clip-path: polygon(0 0,100% 0,100% 100%,0 100%);
    background: linear-gradient(135deg, transparent 46%, var(--tf-rust) 47%, var(--tf-rust) 53%, transparent 54%);
}
.tf-main-nav, .tf-masthead-tools { display: flex; align-items: center; gap: 24px; }
.tf-main-nav a, .tf-main-nav summary, .tf-masthead-tools > a { color: var(--tf-ink); font-size: 14px; white-space: nowrap; }
.tf-masthead-tools { margin-left: auto; }
.tf-masthead-tools > a:hover, .tf-main-nav > a:hover { text-decoration: underline; }
.tf-masthead-tools .cart-contents { text-decoration: none; font-variant-numeric: tabular-nums; }
.tf-masthead-tools .cart-contents::before { content: "Cart"; margin-right: 7px; }
.tf-masthead-tools .cart-contents .count { display: none; }
.tf-header-search form, .tf-mega-search form { margin: 0; display: flex; }
.tf-header-search input[type="search"], .tf-mega-search input[type="search"] {
    width: 100%;
    min-width: 0;
    background: var(--tf-paper);
    border: 1px solid var(--tf-line);
    border-radius: 3px;
    box-shadow: none;
    color: var(--tf-ink);
    padding: 9px 12px;
    font-size: 14px;
}
.tf-header-search input[type="search"] { width: clamp(118px, 14vw, 205px); }
.tf-header-search button, .tf-mega-search button { padding: 8px 12px; font-size: 13px; margin-left: 4px; }
.tf-mega summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    cursor: pointer;
}
.tf-mega summary::-webkit-details-marker { display: none; }
.tf-mega summary i {
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms var(--tf-ease);
}
.tf-mega[open] summary i { transform: translateY(2px) rotate(225deg); }
.tf-menu-mobile, .tf-mega-search { display: none; }
.tf-mega-panel {
    position: absolute;
    z-index: 25;
    inset: 100% 2.617924em auto;
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--tf-line);
    background: #fdfbf7;
    box-shadow: 0 12px 20px #14273113;
}
.tf-mega[open] .tf-mega-panel { animation: tf-rise 200ms var(--tf-ease) both; }
.tf-mega-intro { display: flex; flex-direction: column; gap: 12px; border-right: 1px dashed var(--tf-line); }
.tf-main-nav .tf-mega-shop { font: 600 24px/1.15 var(--tf-display); }
.tf-mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.tf-main-nav .tf-mega-item { display: block; white-space: normal; }
.tf-mega-image {
    display: block;
    position: relative;
    background: #eeece3;
    margin-bottom: 8px;
    aspect-ratio: 1.3;
    overflow: hidden;
}
.tf-mega-image img { position: absolute; inset: 0; height: 100%; width: 100%; padding: 10px; object-fit: contain; mix-blend-mode: multiply; }
.tf-mega-item strong, .tf-mega-item small { display: block; }
.tf-mega-item strong { font-weight: 600; line-height: 1.3; }
.tf-mega-item:hover strong, .tf-mega-intro a:hover { text-decoration: underline; }
.tf-mega-item small { font-size: 12px; color: var(--tf-muted); margin-top: 3px; }

.tf-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    min-height: 520px;
    background: var(--tf-ink);
    color: #f7f0df;
}
.tf-home-copy { align-self: center; padding: clamp(28px, 5vw, 72px); }
.tf-kicker { color: #eacdbb; font-size: 14px; margin-bottom: 20px; }
.tf-home-copy h1 {
    margin: 0 0 22px;
    color: #fbf2de;
    font: 400 clamp(54px, 6.4vw, 96px)/.98 var(--tf-display);
    letter-spacing: -.075em;
}
.tf-home-intro { color: #e0ded4; max-width: 355px; margin-bottom: 28px; }
.tf-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.tf-home-actions .button { background: #f3e6ce; color: var(--tf-ink); padding: 12px 18px; }
.tf-home-actions .button:hover { background: #fff8e9; }
.tf-text-link, .tf-text-link:hover { color: #fbf2de; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.tf-hero-visual { min-height: 320px; position: relative; display: block; overflow: hidden; background: #ddd1ba; }
.tf-hero-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 54%; border-radius: 0; }
.tf-hero-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #f7f0df;
    color: var(--tf-ink);
    border-top: 1px dashed #a99b82;
    padding: 12px 20px;
}
.tf-hero-caption span { display: block; color: var(--tf-muted); font-size: 12px; }
.tf-hero-caption strong { display: block; font-size: 14px; }
.tf-hero-visual:hover strong { text-decoration: underline; }
.tf-route-strip { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--tf-line); padding: 16px 0; margin-bottom: 64px; }
.tf-route-strip a { text-align: center; font-size: 13px; color: var(--tf-green); padding: 0 8px; }
.tf-route-strip a:hover { text-decoration: underline; }
.tf-route-strip a + a { border-left: 1px dashed #c2b8a8; }
.tf-home-section { margin: 0 0 64px; scroll-margin-top: 20px; }
.tf-home-section .tf-section-head { align-items: baseline; }
.tf-home-section .tf-section-head h2, .tf-archive-header h1, .single-product div.product .product_title,
.single-product .related > h2 { font: 400 clamp(32px, 4vw, 58px)/1.04 var(--tf-display); letter-spacing: -.055em; }
.tf-home-collections { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.tf-collection-card { display: block; color: var(--tf-ink); border: 1px solid var(--tf-line); background: #f7f4ed; transition: background-color 160ms; }
.tf-collection-card:hover { background: #f0eadc; }
.tf-collection-image { position: relative; aspect-ratio: 1.1; overflow: hidden; background: #eee9dc; }
.tf-collection-card:nth-child(2n) .tf-collection-image { background: #ede5de; }
.tf-collection-card:nth-child(3n) .tf-collection-image { background: #e5eae5; }
.tf-collection-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; }
.tf-collection-caption { padding: 12px 14px; }
.tf-collection-caption h3 { margin: 0; font: 600 18px/1.2 var(--tf-display); }
.tf-collection-caption span { color: var(--tf-muted); font-size: 12px; }

.tf-archive-header {
    display: grid;
    align-items: center;
    background: #ece9df;
    padding: clamp(24px, 4vw, 56px);
    margin-bottom: 16px;
    overflow: hidden;
}
.tf-archive-header.has-image { grid-template-columns: minmax(0, 1.7fr) minmax(0,1fr); }
.tf-archive-header h1 { margin: 0 0 12px; }
.tf-archive-header p { max-width: 58ch; color: var(--tf-muted); margin: 0 0 12px; }
.tf-archive-count { display: inline-block; color: var(--tf-rust); font-size: 14px; }
.tf-archive-art { height: clamp(130px, 17vw, 220px); }
.tf-archive-art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tf-collection-links { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 0 22px; }
.tf-collection-links a {
    display: block;
    color: var(--tf-ink);
    padding: 8px 13px;
    border: 1px solid var(--tf-line);
    white-space: nowrap;
    font-size: 13px;
}
.tf-collection-links a:hover { border-color: var(--tf-green); }
.tf-collection-links a[aria-current="page"] { background: var(--tf-ink); color: #fff8e9; border-color: var(--tf-ink); }
body.post-type-archive-product .woocommerce-products-header, body.tax-product_cat .woocommerce-products-header { padding-bottom: 0; }
.woocommerce-page .storefront-breadcrumb { padding-block: 16px 0; margin-bottom: 0; }

.site-main ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
    margin: 0 0 32px;
}
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site .site-main ul.products li.product {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    text-align: left;
    background: #fff;
    border: 1px solid var(--tf-line);
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    transition: border-color 160ms;
}
.site .site-main ul.products li.product:hover { border-color: #aa9c85; }
.site-main ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
.site-main ul.products li.product img {
    width: calc(100% + 24px);
    max-width: none;
    margin: 0 -12px 12px;
    padding: 14px;
    border-radius: 0;
    aspect-ratio: 1;
}
.site-main ul.products li.product .woocommerce-loop-product__title { margin-bottom: 8px; min-height: 0; }
.site-main ul.products li.product .price { color: var(--tf-ink); font-variant-numeric: tabular-nums; margin-top: auto; }
.site-main ul.products li.product .button { align-self: flex-start; margin-bottom: 0; }
.site-main ul.products li.product .woocommerce-price-suffix, .single-product .woocommerce-price-suffix { color: var(--tf-muted); font-size: 12px; font-weight: 400; }

.single-product div.product .product_title { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 14px; }
.single-product .tf-product-brand { color: var(--tf-rust); margin: 0 0 8px; font-size: 14px; }
.single-product div.product .summary { background: #f5f1e8; padding: clamp(18px, 3vw, 36px); border: 1px solid var(--tf-line); }
.single-product div.product .summary .price { font-size: 27px; margin: 12px 0 18px; font-variant-numeric: tabular-nums; }
.single-product .summary .woocommerce-product-details__short-description { color: #3a5054; }
.single-product .woocommerce-product-gallery__wrapper { background: #fff; }
.single-product .woocommerce-product-gallery__image img { border-radius: 0; }
.single-product .woocommerce-product-gallery__image img { width: 100%; max-height: 560px; object-fit: contain; }
.single-product .storefront-product-pagination { display: none; }
.single-product .tf-product-policies { margin: 4px 0 16px; }
.tf-product-policies details { border-top: 1px solid #d9d0c2; }
.tf-product-policies details:last-child { border-bottom: 1px solid #d9d0c2; }
.tf-product-policies summary { padding: 10px 0; cursor: pointer; font-weight: 600; }
.tf-product-policies p { margin-bottom: 12px; font-size: 14px; }
.tf-product-policies a { text-decoration: underline; }
.single-product .product_meta { color: var(--tf-muted); font-size: 13px; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 48px; padding: 10px 20px; }
.single-product .related > h2 { margin: 36px 0 20px; }
.single-product .woocommerce-tabs { border-top: 1px dashed #c2b8a8; }

@keyframes tf-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
    .tf-home-copy { animation: tf-rise 480ms var(--tf-ease) both; }
    .tf-revealed { animation: tf-rise 380ms var(--tf-ease) both; }
    .tf-hero-visual img { transition: transform 500ms var(--tf-ease); }
    .tf-hero-visual:hover img { transform: scale(1.018); }
}
@media (min-width: 768px) {
    .storefront-full-width-content.single-product div.product .woocommerce-product-gallery { float: left; width: 50%; margin-right: 0; }
    .storefront-full-width-content.single-product div.product .summary { float: right; width: 46%; margin-right: 0; }
}
@media (max-width: 1050px) {
    .tf-account-link { display: none; }
    .tf-masthead { gap: 20px; }
    .tf-masthead-tools, .tf-main-nav { gap: 16px; }
}
@media (max-width: 767px) {
    .tf-masthead { min-height: 64px; gap: 12px; justify-content: space-between; }
    .tf-masthead-tools { margin-left: 0; }
    .tf-masthead-tools .cart-contents::before { margin-right: 0; }
    .tf-masthead-tools .cart-contents .woocommerce-Price-amount { display: none; }
    .tf-wordmark { font-size: 25px; margin-right: auto; }
    .tf-header-search, .tf-desktop-nav-link, .tf-menu-desktop { display: none; }
    .tf-menu-mobile, .tf-mega-search { display: block; }
    .tf-mega-panel {
        inset: 100% -8px auto;
        grid-template-columns: minmax(0,1fr);
        gap: 12px;
        padding: 12px;
        max-height: 74vh;
        overflow-y: auto;
    }
    .tf-mega-intro { flex-flow: row wrap; align-items: baseline; border-right: none; border-bottom: 1px dashed var(--tf-line); padding-bottom: 8px; }
    .tf-main-nav .tf-mega-shop { font-size: 19px; }
    .tf-mega-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .tf-mega-image { aspect-ratio: 2; }
    .tf-mega-image img { padding: 6px; }
    .tf-home-hero { grid-template-columns: 1fr; min-height: 0; }
    .tf-home-copy { padding: 28px 22px; }
    .tf-home-copy h1 { font-size: clamp(50px, 12vw, 72px); }
    .tf-hero-visual { min-height: 0; aspect-ratio: 1.17; }
    .tf-hero-caption { padding: 8px 14px; }
    .tf-route-strip { grid-template-columns: 1fr; gap: 4px; margin-bottom: 36px; }
    .tf-route-strip a + a { border-left: 0; }
    .tf-home-section { margin-bottom: 40px; }
    .tf-home-section .tf-section-head { column-gap: 8px; }
    .tf-home-section .tf-section-head h2 { font-size: 30px; }
    .tf-home-section .tf-section-head a { font-size: 12px; }
    .tf-home-collections { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .tf-collection-caption h3 { font-size: 17px; }
    .tf-archive-header { padding: 20px; }
    .tf-archive-header.has-image { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 8px; }
    .tf-archive-header h1 { font-size: 32px; }
    .tf-archive-header p { font-size: 14px; }
    .tf-archive-art { height: 105px; }
    .site-main ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .site .site-main ul.products li.product { padding: 0 8px 8px; }
    .site-main ul.products li.product img { width: calc(100% + 16px); margin: 0 -8px 8px; padding: 8px; }
    .site-main ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
    .single-product div.product .summary { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .tf-mega[open] .tf-mega-panel { animation: none; }
    .tf-mega summary i, .tf-collection-card, .site .site-main ul.products li.product { transition: none; }
}
