/* Slentix - Home Interior eCommerce Styles */

/* ==================== CSS Variables ==================== */
:root {
    --background: #F7F5F0;
    --foreground: #1C1917;
    --primary: #3B4A3F;
    --primary-hover: #2D3930;
    --primary-foreground: #FFFFFF;
    --secondary: #E5E0D8;
    --secondary-foreground: #1C1917;
    --accent: #C2A878;
    --muted: #F2EFE9;
    --muted-foreground: #5C5A56;
    --border: #E5E0D8;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==================== Utility Classes ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.overline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted-foreground);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

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

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

/* ==================== Header ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(247, 245, 240, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 224, 216, 0.4);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

@media (min-width: 1024px) {
    .logo {
        font-size: 2rem;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 48px;
}

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

.nav-link {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cart-link {
    position: relative;
    padding: 8px;
    color: var(--foreground);
}

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

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

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-menu-toggle {
    display: block;
    padding: 8px;
}

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

.menu-icon {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    padding: 24px;
    border-top: 1px solid var(--border);
}

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

.mobile-nav-link {
    display: block;
    font-size: 1.125rem;
    padding: 12px 0;
    color: var(--foreground);
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    color: white;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btn {
    background-color: white;
    color: var(--foreground);
    padding: 16px 32px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.3s ease;
}

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

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

/* Marquee */
.marquee-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(247, 245, 240, 0.9);
    padding: 16px 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
}

.marquee-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(92, 90, 86, 0.5);
    margin: 0 64px;
}

@media (min-width: 1024px) {
    .marquee-text {
        font-size: 2rem;
    }
}

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

/* ==================== Section Styles ==================== */
.section {
    padding: 96px 24px;
}

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

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    color: var(--foreground);
}

.section-bg-alt {
    background-color: var(--muted);
}

/* ==================== Product Grid ==================== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

.product-card {
    display: block;
}

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

.product-image-container {
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--muted);
    margin-bottom: 16px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-category {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--foreground);
    transition: color 0.3s ease;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .product-name {
        font-size: 1.5rem;
    }
}

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

.product-price {
    font-size: 1.125rem;
    color: var(--foreground);
}

/* ==================== Category Grid ==================== */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    min-height: 300px;
}

@media (min-width: 768px) {
    .category-card:nth-child(1) {
        grid-column: span 7;
        grid-row: span 2;
        aspect-ratio: auto;
    }
    .category-card:nth-child(2) { grid-column: span 5; }
    .category-card:nth-child(3) { grid-column: span 5; }
    .category-card:nth-child(4) { grid-column: span 7; }
}

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

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2), transparent);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 32px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .category-title {
        font-size: 2.5rem;
    }
}

.category-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.category-card:hover .category-link {
    gap: 16px;
}

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

/* ==================== Filter Bar ==================== */
.filter-bar {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 40;
    background-color: rgba(247, 245, 240, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.filter-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.filter-btn {
    padding: 8px 24px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}

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

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

/* ==================== Product Detail ==================== */
.product-detail {
    padding: 48px 24px;
}

@media (min-width: 1024px) {
    .product-detail {
        padding: 96px 48px;
    }
}

.product-detail-inner {
    max-width: 1280px;
    margin: 0 auto;
}

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

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

.product-detail-image {
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--muted);
}

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

.product-detail-info {
    padding: 32px 0;
}

@media (min-width: 1024px) {
    .product-detail-info {
        padding: 32px 0;
    }
}

.product-detail-category {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.product-detail-title {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin-bottom: 24px;
}

@media (min-width: 1024px) {
    .product-detail-title {
        font-size: 3rem;
    }
}

.product-detail-price {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 32px;
}

.product-detail-description {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-features {
    margin-bottom: 32px;
}

.product-features-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 16px;
}

.product-features-list {
    list-style: none;
}

.product-features-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted-foreground);
    padding: 8px 0;
}

.product-features-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
}

.quantity-btn {
    padding: 16px;
    transition: background-color 0.3s ease;
}

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

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

.quantity-value {
    min-width: 60px;
    text-align: center;
    padding: 16px 24px;
}

.add-to-cart-row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.add-to-cart-btn {
    flex: 1;
    background-color: var(--primary);
    color: white;
    padding: 16px 32px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-hover);
}

.add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.shipping-info {
    padding: 24px;
    background-color: var(--muted);
    border: 1px solid var(--border);
}

.shipping-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.shipping-info strong {
    color: var(--foreground);
}

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

.reviews-title {
    font-size: 2rem;
    margin-bottom: 48px;
}

@media (min-width: 1024px) {
    .reviews-title {
        font-size: 2.5rem;
    }
}

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

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

.review-card {
    padding: 32px;
    background-color: white;
    border: 1px solid var(--border);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star {
    width: 16px;
    height: 16px;
    color: var(--border);
}

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

.review-text {
    color: var(--foreground);
    line-height: 1.8;
    margin-bottom: 16px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.review-author {
    font-weight: 500;
}

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

@media (min-width: 1024px) {
    .cart-page {
        padding: 96px 48px;
    }
}

.cart-inner {
    max-width: 1280px;
    margin: 0 auto;
}

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

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

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.cart-item-image {
    width: 100px;
    height: 120px;
    flex-shrink: 0;
    background-color: var(--muted);
    overflow: hidden;
}

@media (min-width: 640px) {
    .cart-item-image {
        width: 128px;
        height: 160px;
    }
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-category {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 4px;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 8px;
}

.cart-item-name:hover {
    color: var(--primary);
}

.cart-item-price {
    font-size: 1.125rem;
    color: var(--foreground);
}

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

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
}

.cart-quantity-btn {
    padding: 8px;
    transition: background-color 0.3s ease;
}

.cart-quantity-btn:hover {
    background-color: var(--muted);
}

.cart-quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.cart-quantity-value {
    min-width: 50px;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.875rem;
}

.cart-remove-btn {
    padding: 8px;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.cart-remove-btn:hover {
    color: #dc2626;
}

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

.cart-item-total {
    display: none;
    text-align: right;
}

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

.cart-item-total-price {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Cart Summary */
.cart-summary {
    background-color: white;
    border: 1px solid var(--border);
    padding: 32px;
    position: sticky;
    top: 112px;
}

.cart-summary-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.875rem;
}

.cart-summary-label {
    color: var(--muted-foreground);
}

.cart-summary-value {
    color: var(--foreground);
}

.cart-summary-value.free {
    color: var(--primary);
}

.cart-summary-divider {
    border-top: 1px solid var(--border);
    margin: 8px 0;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.cart-summary-total-label {
    font-weight: 600;
}

.cart-summary-total-value {
    font-weight: 600;
}

.cart-free-shipping-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 16px;
    margin-bottom: 24px;
}

.checkout-btn {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 16px 32px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
}

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

.cart-payment-methods {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.cart-payment-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.cart-payment-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.payment-icon {
    height: 24px;
    width: auto;
    color: var(--muted-foreground);
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 96px 24px;
}

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

.empty-cart-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

/* ==================== Checkout Page ==================== */
.checkout-page {
    padding: 64px 24px;
}

@media (min-width: 1024px) {
    .checkout-page {
        padding: 96px 48px;
    }
}

.checkout-inner {
    max-width: 900px;
    margin: 0 auto;
}

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

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

.checkout-form-section {
    padding-bottom: 48px;
}

.checkout-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 16px;
    background-color: transparent;
    border: 1px solid var(--border);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.form-hint {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 8px;
}

.secure-payment-box {
    padding: 24px;
    background-color: var(--muted);
    border: 1px solid var(--border);
    margin-top: 48px;
}

.secure-payment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.secure-payment-header svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.secure-payment-header span {
    font-weight: 600;
}

.secure-payment-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Checkout Summary */
.checkout-summary {
    background-color: white;
    border: 1px solid var(--border);
    padding: 24px;
}

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

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

.checkout-item:last-child {
    margin-bottom: 0;
}

.checkout-item-image {
    width: 64px;
    height: 80px;
    flex-shrink: 0;
    background-color: var(--muted);
    overflow: hidden;
}

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

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

.checkout-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.checkout-item-qty {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.checkout-item-price {
    font-size: 0.875rem;
}

.checkout-totals {
    margin-bottom: 24px;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.875rem;
}

.checkout-total-label {
    color: var(--muted-foreground);
}

.checkout-total-value {
    color: var(--foreground);
}

.checkout-total-value.free {
    color: var(--primary);
}

.checkout-final-total {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
}

.checkout-final-label {
    font-weight: 600;
}

.checkout-final-value {
    font-weight: 600;
    font-size: 1.25rem;
}

.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 16px 32px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
}

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

.pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.pay-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ==================== Page Header ==================== */
.page-header {
    padding: 64px 24px;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .page-header {
        padding: 96px 48px;
    }
}

.page-header-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: -0.04em;
    color: var(--foreground);
}

/* ==================== About Page ==================== */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

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

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.about-hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

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

.about-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.about-hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    color: white;
    letter-spacing: -0.04em;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

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

.about-text h2 {
    font-size: 2rem;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

@media (min-width: 1024px) {
    .about-text h2 {
        font-size: 2.5rem;
    }
}

.about-text p {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

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

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

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

.value-card {
    text-align: center;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.value-text {
    color: var(--muted-foreground);
    line-height: 1.8;
}

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

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

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 32px;
}

@media (min-width: 1024px) {
    .contact-info h2 {
        font-size: 2.5rem;
    }
}

.contact-info > p {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background-color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-method-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-method-value {
    color: var(--muted-foreground);
}

.contact-method-value a:hover {
    color: var(--primary);
}

.contact-method-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 4px;
}

.contact-form-container {
    background-color: white;
    border: 1px solid var(--border);
    padding: 32px;
}

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

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

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

.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 16px 32px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
}

.contact-submit-btn:hover {
    background-color: var(--primary-hover);
}

.contact-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

/* ==================== Policy Pages ==================== */
.policy-content {
    padding: 64px 24px;
}

@media (min-width: 1024px) {
    .policy-content {
        padding: 96px 48px;
    }
}

.policy-inner {
    max-width: 800px;
    margin: 0 auto;
}

.policy-updated {
    color: var(--muted-foreground);
    margin-bottom: 24px;
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.policy-section p {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-section ul {
    list-style: disc;
    padding-left: 24px;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.policy-section li {
    margin-bottom: 8px;
}

/* Shipping/Refunds Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 64px;
}

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

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

.info-box {
    text-align: center;
    padding: 32px;
    background-color: white;
    border: 1px solid var(--border);
}

.info-box-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin: 0 auto 16px;
}

.info-box-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.info-box-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.rate-box {
    background-color: var(--muted);
    border: 1px solid var(--border);
    padding: 24px;
    margin: 24px 0;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.rate-label {
    color: var(--muted-foreground);
}

.rate-value {
    font-weight: 500;
}

.rate-value.free {
    color: var(--primary);
}

/* ==================== Success Page ==================== */
.success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
}

.success-content {
    text-align: center;
    max-width: 600px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.success-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.success-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 32px;
}

.success-details {
    background-color: white;
    border: 1px solid var(--border);
    padding: 32px;
    margin-bottom: 32px;
    text-align: left;
}

.success-details-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.success-details-header svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.success-details-header span {
    font-weight: 600;
}

.success-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.875rem;
}

.success-row-label {
    color: var(--muted-foreground);
}

.success-row-value {
    color: var(--foreground);
}

.success-row-value.paid {
    color: #16a34a;
    font-weight: 500;
}

.success-row-value.processing {
    color: #ca8a04;
    font-weight: 500;
}

.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 640px) {
    .success-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ==================== Newsletter Section ==================== */
.newsletter {
    background-color: var(--primary);
    color: white;
    padding: 96px 24px;
    text-align: center;
}

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

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.newsletter-input {
    flex: 1;
    min-width: 300px;
    padding: 16px 24px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: white;
}

.newsletter-btn {
    background-color: white;
    color: var(--primary);
    padding: 16px 32px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
}

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

/* ==================== Footer ==================== */
.site-footer {
    background-color: var(--foreground);
    color: var(--background);
    padding: 96px 24px;
}

@media (min-width: 1024px) {
    .site-footer {
        padding: 128px 48px;
    }
}

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

.footer-brand {
    margin-bottom: 80px;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 10vw);
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(247, 245, 240, 0.1);
}

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

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

.footer-col-wide {
    max-width: 400px;
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(247, 245, 240, 0.7);
    line-height: 1.8;
}

.footer-heading {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
}

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

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

.footer-links a {
    font-size: 0.875rem;
    color: rgba(247, 245, 240, 0.7);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(247, 245, 240, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

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

.copyright {
    font-size: 0.75rem;
    color: rgba(247, 245, 240, 0.5);
}

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

.payment-icon {
    height: 24px;
    width: auto;
    color: rgba(247, 245, 240, 0.5);
}

/* ==================== Toast ==================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background-color: white;
    border: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
}

.toast.success {
    border-left: 4px solid #16a34a;
}

.toast.error {
    border-left: 4px solid #dc2626;
}

.toast-message {
    flex: 1;
}

.toast-title {
    font-weight: 500;
    margin-bottom: 4px;
}

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

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==================== Back Link ==================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

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

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

.back-link-inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* ==================== Loading States ==================== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ==================== Responsive Utilities ==================== */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

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