.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--charcoal);
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slider__slide--active {
    opacity: 0.6;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(74, 29, 63, 0.4) 0%,
            rgba(26, 26, 26, 0.6) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    color: var(--white);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero__title em {
    font-style: italic;
    color: var(--gold);
}

.hero__description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured {
    padding: 6rem 0;
    background-color: var(--cream);
}

.featured__header {
    text-align: center;
    margin-bottom: 4rem;
}

.featured__label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.featured__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.featured__divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    transition: all 0.4s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    box-shadow: 0 15px 40px rgba(74, 29, 63, 0.1);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.product-card__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-card__image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card__image-wrapper img {
    transform: scale(1.05);
}

.product-card__badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 2;
}

.product-card__badge {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    width: fit-content;
}

.product-card__badge--discount {
    background: var(--gold);
    color: var(--charcoal);
}

.product-card__badge--sold-out {
    background: var(--charcoal);
    color: var(--white);
}

.product-card--sold-out .product-card__image-wrapper img {
    opacity: 0.55;
}

.product-card__body {
    padding: 1.5rem;
}

.product-card__category {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.product-card__name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-card__price {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--burgundy);
}

.product-card__price-original {
    text-decoration: line-through;
    color: var(--gray);
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.featured__cta {
    text-align: center;
    margin-top: 3.5rem;
}

.product-card--skeleton .product-card__image-wrapper {
    background: linear-gradient(110deg, var(--cream-dark) 8%, var(--cream) 18%, var(--cream-dark) 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

.product-card--skeleton .skeleton-text {
    height: 1rem;
    background: linear-gradient(110deg, var(--cream-dark) 8%, var(--cream) 18%, var(--cream-dark) 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.product-card--skeleton .skeleton-text--short {
    width: 40%;
}

.product-card--skeleton .skeleton-text--medium {
    width: 70%;
}

@keyframes shimmer {
    to {
        background-position-x: -200%;
    }
}

.categories {
    padding: 6rem 0;
    background: var(--white);
}

.categories__header {
    text-align: center;
    margin-bottom: 4rem;
}

.categories__label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.categories__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.categories__divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.category-card__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.category-card:hover .category-card__inner {
    transform: scale(1.05);
}

.category-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(74, 29, 63, 0.2) 0%,
            rgba(74, 29, 63, 0.7) 100%);
    transition: background 0.4s ease;
}

.category-card:hover .category-card__overlay {
    background: linear-gradient(to bottom,
            rgba(74, 29, 63, 0.3) 0%,
            rgba(74, 29, 63, 0.8) 100%);
}

.category-card__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem;
}

.category-card__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.category-card__count {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.craftsmanship {
    padding: 6rem 0;
    background: var(--cream);
}

.craftsmanship__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.craftsmanship__image-wrapper {
    position: relative;
    overflow: hidden;
}

.craftsmanship__image-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    pointer-events: none;
    z-index: 3;
}

.heritage-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.heritage-slider__slides {
    position: relative;
    width: 100%;
}

.heritage-slider__slide {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.heritage-slider__slide--active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.craftsmanship__content {
    padding: 1rem 0;
}

.craftsmanship__label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.craftsmanship__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.craftsmanship__text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.craftsmanship__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.craft-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.craft-feature__marker {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.craft-feature__text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.5;
}

.craft-feature__text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.newsletter {
    padding: 6rem 0;
    background: var(--burgundy);
    text-align: center;
}

.newsletter__label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.newsletter__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter__description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.newsletter__form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
}

.newsletter__input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter__input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter__button {
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter__button:hover {
    background: transparent;
    color: var(--gold);
}

.newsletter__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter__message {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    min-height: 1.5rem;
}

.newsletter__message--success {
    color: #a8e6cf;
}

.newsletter__message--error {
    color: #ffb3b3;
}

.newsletter__privacy {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
}

.newsletter__hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .craftsmanship__grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .craftsmanship__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .craftsmanship__image-accent {
        display: none;
    }

    .craftsmanship__features {
        grid-template-columns: 1fr;
    }

    .newsletter__form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter__input {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
    }

    .newsletter__button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }
}