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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #fafafa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent: #1a1a1a;
    --border: #e5e5e5;
    --success: #2d7d46;
    --error: #c41e3a;
    --ease-premium: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--text-secondary);
}

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

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    text-align: center;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.main-nav a:hover {
    color: var(--text-secondary);
}

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

.search-toggle,
.cart-link {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 10px;
    font-weight: 400;
}

.menu-toggle {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    pointer-events: none;
}

.menu-toggle.active span:nth-child(1) {
    -webkit-transform: rotate(45deg) translate(6px, 6px);
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg) translate(6px, -6px);
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    position: relative;
}

.search-form {
    display: flex;
    border-bottom: 1px solid var(--text-primary);
}

.search-form input {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 300;
    color: var(--text-primary);
    outline: none;
    letter-spacing: 1px;
}

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

.search-form button {
    color: var(--text-primary);
    padding: 15px;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    font-size: 28px;
    color: var(--text-primary);
    font-weight: 300;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-color: #ffffff;
    z-index: 9999;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.mobile-menu.active {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 48px;
    height: 48px;
    font-size: 36px;
    line-height: 48px;
    text-align: center;
    background: transparent;
    border: none;
    color: #000000;
    cursor: pointer;
    z-index: 10001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    padding: 0;
}

.mobile-nav {
    display: block;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.mobile-nav a {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    padding: 15px 20px;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.mobile-nav a:hover,
.mobile-nav a:active {
    color: #666666;
}

.mobile-nav-divider {
    width: 50px;
    height: 1px;
    background-color: #e5e5e5;
    margin: 15px auto;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-desktop {
    display: block;
}

.hero-video-mobile {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    padding: 40px;
    position: relative;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: 12px;
    margin-bottom: 30px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero p {
    font-size: 13px;
    margin-bottom: 35px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-btn {
    display: block;
    margin: 25px auto 0;
    padding: 12px 30px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero-btn:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .hero-video-desktop {
        display: none;
    }
    .hero-video-mobile {
        display: block;
    }
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    transition: all 0.3s ease;
}

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

.btn-filled {
    background-color: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
}

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

/* Section Styles */
.section {
    padding: 70px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.section-title {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-link {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

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

.product-card {
    position: relative;
}

.product-image {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

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

.product-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

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

.product-card:hover .product-image img:first-child {
    opacity: 0;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    padding: 5px 10px;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 1px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    text-transform: uppercase;
}

.badge-sale {
    background-color: var(--error);
    color: var(--bg-primary);
}

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

.product-name {
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.price-current {
    font-size: 12px;
    font-weight: 400;
}

.price-old {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
}

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

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

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

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

.category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.3));
}

.category-name {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 40% 50%;
    gap: 50px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Gallery styles in product_detail.html template */

.product-details {
    padding-top: 20px;
}

.product-details .product-name {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-details .product-price {
    font-size: 16px;
    margin-bottom: 25px;
    justify-content: flex-start;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 13px;
}

.size-selector {
    margin-bottom: 25px;
}

.size-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
}

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-option {
    min-width: 45px;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 400;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
    color: var(--text-primary);
}

.size-option:hover,
.size-option.active {
    border-color: var(--text-primary);
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.quantity-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

.quantity-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 300;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.quantity-btn:hover {
    background: #f5f5f5;
}

.quantity-btn:active {
    background: #eee;
}

.quantity-input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 400;
}

.add-to-cart {
    width: 100%;
    padding: 16px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--text-primary);
}

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

/* Virtual Try-On Button */
.tryon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tryon-btn:hover {
    color: var(--text);
    border-color: var(--text);
    background: rgba(255,255,255,0.03);
}

.tryon-btn svg {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tryon-btn:hover svg {
    opacity: 1;
}

/* Cart Page */
.cart-page {
    padding: 50px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-header {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 13px;
}

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

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

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    aspect-ratio: 2/3;
    background-color: var(--bg-secondary);
}

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

.cart-item-info h3 {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.cart-item-remove {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 400;
}

.cart-summary {
    background-color: var(--bg-tertiary);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
}

.summary-row.total {
    font-weight: 400;
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    margin-top: 25px;
    border: 1px solid var(--text-primary);
    transition: all 0.3s ease;
}

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

/* Checkout */
.checkout-page {
    padding: 50px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.form-section h3 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 300;
    transition: border-color 0.2s ease;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Order Success */
.order-success {
    text-align: center;
    padding: 80px 40px;
    max-width: 550px;
    margin: 0 auto;
}

.order-success h1 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.order-success p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 13px;
}

.order-number {
    font-size: 16px;
    font-weight: 400;
    margin: 30px 0;
    padding: 20px;
    background-color: var(--bg-tertiary);
    letter-spacing: 2px;
}

/* Page Header */
.page-header {
    padding: 50px 40px;
    text-align: center;
    background-color: var(--bg-tertiary);
}

.page-header h1 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.page-header p {
    color: var(--text-secondary);
    margin-top: 12px;
    font-size: 13px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 18px 40px;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs span {
    margin: 0 8px;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.filter-count {
    font-size: 12px;
    color: var(--text-secondary);
}

.sort-select {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px 18px;
    font-size: 11px;
    cursor: pointer;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.footer-col h4 {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.footer-col li {
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-col a {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-muted);
}

.footer-dev {
    margin-bottom: 16px;
}

.footer-dev .dev-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 50px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.footer-dev .dev-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.footer-dev .dev-link:hover::before {
    left: 100%;
}

.footer-dev .dev-link:hover {
    background: linear-gradient(135deg, #0f3460 0%, #6366f1 50%, #8b5cf6 100%);
    border-color: #8b5cf6;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.footer-dev .dev-icon {
    font-size: 12px;
    color: #6366f1;
    transition: all 0.4s ease;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.footer-dev .dev-link:hover .dev-icon {
    color: #fff;
    transform: rotate(180deg) scale(1.3);
    animation: none;
}

.footer-dev .dev-text {
    font-weight: 400;
    text-transform: uppercase;
}

.footer-dev .dev-text strong {
    font-weight: 700;
    color: #a5b4fc;
    transition: color 0.3s ease;
}

.footer-dev .dev-link:hover .dev-text strong {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.footer-dev .dev-arrow {
    font-size: 16px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    color: #8b5cf6;
}

.footer-dev .dev-link:hover .dev-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #fff;
}

/* Info Pages (Delivery, Returns, FAQ, Size Guide) */
.info-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.info-header {
    text-align: center;
    margin-bottom: 48px;
}
.info-header h1 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    margin: 0;
}
.info-content {
    max-width: 600px;
    margin: 0 auto;
}
.info-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #e5e5e5;
}
.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.info-section h2 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0 0 20px;
}
.info-section p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.9;
    color: #666;
    margin: 0;
}
@media (max-width: 600px) {
    .info-page { padding: 32px 20px 60px; }
    .info-header { margin-bottom: 32px; }
    .info-section { margin-bottom: 32px; padding-bottom: 32px; }
    .info-section p { font-size: 13px; }
}

/* About Page */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 40px;
}

.about-content h2 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    margin-top: 35px;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 13px;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
}

.contact-info h3 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h4 {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .cart-grid {
        grid-template-columns: 1fr;
    }
    .checkout-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }
    .main-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section {
        padding: 40px 20px;
    }
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    .hero h1 {
        letter-spacing: 6px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    .cart-item-price {
        grid-column: 2;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    /* Gallery handled in template */
}

@media (max-width: 480px) {
    .announcement-bar {
        font-size: 9px;
        padding: 10px 15px;
    }
    .logo {
        font-size: 16px;
        letter-spacing: 4px;
    }
    .btn {
        padding: 12px 25px;
        font-size: 10px;
    }
    .product-name {
        font-size: 11px;
    }
    .price-current {
        font-size: 11px;
    }
}

/* Animated Logo */
.logo-animated {
    display: inline-block;
}

.logo-animated .letter {
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-animated .letter.spin {
    animation: letterSpin 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes letterSpin {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Placeholder Image */
.placeholder-img {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========================================
   ACCOUNTS STYLES
   ======================================== */

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-link,
.favorites-link {
    position: relative;
    display: flex;
    align-items: center;
}

.favorites-link svg {
    transition: fill 0.2s ease;
}

.favorites-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 500;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth Pages */
.auth-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-title {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 40px;
}

.auth-errors {
    background-color: #fff5f5;
    border: 1px solid var(--error);
    padding: 15px;
    margin-bottom: 25px;
    font-size: 13px;
    color: var(--error);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

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

.form-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    background-color: #333;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Cabinet Page */
.cabinet-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

.cabinet-header {
    text-align: center;
    margin-bottom: 50px;
}

.cabinet-header h1 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.cabinet-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cabinet-card {
    display: block;
    padding: 30px;
    border: 1px solid var(--border);
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cabinet-card:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.cabinet-card-icon {
    margin-bottom: 15px;
}

.cabinet-card-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.cabinet-card h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.cabinet-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Loyalty Card in Cabinet */
.cabinet-card.loyalty-card {
    position: relative;
}

.loyalty-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.loyalty-points {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.loyalty-tier {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loyalty-tier.tier-bronze {
    background: #CD7F32;
    color: #fff;
}

.loyalty-tier.tier-silver {
    background: #C0C0C0;
    color: #333;
}

.loyalty-tier.tier-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
}

.loyalty-progress {
    margin-top: 8px;
}

.progress-bar-mini {
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, #1a1a1a 0%, #444 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 11px;
    color: var(--text-muted);
}

.cabinet-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.logout-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: underline;
}

/* Messages */
.messages {
    margin-bottom: 30px;
}

.message {
    padding: 15px;
    margin-bottom: 10px;
    font-size: 13px;
}

.message.success {
    background-color: #f0f9f4;
    border: 1px solid var(--success);
    color: var(--success);
}

.message.error {
    background-color: #fff5f5;
    border: 1px solid var(--error);
    color: var(--error);
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.page-header h1 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
}

/* Profile Page */
.profile-page,
.addresses-page,
.address-form-page,
.orders-page,
.order-detail-page,
.favorites-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 20px;
}

.profile-form,
.address-form {
    margin-top: 30px;
}

.profile-form .form-group,
.address-form .form-group {
    margin-bottom: 20px;
}

.profile-form label,
.address-form label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.profile-form input,
.address-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 13px;
}

.save-btn {
    
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.save-btn:hover {
    background-color: #333;
}

/* Addresses */
.add-address-btn {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--text-primary);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 30px;
    transition: all 0.2s ease;
}

.add-address-btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.addresses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-card {
    padding: 25px;
    border: 1px solid var(--border);
    position: relative;
}

.address-card.default {
    border-color: var(--text-primary);
}

.default-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--success);
}

.address-card h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.address-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.address-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 15px;
}

.edit-btn,
.delete-btn {
    font-size: 12px;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

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

.delete-btn:hover {
    color: var(--error);
}

/* Orders */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
}

.order-card:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-number {
    font-size: 14px;
    font-weight: 500;
}

.order-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.order-details {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.order-total {
    font-weight: 500;
    color: var(--text-primary);
}

.order-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 5px 10px;
    text-transform: uppercase;
}

.order-status.status-pending {
    background-color: #fff8e1;
    color: #f57c00;
}

.order-status.status-processing {
    background-color: #e3f2fd;
    color: #1976d2;
}

.order-status.status-shipped {
    background-color: #e8f5e9;
    color: #388e3c;
}

.order-status.status-delivered {
    background-color: #f0f9f4;
    color: var(--success);
}

.order-status.status-cancelled {
    background-color: #ffebee;
    color: var(--error);
}

/* Order Detail */
.order-info {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--bg-secondary);
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
}

.order-section {
    margin-bottom: 30px;
}

.order-section h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.item-image {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
}

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

.item-details {
    flex: 1;
}

.item-details h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}

.item-details p {
    font-size: 12px;
    color: var(--text-secondary);
}

.item-price {
    font-size: 14px;
    font-weight: 500;
}

.shipping-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.order-totals {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    color: var(--text-secondary);
}

.totals-row.total {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding-top: 15px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state p {
    margin-bottom: 20px;
    font-size: 14px;
}

.shop-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-size: 12px;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.shop-link:hover {
    background-color: #333;
    color: var(--bg-primary);
}

/* Favorite Button on Product Cards */
.product-image {
    position: relative;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.product-card:hover .favorite-btn {
    opacity: 1;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-primary);
    transition: fill 0.2s ease;
}

.favorite-btn.active svg {
    fill: var(--text-primary);
}

/* Like Count on Product Card */
.product-likes {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.product-likes svg {
    width: 14px;
    height: 14px;
}

/* Product Detail Favorite */
.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.product-title-row .product-name {
    flex: 1;
}

.product-favorite-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.product-favorite-btn:hover {
    border-color: var(--text-primary);
}

.product-favorite-btn svg {
    transition: fill 0.2s ease;
}

.product-favorite-btn.active svg {
    fill: var(--text-primary);
}

.product-likes-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    margin-bottom: 20px;
}

.product-likes-detail svg {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .cabinet-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .favorites-page {
        max-width: 100%;
    }

    .favorite-btn {
        opacity: 1;
    }
}

/* ========================================
   PREMIUM TRANSITIONS & ANIMATIONS
   ======================================== */

/* Page load animation */
.main-content {
    animation: fadeInUp 0.8s var(--ease-premium) forwards;
}

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

/* Page transition overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: top;
    pointer-events: none;
}

.page-transition-overlay.active {
    animation: pageSlide 0.8s var(--ease-premium) forwards;
}

@keyframes pageSlide {
    0% { transform: scaleY(0); transform-origin: bottom; }
    50% { transform: scaleY(1); transform-origin: bottom; }
    51% { transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: top; }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

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

/* Staggered children */
.stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.7s; }

.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Premium image hover */
.product-card,
.product-grid-item {
    overflow: hidden;
}

.product-card .product-image,
.product-grid-item .product-image {
    overflow: hidden;
}

.product-card img,
.product-grid-item img {
    transition: transform 1.2s var(--ease-premium);
}

.product-card:hover img,
.product-grid-item:hover img {
    transform: scale(1.08);
}

/* Button shine effect */
.btn-shine,
button[type="submit"],
.add-to-cart,
.checkout-btn,
.place-order-btn {
    position: relative;
    overflow: hidden;
}

.btn-shine::after,
button[type="submit"]::after,
.add-to-cart::after,
.checkout-btn::after,
.place-order-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s var(--ease-smooth);
}

.btn-shine:hover::after,
button[type="submit"]:hover::after,
.add-to-cart:hover::after,
.checkout-btn:hover::after,
.place-order-btn:hover::after {
    left: 100%;
}

/* Card hover lift */
.card-hover {
    transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Link underline animation */
.link-hover {
    position: relative;
    display: inline-block;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-premium);
}

.link-hover:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Smooth input focus */
input, textarea, select {
    transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

/* Header scroll effect */
.header {
    transition: background-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Loading skeleton shimmer */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: textReveal 0.8s var(--ease-premium) forwards;
}

@keyframes textReveal {
    to { transform: translateY(0); }
}

/* Parallax ready */
.parallax {
    will-change: transform;
}

/* ========================================
   2026 DESIGN TRENDS
   ======================================== */

/* 1. Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #1a1a1a 0%, #666 50%, #1a1a1a 100%);
    z-index: 10000;
    transition: width 0.05s linear;
    pointer-events: none;
}

/* 2. Infinite Marquee Ticker */
.announcement-bar {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-track span {
    display: inline-block;
    padding: 0 60px;
    position: relative;
}

.marquee-track span::after {
    content: '\2022';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6px;
    opacity: 0.4;
}

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

.announcement-bar:hover .marquee-track {
    animation-play-state: paused;
}

/* 3. Custom Cursor — Large Circle (Marquardt style) */
/* Custom cursor disabled — using default system cursor */
.cursor-circle,
.cursor-dot {
    display: none !important;
}

/* Default cursor on desktop */
@media (pointer: fine) {
    body { cursor: default; }
    a, button, .fav-btn, .size-option { cursor: pointer; }
    input, textarea, select { cursor: text; }
}

/* 4. Grain/Noise Texture Overlay */
/* Grain overlay disabled for performance */
.grain-overlay { display: none; }

/* 5. Glassmorphism Notifications */
.live-notification {
    background: rgba(13, 13, 13, 0.75) !important;
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px;
}

/* 6. Magnetic Button Effect */
.magnetic-wrap {
    display: inline-block;
    position: relative;
}

.hero-btn,
.btn,
.btn-filled,
.add-to-cart,
.checkout-btn {
    transition: all 0.4s var(--ease-premium);
}

/* 7. Text Split Reveal */
.char-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotateX(-40deg);
    animation: charReveal 0.8s var(--ease-premium) forwards;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.char-reveal .char-space {
    display: inline-block;
    width: 0.3em;
}

/* 8. Hero Parallax Depth */
.hero {
    perspective: 1000px;
}

.hero-content {
    transform-style: preserve-3d;
}

.hero-content h1 {
    will-change: transform;
}

/* 9. Animated Gradient Accent Lines */
.section-header {
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
    transform: scaleX(0);
    transition: transform 1.2s var(--ease-premium);
}

.section-header.visible::after {
    transform: scaleX(1);
}

/* 10. Product Card 3D Tilt */
.product-card.revealed {
    transform-style: preserve-3d;
}

/* 11. Smooth Image Reveal on Scroll */
.product-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

.product-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 12. Floating Labels on Focus */
.form-group {
    position: relative;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    transform: translateY(-28px) scale(0.85);
    color: var(--text-primary);
}

/* 13. Category Card Hover Reveal Text */
.category-overlay {
    transition: all 0.6s var(--ease-premium);
}

.category-card:hover .category-overlay {
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.6));
    padding-bottom: 35px;
}

.category-name {
    transition: all 0.5s var(--ease-premium);
    position: relative;
}

.category-name::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #fff;
    margin-top: 8px;
    transition: width 0.6s var(--ease-premium);
}

.category-card:hover .category-name::after {
    width: 40px;
}

/* 14. Horizontal Scroll Snap Section */
.trend-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 40px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.trend-scroller::-webkit-scrollbar {
    display: none;
}

.trend-scroller > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* 15. Badge Pulse Animation */
.badge {
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* 16. Footer Reveal Animation */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #1a1a1a 50%, transparent 100%);
    animation: footerLine 4s ease-in-out infinite;
}

@keyframes footerLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 17. Smooth Scroll-linked Header Blur */
.header.scrolled {
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 30px rgba(0,0,0,0.06);
}

/* 18. Hover Reveal Underline on Nav */
.main-nav a {
    position: relative;
    overflow: hidden;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: translateX(-101%);
    transition: transform 0.4s var(--ease-premium);
}

.main-nav a:hover::after {
    transform: translateX(0);
}

/* 19. Mobile Menu Enhanced */
.mobile-menu.active {
    animation: menuReveal 0.5s var(--ease-premium);
}

@keyframes menuReveal {
    from {
        clip-path: circle(0% at top right);
    }
    to {
        clip-path: circle(150% at top right);
    }
}

.mobile-nav a {
    opacity: 0;
    transform: translateX(30px);
}

.mobile-menu.active .mobile-nav a {
    animation: menuItemSlide 0.4s var(--ease-premium) forwards;
}

.mobile-menu.active .mobile-nav a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-nav a:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu.active .mobile-nav a:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-nav a:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu.active .mobile-nav a:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu.active .mobile-nav a:nth-child(6) { animation-delay: 0.35s; }
.mobile-menu.active .mobile-nav a:nth-child(7) { animation-delay: 0.4s; }
.mobile-menu.active .mobile-nav a:nth-child(8) { animation-delay: 0.45s; }
.mobile-menu.active .mobile-nav a:nth-child(9) { animation-delay: 0.5s; }
.mobile-menu.active .mobile-nav a:nth-child(10) { animation-delay: 0.55s; }

@keyframes menuItemSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 20. Smooth Fav Button Heart Beat */
.fav-btn.active {
    animation: heartBeat 0.4s var(--ease-premium);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* 21. Search Modal Blur Entrance */
.search-modal.active {
    animation: searchReveal 0.4s var(--ease-premium);
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
}

@keyframes searchReveal {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(24px);
    }
}

.search-modal.active .search-form input {
    animation: searchInputSlide 0.5s var(--ease-premium) 0.1s both;
}

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

/* 22. View Transition Ready (CSS View Transitions API) */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 0.3s ease-out both fade-out;
}

::view-transition-new(root) {
    animation: 0.3s ease-in both fade-in;
}

@keyframes fade-out {
    to { opacity: 0; transform: scale(0.98); }
}

@keyframes fade-in {
    from { opacity: 0; transform: scale(1.02); }
}

/* ========================================
   2026 WOW EFFECTS — ROUND 2
   ======================================== */

/* 23. Preloader / Intro Screen */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    font-size: 42px;
    font-weight: 200;
    letter-spacing: 18px;
    color: #fff;
    overflow: hidden;
    display: flex;
}

.preloader-logo span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: preloaderChar 0.5s var(--ease-premium) forwards;
}

@keyframes preloaderChar {
    to { opacity: 1; transform: translateY(0); }
}

.preloader-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    margin-top: 30px;
    animation: preloaderLine 1.5s var(--ease-premium) 0.8s forwards;
}

@keyframes preloaderLine {
    to { width: 120px; }
}

.preloader-sub {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.4);
    margin-top: 16px;
    opacity: 0;
    animation: preloaderFade 0.6s ease 1.2s forwards;
    text-transform: uppercase;
}

@keyframes preloaderFade {
    to { opacity: 1; }
}

/* 24. Cursor Particle Trail */
.cursor-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #1a1a1a;
    pointer-events: none;
    z-index: 9994;
    opacity: 0.6;
    mix-blend-mode: difference;
    animation: particleFade 0.8s ease forwards;
}

@keyframes particleFade {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(0); opacity: 0; }
}

@media (pointer: coarse) {
    .cursor-particle { display: none !important; }
}

/* 25. Product Card Spotlight (cursor-following glow) */
.product-card .product-image .spotlight {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

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

/* 26. Subtle Brightness on Hover */
.product-card:hover .product-image img {
    filter: brightness(1.03) contrast(1.02);
}

/* 27. Animated Blob Decoration */
.blob-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    animation: blobFloat 15s ease-in-out infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #1a1a1a;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #333;
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
    animation-duration: 18s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #555;
    top: 40%;
    right: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -50px) scale(1.1) rotate(120deg); }
    66% { transform: translate(-20px, 20px) scale(0.9) rotate(240deg); }
    100% { transform: translate(10px, -30px) scale(1.05) rotate(360deg); }
}

/* 28. Big Outline Typography Section */
.outline-text-section {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.outline-text {
    font-size: clamp(50px, 8vw, 120px);
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: uppercase;
    -webkit-text-stroke: 1.5px rgba(26, 26, 26, 0.2);
    -webkit-text-fill-color: transparent;
    color: transparent;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.1;
    transition: all 0.4s ease;
    user-select: none;
    padding: 0 30px;
}

.outline-text:hover {
    -webkit-text-stroke-color: #1a1a1a;
    -webkit-text-fill-color: #1a1a1a;
}

.outline-text-track {
    display: inline-flex;
    white-space: nowrap;
    animation: outlineScroll 20s linear infinite;
    will-change: transform;
}

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

/* 29. Confetti / Particles Burst */
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99998;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    animation: confettiFall 1.2s var(--ease-premium) forwards;
}

@keyframes confettiFall {
    0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translateY(200px) rotate(720deg) scale(0); }
}

/* 30. Smooth Scroll Wrapper */
html.smooth-scroll {
    scroll-behavior: auto;
}

html.smooth-scroll body {
    overflow-x: hidden;
}

/* 31. Image Inner Parallax */
.product-image.inner-parallax img:not(.hover-img) {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* 32. Stats Counter Section */
.stats-section {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.8s var(--ease-premium);
}

.stat-item.visible::after {
    width: 40px;
}

.stat-number {
    font-size: 42px;
    font-weight: 200;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
    display: block;
    width: 100%;
    text-align: center;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .stat-item {
        padding: 35px 15px;
    }
    .stat-number {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 16px;
    }
    .stat-number {
        font-size: 26px;
    }
    .stat-label {
        font-size: 9px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .outline-text {
        font-size: 50px;
    }
}

/* 33. Hover Ripple Effect on Buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleEffect {
    to { transform: scale(4); opacity: 0; }
}

/* 34. Section visible state (for animations) */

/* 35. Product Quick View Peek */
.product-image::after {
    content: 'QUICK VIEW';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    text-align: center;
    font-size: 9px;
    letter-spacing: 3px;
    color: #fff;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-premium);
    z-index: 5;
    pointer-events: none;
}

.product-card:hover .product-image::after {
    transform: translateY(0);
}

/* 36. Animated Border Gradient on Cart Summary */
.cart-summary {
    position: relative;
    border: none;
    background: var(--bg-tertiary);
}

.cart-summary::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 0;
    background: linear-gradient(135deg, #1a1a1a, transparent 40%, transparent 60%, #1a1a1a);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderRotate 6s linear infinite;
    background-size: 300% 300%;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 37. Section Divider Wave */
.wave-divider {
    width: 100%;
    height: 40px;
    overflow: hidden;
    position: relative;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 200%;
    animation: waveDrift 8s linear infinite;
}

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

/* 38. Elastic Scale on Click */
.product-card.revealed:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* 39. Lottie-like Loading Dots */
.loading-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-primary);
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* 40. Hover Color Shift on Categories */
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%);
    transition: background 0.8s var(--ease-premium);
    pointer-events: none;
}

.category-card:hover::before {
    background: linear-gradient(135deg, rgba(20,20,40,0.15) 0%, rgba(0,0,0,0) 50%, rgba(40,20,20,0.1) 100%);
}

/* ========================================
   2026 PREMIUM EFFECTS — ROUND 3
   ======================================== */

/* 41. Cursor Circle Text (rotating text ring around cursor on hero) */
.cursor-ring {
    position: fixed;
    width: 90px;
    height: 90px;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cursor-ring.active {
    opacity: 1;
}

.cursor-ring svg {
    width: 100%;
    height: 100%;
    animation: cursorRingSpin 8s linear infinite;
}

.cursor-ring text {
    font-size: 11px;
    fill: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
}

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

@media (pointer: coarse) {
    .cursor-ring { display: none !important; }
}

/* 42. Clip-path Image Scale Reveal */
.clip-reveal {
    clip-path: inset(8% 8% 8% 8%);
    transition: clip-path 1s var(--ease-premium);
}

.clip-reveal.in-view {
    clip-path: inset(0% 0% 0% 0%);
}

/* 43. Dark Cinematic Section */
.dark-section {
    background: #0a0a0a;
    color: #fff;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.dark-section .section-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.dark-section .section-header::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.dark-section h2 {
    color: #fff;
}

.dark-section .section-link {
    color: rgba(255,255,255,0.5);
}

.dark-section .section-link:hover {
    color: #fff;
}

.dark-big-text {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 200;
    letter-spacing: 8px;
    text-transform: uppercase;
    line-height: 1.3;
    max-width: 800px;
    text-align: center;
    margin: 0 auto 50px;
}

.dark-big-text em {
    font-style: normal;
    font-weight: 400;
    position: relative;
}

.dark-big-text em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 1s var(--ease-premium) 0.5s;
}

.dark-section.in-view .dark-big-text em::after {
    transform: scaleX(1);
}

.dark-subtitle {
    text-align: center;
    font-size: 11px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

/* 44. Horizontal Pinned Scroll Gallery */
.hscroll-section {
    position: relative;
    overflow: hidden;
}

.hscroll-wrapper {
    display: flex;
    gap: 20px;
    padding: 0 40px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hscroll-wrapper::-webkit-scrollbar {
    display: none;
}

.hscroll-wrapper:active {
    cursor: grabbing;
}

.hscroll-wrapper .category-card {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .hscroll-wrapper .category-card {
        flex: 0 0 75vw;
    }
    .hscroll-wrapper {
        padding: 0 20px;
    }
}

/* 45. Nav Link Font Weight Shift */
.main-nav a {
    font-variation-settings: "wght" 300;
    transition: font-variation-settings 0.3s ease, color 0.2s ease;
}

.main-nav a:hover {
    font-variation-settings: "wght" 500;
}

/* 46. Text Scramble Effect */
.scramble-text {
    display: inline-block;
    min-width: 1ch;
}

/* 47. Cinematic Vignette on Hero */
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%);
}

/* 48. Product Name Clip Reveal */
.product-info .product-name {
    overflow: hidden;
}

.product-card.revealed .product-name {
    animation: nameSlideUp 0.6s var(--ease-premium) 0.3s both;
}

@keyframes nameSlideUp {
    from { clip-path: inset(100% 0 0 0); transform: translateY(8px); }
    to { clip-path: inset(0 0 0 0); transform: translateY(0); }
}

/* 49. Section Fade-in on Scroll (scroll-timeline native) */
@supports (animation-timeline: scroll()) {
    .section {
        animation: sectionFadeIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }

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

/* 50. Hover Image Pan (cursor-position zoom) */
.product-image.pan-zoom img:not(.hover-img) {
    transition: transform 0.15s linear;
    transform-origin: var(--pan-x, 50%) var(--pan-y, 50%);
}

.product-image.pan-zoom:hover img:not(.hover-img) {
    transform: scale(1.15);
}

/* 51. Pill-shaped Badge (modern minimal) */
.badge {
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 1.5px;
}

/* 52. Bottom CTA Bar (mobile) */
@media (max-width: 768px) {
    .mobile-cta-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9000;
        padding: 12px 20px;
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0,0,0,0.06);
        display: flex;
        gap: 10px;
        transform: translateY(100%);
        transition: transform 0.4s var(--ease-premium);
    }

    .mobile-cta-bar.visible {
        transform: translateY(0);
    }

    .mobile-cta-bar .cta-btn {
        flex: 1;
        padding: 14px;
        text-align: center;
        font-size: 11px;
        letter-spacing: 2px;
        text-transform: uppercase;
        background: #1a1a1a;
        color: #fff;
        border: none;
    }
}

/* ============================================================
   MARQUARDT-STYLE GLOBAL SMOOTHNESS & CINEMATIC TRANSITIONS
   ============================================================ */

/* Override all default transitions to be longer/smoother */
a, button, .btn, .btn-filled, .hero-btn {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header {
    transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smoother product card transitions */
.product-card {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-4px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

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

/* Text line-by-line reveal */
.line-reveal {
    display: block;
    overflow: hidden;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.line-reveal.revealed {
    transform: translateY(0);
    opacity: 1;
}

/* Smooth image load fade-in (only on content images, not video or dynamic) */
.main-content img {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-content img.loaded {
    opacity: 1;
}

/* Notification images always visible */
.live-notification img { opacity: 1 !important; }

/* Section fade-in-up on scroll */
.section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered category card reveals */
.category-card {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slow, cinematic hover zoom on drop cards */
.drop-card .drop-image img {
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drop-card:hover .drop-image img {
    transform: scale(1.04);
}

/* Magnetic button smooth return */
.hero-btn, .btn, .btn-filled {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s ease,
                color 0.5s ease,
                border-color 0.5s ease;
}

/* Scroll indicator gentle float */
@keyframes gentleFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.hero-scroll-indicator {
    animation: gentleFloat 3s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

/* Page transition overlay — longer for cinematic feel */
.page-transition-overlay {
    transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Smoother footer reveal */
.footer {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax sections shouldn't clip transforms */
[data-parallax], .section-image, .dark-section {
    will-change: transform;
}

/* Smooth scrollbar for lerp scroll */
@media (pointer: fine) {
    html {
        scroll-behavior: auto; /* JS handles smoothness */
    }

    /* Thin custom scrollbar */
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: transparent;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(26, 26, 26, 0.15);
        border-radius: 3px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(26, 26, 26, 0.3);
    }
}
