/* ==========================================================================
   OMOTOSHODESIGN - Main Stylesheet
   Converted from Tailwind CSS to vanilla CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Colors (HSL) */
    --background: hsl(40, 20%, 98%);
    --foreground: hsl(0, 0%, 8%);
    --card: hsl(40, 30%, 97%);
    --card-foreground: hsl(0, 0%, 8%);
    --primary: hsl(0, 0%, 8%);
    --primary-foreground: hsl(40, 20%, 98%);
    --secondary: hsl(35, 30%, 92%);
    --secondary-foreground: hsl(0, 0%, 8%);
    --muted: hsl(35, 20%, 94%);
    --muted-foreground: hsl(0, 0%, 45%);
    --accent: hsl(24, 70%, 50%);
    --accent-foreground: hsl(40, 20%, 98%);
    --border: hsl(35, 20%, 88%);
    --cream: hsl(40, 30%, 95%);
    --beige: hsl(35, 25%, 85%);
    --terracotta: hsl(18, 65%, 55%);
    --sand: hsl(38, 30%, 90%);
    --charcoal: hsl(0, 0%, 15%);

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Shadows */
    --shadow-soft: 0 4px 20px -4px hsla(0, 0%, 0%, 0.08);
    --shadow-hover: 0 8px 30px -4px hsla(0, 0%, 0%, 0.12);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-out;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.025em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

ul, ol {
    list-style: none;
}

input, button, textarea, select {
    font: inherit;
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

/* --------------------------------------------------------------------------
   Announcement Bar
   -------------------------------------------------------------------------- */
.announcement-bar {
    background-color: var(--foreground);
    color: var(--primary-foreground);
    padding: 0.625rem 0;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    z-index: 60;
}

.announcement-bar.is-hidden {
    display: none;
}

.announcement-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 2.5rem;
}

.announcement-bar__countdown {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.countdown__unit {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.countdown__number {
    font-weight: 500;
}

.countdown__label {
    font-size: 0.625rem;
    opacity: 0.7;
}

.countdown__separator {
    opacity: 0.5;
    margin: 0 0.25rem;
}

.announcement-bar__text--mobile {
    display: inline;
}

.announcement-bar__text--desktop {
    display: none;
}

@media (min-width: 640px) {
    .announcement-bar__text--mobile {
        display: none;
    }
    .announcement-bar__text--desktop {
        display: inline;
    }
}

.announcement-bar__close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem;
    opacity: 0.6;
    transition: opacity 0.3s;
    color: var(--primary-foreground);
}

.announcement-bar__close:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Site Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--background);
    background-color: rgba(252, 251, 249, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.site-header__nav {
    position: relative;
}

.site-header__inner {
    display: flex;
    align-items: center;
    height: 4rem;
    position: relative;
}

@media (min-width: 1024px) {
    .site-header__inner {
        height: 5rem;
    }
}

/* Left & Right Nav (Desktop) */
.site-header__left,
.site-header__right {
    display: none;
}

@media (min-width: 1024px) {
    .site-header__left,
    .site-header__right {
        display: flex;
        align-items: center;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu__item {
    list-style: none;
}

/* Nav Link */
.nav-link {
    position: relative;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(20, 20, 20, 0.8);
    transition: var(--transition-smooth);
    padding: 0.25rem 0;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--foreground);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.site-header__menu-toggle {
    padding: 0.5rem;
    margin-left: -0.5rem;
}

@media (min-width: 1024px) {
    .site-header__menu-toggle {
        display: none;
    }
}

/* Logo */
.site-header__logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .site-logo {
        font-size: 1.5rem;
    }
}

.site-logo img,
.site-logo .custom-logo {
    height: 40px;
    width: auto;
}

/* Header Icons */
.site-header__icons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: opacity 0.3s;
    position: relative;
}

.header-icon:hover {
    opacity: 0.7;
}

.header-icon--account {
    display: none;
}

@media (min-width: 640px) {
    .header-icon--account {
        display: flex;
    }
}

/* Cart Badge */
.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background-color: var(--foreground);
    color: var(--primary-foreground);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    z-index: 50;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.is-open {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu__inner {
    padding: 1.5rem 1rem;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__list li {
    list-style: none;
}

.mobile-menu__list a {
    display: block;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: opacity 0.3s;
}

.mobile-menu__list a:hover {
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Hero Carousel
   -------------------------------------------------------------------------- */
.hero-carousel {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-carousel {
        height: 90vh;
    }
}

.hero-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease;
}

.hero-carousel__slide--active {
    opacity: 1;
    z-index: 10;
}

.hero-carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 20, 20, 0.2);
}

.hero-carousel__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-carousel__content {
        padding-bottom: 8rem;
    }
}

.hero-carousel__title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    color: var(--primary-foreground);
    margin-bottom: 2rem;
    max-width: 48rem;
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: 0.3s;
}

.hero-carousel__slide--active .hero-carousel__title {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .hero-carousel__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-carousel__title {
        font-size: 3.75rem;
    }
}

.hero-carousel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--primary-foreground);
    background: transparent;
    color: var(--primary-foreground);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(2rem);
    transition-delay: 0.5s;
}

.hero-carousel__slide--active .hero-carousel__cta {
    opacity: 1;
    transform: translateY(0);
}

.hero-carousel__cta:hover {
    background-color: var(--primary-foreground);
    color: var(--foreground);
}

/* Carousel Arrows */
.hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    padding: 0.75rem;
    color: rgba(252, 251, 249, 0.8);
    transition: color 0.3s;
}

.hero-carousel__arrow:hover {
    color: var(--primary-foreground);
}

.hero-carousel__arrow--prev {
    left: 1rem;
}

.hero-carousel__arrow--next {
    right: 1rem;
}

@media (min-width: 768px) {
    .hero-carousel__arrow--prev {
        left: 2rem;
    }
    .hero-carousel__arrow--next {
        right: 2rem;
    }
}

/* Carousel Dots */
.hero-carousel__dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(252, 251, 249, 0.5);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-carousel__dot:hover {
    background-color: rgba(252, 251, 249, 0.7);
}

.hero-carousel__dot--active {
    background-color: var(--primary-foreground);
    width: 2rem;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Quote Section
   -------------------------------------------------------------------------- */
.quote-section {
    padding: 5rem 0;
    background-color: var(--secondary);
}

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

.quote-section__text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    line-height: 1.7;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
    color: rgba(20, 20, 20, 0.9);
}

@media (min-width: 768px) {
    .quote-section__text {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .quote-section__text {
        font-size: 2.25rem;
    }
}

.quote-section__italic {
    font-style: italic;
}

/* --------------------------------------------------------------------------
   Featured Products / Product Grid
   -------------------------------------------------------------------------- */
.featured-products {
    padding: 4rem 0;
}

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

.product-grid {
    display: grid;
    gap: 1rem;
}

.product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
    .product-grid--4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .product-grid {
        gap: 1.5rem;
    }
}

.product-grid--shop {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .product-grid--shop {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid--shop {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Product Card
   -------------------------------------------------------------------------- */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card__link {
    display: block;
}

.product-card__image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--secondary);
    aspect-ratio: 3 / 4;
}

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

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

.product-card__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 20, 20, 0);
    transition: background-color 0.5s ease;
}

.product-card:hover .product-card__overlay {
    background-color: rgba(20, 20, 20, 0.1);
}

/* Quick View Button */
.product-card__quick-view {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.5s ease;
}

.product-card:hover .product-card__quick-view {
    opacity: 1;
    transform: translateY(0);
}

.product-card__quick-view-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--background);
    color: var(--foreground);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-card__quick-view-btn:hover {
    background-color: var(--foreground);
    color: var(--primary-foreground);
}

/* Product Card Info */
.product-card__info {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.product-card__name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    margin-bottom: 0.25rem;
}

.product-card__price {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.product-card__colors {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   Style Section (50/50)
   -------------------------------------------------------------------------- */
.style-section {
    position: relative;
}

.style-section__grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .style-section__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.style-section__image-wrapper {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

@media (min-width: 768px) {
    .style-section__image-wrapper {
        height: 80vh;
    }
}

.style-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-section__content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    padding: 2rem;
}

@media (min-width: 768px) {
    .style-section__content {
        padding: 4rem;
    }
}

@media (min-width: 1024px) {
    .style-section__content {
        padding: 6rem;
    }
}

.style-section__content-inner {
    max-width: 28rem;
    text-align: center;
}

@media (min-width: 768px) {
    .style-section__content-inner {
        text-align: left;
    }
}

.style-section__heading {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .style-section__heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .style-section__heading {
        font-size: 3rem;
    }
}

.style-section__text {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   btn-elegant (Sliding Fill Button)
   -------------------------------------------------------------------------- */
.btn-elegant {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--foreground);
    background: transparent;
    color: var(--foreground);
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
}

.btn-elegant::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--foreground);
    transform: translateX(-100%);
    transition: transform 0.5s ease-out;
}

.btn-elegant:hover::before {
    transform: translateX(0);
}

.btn-elegant span {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

.btn-elegant:hover span {
    color: var(--primary-foreground);
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section {
    padding: 5rem 0;
    background-color: var(--muted);
    text-align: center;
}

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

.newsletter-section__heading {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .newsletter-section__heading {
        font-size: 2.25rem;
    }
}

.newsletter-section__text {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form__input {
    flex: 1;
    padding: 1rem 1.5rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--foreground);
    outline: none;
    transition: border-color 0.3s;
}

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

.newsletter-form__input:focus {
    border-color: var(--foreground);
}

.newsletter-form__button {
    padding: 1rem 2rem;
    background-color: var(--foreground);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.newsletter-form__button:hover {
    background-color: rgba(20, 20, 20, 0.9);
}

.newsletter-form__message {
    margin-top: 1rem;
    font-size: 0.875rem;
}

.newsletter-form__message--success {
    color: #16a34a;
}

.newsletter-form__message--error {
    color: #dc2626;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--foreground);
    color: var(--primary-foreground);
}

.site-footer .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .site-footer .container {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Footer Brand */
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
}

.footer-brand__tagline {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 24rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid rgba(252, 251, 249, 0.3);
    transition: border-color 0.3s;
}

.footer-social__link:hover {
    border-color: var(--primary-foreground);
}

/* Footer Links */
.footer-links__heading {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

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

.footer-links__list li {
    margin-bottom: 0.75rem;
    list-style: none;
}

.footer-links__list a {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links__list a:hover {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(252, 251, 249, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

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

.footer-bottom__copyright {
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-bottom__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom__links a {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-bottom__links a:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Shop Page
   -------------------------------------------------------------------------- */
.shop-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background-color: var(--secondary);
}

@media (min-width: 768px) {
    .shop-hero {
        padding: 5rem 0 3rem;
    }
}

.shop-hero__title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .shop-hero__title {
        font-size: 3rem;
    }
}

.shop-hero__description {
    color: var(--muted-foreground);
    margin-top: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.shop-controls__count {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.shop-controls__sort select,
.shop-controls .woocommerce-ordering select {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    background-color: transparent;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23141414' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.shop-pagination {
    padding: 3rem 0;
    text-align: center;
}

.shop-empty {
    text-align: center;
    padding: 6rem 0;
}

.shop-empty__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.shop-empty__text {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Collection Hero
   -------------------------------------------------------------------------- */
.collection-hero {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    overflow: hidden;
}

@media (min-width: 768px) {
    .collection-hero {
        height: 50vh;
    }
}

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

.collection-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 20, 20, 0.3);
}

.collection-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--primary-foreground);
}

.collection-hero__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .collection-hero__title {
        font-size: 3.5rem;
    }
}

.collection-hero__description {
    margin-top: 1rem;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Single Product
   -------------------------------------------------------------------------- */
.breadcrumbs {
    padding: 1.5rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.breadcrumbs a {
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--foreground);
}

.breadcrumbs__separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.single-product {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .single-product {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Product Gallery */
.single-product__gallery {
    position: relative;
}

.single-product__main-image {
    background-color: var(--secondary);
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.single-product__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-product__thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.single-product__thumb {
    width: 4rem;
    height: 5rem;
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.3s;
}

.single-product__thumb--active {
    border-color: var(--foreground);
}

.single-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details */
.single-product__details {
    padding-top: 1rem;
}

.single-product__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .single-product__title {
        font-size: 2.5rem;
    }
}

.single-product__price {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.single-product__description {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.single-product__meta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.single-product__meta p {
    margin-bottom: 0.5rem;
}

.single-product__meta a {
    transition: color 0.3s;
}

.single-product__meta a:hover {
    color: var(--foreground);
}

/* Product Accordion */
.product-accordion {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
}

.product-accordion__item {
    border-bottom: 1px solid var(--border);
}

.product-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.product-accordion__trigger svg {
    transition: transform 0.3s;
}

.product-accordion__trigger.is-open svg {
    transform: rotate(180deg);
}

.product-accordion__content {
    display: none;
    padding-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.product-accordion__content.is-open {
    display: block;
}

/* Related Products */
.related-products {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.related-products__title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    text-align: center;
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Our Story Page
   -------------------------------------------------------------------------- */
.story-hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .story-hero {
        height: 60vh;
    }
}

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

.story-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 20, 20, 0.4);
}

.story-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--primary-foreground);
    padding: 0 1rem;
}

.story-hero__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .story-hero__title {
        font-size: 3.5rem;
    }
}

.story-hero__subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Story Content */
.story-content {
    padding: 4rem 0;
}

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

.story-content__text {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.story-content__heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .story-content__heading {
        font-size: 2.5rem;
    }
}

.story-content__paragraph {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Story Full-Bleed Image */
.story-image {
    width: 100%;
    height: 40vh;
    overflow: hidden;
}

@media (min-width: 768px) {
    .story-image {
        height: 60vh;
    }
}

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

/* Values Grid */
.values-section {
    padding: 4rem 0;
    background-color: var(--secondary);
}

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

.values-section__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .values-section__title {
        font-size: 2.5rem;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

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

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card__icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.value-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.value-card__text {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Page Template (Generic)
   -------------------------------------------------------------------------- */
.page-content {
    padding: 4rem 0;
}

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

.page-content__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    text-align: center;
    margin-bottom: 3rem;
}

/* --------------------------------------------------------------------------
   404 Page
   -------------------------------------------------------------------------- */
.error-404 {
    text-align: center;
    padding: 8rem 0;
}

.error-404__code {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .error-404__code {
        font-size: 10rem;
    }
}

.error-404__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.error-404__text {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   WooCommerce Add to Cart (Single Product)
   -------------------------------------------------------------------------- */
.single_add_to_cart_button,
.woocommerce button.button.alt,
button.single_add_to_cart_button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--foreground) !important;
    color: var(--primary-foreground) !important;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--font-body);
}

.single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover {
    background-color: rgba(20, 20, 20, 0.85) !important;
}

/* Quantity Input */
.quantity .qty {
    width: 4rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: transparent;
}

/* Variations */
.variations td {
    padding: 0.75rem 0;
}

.variations select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: transparent;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23141414' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.variations .label label {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-down {
    animation: slideDown 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --------------------------------------------------------------------------
   WordPress Specific
   -------------------------------------------------------------------------- */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.entry-content > * + * {
    margin-top: 1.5rem;
}

/* WooCommerce pagination */
.woocommerce-pagination {
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    font-size: 0.875rem;
    transition: all 0.3s;
}

.woocommerce-pagination ul li span.current {
    background-color: var(--foreground);
    color: var(--primary-foreground);
    border-color: var(--foreground);
}

.woocommerce-pagination ul li a:hover {
    border-color: var(--foreground);
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--foreground);
    background-color: var(--secondary);
    font-size: 0.875rem;
}

.woocommerce-error {
    border-left-color: #dc2626;
}

/* WooCommerce result count */
.woocommerce-result-count {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* WooCommerce ordering */
.woocommerce-ordering {
    margin: 0;
}

/* Demo Import Page (Admin) */
.omotosho-demo-import {
    max-width: 600px;
}

.omotosho-demo-import .button-primary {
    font-size: 14px;
    padding: 8px 24px;
}
