/**
 * 해브앤해브 - 메인 스타일시트
 * 고급 프리미엄 의류 쇼핑몰
 */

/* ==========================================
   CSS Variables
   ========================================== */
:root {
    --color-white: #FFFFFF;
    --color-black: #191919;
    --color-gray: #BDBDBD;
    --color-gray-light: #F5F5F5;
    --color-gray-medium: #888888;
    --color-gold: #AF9A57;
    --color-navy: #283544;
    --color-error: #D64545;
    --color-success: #45B76B;

    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

    --header-height: 70px;
    --header-height-mobile: 60px;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

ul, ol {
    list-style: none;
}

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

/* ==========================================
   Typography
   ========================================== */
.h8h-heading-xl {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.1;
}

.h8h-heading-lg {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
}

.h8h-heading-md {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.3;
}

.h8h-heading-sm {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.h8h-text-lg {
    font-size: 16px;
    line-height: 1.7;
}

.h8h-text-sm {
    font-size: 13px;
    line-height: 1.6;
}

.h8h-text-xs {
    font-size: 11px;
    line-height: 1.5;
}

.h8h-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================
   Layout
   ========================================== */
.h8h-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.h8h-container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.h8h-container-full {
    width: 100%;
    padding: 0 40px;
}

.h8h-section {
    padding: 100px 0;
}

.h8h-section-sm {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .h8h-container,
    .h8h-container-sm,
    .h8h-container-full {
        padding: 0 20px;
    }

    .h8h-section {
        padding: 60px 0;
    }

    .h8h-section-sm {
        padding: 40px 0;
    }
}

/* ==========================================
   Buttons
   ========================================== */
.h8h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.h8h-btn-primary {
    background: var(--color-black);
    color: var(--color-white);
    border: 2px solid var(--color-black);
}

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

.h8h-btn-outline {
    background: transparent;
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.h8h-btn-outline:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.h8h-btn-gold {
    background: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.h8h-btn-gold:hover {
    background: transparent;
    color: var(--color-gold);
}

.h8h-btn-white {
    background: var(--color-white);
    color: var(--color-black);
    border: 2px solid var(--color-white);
}

.h8h-btn-white:hover {
    background: transparent;
    color: var(--color-white);
}

.h8h-btn-lg {
    padding: 18px 48px;
    font-size: 13px;
}

.h8h-btn-sm {
    padding: 10px 20px;
    font-size: 11px;
}

.h8h-btn-full {
    width: 100%;
}

/* ==========================================
   Forms
   ========================================== */
.h8h-form-group {
    margin-bottom: 24px;
}

.h8h-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-black);
}

.h8h-form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid var(--color-gray);
    background: var(--color-white);
    transition: var(--transition);
}

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

.h8h-form-input::placeholder {
    color: var(--color-gray);
}

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

.h8h-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23191919' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.h8h-form-error {
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-error);
}

.h8h-form-help {
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-gray-medium);
}

/* ==========================================
   Cards
   ========================================== */
.h8h-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    transition: var(--transition);
}

.h8h-card:hover {
    box-shadow: var(--shadow-md);
}

.h8h-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.h8h-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.h8h-card-content {
    padding: 20px;
}

.h8h-card-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.h8h-card-price {
    font-size: 14px;
    font-weight: 600;
}

.h8h-card-price-original {
    text-decoration: line-through;
    color: var(--color-gray-medium);
    margin-right: 10px;
}

.h8h-card-price-sale {
    color: var(--color-error);
}

/* ==========================================
   Product Grid
   ========================================== */
.h8h-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .h8h-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .h8h-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

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

.h8h-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--color-gray-light);
}

.h8h-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.h8h-product-image img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.h8h-product-card:hover .h8h-product-image img.main-img {
    opacity: 0;
}

.h8h-product-card:hover .h8h-product-image img.hover-img {
    opacity: 1;
}

.h8h-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.h8h-badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.h8h-badge-new {
    background: var(--color-black);
    color: var(--color-white);
}

.h8h-badge-sale {
    background: var(--color-error);
    color: var(--color-white);
}

.h8h-badge-best {
    background: var(--color-gold);
    color: var(--color-white);
}

.h8h-product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.h8h-product-action-btn {
    flex: 1;
    padding: 12px;
    background: var(--color-white);
    color: var(--color-black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    transition: var(--transition);
}

.h8h-product-action-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.h8h-product-info {
    padding: 20px 0;
    text-align: center;
}

.h8h-product-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-black);
}

.h8h-product-price {
    font-size: 14px;
    font-weight: 600;
}

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

.h8h-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.h8h-hero-slide.active {
    opacity: 1;
}

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

.h8h-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.h8h-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 10;
    width: 100%;
    padding: 0 20px;
}

.h8h-hero-label {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.h8h-hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.h8h-hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.h8h-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.h8h-hero-dot.active {
    background: var(--color-white);
    transform: scale(1.2);
}

/* ==========================================
   Section Headers
   ========================================== */
.h8h-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.h8h-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.h8h-section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    letter-spacing: 2px;
}

.h8h-section-desc {
    margin-top: 15px;
    font-size: 14px;
    color: var(--color-gray-medium);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   Collection Grid
   ========================================== */
.h8h-collection-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.h8h-collection-item {
    position: relative;
    overflow: hidden;
}

.h8h-collection-item.large {
    grid-column: span 6;
    grid-row: span 2;
}

.h8h-collection-item.medium {
    grid-column: span 6;
}

.h8h-collection-item.small {
    grid-column: span 4;
}

.h8h-collection-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.h8h-collection-item:hover .h8h-collection-image {
    transform: scale(1.05);
}

.h8h-collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.h8h-collection-item:hover .h8h-collection-overlay {
    opacity: 1;
}

.h8h-collection-title {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-white);
    letter-spacing: 2px;
}

@media (max-width: 1024px) {
    .h8h-collection-item.large,
    .h8h-collection-item.medium {
        grid-column: span 6;
        grid-row: span 1;
    }

    .h8h-collection-item.small {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .h8h-collection-item.large,
    .h8h-collection-item.medium,
    .h8h-collection-item.small {
        grid-column: span 12;
    }
}

/* ==========================================
   Review Section
   ========================================== */
.h8h-review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.h8h-review-card {
    background: var(--color-white);
    overflow: hidden;
}

.h8h-review-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.h8h-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.h8h-review-content {
    padding: 20px;
}

.h8h-review-rating {
    color: var(--color-gold);
    margin-bottom: 10px;
}

.h8h-review-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-gray-medium);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.h8h-review-author {
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .h8h-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .h8h-review-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   About Section
   ========================================== */
.h8h-about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.h8h-about-image {
    position: relative;
}

.h8h-about-image img {
    width: 100%;
}

.h8h-about-image::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    z-index: -1;
}

.h8h-about-content {
    padding: 40px 0;
}

.h8h-about-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.h8h-about-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.h8h-about-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-gray-medium);
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .h8h-about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .h8h-about-image::after {
        display: none;
    }
}

/* ==========================================
   Marquee
   ========================================== */
.h8h-marquee {
    overflow: hidden;
    padding: 20px 0;
    background: var(--color-black);
}

.h8h-marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}

.h8h-marquee-item {
    flex-shrink: 0;
    padding: 0 50px;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--color-white);
    white-space: nowrap;
}

.h8h-marquee-divider {
    color: var(--color-gold);
}

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

/* ==========================================
   Auth Pages
   ========================================== */
.h8h-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--color-gray-light);
}

.h8h-auth-container {
    width: 100%;
    max-width: 440px;
    background: var(--color-white);
    padding: 50px 40px;
}

.h8h-auth-logo {
    text-align: center;
    margin-bottom: 40px;
}

.h8h-auth-logo img {
    height: 40px;
    margin: 0 auto;
}

.h8h-auth-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
}

.h8h-auth-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.h8h-auth-divider::before,
.h8h-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-gray);
}

.h8h-auth-divider span {
    padding: 0 15px;
    font-size: 12px;
    color: var(--color-gray-medium);
}

.h8h-auth-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.h8h-auth-link {
    font-size: 13px;
    color: var(--color-gray-medium);
}

.h8h-auth-link:hover {
    color: var(--color-black);
}

/* ==========================================
   Messages
   ========================================== */
.h8h-error-message {
    padding: 12px 16px;
    background: rgba(214, 69, 69, 0.1);
    border-left: 3px solid var(--color-error);
    color: var(--color-error);
    font-size: 13px;
    margin-bottom: 20px;
}

.h8h-success-message {
    padding: 12px 16px;
    background: rgba(69, 183, 107, 0.1);
    border-left: 3px solid var(--color-success);
    color: var(--color-success);
    font-size: 13px;
    margin-bottom: 20px;
}

/* ==========================================
   Animations
   ========================================== */
.h8h-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.h8h-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.h8h-scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.h8h-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-60 { padding-top: 60px; padding-bottom: 60px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   Page Specific: My Page
   ========================================== */
.h8h-mypage-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    min-height: 600px;
}

.h8h-mypage-sidebar {
    background: var(--color-gray-light);
    padding: 30px;
}

.h8h-mypage-nav li {
    margin-bottom: 10px;
}

.h8h-mypage-nav a {
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    color: var(--color-gray-medium);
    transition: var(--transition);
}

.h8h-mypage-nav a:hover,
.h8h-mypage-nav a.active {
    color: var(--color-black);
    background: var(--color-white);
}

.h8h-mypage-content {
    padding: 30px 0;
}

.h8h-mypage-section {
    margin-bottom: 40px;
}

.h8h-mypage-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-black);
}

/* Withdraw link - subtle styling */
.h8h-withdraw-link {
    font-size: 11px;
    color: var(--color-gray);
    text-align: right;
    margin-top: 40px;
}

.h8h-withdraw-link a {
    color: var(--color-gray);
    text-decoration: underline;
}

.h8h-withdraw-link a:hover {
    color: var(--color-gray-medium);
}

@media (max-width: 1024px) {
    .h8h-mypage-grid {
        grid-template-columns: 1fr;
    }

    .h8h-mypage-sidebar {
        padding: 20px;
    }
}

/* ==========================================
   Page Specific: Legal Pages
   ========================================== */
.h8h-legal-page {
    padding: 120px 0 80px;
}

.h8h-legal-content h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
}

.h8h-legal-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
}

.h8h-legal-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-medium);
    margin-bottom: 15px;
}

.h8h-legal-content ul,
.h8h-legal-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.h8h-legal-content li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-medium);
    margin-bottom: 8px;
    list-style: disc;
}

.h8h-legal-content ol li {
    list-style: decimal;
}

.h8h-legal-date {
    font-size: 13px;
    color: var(--color-gray-medium);
    margin-bottom: 30px;
}

/* ==========================================
   Responsive Adjustments
   ========================================== */
@media (max-width: 480px) {
    .h8h-btn {
        padding: 12px 24px;
        font-size: 11px;
    }

    .h8h-auth-container {
        padding: 40px 25px;
    }
}

/* ==========================================
   LUXURY PREMIUM EFFECTS
   명품 브랜드 고급스러운 효과
   ========================================== */

/* Premium Background Pattern */
body {
    background:
        linear-gradient(135deg, rgba(175, 154, 87, 0.02) 0%, transparent 50%),
        linear-gradient(225deg, rgba(40, 53, 68, 0.02) 0%, transparent 50%),
        var(--color-white);
    min-height: 100vh;
}

/* Subtle Noise Texture Overlay for Luxury Feel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Premium Section Background */
.h8h-section {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(245, 245, 245, 0.5) 50%,
        rgba(255, 255, 255, 0.98) 100%
    );
}

/* Luxury Card Effect */
.h8h-card,
.h8h-product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Premium Border Accent */
.h8h-card::before,
.h8h-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(175, 154, 87, 0.3) 20%,
        rgba(175, 154, 87, 0.5) 50%,
        rgba(175, 154, 87, 0.3) 80%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.h8h-card:hover::before,
.h8h-product-card:hover::before {
    opacity: 1;
}

/* Luxury Glow Effect on Hover */
.h8h-card:hover,
.h8h-product-card:hover {
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 40px rgba(175, 154, 87, 0.08);
}

/* Premium Button Hover Glow */
.h8h-btn-primary:hover,
.h8h-btn-gold:hover {
    box-shadow: 0 0 30px rgba(175, 154, 87, 0.3);
}

/* Luxury Text Selection */
::selection {
    background: rgba(175, 154, 87, 0.25);
    color: var(--color-black);
}

::-moz-selection {
    background: rgba(175, 154, 87, 0.25);
    color: var(--color-black);
}

/* Premium Image Hover Effect */
.h8h-product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(175, 154, 87, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.h8h-product-card:hover .h8h-product-image::after {
    opacity: 1;
}

/* Luxury Title Decoration */
.h8h-section-title {
    position: relative;
    display: inline-block;
}

.h8h-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--color-gold) 50%,
        transparent 100%
    );
}

/* Premium Hero Overlay */
.h8h-hero-overlay {
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)),
        linear-gradient(135deg, rgba(175, 154, 87, 0.1) 0%, transparent 50%);
}

/* Luxury Footer Gradient */
.h8h-footer {
    background:
        linear-gradient(135deg, rgba(175, 154, 87, 0.05) 0%, transparent 30%),
        var(--color-black);
}

/* Premium Newsletter Background */
.h8h-footer-newsletter {
    background:
        linear-gradient(135deg, rgba(175, 154, 87, 0.15) 0%, transparent 50%),
        var(--color-navy);
}

/* Shimmer Effect on Gold Elements */
@keyframes goldShimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.h8h-badge-best,
.h8h-btn-gold {
    background-size: 200% 100%;
    background-image: linear-gradient(
        90deg,
        var(--color-gold) 0%,
        rgba(220, 200, 130, 1) 25%,
        var(--color-gold) 50%,
        rgba(220, 200, 130, 1) 75%,
        var(--color-gold) 100%
    );
    animation: goldShimmer 3s ease-in-out infinite;
}

/* Premium Auth Page Background */
.h8h-auth-page {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(175, 154, 87, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(40, 53, 68, 0.05) 0%, transparent 50%),
        var(--color-gray-light);
}

/* Luxury Input Focus Effect */
.h8h-form-input:focus {
    box-shadow: 0 0 0 3px rgba(175, 154, 87, 0.1);
}

/* Premium Link Underline Animation */
.h8h-nav-link::after,
.h8h-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    transition: width 0.4s ease;
}

.h8h-nav-link:hover::after,
.h8h-footer-links a:hover::after {
    width: 100%;
}

/* Elegant Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--color-gray) 0%,
        rgba(175, 154, 87, 0.5) 50%,
        var(--color-gray) 100%
    );
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Premium Loading Shimmer for Images */
.h8h-product-image,
.h8h-card-image {
    background: linear-gradient(
        90deg,
        var(--color-gray-light) 0%,
        rgba(245, 245, 245, 0.8) 50%,
        var(--color-gray-light) 100%
    );
    background-size: 200% 100%;
    animation: shimmerLoad 1.5s infinite;
}

@keyframes shimmerLoad {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.h8h-product-image img,
.h8h-card-image img {
    position: relative;
    z-index: 1;
}

/* Luxury Price Tag Styling */
.h8h-product-price,
.h8h-card-price {
    position: relative;
}

.h8h-card-price-sale {
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(175, 154, 87, 0.3);
}

/* Premium Hero Scroll Indicator */
.h8h-hero::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: scrollIndicator 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Reduce effects on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .h8h-badge-best,
    .h8h-btn-gold,
    .h8h-product-image,
    .h8h-card-image,
    .h8h-hero::after {
        animation: none;
    }
}
