/*
Theme Name: Filothei Botanical
Theme URI: https://example.com/filothei-botanical
Author: Filothei
Description: WordPress theme conversion of the Filothei Botanical Jewelry landing page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: filothei-botanical
*/

/* ========================================
   CSS VARIABLES & GLOBAL STYLES
   ======================================== */

:root {
    --background: #f8f8f7;
    --foreground: #1a140d;
    --card: #ece6dc;
    --card-foreground: #1a140d;
    --primary: #1a140d;
    --primary-foreground: #f3efe6;
    --secondary: #e4dccf;
    --secondary-foreground: #1a140d;
    --muted: #ddd5c8;
    --muted-foreground: #222222;
    --accent: #d4963a;
    --accent-foreground: #f3efe6;
    --border: #d3c9bc;
    --radius: 0;
    --header-height: clamp(5.2rem, 9vw, 6.8rem);
    --font-display: 'Montserrat', sans-serif;
    --font-display-scale: 0.81;
    --font-body: 'Montserrat', sans-serif;
    --layout-width: min(1560px, 86vw);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--background);
}

body {
    font-family: var(--font-body);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    background-color: #f5f5f0;
    background-image:
        radial-gradient(38% 44% at 12% 18%, #ffffff 0%, rgba(255,255,255,0) 65%),
        radial-gradient(30% 34% at 82% 8%,  #e6e5dc 0%, rgba(230,229,220,0) 62%),
        radial-gradient(46% 40% at 68% 42%, #fdfdfa 0%, rgba(253,253,250,0) 63%),
        radial-gradient(34% 46% at 22% 72%, #dedcd0 0%, rgba(222,220,208,0) 65%),
        radial-gradient(40% 36% at 92% 78%, #eae9df 0%, rgba(234,233,223,0) 65%),
        radial-gradient(50% 44% at 48% 96%, #dcdacd 0%, rgba(220,218,205,0) 62%),
        linear-gradient(160deg, #faf9f4 0%, #eeede4 55%, #e3e1d4 100%);
    background-attachment: fixed;
}

html,
body {
    overflow-x: hidden;
}

img {
    display: block;
}

a {
    transition: opacity 0.3s ease;
}

/* ========================================
   ANNOUNCEMENT BAR
   ======================================== */

.announcement-bar {
    background-color: var(--accent);
    color: var(--primary-foreground);
    text-align: center;
    position: relative;
    z-index: 30;
}

.announcement-bar__inner {
    width: var(--layout-width);
    margin: 0 auto;
    padding: 0.55rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.announcement-bar__link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.announcement-bar__link:hover {
    opacity: 0.75;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    position: relative;
    z-index: 20;
    /* background-color: var(--background); */
    backdrop-filter: blur(4px);
}

.site-header--inner .header-container {
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    --header-pad-block-start: clamp(0.75rem, 1.4vw, 1.1rem);
    padding-block: var(--header-pad-block-start);
    padding-inline: 1rem;
    animation: headerPadToZero 0.9s ease 2.4s forwards;
    width: var(--layout-width);
    margin: 0 auto;
    min-height: var(--header-height);
}
h3, h2, h1, h4 {
   font-weight:400 !important;
}
@media (min-width: 768px) {
    .header-container {
        --header-pad-block-start: clamp(0.35rem, 0.7vw, 0.55rem);
        padding-inline: 0;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    margin-left: auto;
    gap: 0.55rem;
}

.header-center {
    display: flex;
    align-items: center;
    justify-self: center;
}

.logo {
    margin: 0;
    position: relative;
}

.logo-swap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.logo-elephant {
    height: clamp(3.6rem, 5.6vw, 4.8rem) !important;
    width: auto !important;
    opacity: 1;
    animation: logoFadeOut 0.9s ease 2.4s forwards;
}

.logo-image.logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    height: clamp(2.2rem, 3.55vw, 3rem) !important;
    width: auto !important;

    transform: translate(-50%, -50%);
    opacity: 0;
    animation: logoFadeIn 0.9s ease 2.4s forwards;
}

/* Keep header logo sizing isolated from WooCommerce image defaults. */
body.woocommerce header .logo-swap .logo-image,
body.woocommerce-page header .logo-swap .logo-image,
body.single-product header .logo-swap .logo-image {
    display: block !important;
    max-width: none !important;
    width: auto !important;
    object-fit: contain !important;
}

.nav-desktop {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-left {
    justify-content: flex-start;
}

.menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    color: var(--foreground);
    cursor: pointer;
    line-height: 1;
}

#menuIcon {
    position: relative;
    display: block;
    width: 1.45rem;
    height: 1rem;
}

#menuIcon::before,
#menuIcon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    border-radius: 1px;
    transition: top 0.25s ease, transform 0.25s ease;
}

#menuIcon::before {
    top: 0.15rem;
}

#menuIcon::after {
    top: 0.75rem;
}

.menu-button.active #menuIcon::before {
    top: 0.45rem;
    transform: rotate(45deg);
}

.menu-button.active #menuIcon::after {
    top: 0.45rem;
    transform: rotate(-45deg);
}

.nav-mobile {
    display: none;
    width: var(--layout-width);
    margin: 0 auto;
    padding: 0.9rem 0;
    border-top: 1px solid var(--border);
    background: none;
    flex-direction: column;
    gap: 0.85rem;
}

.nav-mobile .nav-link {
    display: block;
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-desktop {
        gap: 1.9rem;
        transform: translateY(30%);
    }

    .nav-mobile {
        display: none !important;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 20, 13, 0.8);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-left .nav-link {
    padding: 0.3rem 0.55rem;
    border-radius: 0;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-left .nav-link:hover {
    color: var(--foreground);
    background: rgba(26, 20, 13, 0.08);
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    color: rgba(26, 20, 13, 0.86);
    text-decoration: none;
    border: none;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.icon-link:hover {
    color: var(--foreground);
    background: rgba(26, 20, 13, 0.08);
}

.cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    position: relative;
    width: 2.6rem;
    height: 2.6rem;
    color: rgba(26, 20, 13, 0.86);
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.cart-button:hover {
    color: var(--foreground);
    transform: translateY(-1px);
}

.icon {
    width: 1.2rem;
    height: 1.2rem;
    stroke-width: 1;
}
.instagram .icon {
    width: 1.32rem;
    height: 1.32rem;
}
.facebook .icon {
    width: 1.32rem;
    height: 1.32rem;
    stroke-width: 1;
    transform: scale(1.12);
    transform-origin: center;
}

.header-social .icon {
    transform-origin: center;
}



.cart-icon {
    width: 1.45rem;
    height: 1.45rem;
}

.header-cart-count {
    position: absolute;
    top: 0.18rem;
    right: 0.1rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.2rem;
    border: 1px solid var(--foreground);
    border-radius: 999px;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 0.58rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    :root {
        --header-height: clamp(4.9rem, 10vw, 6.1rem);
    }

    .header-container {
        grid-template-columns: 1fr auto 1fr;
        column-gap: 0.6rem;
        --header-pad-block-start: clamp(0.35rem, 0.9vw, 0.55rem);
        padding-inline: 0;
        min-height: var(--header-height);
    }

    .header-left {
        gap: 0.45rem;
    }

    .header-right {
        gap: 0.35rem;
    }

    .header-right .header-social {
        display: none;
    }

    .header-right .icon-link {
        width: 1.85rem;
        height: 1.85rem;
    }

    .header-right .header-social .icon {
        width: 1.2rem;
        height: 1.2rem;
        stroke-width: 1;
    }

    .nav-desktop {
        display: none;
    }

    .menu-button {
        display: inline-flex;
    }

    .nav-link {
        font-size: 0.66rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 359px) {
    .header-container {
        column-gap: 0.4rem;
    }

    .header-right {
        gap: 0.2rem;
    }

    .header-right .header-social {
        gap: 0.15rem;
    }

    .header-right .icon-link {
        width: 1.65rem;
        height: 1.65rem;
    }

    .header-right .header-social .icon {
        width: 1rem;
        height: 1rem;
    }

    .header-right .icon-link.facebook {
        display: none;
    }

    .cart-button {
        width: 2.2rem;
        height: 2.2rem;
    }

    .cart-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .header-cart-count {
        min-width: 0.9rem;
        height: 0.9rem;
        font-size: 0.52rem;
        top: 0.2rem;
        right: 0.08rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes headerPadToZero {
    to {
        padding-block: 0;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    width: var(--layout-width);
    height: calc(100vh - var(--header-height));
    overflow: hidden;
    margin: 0 auto;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 20, 13, 0.06) 25%, rgba(26, 20, 13, 0.58) 100%);
}

.hero-content {
    position: absolute;
    bottom: 3rem;
    left: 1.5rem;
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    max-width: min(92%, 46rem);
    padding: 0.9rem 1rem 0.85rem;
}

.hero-slider-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 3.1rem;
    height: 3.1rem;
    padding: 0;
    border: 1px solid var(--foreground);
    border-radius: 50%;
    background: rgba(250, 248, 240, 1);
    color: var(--foreground);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.hero-slider-nav::before {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    transform: translateY(-0.08em);
}

.hero-slider-nav--prev::before {
    content: "\2039";
}

.hero-slider-nav--next::before {
    content: "\203A";
}

.hero-slider-nav:hover {
    opacity: 0.75;
}

.hero-slider-nav--prev {
    left: 1rem;
}

.hero-slider-nav--next {
    right: 1rem;
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 1.3rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    z-index: 4;
}

.hero-slider-dot {
    width: 0.6rem;
    height: 0.6rem;
    border: none;
    border-radius: 50%;
    background: rgba(245, 241, 235, 0.45);
    cursor: pointer;
}

.hero-slider-dot.is-active {
    background: rgba(245, 241, 235, 0.95);
}

@media (min-width: 768px) {
    .hero-content {
        bottom: 2.4rem;
        left: 2.85rem;
    }

    .hero-slider-nav--prev {
        left: 1.8rem;
    }

    .hero-slider-nav--next {
        right: 1.8rem;
    }

    .hero-slider-dots {
        bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-slider-nav {
        display: none;
    }

    .gallery-row-title {
        display: none;
    }
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245, 241, 235, 0.9);
    margin-bottom: 0.05rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: calc(clamp(2.25rem, 8vw, 3.75rem) * var(--font-display-scale));
    color: rgba(245, 241, 235, 0.95);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.4s forwards;
}

.hero-title a {
    color: inherit;
    text-decoration: underline;}

.hero-title a:hover {
    opacity: 0.8;
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    width: var(--layout-width);
    max-width: 1560px;
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 5rem 0;
}

section#shop.section {
    padding-top: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }

    section#shop.section {
        padding-top: 2.5rem;
        padding-left: 0;
        padding-right: 0;
    }
}

.section.border-top {
    border-top: 1px solid var(--border);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-intro {
    max-width: 58rem;
    margin: 0 auto 5rem;
    text-align: center;
}
body.archive .about-intro {
    max-width: 58rem;
    margin: 0 auto 2.8rem !important;
    text-align: center;
}
.intro-text {
    font-family: var(--font-body);
    font-size: clamp(.95rem, 2vw, 1.115rem);
    line-height: 1.8;
    color: var(--muted-foreground);
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
}

.intro-link {
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foreground);
    text-decoration: none;
    border: 1px solid var(--foreground);
    padding: 0.65rem 1.1rem;
    opacity: 0;
    animation: fadeIn 0.7s ease 0.3s forwards;
    transition: color 0.4s ease;
}

.intro-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #9b3e55;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.intro-link:hover {
    color: #fff;
}

.intro-link:hover::before {
    transform: scaleX(1);
}

.contact-link {
    display: inline-block;
    position: relative;
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foreground);
    text-decoration: none;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 0.35rem;
}

.contact-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: #9b3e55;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-link:hover::after {
    transform: scaleX(1);
}

.gallery-grid-wrapper {
    position: relative;
    /* background: rgb(240, 239, 236); */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 2rem 0;
    z-index: 0;
    border-top:1px solid var(--border);
        border-bottom:1px solid var(--border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    max-width: calc(86vw - 2rem);
    margin: 0 auto;
}

.gallery-grid.gallery-grid--dynamic {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-slider-nav {
    display: none;
}

.gallery-slider-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid-wrapper {
        padding: 3.55rem 0 2.9rem 0 !important;
    }

    .gallery-grid {
        max-width: calc(86vw - 3rem);
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .gallery-grid.gallery-grid--dynamic {
        gap: 1.5rem;
    }

    .gallery-row {
        gap: 1.5rem;
    }

    .gallery-row--first {
        position: relative;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .gallery-row-title {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        font-family: var(--font-display);
        font-size: calc(clamp(1.55rem, 3vw, 2rem) * var(--font-display-scale));
        line-height: 1.15;
        color: var(--foreground);
        z-index: 2;
    }

    .gallery-row--first .gallery-item:nth-child(2) {
        grid-column: 2;
    }

    .gallery-row--first .gallery-item:nth-child(3) {
        grid-column: 3;
    }

    .gallery-grid.gallery-count-4 .gallery-row--second {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid.gallery-count-5 .gallery-row--second {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-row--slider {
        position: relative;
        display: flex;
        align-items: center;
    }

    .gallery-slider-viewport {
        flex: 1;
        overflow: hidden;
    }

    .gallery-slider-track {
        display: flex;
        gap: 1.5rem;
        transition: transform 0.3s ease;
        will-change: transform;
    }

    .gallery-slider-track .gallery-item {
        flex: 0 0 calc((100% - 3rem) / 3);
    }

    .gallery-slider-nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 3;
        width: 3.1rem;
        height: 3.1rem;
        padding: 0;
        border: 1px solid var(--foreground);
        border-radius: 50%;
        background: rgba(250, 248, 240, 1);
        color: var(--foreground);
        font-size: 0;
        line-height: 1;
        cursor: pointer;
        transform: none;
    }

    .gallery-slider-nav::before {
        display: block;
        font-size: 1.75rem;
        line-height: 1;
        transform: translateY(-0.08em);
    }

    .gallery-slider-nav--prev::before {
        content: "\2039";
    }

    .gallery-slider-nav--next::before {
        content: "\203A";
    }

    .gallery-slider-nav--prev,
    .gallery-slider-nav--next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .gallery-slider-nav--prev {
        right: 100%;
        margin-right: 1.25rem;
    }

    .gallery-slider-nav--next {
        left: 100%;
        margin-left: 1.25rem;
    }

    .gallery-slider-nav:disabled {
        display: none;
    }
}

.gallery-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    transition: transform 0.25s ease;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-category-title {
    font-family: var(--font-display);
    font-size: calc(clamp(2.2rem, 3.6vw, 2.3rem) * var(--font-display-scale) * 0.95);
    color: var(--foreground);
    text-align: center;
    line-height: 1.25;
    padding: 0.75rem 0;
    z-index: 2;
}

.gallery-category-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.7s ease;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-2px);
}

.gallery-item:hover .gallery-category-image {
    transform: scale(1.05);
}

.gallery-category-link:hover .gallery-category-image {
    transform: none;
}

.gallery-category-link:hover .gallery-category-title {
    color: #9b3e55;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

/* Hidden visually on the shop page only; kept in the DOM so its
   BreadcrumbList structured data still generates for search engines. */
body.woocommerce-shop .woocommerce-breadcrumb {
    display: none;
}

.products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.products-header--category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.2rem;
}

.products-title {
    font-family: var(--font-display);
    font-size: calc(clamp(2.2rem, 3.6vw, 2.3rem) * var(--font-display-scale));
    color: var(--foreground);
    margin: 0;
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
}

.products-title--inter {
    font-family: var(--font-body) !important;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem) !important;
    padding-top: 0.16rem;
    padding-bottom: 0.04rem;
}

.products-tags-line {
    display:none;
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    word-spacing: 0.28rem;
}

.products-tags-line a {
    color: inherit;
    text-decoration: none;
}

.products-tags-line a:hover {
    color: var(--foreground);
}

.products-tags-sep {
    color: rgba(26, 20, 13, 0.45);
    margin: 0 0.38rem;
}

.shop-categories-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 1.15rem;
    margin: -1.3rem auto 2.1rem;
    max-width: min(980px, 86vw);
}

.shop-categories-links .nav-link {
    opacity: 1;
}

/* Product category hard overrides: apply even when a different template renders */
.woocommerce ul.products,
.woocommerce-page ul.products,
.entry-content ul.products {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.entry-content ul.products li {
    list-style: none !important;
}

.woocommerce ul.products li.product::marker,
.woocommerce-page ul.products li.product::marker,
.entry-content ul.products li::marker {
    content: '';
}

.products-header--category .products-title,
.products-header--category .products-title.font--display,
.woocommerce-products-header__title.page-title {
    font-family: var(--font-display) !important;
    font-size: calc(clamp(1.85rem, 3vw, 2.6rem) * var(--font-display-scale)) !important;
    line-height: 1.1;
    padding-bottom:.33em;
}

/* Product category: never underline product name or price */
.tax-product_cat .woocommerce ul.products li.product a,
.tax-product_cat .woocommerce ul.products li.product a:hover,
.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat .woocommerce ul.products li.product .price,
.tax-product_cat .woocommerce ul.products li.product .price * {
    text-decoration: none !important;
}

/* Woo loop hard override: also remove default underline from <ins> sale price */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover,
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link:hover,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:hover,
.woocommerce-page ul.products li.product a.woocommerce-loop-product__link,
.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price *,
.woocommerce-page ul.products li.product .price,
.woocommerce-page ul.products li.product .price *,
.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
    text-decoration: none !important;
}

.products-link,
body.woocommerce-cart .shop_table.cart td.product-name a,
body.woocommerce-cart .wc-block-components-product-name {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foreground);
    text-decoration: none;
    border-bottom: 1px solid var(--foreground);
    padding-bottom: 0.25rem;
    opacity: 0;
    animation: fadeIn 0.7s ease 0.2s forwards;
}

.products-link:hover,
body.woocommerce-cart .shop_table.cart td.product-name a:hover,
body.woocommerce-cart .wc-block-components-product-name:hover {
    opacity: 0.7;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.product-card {
    text-decoration: none;
    color: inherit;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.3s; }

.products-featured-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.products-featured-info .products-title {
    margin-bottom: 1.5rem;
}

.products-featured-info .products-link {
    display: inline-block;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    border: 1px solid var(--foreground);
    padding: 0.65rem 1.1rem;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.products-featured-info .products-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #9b3e55;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.products-featured-info .products-link:hover {
    color: #fff;
    border-color: #9b3e55;
}

.products-featured-info .products-link:hover::before {
    transform: scaleX(1);
}

@media (max-width: 767px) {
    .products-featured-info .products-link {
        display: none;
    }
}

.product-image {
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: var(--card);
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--foreground);
    margin: 0;
    text-align: center;
}

.product-price {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0.25rem 0 0 0;
    text-align: center;
}

/* ========================================
   STORY SECTION
   ======================================== */

.story-container {
    width: 86vw;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .story-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.story-image {
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.story-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.2s forwards;
}

.story-title {
    font-family: var(--font-display);
    font-size: calc(clamp(1.5rem, 4vw, 2.25rem) * var(--font-display-scale));
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.story-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.story-link {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foreground);
    text-decoration: none;
    border-bottom: 1px solid var(--foreground);
    padding-bottom: 0.25rem;
}

.story-link:hover {
    opacity: 0.7;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-wrapper {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: calc(clamp(1.25rem, 2vw, 1.5rem) * var(--font-display-scale));
    color: var(--foreground);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
}

.newsletter-description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--foreground);
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--foreground);
    padding: 0.75rem 0;
    border: none;
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--muted-foreground);
}

.newsletter-submit {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foreground);
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.newsletter-submit:hover {
    opacity: 0.7;
}

.newsletter-success {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--foreground);
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
}

/* ========================================
   CONTACT FORM (Contact Form 7)
   ======================================== */

.contact-form-wrapper {
    max-width: 34rem;
    margin: 1rem auto 0;
}

.contact-form-wrapper .wpcf7-form p {
    margin: 0 0 1.6rem;
}

.contact-form-wrapper .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-wrapper .wpcf7-form-control {
    display: block;
    width: 100%;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--foreground);
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--border);
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s ease;
}

.contact-form-wrapper textarea.wpcf7-form-control {
    min-height: 8rem;
    resize: vertical;
    padding-top: 0.75rem;
}

.contact-form-wrapper .wpcf7-form-control::placeholder {
    color: var(--muted-foreground);
}

.contact-form-wrapper .wpcf7-form-control:focus {
    border-bottom-color: var(--foreground);
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-not-valid {
    border-bottom-color: #9b3e55;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #9b3e55;
}

.contact-form-wrapper input[type="submit"].wpcf7-submit {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.9rem 2.4rem;
    background: #9b3e55;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-form-wrapper input[type="submit"].wpcf7-submit:hover {
    opacity: 0.85;
}

.contact-form-wrapper input[type="submit"].wpcf7-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-form-wrapper .wpcf7-spinner {
    margin-left: 0.75rem;
}

.contact-form-wrapper .wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 0.9rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    border-color: var(--foreground);
}

.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-mail-sent-ng,
.contact-form-wrapper .wpcf7-spam-blocked,
.contact-form-wrapper .wpcf7-acceptance-missing {
    border-color: #9b3e55;
    color: #9b3e55;
}

/* ========================================
   FOOTER GALLERY
   ======================================== */

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .footer-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-gallery-item {
    overflow: hidden;
    aspect-ratio: 1;
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.footer-gallery-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    width: var(--layout-width);
    max-width: 1560px;
    margin: 0 auto;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    footer {
        padding: 2.5rem 0;
    }
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .footer-branding {
        align-items: flex-start;
    }
}

.footer-logo {
    margin: 0;
}

.footer-logo-image,
footer .footer-logo img {
    display: block;
    height: 2.3rem !important;
    width: auto !important;
    max-width: none !important;
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-navigation {
        align-items: flex-end;
    }
}

.footer-menu-list,
.footer-social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.footer-menu-list li,
.footer-social-links a {
    display: inline-flex;
    align-items: center;
}

.footer-menu-list li:not(:last-child)::after,
.footer-social-links a:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.8em;
    background: rgba(26, 20, 13, 0.5);
    margin-left: 0.65rem;
    margin-right: 0.3rem;
}

.footer-menu-link {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 20, 13, 0.78);
    text-decoration: none;
}

.footer-menu-link:hover {
    color: var(--foreground);
}

@media (max-width: 767px) {
    .footer-menu-list,
    .footer-social-links {
        gap: 0.3rem;
    }
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--muted-foreground);
    letter-spacing: 0.05em;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: left;
    }
}

/* ========================================
   PAGE-SPECIFIC TEXT LAYOUT
   ======================================== */

@media (min-width: 1024px) {
    body.page-id-11 .entry-content,
    body.page-id-3 .entry-content {
        column-count: 2;
        column-gap: 3rem;
    }

    body.page-id-873 .entry-content {
        width: 100%;
        margin-left: 0;
        margin-right: auto;
        column-count: 1;
    }

    body.page-id-11 .entry-content h1,
    body.page-id-11 .entry-content h2,
    body.page-id-11 .entry-content h3,
    body.page-id-11 .entry-content h4,
    body.page-id-11 .entry-content h5,
    body.page-id-11 .entry-content h6,
    body.page-id-11 .entry-content .wp-block-heading,
    body.page-id-3 .entry-content h1,
    body.page-id-3 .entry-content h2,
    body.page-id-3 .entry-content h3,
    body.page-id-3 .entry-content h4,
    body.page-id-3 .entry-content h5,
    body.page-id-3 .entry-content h6,
    body.page-id-3 .entry-content .wp-block-heading {
        column-span: all;
    }

    body.page-id-11 .entry-content p,
    body.page-id-11 .entry-content ul,
    body.page-id-11 .entry-content ol,
    body.page-id-11 .entry-content blockquote,
    body.page-id-11 .entry-content .wp-block-paragraph,
    body.page-id-11 .entry-content .wp-block-list,
    body.page-id-3 .entry-content p,
    body.page-id-3 .entry-content ul,
    body.page-id-3 .entry-content ol,
    body.page-id-3 .entry-content blockquote,
    body.page-id-3 .entry-content .wp-block-paragraph,
    body.page-id-3 .entry-content .wp-block-list {
        break-inside: avoid;
    }
}

body.page-id-873 .products-header--category,
body.page-id-11 .products-header--category,
body.page-id-3 .products-header--category {
    align-items: flex-start;
    text-align: left;
}

body.page-id-873 .entry-content strong,
body.page-id-11 .entry-content strong,
body.page-id-3 .entry-content strong {
    color: #9b3e55;
}

.page-columns {
    display: block;
}

/* Mobile: full content is hidden, before/image/after render in document
   order (image between the 2nd and 3rd paragraphs). Desktop swaps this for
   the untouched full content beside the image, so the image never has to
   span two independently-sized text blocks (which was pushing the two
   halves apart). */
.page-columns__full {
    display: none;
}

.page-columns__before {
    margin-top: 0;
}

.page-columns .page-featured-image,
.page-columns__after {
    margin-top: 2.5rem;
}

@media (min-width: 1024px) {
    .page-columns {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(3rem, 6vw, 5rem);
        align-items: start;
    }

    .page-columns__full {
        display: block;
    }

    .page-columns__before,
    .page-columns__after {
        display: none;
    }

    .page-columns .page-featured-image {
        margin-top: 0;
    }
}

.page-featured-image {
    margin: 0;
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-featured-image figcaption {
    margin-top: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--muted-foreground);
    text-align: left;
}

/* ========================================
   WOOCOMMERCE ARCHIVE / PRODUCT LOOP
   ======================================== */

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering,
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
    display: none !important;
}

body.post-type-archive-product .woocommerce nav.woocommerce-pagination {
    display: none !important;
}

body.woocommerce-shop .woocommerce nav.woocommerce-pagination,
body.page.woocommerce .entry-content nav.woocommerce-pagination {
    display: none !important;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before,
.wc-block-cart__empty-cart__title.with-empty-cart-icon::after {
    display: none !important;
    content: none !important;
}

body.woocommerce-cart .wc-block-cart__cross-sells h2 {
    margin-bottom: 1em;
}

body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar {
    font-size: 1.06em;
}

body.woocommerce-cart .wc-block-cart__cross-sells h2.wp-block-heading.has-text-align-center {
    padding-bottom: 1em;
}

body.woocommerce-cart h2.wp-block-heading.has-text-align-center {
    padding-bottom: 1em !important;
    margin-bottom: 1em !important;
}

body.woocommerce-cart .wp-block-button.wc-block-grid__product-add-to-cart .wp-block-button__link,
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.woocommerce-cart .wc-block-grid__product-add-to-cart a {
    background: transparent !important;
    color: #111 !important;
    border: 1px solid #111 !important;
    border-radius: 0 !important;
}

body.woocommerce-cart .shop_table.cart td.product-name a,
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-grid__product-link,
body.woocommerce-cart .wc-block-grid__product-title,
body.woocommerce-cart .wc-block-grid__product-title a {
    color: #9b3e55 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.woocommerce ul.products li.product,
.wc-block-grid__product,
.woocommerce div.product div.images {
    position: relative;
}

span.onsale {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background: #9b3e55;
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0.45em 0.62em 0.42em 0.62em;
}


.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 !important;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    container-type: inline-size;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    text-align: center;
}

.woocommerce ul.products li.product:first-of-type,
.woocommerce-page ul.products li.product:first-of-type {
    grid-column-start: 1 !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 0 1rem 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce-page ul.products li.product h2.woocommerce-loop-product__title {
    font-family: var(--font-display) !important;
    color: #000 !important;
    text-align: center !important;
    font-weight: 400 !important;
    font-size: clamp(calc(0.76rem * 1.18), calc(7.2cqw * var(--font-display-scale) * 1.18), calc(1.04rem * var(--font-display-scale) * 1.18)) !important;
    line-height: 1.18;
    margin: 0.15rem 0 0 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.woocommerce ul.products li.product .price *,
.woocommerce-page ul.products li.product .price * {
    font-family: var(--font-body) !important;
    color: #000 !important;
    text-align: center !important;
    font-size: 0.84rem !important;
    font-weight: 400 !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    margin-top: 0.35rem !important;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .added_to_cart {
    display: none !important;
}

@media (min-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.filothei-shop-load-sentinel {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 2rem 0 0;
    min-height: 1.5rem;
}

.filothei-shop-load-sentinel.is-loading::after {
    content: 'Loading...';
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.filothei-shop-load-sentinel.is-complete {
    display: none;
}

.woocommerce .woocommerce-notices-wrapper,
.woocommerce-page .woocommerce-notices-wrapper,
.woocommerce .woocommerce-notices-wrapper *,
.woocommerce-page .woocommerce-notices-wrapper * {
    color: var(--foreground) !important;
}

body.single-product .filothei-single-main .woocommerce-notices-wrapper {
    margin-bottom: 1.4rem;
}

body.single-product .filothei-single-main .woocommerce-error,
body.single-product .filothei-single-main .woocommerce-info,
body.single-product .filothei-single-main .woocommerce-message {
    border: 1px solid var(--border) !important;
    border-top: 1px solid var(--border) !important;
    background: var(--card) !important;
    color: var(--foreground) !important;
    font-family: var(--font-body) !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.04em;
    line-height: 1.6;
    margin: 0 0 0.85rem 0 !important;
    padding: 0.85rem 1rem 0.85rem 2.1rem !important;
}

body.single-product .filothei-single-main .woocommerce-error::before,
body.single-product .filothei-single-main .woocommerce-info::before,
body.single-product .filothei-single-main .woocommerce-message::before {
    color: var(--foreground) !important;
    left: 0.75rem !important;
    top: 0.82rem !important;
}

.single-product .filothei-carousel-viewport {
    position: relative;
    overflow: hidden;
    transition: height 0.35s ease;
}

body.single-product .filothei-single-main .woocommerce-error .button,
body.single-product .filothei-single-main .woocommerce-info .button,
body.single-product .filothei-single-main .woocommerce-message .button,
body.single-product .filothei-single-main .woocommerce-error .wc-forward,
body.single-product .filothei-single-main .woocommerce-info .wc-forward,
body.single-product .filothei-single-main .woocommerce-message .wc-forward {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--foreground) !important;
    font-family: var(--font-body) !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    padding: 0.45rem 0.72rem !important;
    margin-left: 0.7rem !important;
}

body.single-product .filothei-single-main .woocommerce-error .button:hover,
body.single-product .filothei-single-main .woocommerce-info .button:hover,
body.single-product .filothei-single-main .woocommerce-message .button:hover,
body.single-product .filothei-single-main .woocommerce-error .wc-forward:hover,
body.single-product .filothei-single-main .woocommerce-info .wc-forward:hover,
body.single-product .filothei-single-main .woocommerce-message .wc-forward:hover {
    opacity: 0.72;
}

/* ========================================
   WOOCOMMERCE SINGLE PRODUCT
   ======================================== */

.filothei-single-product {
    padding-top: 0;
}

body.single-product .filothei-single-main,
body.single-product .filothei-single-main .woocommerce,
body.single-product .filothei-single-main .woocommerce * {
    font-family: var(--font-body);
}

body.single-product .filothei-single-main .woocommerce,
body.single-product .filothei-single-main .woocommerce p,
body.single-product .filothei-single-main .woocommerce li,
body.single-product .filothei-single-main .woocommerce span,
body.single-product .filothei-single-main .woocommerce label,
body.single-product .filothei-single-main .woocommerce small {
    color: var(--foreground) !important;
}

body.single-product .filothei-single-main .woocommerce a {
    color: var(--foreground) !important;
}

.section.filothei-single-product {
    width: 86vw;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.filothei-single-product .woocommerce {
    width: min(1240px, 86vw) !important;
    margin: 0 auto;
}

.filothei-single-product .filothei-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .filothei-single-product .filothei-single-layout {
        grid-template-columns: minmax(0, 1fr) minmax(34%, 1fr);
        gap: clamp(4.5rem, 8vw, 7rem);
    }
}

.filothei-single-product .filothei-single-gallery,
.filothei-single-product .filothei-single-product-summary {
    min-width: 0;
}

.filothei-single-product .filothei-single-product-summary,
.filothei-single-product .woocommerce div.product .summary {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    min-width: 64%;
}

.filothei-single-product .filothei-single-gallery {
    padding-left: 0;
}

.filothei-single-product .woocommerce-breadcrumb {
    display: none !important;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 1.4rem;
}

.filothei-single-product .woocommerce-breadcrumb a {
    color: var(--muted-foreground);
    text-decoration: none;
}

.filothei-single-product .woocommerce-breadcrumb a:hover {
    color: var(--foreground);
}

.filothei-single-product div.product div.images img {
    border: 1px solid var(--border);
    background: var(--card);
    transition: transform 0.45s ease;
}

.filothei-single-product div.product div.images {
    overflow: hidden;
    margin-bottom: 0 !important;
}

.filothei-single-product .woocommerce .woocommerce-product-gallery {
    margin-bottom: 0 !important;
}

.filothei-single-product div.product div.images:hover img {
    transform: scale(1.06);
}

.filothei-single-product .woocommerce div.product .product_title {
    font-family: var(--font-display);
    font-size: calc(clamp(1.9rem, 3.6vw, 2.22rem) * var(--font-display-scale));
    font-weight: 500;
    letter-spacing: 0;
    color: var(--foreground);
    margin-bottom: 0.45rem;
}

.filothei-single-product .woocommerce div.product p.price,
.filothei-single-product .woocommerce div.product span.price {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--foreground);
    margin-bottom: 0.7rem;
}

.filothei-single-product .woocommerce-product-details__short-description {
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 3em;margin-top:2.3em;
    font-size: 92%;
}

.filothei-single-product .woocommerce div.product .summary,
.filothei-single-product .woocommerce div.product .summary .product_title,
.filothei-single-product .woocommerce div.product .summary .price,
.filothei-single-product .woocommerce div.product .summary p,
.filothei-single-product .woocommerce div.product .summary li,
.filothei-single-product .woocommerce div.product .summary span,
.filothei-single-product .woocommerce div.product .summary .woocommerce-product-details__short-description,
.filothei-single-product .woocommerce div.product .summary .product_meta {
    color: var(--foreground);
    line-height: 1.6;
}

.filothei-single-product .woocommerce div.product .summary,
.filothei-single-product .woocommerce div.product .summary * {
    color: var(--foreground) !important;
}

.filothei-single-product .woocommerce div.product .summary a:not(.button) {
    color: var(--foreground);
}

.filothei-single-product .woocommerce div.product .summary .stock.in-stock {
    display: none !important;
}

body.single-product .product_meta .sku_wrapper,
.filothei-single-product .woocommerce div.product .product_meta .sku_wrapper {
    display: none !important;
}

.filothei-single-product .woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 1.6rem;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart {
    display: block;
    width: 100%;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart table.variations {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.6rem;
    margin: 0 0 1rem;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart table.variations td,
.filothei-single-product .woocommerce div.product form.variations_form.cart table.variations th {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart table.variations label {
    display: block;
    margin: 0 0 0.35rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart table.variations select {
    width: 100%;
    min-height: 2.8rem;
    border: 1px solid var(--foreground);
    border-radius: 0;
    background: transparent;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.75rem 0.85rem;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart table.variations select option {
    font-family: var(--font-body);
}

.filothei-single-product .woocommerce div.product form.variations_form.cart .single_variation_wrap,
.filothei-single-product .woocommerce div.product form.variations_form.cart .variations_button {
    width: 100%;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart .woocommerce-variation-price,
body.single-product .woocommerce-variation-price {
    margin-top: -1.2em;
    padding-bottom: 1em;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart,
.filothei-single-product .woocommerce div.product form.variations_form.cart .variations_button {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart .variations_button .quantity {
    flex: 0 0 auto;
    margin: 0 !important;
    background: #9b3e55;
    border: 1px solid transparent;
    border-radius: 0 !important;
    overflow: hidden;
}

.filothei-single-product .woocommerce div.product form.variations_form.cart .variations_button .single_add_to_cart_button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.filothei-single-product .woocommerce div.product form.cart .quantity {
    flex: 0 0 auto;
    float: none !important;
    margin: 0 !important;
    background: #9b3e55;
    border: 1px solid transparent;
    border-radius: 0 !important;
    overflow: hidden;
}

/* Only one unit is purchasable: WooCommerce hides the qty input (type="hidden"),
   so collapse the now-empty wrapper instead of leaving a bare colored sliver. */
.filothei-single-product .woocommerce div.product form.cart .quantity:has(input.qty[type="hidden"]) {
    display: none;
}

.filothei-single-product .woocommerce div.product form.cart .single_add_to_cart_button,
.filothei-single-product .woocommerce div.product form.cart button.single_add_to_cart_button,
.filothei-single-product .woocommerce div.product form.cart input.single_add_to_cart_button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    float: none !important;
    margin: 0 !important;
}

.filothei-single-product .woocommerce .quantity .qty {
    min-height: 2.8rem;
    min-width: 4.4rem;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-appearance: textfield;
    appearance: textfield;
    -moz-appearance: textfield;
    background: transparent !important;
    color: #ffffff;
    padding: 0.25rem 1.55rem 0.25rem 0.65rem;
    text-align: center;
    caret-color: #ffffff;
    outline: none !important;
    box-shadow: none !important;
}

.filothei-single-product .woocommerce .quantity .qty:focus,
.filothei-single-product .woocommerce .quantity .qty:focus-visible {
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.filothei-single-product .woocommerce div.product form.cart .quantity:focus-within,
.filothei-single-product .woocommerce div.product form.variations_form.cart .variations_button .quantity:focus-within {
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.filothei-single-product .woocommerce .quantity .qty::-webkit-outer-spin-button,
.filothei-single-product .woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filothei-single-product .woocommerce .quantity {
    position: relative;
}

.filothei-single-product .woocommerce .quantity .filothei-qty-controls {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.25rem;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 1fr;
    border-left: 1px solid rgba(255, 255, 255, 0.32);
    background: transparent;
}

.filothei-single-product .woocommerce .quantity .filothei-qty-step {
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #ffffff !important;
    cursor: pointer;
    line-height: 1;
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    box-shadow: none;
}

.filothei-single-product .woocommerce .quantity .filothei-qty-step::before {
    display: block;
    font-size: 0.56rem;
    color: #ffffff !important;
}

.filothei-single-product .woocommerce .quantity .filothei-qty-step--up::before {
    content: "\25B2";
}

.filothei-single-product .woocommerce .quantity .filothei-qty-step--down::before {
    content: "\25BC";
}

.filothei-single-product .woocommerce .quantity .filothei-qty-step:focus,
.filothei-single-product .woocommerce .quantity .filothei-qty-step:focus-visible,
.filothei-single-product .woocommerce .quantity .filothei-qty-step:hover {
    background: transparent;
    outline: none;
    box-shadow: none;
    opacity: 0.85;
}

.filothei-single-product .woocommerce button.button,
.filothei-single-product .woocommerce a.button,
.filothei-single-product .woocommerce input.button {
    border-radius: 0;
    border: 1px solid var(--foreground);
    background: transparent;
    color: var(--foreground) !important;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.9rem 1.25rem;
    transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.filothei-single-product .woocommerce div.product .summary form.cart .qty {
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #ffffff !important;
}

.filothei-single-product .woocommerce div.product .summary form.cart .single_add_to_cart_button.button,
.filothei-single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button,
.filothei-single-product .woocommerce div.product .summary form.cart input.single_add_to_cart_button {
    border: 1px solid transparent !important;
    background: #9b3e55 !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

.filothei-single-product .woocommerce button.button:hover,
.filothei-single-product .woocommerce a.button:hover,
.filothei-single-product .woocommerce input.button:hover {
    background: transparent;
    color: var(--foreground) !important;
}

.filothei-single-product .woocommerce div.product .summary form.cart .single_add_to_cart_button.button:hover,
.filothei-single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button:hover,
.filothei-single-product .woocommerce div.product .summary form.cart input.single_add_to_cart_button:hover {
    background: #9b3e55 !important;
    color: #ffffff !important;
}

.filothei-single-product .woocommerce div.product .product_meta {
    border-top: 1px solid var(--border);
    padding-top: 0.8rem;
    color: var(--foreground);
    font-size: 0.8rem;
}

.filothei-single-product .woocommerce div.product .product_meta a {
    color: var(--foreground);
    text-decoration: none;
}

.filothei-single-product .woocommerce div.product .product_meta a:hover {
    opacity: 0.75;
}

.filothei-single-product .woocommerce div.product .woocommerce-tabs {
    margin-top: 2.3rem;
}

.filothei-single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.filothei-single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom-color: var(--border);
}

.filothei-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    margin: 0 1.2rem 0 0;
    padding: 0;
}

.filothei-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.filothei-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.filothei-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    padding: 0 0 0.65rem 0;
}

.filothei-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--foreground);
}

.filothei-single-product .woocommerce div.product .woocommerce-tabs .panel {
    margin-top: 1rem;
    color: var(--muted-foreground);
    line-height: 1.75;
}

.filothei-single-product .related.products {
    margin-top: 3rem;
}

.filothei-single-product .related.products > h2 {
    font-family: var(--font-display);
    font-size: calc(clamp(1.35rem, 2.6vw, 1.9rem) * var(--font-display-scale));
    font-weight: 400;
    margin-bottom: 1rem;
}

.filothei-single-related {
    margin-top: clamp(4.6rem, 7.5vw, 7.2rem);
    padding-top: clamp(2.4rem, 4.4vw, 4.6rem);
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.filothei-single-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.filothei-single-related-intro {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.filothei-single-related-intro .products-title {
    margin: 0;
}

@media (max-width: 767px) {
    .discover-more-break {
        display: none;
    }
}

@media (min-width: 768px) {
    .filothei-single-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .filothei-single-related-intro {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .filothei-single-related-grid {
        grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1fr));
        align-items: start;
    }

    .filothei-single-related-intro {
        grid-column: auto;
        align-self: start;
        padding-top: 0.45rem;
    }
}

@media (max-width: 767px) {
    .filothei-single-product {
        padding-top: 0;
    }

    .filothei-single-product .filothei-single-layout {
        gap: 0.6rem !important;
    }

    .filothei-single-product .filothei-single-product-summary {
        margin-top: 1.5rem;
    }

    .filothei-single-product .woocommerce {
        width: 86vw;
    }

    .filothei-single-product .woocommerce-breadcrumb {
        font-size: 0.66rem;
    }

    .filothei-single-product .filothei-single-gallery,
    .filothei-single-product .woocommerce div.product div.images,
    .filothei-single-product .woocommerce .woocommerce-product-gallery,
    .filothei-single-product .woocommerce .woocommerce-product-gallery__wrapper,
    .filothei-single-product .woocommerce .woocommerce-product-gallery__image,
    .filothei-single-product .woocommerce .woocommerce-product-gallery__image a {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 0 !important;
    }

    .filothei-single-product .woocommerce div.product div.images img,
    .filothei-single-product .woocommerce .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain;
    }
}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg}