/* Antingsunrise - Luxury Bedding & Bath Styles */

/* Variables */
:root {
    --background: #FAF7F4;
    --surface: #FFFFFF;
    --primary: #8B5E3C;
    --primary-foreground: #FFFFFF;
    --secondary: #EDE7E0;
    --accent: #C4916E;
    --text-main: #2D2420;
    --text-muted: #7A6E65;
    --border: #E3DDD6;
    --success: #5B7B5D;
    --error: #A84040;
}

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

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: #3D4F45;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--secondary);
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--text-main);
}

.nav-desktop {
    display: none;
    gap: 40px;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.cart-link:hover {
    color: var(--accent);
}

.cart-icon {
    width: 20px;
    height: 20px;
}

.cart-text {
    display: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@media (min-width: 640px) {
    .cart-text {
        display: block;
    }
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: block;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

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

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

/* Hero */
.hero {
    padding: 64px 0;
}

@media (min-width: 1024px) {
    .hero {
        padding: 96px 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 5fr 7fr;
        gap: 64px;
    }
}

.hero-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 48px;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 60px;
    }
}

.hero-title em {
    font-style: italic;
}

.hero-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 400px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hero-image {
        height: 550px;
    }
}

.hero-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
}

.hero-tag-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.hero-tag-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--text-main);
}

/* Sections */
.section {
    padding: 80px 0;
}

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

.section-bg {
    background-color: #F5F3EF;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: 32px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.category-card {
    display: block;
}

.category-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 16px;
}

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

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

.category-name {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: var(--accent);
}

/* Products Grid */
.products-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .products-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: var(--accent);
}

.view-all-link svg {
    width: 16px;
    height: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

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

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

/* Product Card */
.product-card {
    display: block;
}

.product-image {
    background-color: #F5F3EF;
    aspect-ratio: 4/5;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.product-category {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: var(--accent);
}

.product-price {
    color: var(--accent);
    font-weight: 500;
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
}

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

.trust-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.trust-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.trust-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* Category Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 64px;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--text-muted);
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

/* Product Detail */
.product-detail {
    padding: 48px 0 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-main);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.product-detail-image {
    background-color: #F5F3EF;
    aspect-ratio: 4/5;
}

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

.product-detail-category {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 12px;
}

.product-detail-title {
    font-size: 32px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .product-detail-title {
        font-size: 40px;
    }
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--border);
    stroke-width: 1.5;
}

.star.filled {
    fill: var(--accent);
    stroke: var(--accent);
}

.rating-text {
    font-size: 14px;
    color: var(--text-muted);
}

.product-detail-price {
    font-size: 24px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Color Options */
.option-group {
    margin-bottom: 24px;
}

.option-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-main);
    margin-bottom: 16px;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-btn {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-btn:hover {
    border-color: var(--accent);
}

.color-btn.selected {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

/* Quantity */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.qty-btn:hover {
    border-color: var(--accent);
}

.qty-btn svg {
    width: 16px;
    height: 16px;
}

.qty-value {
    font-size: 18px;
    font-weight: 500;
    width: 48px;
    text-align: center;
}

/* Reviews */
.reviews-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.reviews-title {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-main);
    margin-bottom: 24px;
}

.review {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.review:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.review-comment {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.review-author {
    font-size: 13px;
    color: var(--text-muted);
}

/* Cart Page */
.cart-page {
    padding: 64px 0;
}

.page-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 48px;
    }
}

.cart-empty {
    text-align: center;
    padding: 64px 0;
}

.cart-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--border);
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cart-items {
    margin-bottom: 48px;
}

.cart-item {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 96px;
    height: 112px;
    flex-shrink: 0;
    background-color: #F5F3EF;
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.cart-item-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--text-main);
}

.cart-item-remove {
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--error);
}

.cart-item-remove svg {
    width: 20px;
    height: 20px;
}

.cart-item-color {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: auto;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-qty button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
}

.cart-item-qty span {
    font-size: 14px;
    font-weight: 500;
    width: 32px;
    text-align: center;
}

.cart-item-price {
    color: var(--accent);
    font-weight: 500;
}

/* Cart Summary */
.cart-summary {
    max-width: 500px;
    margin-left: auto;
    background-color: #F5F3EF;
    padding: 32px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cart-summary-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.cart-summary-total {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
}

.cart-summary-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cart-continue {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.cart-continue:hover {
    color: var(--accent);
}

/* Checkout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.checkout-items {
    margin-top: 24px;
}

.checkout-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checkout-item-image {
    width: 80px;
    height: 96px;
    flex-shrink: 0;
    background-color: #F5F3EF;
}

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

.checkout-item-details {
    flex: 1;
}

.checkout-item-name {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 4px;
}

.checkout-item-meta {
    font-size: 14px;
    color: var(--text-muted);
}

.checkout-item-price {
    color: var(--accent);
    font-weight: 500;
}

.checkout-summary {
    background-color: #F5F3EF;
    padding: 32px;
}

.checkout-summary-title {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
}

.checkout-row span:first-child {
    color: var(--text-muted);
}

.checkout-total {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-bottom: 32px;
}

.checkout-total-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
}

.payment-methods {
    margin-bottom: 24px;
}

.payment-methods p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.payment-badges {
    display: flex;
    gap: 8px;
}

.payment-badge {
    font-size: 11px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 4px 8px;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.secure-note svg {
    width: 12px;
    height: 12px;
}

.back-to-cart {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.back-to-cart:hover {
    color: var(--accent);
}

/* Form Inputs */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-main);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Content Pages */
.content-page {
    padding: 64px 0;
    max-width: 720px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .content-page h1 {
        font-size: 48px;
    }
}

.content-page h2 {
    font-size: 20px;
    margin: 40px 0 16px;
}

.content-page p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.content-page ul {
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-page li {
    margin-bottom: 8px;
}

.content-page a {
    color: var(--accent);
}

.content-page a:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    margin-top: 48px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background-color: #F5F3EF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.contact-item h3 {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
}

.contact-form {
    background-color: #F5F3EF;
    padding: 32px;
}

@media (min-width: 1024px) {
    .contact-form {
        padding: 48px;
    }
}

.contact-form h2 {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    margin-bottom: 96px;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    aspect-ratio: 4/5;
}

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

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
}

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

.value h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    margin-bottom: 16px;
}

.value p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    padding: 80px 32px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 40px;
    }
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
    margin: 0 auto 32px;
}

.cta-section .btn {
    background-color: white;
    color: var(--primary);
}

.cta-section .btn:hover {
    background-color: #F5F3EF;
}

/* Footer */
.footer {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

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

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

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

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-icons span:first-child {
    font-size: 12px;
    color: var(--text-muted);
}

.payment-card-icon {
    width: 38px;
    height: 24px;
}

/* Alerts/Notifications */
.alert {
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-success {
    background-color: rgba(50, 97, 77, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background-color: rgba(150, 60, 50, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 32px;
}

.mb-4 {
    margin-bottom: 16px;
}

/* Shipping Highlight */
.shipping-highlight {
    background-color: #F5F3EF;
    padding: 32px;
    margin-bottom: 24px;
}

.shipping-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.shipping-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shipping-free {
    color: var(--success);
    font-weight: 500;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background-color: var(--primary);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    animation: toastIn 0.3s ease;
    max-width: 360px;
}

.toast-success {
    background-color: var(--success);
}

.toast-error {
    background-color: var(--error);
}

.toast-hide {
    animation: toastOut 0.3s ease forwards;
}

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

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

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Lock icon in buttons */
.lock-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

/* Payment Method Tab Selection */
.pm-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 20px;
}

.pm-tabs {
    display: flex;
    margin-bottom: 28px;
}

.pm-tab {
    flex: 1;
    padding: 16px 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    background: #F5F3EF;
    color: var(--text-main);
    outline: none;
}

.pm-tab:first-child {
    border-radius: 2px 0 0 2px;
}

.pm-tab:last-child {
    border-radius: 0 2px 2px 0;
}

.pm-tab.active {
    background: var(--primary);
    color: #FAF9F6;
    box-shadow: inset 0 0 0 2px #A0764C;
}

.pm-tab:not(.active):hover {
    background: #EAE7E0;
}


/* Inline Card Details Form */
.card-details-section {
    margin-top: 0;
    margin-bottom: 4px;
}

.card-details-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 14px;
}

.card-input-container {
    border: 1px solid #D3D3D3;
    background: white;
    padding: 0;
    transition: border-color 0.2s ease;
}

.card-input-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(43, 58, 51, 0.06);
}

.card-input-row {
    display: flex;
    align-items: center;
    min-height: 52px;
}

.card-icon {
    padding: 0 10px 0 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.card-input {
    border: none;
    background: transparent;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    padding: 14px 0;
    outline: none;
}

.card-input::placeholder {
    color: #9CA3AF;
    font-size: 15px;
}

.card-number-input {
    flex: 1;
    min-width: 0;
}

.card-expiry-input {
    width: 85px;
    text-align: center;
    padding: 14px 8px;
}

.card-cvc-input {
    width: 55px;
    text-align: center;
    padding: 14px 8px;
}

.card-error-msg {
    font-size: 13px;
    color: #c0392b;
    margin-top: 8px;
    min-height: 18px;
}

.stripe-secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.stripe-secure-note svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .card-input-row {
        flex-wrap: wrap;
    }
    .card-number-input {
        width: 100%;
        border-bottom: 1px solid #D3D3D3;
        padding-left: 0;
    }
    .card-icon {
        padding: 0 8px 0 12px;
    }
    .card-expiry-input,
    .card-cvc-input {
        flex: 1;
    }
    .pm-tab {
        font-size: 14px;
        padding: 14px 12px;
    }
}
