/* Kryntel - Home Furniture Styles */

/* CSS Variables */
:root {
    --bg-default: #F9F8F6;
    --bg-surface: #FFFFFF;
    --bg-alt: #EBE8E0;
    --text-primary: #1C1B1A;
    --text-secondary: #5C5A56;
    --text-muted: #8A8782;
    --brand-primary: #3B4235;
    --brand-primary-hover: #2B3026;
    --brand-primary-text: #F9F8F6;
    --brand-accent: #C6A282;
    --border-default: #E5E3DB;
    --border-focus: #3B4235;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-default);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

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

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

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(249, 248, 246, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-default);
}

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

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

.nav-links {
    display: none;
    gap: 2rem;
}

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

.nav-link {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    position: relative;
    padding: 0.5rem;
}

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

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
}

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

.hidden {
    display: none !important;
}

.mobile-menu {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid var(--border-default);
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.125rem;
    padding: 0.5rem 0;
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background-color: var(--bg-default);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-default);
}

.cart-drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-drawer-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.cart-drawer-empty svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin: 0 auto 1rem;
}

.cart-drawer-empty p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    background-color: var(--bg-alt);
}

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

.cart-item-name {
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

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

.qty-btn:hover {
    background-color: var(--bg-alt);
}

.cart-item-qty {
    width: 24px;
    text-align: center;
    font-size: 0.875rem;
}

.remove-btn {
    margin-left: auto;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-default);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cart-subtotal-amount {
    font-weight: 500;
}

.cart-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s;
}

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

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

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

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

.btn-ghost {
    background: none;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.875rem;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
}

.btn-ghost:hover {
    opacity: 0.7;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    margin-top: 80px;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-overline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 4rem;
    }
}

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

.hero-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero .btn-primary {
    background-color: white;
    color: var(--text-primary);
}

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

/* Sections */
.section {
    padding: 4rem 0;
}

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

@media (min-width: 1024px) {
    .section {
        padding: 8rem 0;
    }
}

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

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

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

.section-title {
    font-size: 2rem;
}

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

.section-header-flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

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

.category-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.category-card:hover .category-overlay {
    background-color: rgba(0,0,0,0.3);
}

.category-name {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: white;
    font-size: 1.25rem;
}

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

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 1.5rem;
}

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

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

/* Product Card */
.product-card {
    cursor: pointer;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-alt);
    margin-bottom: 1rem;
}

.product-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.product-name:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.product-price {
    color: var(--text-secondary);
}

.add-to-cart-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

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

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

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

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-badge svg {
    width: 32px;
    height: 32px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.trust-badge h5 {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.trust-badge p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Craftsmanship Section */
.craftsmanship-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.craftsmanship-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.craftsmanship-image {
    aspect-ratio: 1;
    object-fit: cover;
}

/* Page Header */
.page-header {
    background-color: var(--bg-alt);
    padding: 4rem 0;
    margin-top: 80px;
}

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

.page-title {
    font-size: 2.5rem;
}

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

.page-subtitle {
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Shop Layout */
.shop-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .shop-layout {
        flex-direction: row;
    }
}

.shop-sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .shop-sidebar {
        width: 180px;
        flex-shrink: 0;
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

.filter-title {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .filter-list {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.filter-btn {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-default);
    transition: all 0.3s;
}

@media (min-width: 1024px) {
    .filter-btn {
        border: none;
        padding: 0;
        text-align: left;
    }
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--text-primary);
}

@media (min-width: 1024px) {
    .filter-btn.active {
        font-weight: 500;
    }
}

.shop-content {
    flex: 1;
}

.products-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.product-gallery {
    position: relative;
}

@media (min-width: 1024px) {
    .product-gallery {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

.product-main-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background-color: var(--bg-alt);
    margin-bottom: 1rem;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
}

.product-thumbnail {
    width: 80px;
    height: 96px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--brand-primary);
}

.product-details .overline {
    margin-bottom: 0.5rem;
}

.product-details .product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .product-details .product-title {
        font-size: 2.5rem;
    }
}

.product-details .product-price {
    font-size: 1.5rem;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

.product-details .product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.accordion-item {
    border-bottom: 1px solid var(--border-default);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
}

.accordion-trigger svg {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-trigger svg {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding-bottom: 1rem;
    color: var(--text-secondary);
}

.accordion-item.active .accordion-content {
    display: block;
}

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

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

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

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

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}

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

.star-empty {
    color: var(--border-default);
}

.review-comment {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.review-author {
    font-size: 0.875rem;
}

.review-author span {
    color: var(--text-muted);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

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

.breadcrumb-current {
    color: var(--text-primary);
}

/* Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

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

.cart-page-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-default);
}

.cart-page-item-image {
    width: 120px;
    height: 150px;
    object-fit: cover;
    background-color: var(--bg-alt);
}

.cart-page-item-details {
    flex: 1;
}

.cart-page-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart-page-item-price {
    color: var(--text-secondary);
}

.cart-page-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-default);
}

.qty-control button {
    padding: 0.5rem;
    transition: background-color 0.3s;
}

.qty-control button:hover {
    background-color: var(--bg-alt);
}

.qty-control span {
    padding: 0 1rem;
}

.cart-page-item-remove {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cart-page-item-remove:hover {
    color: var(--text-primary);
}

.cart-page-item-total {
    text-align: right;
    font-weight: 500;
}

/* Order Summary */
.order-summary {
    background-color: var(--bg-alt);
    padding: 2rem;
    height: fit-content;
}

@media (min-width: 1024px) {
    .order-summary {
        position: sticky;
        top: 100px;
    }
}

.order-summary h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.order-summary-row span:first-child {
    color: var(--text-secondary);
}

.order-summary-total {
    border-top: 1px solid var(--border-default);
    padding-top: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.order-summary-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 4rem 0;
}

.empty-cart svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin: 0 auto 1rem;
}

.empty-cart p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Checkout */
.checkout-container {
    max-width: 640px;
    margin: 0 auto;
}

.checkout-section {
    border: 1px solid var(--border-default);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.checkout-section h3 {
    font-size: 1.125rem;
    font-weight: 500;
    font-family: var(--font-body);
    margin-bottom: 1rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.checkout-totals {
    border-top: 1px solid var(--border-default);
    margin-top: 1rem;
    padding-top: 1rem;
}

.checkout-total {
    font-weight: 500;
    font-size: 1.125rem;
    margin-top: 1rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-icons svg {
    height: 32px;
    width: auto;
}

/* Success Page */
.success-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

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

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

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

.success-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* About Page */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    margin-top: 80px;
}

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

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}

.about-hero h1 {
    color: white;
    font-size: 3rem;
}

@media (min-width: 640px) {
    .about-hero h1 {
        font-size: 4rem;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.about-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.value-icon {
    width: 64px;
    height: 64px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

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

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.contact-item a:hover {
    color: var(--text-primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-default);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--brand-primary);
}

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

.form-success {
    background-color: var(--bg-alt);
    padding: 2rem;
    text-align: center;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--brand-primary);
    margin: 0 auto 1rem;
}

.form-success h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-secondary);
}

/* Policy Pages */
.policy-content {
    max-width: 768px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-content ul,
.policy-content ol {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--brand-primary-text);
    padding: 4rem 0;
}

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

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

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links h5 {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2B3026;
}

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

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

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

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    z-index: 300;
    animation: slideDown 0.3s ease;
}

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

.flash-success {
    background-color: var(--brand-primary);
    color: white;
}

.flash-error {
    background-color: #dc2626;
    color: white;
}

/* Loading Spinner */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-default);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Utilities */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

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

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