/*
Theme Name: InkWit Apparel
Theme URI: https://inkwitapparel.com
Description: Custom theme for InkWit Apparel - Clever quotes and witty typography on premium tees.
Author: InkWit Apparel
Author URI: https://inkwitapparel.com
Template: storefront
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inkwit
*/

/* ==========================================================================
   InkWit Apparel — Redesign v2.0
   Aesthetic: Editorial Letterpress
   Fonts: Cormorant Garamond (display) + Outfit (body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    --inkwit-black: #1A1A1A;
    --inkwit-red: #C43B2A;
    --inkwit-red-glow: #E04D3B;
    --inkwit-white: #FFFFFF;
    --cream: #FDFBF8;
    --parchment: #F7F4F0;
    --parchment-deep: #EDE8E2;
    --smoke: #8A847D;
    --ink-soft: #2a2a2a;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --------------------------------------------------------------------------
   Paper Grain Texture Overlay
   -------------------------------------------------------------------------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
body,
.storefront-sorting,
.woocommerce-result-count {
    font-family: var(--font-body);
    color: var(--inkwit-black);
    font-size: 16px;
    line-height: 1.6;
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.woocommerce-loop-product__title,
.product_title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--inkwit-black);
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--inkwit-red); }

/* --------------------------------------------------------------------------
   Site Header — Frosted Glass
   -------------------------------------------------------------------------- */
.site-header,
.woocommerce-active .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 251, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
    transition: all 0.4s ease;
    padding: 0 !important;
}

.site-branding {
    padding: 0.5rem 0;
}

.site-title a {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--inkwit-black);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

/* ==========================================================================
   STOREFRONT OVERRIDES — Break out of col-full container
   Storefront wraps .site-content in .col-full (max-width ~1200px, centered).
   Our full-bleed sections (hero, marquee, brand story, etc.) need to escape.
   ========================================================================== */

/* On the front page, remove col-full constraints so sections go edge-to-edge */
.home .site-content > .col-full {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* The #primary content area also shouldn't constrain */
.home #primary.content-area {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Remove Storefront's default page padding on homepage */
.home .site-content {
    padding-top: 0 !important;
}

/* Other pages still get offset for fixed header */
.site-content {
    padding-top: 70px;
}

/* Front page hero handles its own top padding */
.home .site-content {
    padding-top: 0 !important;
}

/* Footer col-full — let our footer grid breathe */
.site-footer .col-full {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.main-navigation ul li a,
.secondary-navigation ul li a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation ul li a:hover,
.secondary-navigation ul li a:hover {
    color: var(--inkwit-red);
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--inkwit-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation ul li a:hover::after {
    width: 80%;
}

.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.menu > li.current_page_item > a {
    color: var(--inkwit-red);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
button,
.button,
input[type="button"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.added_to_cart,
.widget a.button,
.site-header-cart .widget_shopping_cart a.button {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background-color: var(--inkwit-black);
    color: var(--inkwit-white);
    border: none;
    border-radius: 0;
    padding: 1rem 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.added_to_cart:hover,
.widget a.button:hover {
    background-color: var(--inkwit-red);
    color: var(--inkwit-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(196, 59, 42, 0.3);
}

.woocommerce a.button.checkout,
button.alt,
.button.alt {
    background-color: var(--inkwit-red);
}

/* --------------------------------------------------------------------------
   HERO SECTION — Editorial split layout
   -------------------------------------------------------------------------- */
.inkwit-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 4rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.inkwit-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(196, 59, 42, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-text {
    padding: 4rem 2rem 4rem 8vw;
    animation: heroTextIn 1s ease-out 0.2s both;
}

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

.hero-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--inkwit-red);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1.5px;
    background: var(--inkwit-red);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--inkwit-black);
    margin-bottom: 1.5rem;
}

.hero-tagline em {
    font-style: italic;
    color: var(--inkwit-red);
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--smoke);
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    background: var(--inkwit-black);
    color: var(--cream);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--inkwit-red);
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-cta:hover::before { transform: translateX(0); }
.hero-cta:hover { color: var(--inkwit-white); }
.hero-cta span, .hero-cta svg { position: relative; z-index: 1; }

.hero-cta svg {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.hero-cta:hover svg { transform: translateX(4px); }

.hero-visual {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem 6rem 0;
    animation: heroVisualIn 1.2s ease-out 0.5s both;
}

@keyframes heroVisualIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-cards {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    perspective: 1000px;
}

.hero-card {
    width: 220px;
    background: white;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-card:nth-child(1) { transform: rotate(-4deg) translateY(20px); }
.hero-card:nth-child(2) { transform: scale(1.08); z-index: 2; }
.hero-card:nth-child(3) { transform: rotate(3deg) translateY(30px); }

.hero-card:hover {
    transform: scale(1.12) rotate(0deg) translateY(-10px) !important;
    box-shadow: 0 35px 80px rgba(0,0,0,0.12), 0 12px 30px rgba(0,0,0,0.06);
    z-index: 3;
}

.hero-card-img {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--parchment);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--smoke);
    position: relative;
    overflow: hidden;
}

.hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mockup shirt illustrations in hero cards */
.hero-card-img .shirt-mock {
    width: 70%;
    height: 60%;
    border-radius: 4px;
    position: relative;
}

.shirt-mock .design-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 0.65rem;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.02em;
    width: 70%;
}

.hero-card-caption {
    padding: 0.9rem 1rem;
    text-align: center;
}

.hero-card-caption .card-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--inkwit-black);
    margin-bottom: 0.2rem;
}

.hero-card-caption .card-price {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--smoke);
}

/* --------------------------------------------------------------------------
   MARQUEE BAR — scrolling ticker
   -------------------------------------------------------------------------- */
.inkwit-marquee {
    background: var(--inkwit-black);
    padding: 0.85rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.marquee-item .sep {
    width: 5px;
    height: 5px;
    background: var(--inkwit-red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   BEST SELLERS / Products Section
   -------------------------------------------------------------------------- */
.inkwit-products {
    padding: 6rem 2.5rem;
    background: var(--cream);
    max-width: 1320px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--inkwit-red);
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--inkwit-red);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--inkwit-black);
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
}

.products-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.products-cta,
.view-all-cta {
    text-align: center;
    margin-top: 2rem;
}

.view-all-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--inkwit-black);
    border-bottom: 1.5px solid var(--inkwit-black);
    padding-bottom: 0.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-all-cta a:hover {
    color: var(--inkwit-red);
    border-color: var(--inkwit-red);
}

.view-all-cta a svg {
    transition: transform 0.3s ease;
}

.view-all-cta a:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Products Grid — Hover Overlays, Badges
   -------------------------------------------------------------------------- */
.woocommerce ul.products li.product {
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__link {
    transform: translateY(-8px);
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 0 0.5rem;
}

.woocommerce ul.products li.product .price {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--inkwit-black);
}

.woocommerce ul.products li.product img {
    transition: all 0.5s ease;
}

.woocommerce ul.products li.product:hover img {
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.15);
}

/* Product badges */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--inkwit-black);
    color: white;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    z-index: 2;
}

.product-badge.fit-badge {
    background: var(--inkwit-red);
    left: auto;
    right: 1rem;
}

/* Quick shop overlay */
.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.0);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    transition: background 0.4s ease;
    z-index: 1;
}

.woocommerce ul.products li.product:hover .product-card-overlay {
    background: rgba(17,17,17,0.06);
}

.quick-shop-btn {
    padding: 0.6rem 1.5rem;
    background: var(--inkwit-black);
    color: white;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.woocommerce ul.products li.product:hover .quick-shop-btn {
    transform: translateY(0);
    opacity: 1;
}

.quick-shop-btn:hover { background: var(--inkwit-red); }

/* --------------------------------------------------------------------------
   Single Product
   -------------------------------------------------------------------------- */
.single-product div.product .product_title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.single-product div.product .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--inkwit-black);
}

.single-product div.product .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    color: var(--smoke);
    margin: 1.5rem 0;
}

/* --------------------------------------------------------------------------
   BRAND STORY — 2-column split
   -------------------------------------------------------------------------- */
.inkwit-brand-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    position: relative;
}

.brand-story-visual {
    background: var(--inkwit-black);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.brand-story-visual::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 40rem;
    font-weight: 700;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: -8rem;
    left: -4rem;
    line-height: 1;
    pointer-events: none;
}

.story-visual-content {
    max-width: 340px;
    text-align: center;
}

.story-big-quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: white;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.story-attribution {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--inkwit-red);
}

.brand-story-text {
    display: flex;
    align-items: center;
    padding: 5rem 6rem;
    background: var(--parchment);
}

.brand-story-text .story-content { max-width: 420px; }

.brand-story-text .section-label {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.brand-story-text .section-label::after { display: none; }

.brand-story-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--inkwit-black);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.brand-story-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--smoke);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.brand-story-text p strong {
    color: var(--inkwit-black);
    font-weight: 500;
}

.brand-values {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.brand-value {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.brand-value .value-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--inkwit-red);
    line-height: 1;
}

.brand-value .value-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--smoke);
}

/* --------------------------------------------------------------------------
   HOW IT WORKS — 3-step row
   -------------------------------------------------------------------------- */
.inkwit-how-it-works {
    padding: 5rem 2.5rem;
    background: white;
    text-align: center;
}

.inkwit-how-it-works .section-header { margin-bottom: 3rem; }

.steps-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    max-width: 240px;
}

.step-icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--inkwit-black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    background: var(--inkwit-black);
    color: white;
}

.step-item:hover .step-icon svg { stroke: white; }

.step-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--inkwit-black);
    transition: stroke 0.3s ease;
}

.step-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--inkwit-red);
    margin-bottom: 0.5rem;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--inkwit-black);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--smoke);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   NEWSLETTER — Refined signup
   -------------------------------------------------------------------------- */
.inkwit-newsletter {
    background: var(--parchment-deep);
    padding: 6rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.inkwit-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(17,17,17,0.1), transparent);
}

.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.inkwit-newsletter .section-title {
    margin-bottom: 0.75rem;
}

.newsletter-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--smoke);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    border: 2px solid var(--inkwit-black);
    overflow: hidden;
    max-width: 460px;
    margin: 0 auto;
    transition: border-color 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: var(--inkwit-red);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.95rem 1.25rem;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    background: white;
    color: var(--inkwit-black);
    min-width: 0;
}

.newsletter-form input::placeholder {
    color: var(--smoke);
    font-weight: 300;
}

.newsletter-form button {
    padding: 0.95rem 1.75rem;
    background: var(--inkwit-black);
    color: white;
    border: none;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover { background: var(--inkwit-red); }

.newsletter-note {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--smoke);
    margin-top: 1rem;
}

.newsletter-perks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.perk {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--smoke);
}

.perk svg { width: 14px; height: 14px; stroke: var(--inkwit-red); }

/* --------------------------------------------------------------------------
   FOOTER — 4-column grid
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--inkwit-black);
    color: var(--inkwit-white);
    padding: 4.5rem 2.5rem 2rem;
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.footer-brand .footer-logo .ink { color: white; }
.footer-brand .footer-logo .wit { color: var(--inkwit-red); }

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 280px;
}

.site-footer h4,
.site-footer .widget-title,
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--inkwit-red);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-col ul li a:hover { color: white; }

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--inkwit-white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
}

.footer-social a:hover {
    border-color: var(--inkwit-red);
    background: var(--inkwit-red);
    color: white;
}

.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

.site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   GROUPED PRODUCT PAGE — Side-by-side fit cards
   -------------------------------------------------------------------------- */
.inkwit-grouped-product {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.inkwit-grouped-header {
    margin-bottom: 2rem;
}

.inkwit-grouped-header .product-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--inkwit-black);
    letter-spacing: -0.02em;
}

.inkwit-grouped-header .product-description {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--smoke);
    line-height: 1.7;
    margin-top: 0.75rem;
    max-width: 600px;
}

.inkwit-fit-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(17,17,17,0.08);
    background: var(--cream);
    overflow: hidden;
}

.inkwit-fit-card {
    padding: 2rem 2.5rem;
    border-right: 1px solid rgba(17,17,17,0.08);
    transition: background 0.3s ease;
}

.inkwit-fit-card:last-child { border-right: none; }
.inkwit-fit-card:hover { background: white; }

.fit-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--inkwit-red);
    margin-bottom: 0.75rem;
}

.fit-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--inkwit-black);
    margin-bottom: 0.25rem;
}

.fit-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--smoke);
    margin-bottom: 1rem;
}

.fit-price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--inkwit-black);
    margin-bottom: 1.25rem;
}

.fit-selectors {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.fit-select {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid rgba(17,17,17,0.15);
    background: white;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--inkwit-black);
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
    border-radius: 0;
}

.fit-select:focus { border-color: var(--inkwit-red); }

.fit-add-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--inkwit-black);
    color: white;
    border: none;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fit-add-btn:hover {
    background: var(--inkwit-red);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Homepage Content Spacing
   -------------------------------------------------------------------------- */
.storefront-product-section,
.storefront-homepage-content {
    padding: 4rem 0;
}

.page-template-template-homepage .site-main {
    padding-top: 0;
}

.type-page.hentry.page .entry-content {
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Forms & Inputs
   -------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select,
.input-text {
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--inkwit-black);
    border-radius: 0;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
.input-text:focus {
    border-color: var(--inkwit-red);
    outline: none;
}

/* --------------------------------------------------------------------------
   Cart & Checkout
   -------------------------------------------------------------------------- */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
    background-color: var(--parchment);
    padding: 2rem;
}

.woocommerce table.shop_table {
    border: 1px solid var(--parchment);
    border-radius: 0;
}

.woocommerce table.shop_table th {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Sale Badge
   -------------------------------------------------------------------------- */
.woocommerce span.onsale {
    background-color: var(--inkwit-red);
    color: var(--inkwit-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    padding: 0.5rem 1rem;
    min-height: auto;
    min-width: auto;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.woocommerce-breadcrumb {
    font-size: 0.85rem;
    color: var(--smoke);
    margin-bottom: 2rem;
}

.woocommerce-breadcrumb a {
    color: var(--smoke);
}

.woocommerce-breadcrumb a:hover {
    color: var(--inkwit-red);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woocommerce ul.products li.product {
    animation: fadeUp 0.6s ease forwards;
}

.woocommerce ul.products li.product:nth-child(1) { animation-delay: 0.1s; }
.woocommerce ul.products li.product:nth-child(2) { animation-delay: 0.2s; }
.woocommerce ul.products li.product:nth-child(3) { animation-delay: 0.3s; }
.woocommerce ul.products li.product:nth-child(4) { animation-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-accent {
    color: var(--inkwit-red);
}

.bg-dark {
    background-color: var(--inkwit-black);
    color: var(--inkwit-white);
}

.bg-light {
    background-color: var(--parchment);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .inkwit-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-text {
        padding: 8rem 2rem 3rem;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-label { justify-content: center; }

    .hero-visual {
        height: auto;
        padding: 2rem;
    }

    .inkwit-brand-story {
        grid-template-columns: 1fr;
    }

    .brand-story-text {
        padding: 4rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .inkwit-fit-cards {
        grid-template-columns: 1fr;
    }

    .inkwit-fit-card {
        border-right: none;
        border-bottom: 1px solid rgba(17,17,17,0.08);
    }

    .inkwit-fit-card:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .site-title a {
        font-size: 1.5rem;
    }

    button,
    .button,
    .woocommerce a.button,
    .woocommerce button.button {
        padding: 0.75rem 1.5rem;
    }

    .storefront-product-section,
    .storefront-homepage-content {
        padding: 2rem 0;
    }

    .hero-tagline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-cards { gap: 0.75rem; }
    .hero-card { width: 140px; }
    .hero-card:nth-child(1),
    .hero-card:nth-child(3) { display: none; }
    .hero-card:nth-child(2) { width: 200px; }

    .inkwit-products { padding: 4rem 1.5rem; }
    .inkwit-how-it-works { padding: 3rem 1.5rem; }

    .steps-row {
        flex-direction: column;
        gap: 2.5rem;
    }

    .brand-story-text { padding: 3rem 1.5rem; }

    .brand-values {
        flex-direction: column;
        gap: 1rem;
    }

    .inkwit-newsletter { padding: 4rem 1.5rem; }

    .newsletter-form {
        flex-direction: column;
        border: none;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        border: 2px solid var(--inkwit-black);
    }

    .newsletter-form input[type="email"] {
        border-bottom: none;
    }

    .newsletter-perks {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-top { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
