/* ===================================
   Nike Sport Template - Main Styles
   =================================== */

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

:root {
    /* Colors */
    --color-primary: #111;
    --color-secondary: #757575;
    --color-accent: #fa5400;
    --color-white: #fff;
    --color-gray-light: #f5f5f5;
    --color-gray-medium: #ccc;
    --color-gray-dark: #333;
    --color-border: #e5e5e5;
    --color-error: #d43f21;
    --color-success: #107569;

    /* Typography */
    --font-primary: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-lg);
}

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

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

a:hover {
    opacity: 0.7;
}

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

/* ===================================
   Header
   =================================== */

.site-header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Top Bar */
.top-bar {
    background: var(--color-gray-light);
    padding: var(--spacing-xs) 0;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left .welcome-text {
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.top-bar-right {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    color: var(--color-secondary);
}

.top-bar-right .support-text {
    color: var(--color-secondary);
}

/* Main Header */
.main-header {
    padding: var(--spacing-md) 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 40px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 1px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.main-nav a {
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    padding: var(--spacing-xs) 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

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


/* Header Actions */
.header-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-gray-light);
    border-radius: var(--radius-full);
    padding: var(--spacing-xs) var(--spacing-md);
    min-width: 180px;
    transition: var(--transition);
}

.search-box:focus-within {
    background: #e5e5e5;
}

.search-icon {
    width: 20px;
    height: 20px;
    margin-right: var(--spacing-xs);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s;
}

.icon-link:hover {
    background: var(--color-gray-light);
    opacity: 1;
}

.icon-link svg {
    width: 24px;
    height: 24px;
}

/* Promo Banner */
.promo-banner {
    background: var(--color-gray-light);
    padding: var(--spacing-sm) 0;
    text-align: center;
    font-size: 14px;
}

/* ===================================
   Hero Banner
   =================================== */

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--color-gray-light);
}

.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: none;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    display: flex;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 600px;
    padding: var(--spacing-xl);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: var(--spacing-xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.hero-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 3;
}

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

.dot.active,
.dot:hover {
    background: var(--color-white);
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #333;
    opacity: 1;
}

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

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

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

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

.btn-block {
    width: 100%;
}

.btn-link {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    text-decoration: underline;
    padding: 0;
}

/* ===================================
   Featured Section
   =================================== */

.featured-section {
    padding: var(--spacing-3xl) 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 3/4;
}

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

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

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--color-white);
}

.featured-overlay h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-xs);
}

.featured-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: var(--spacing-sm);
}

.featured-count {
    display: block;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   Products Section
   =================================== */


.products-section {
    padding: var(--spacing-3xl) 0;
}

.products-page {
    background: #fff;
    padding-bottom: var(--spacing-5xl);
}

.products-page .container {
    max-width: 1520px;
    padding: 0 var(--spacing-2xl);
}

.products-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: var(--spacing-3xl);
    align-items: flex-start;
}

.products-sidebar {
    padding-right: var(--spacing-xl);
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Filter Accordion */
.filter-accordion {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.filter-accordion[open] {
    padding-bottom: var(--spacing-lg);
}

.filter-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
    padding: var(--spacing-xs) 0;
}

.filter-accordion-header::-webkit-details-marker {
    display: none;
}

.filter-title {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.chevron-icon {
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.filter-accordion:not([open]) .chevron-icon {
    transform: rotate(-90deg);
}

.filter-accordion .filter-options,
.filter-accordion .price-range,
.filter-accordion .color-options {
    margin-top: var(--spacing-md);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 13px;
    color: var(--color-secondary);
}

.filter-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

.filter-option span {
    line-height: 1.6;
}

.filter-option-hidden {
    display: none;
}

.filter-show-more {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.filter-show-more:hover {
    opacity: 0.7;
}

.filter-show-more .show-more-icon {
    transition: transform 0.3s ease;
}

.price-range {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.price-input {
    width: 100%;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.color-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-xs);
}

/* Sidebar color filter swatches - keep small */
.color-options .color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
}


.products-main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.btn-hide-filters {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-hide-filters:hover {
    opacity: 0.7;
}

.filter-toggle-icon {
    transition: transform 0.3s ease;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.sort-dropdown label {
    font-size: 15px;
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

.sort-dropdown select {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-size: 15px;
    color: var(--color-primary);
    cursor: pointer;
    transition: border-color 0.2s;
}

.sort-dropdown select:hover,
.sort-dropdown select:focus {
    border-color: var(--color-primary);
    outline: none;
}

.section-title {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg) var(--spacing-md);
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
    cursor: pointer;
}

.product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

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

.product-image.primary {
    opacity: 1;
}

.product-image.secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .product-image.primary {
    opacity: 0;
}

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wishlist Button - appears on hover in top-right */
.product-wishlist-btn {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

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

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

.product-wishlist-btn.active svg {
    fill: #dc2626;
    stroke: #dc2626;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--spacing-xs) 0;
}

.product-tag {
    color: var(--color-accent);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    margin-bottom: 2px;
}

.product-name {
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 2px;
}

.product-category {
    font-size: 15px;
    color: var(--color-secondary);
    line-height: 1.5;
}

.product-colors {
    font-size: 15px;
    color: var(--color-secondary);
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: 4px;
}

.price-original {
    text-decoration: line-through;
    color: var(--color-secondary);
    font-size: 15px;
}

.price-current {
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    color: var(--color-primary);
}

.filter-empty {
    font-size: 13px;
    color: var(--color-secondary);
    margin-top: var(--spacing-xs);
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    background: var(--color-primary);
    color: var(--color-gray-medium);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.footer-main {
    margin-bottom: var(--spacing-xl);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-column h3 {
    color: var(--color-white);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-column li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-link:hover {
    background: #555;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link svg path {
    fill: var(--color-gray-medium);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-gray-dark);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.location {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.copyright {
    font-size: 12px;
}

.footer-bottom-right {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-right a {
    font-size: 12px;
}

/* ===================================
   Product Detail Page
   =================================== */

.product-detail {
    padding: var(--spacing-xl) 0;
}

.product-detail .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(0, 420px);
    gap: var(--spacing-4xl);
    align-items: start;
}

/* Old product detail page styles removed - using new REDESIGNED styles below */

/* Product Info */
.product-details-info {
    position: relative;
}

.product-sticky {
    position: sticky;
    top: 100px;
}

.product-header {
    margin-bottom: var(--spacing-2xl);
}

.product-category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
}

.product-title {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.product-color-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 15px;
    margin-top: var(--spacing-sm);
}

.color-label {
    color: var(--color-secondary);
    font-weight: var(--font-weight-normal);
}

.color-value {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

.product-price-section {
    margin-bottom: var(--spacing-3xl);
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
}

.price-current,
.price-current-solo {
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    letter-spacing: -1px;
    line-height: 1;
}

.price-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #dc2626;
    color: var(--color-white);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.price-original-wrapper {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
}

.price-label-small {
    font-size: 13px;
    color: #9ca3af;
    font-weight: var(--font-weight-normal);
}

.price-original {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: var(--font-weight-normal);
}

.product-options {
    margin-bottom: var(--spacing-2xl);
}

.options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.options-title {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.option-value {
    font-weight: var(--font-weight-normal);
    color: var(--color-secondary);
}

.size-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 4px;
}

.size-guide-link:hover {
    color: var(--color-primary);
    background: #f3f4f6;
    opacity: 1;
}

.size-guide-link svg {
    flex-shrink: 0;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--spacing-sm);
}

.color-option {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs);
    cursor: pointer;
    transition: border-color 0.2s;
}

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

.color-option img {
    width: 100%;
    height: auto;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.size-option {
    padding: 14px 10px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: var(--color-white);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.size-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary);
    opacity: 0;
    transition: opacity 0.25s;
    z-index: -1;
}

.size-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.size-option.active {
    border-color: var(--color-primary);
    color: var(--color-white);
}

.size-option.active::before {
    opacity: 1;
}

.size-option:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    transform: none;
    box-shadow: none;
}

.size-empty {
    font-size: 14px;
    color: var(--color-secondary);
    margin-top: var(--spacing-sm);
}

.color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--spacing-sm);
}

.color-variant {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 999px;
    text-decoration: none;
    color: var(--color-primary);
    background: var(--color-white);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.color-variant:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

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

.color-variant-thumb {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.15);
}

.color-variant.active .color-variant-thumb {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.color-variant-name {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--spacing-2xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.btn-add-to-cart {
    padding: 18px 32px;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.08);
    letter-spacing: 0.3px;
}

.btn-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.12);
}

.btn-add-to-cart:hover .btn-icon {
    transform: scale(1.1);
}

.btn-add-to-cart:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-wishlist {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: var(--color-white);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    border-color: var(--color-primary);
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.btn-wishlist.active {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}

.btn-wishlist.active .btn-icon {
    fill: #dc2626;
}

.product-description {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-border);
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-primary);
}

.product-highlight {
    margin-top: var(--spacing-xl);
}

.product-highlight + .product-highlight {
    margin-top: var(--spacing-md);
}

.highlight-title,
.highlight-subtitle {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

.highlight-list {
    margin: 0 0 var(--spacing-lg) 1.25rem;
    padding: 0;
    display: grid;
    gap: var(--spacing-xxs);
    color: var(--color-secondary);
}

.sale-point-list {
    list-style: none;
    margin-left: 0;
}

.sale-point-list li::before {
    content: "#";
    margin-right: 6px;
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

.product-delivery {
    border-top: 1px solid var(--color-border);
}

.delivery-accordion {
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-lg) 0;
}

.delivery-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    list-style: none;
    padding-right: var(--spacing-sm);
}

.delivery-accordion summary::-webkit-details-marker {
    display: none;
}

.size-guide-section {
    padding: var(--spacing-4xl) 0;
    background: #fafafa;
    margin-top: var(--spacing-4xl);
}

.size-guide-title {
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-lg);
}

.size-guide-gallery {
    display: grid;
    gap: var(--spacing-xl);
}

.size-guide-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.accordion-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.delivery-content {
    margin-top: var(--spacing-lg);
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-secondary);
}

.delivery-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delivery-list li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
}

.delivery-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.rating-stars {
    color: #ffa500;
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-text {
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.review-note {
    font-size: 14px;
    color: var(--color-secondary);
    margin-top: var(--spacing-xs);
}

.specs-content {
    white-space: pre-wrap;
}

/* ===================================
   Related Products
   =================================== */

.related-products-section {
    padding: var(--spacing-3xl) 0;
    background: #f5f5f5;
}

.related-products-section .section-title {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

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

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

@media (max-width: 768px) {
    .related-products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .gallery-thumbnails {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        overflow-x: auto;
    }

    .gallery-thumbnails .thumbnail {
        flex-shrink: 0;
    }
}

/* ===================================
   Pagination
   =================================== */

.nike-pagination {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--color-border);
}

.pagination-info {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 14px;
    color: var(--color-secondary);
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
    opacity: 1;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-btn svg {
    transition: transform 0.2s ease;
}

.pagination-btn:hover:not(:disabled) svg path {
    stroke: var(--color-white);
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background: var(--color-gray-light);
    opacity: 1;
}

.pagination-number.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--color-secondary);
    font-size: 15px;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
    }
}

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

    .product-layout {
        grid-template-columns: 220px 1fr;
        gap: var(--spacing-2xl);
    }

    .product-sticky {
        position: static;
    }

    .gallery-main {
        min-height: 420px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

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

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    /* Old gallery responsive styles removed */

    /* Old gallery styles removed */

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-right: 0;
        padding-bottom: var(--spacing-xl);
    }

    .sidebar-sticky {
        position: static;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: 32px;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 14px;
    }

    /* 产品网格保持2列布局（移动端优化） */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .pagination-controls {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .pagination-numbers {
        order: -1;
    }

    .pagination-btn span {
        display: none;
    }

    .pagination-btn {
        padding: var(--spacing-sm);
        min-width: 44px;
        justify-content: center;
    }
}

/* Trust Badges */
.product-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: var(--spacing-lg);
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: var(--spacing-2xl);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: var(--spacing-sm);
    text-align: center;
}

.trust-badge svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.trust-badge span {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    line-height: 1.3;
}

/* Size Selection Enhanced */
.color-selection,
.size-selection {
    padding: var(--spacing-lg);
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.size-selection .options-header {
    margin-bottom: var(--spacing-md);
}

.size-selection .size-grid {
    padding: var(--spacing-xs) 0;
}

.color-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--spacing-md);
}

/* Product detail page color variant swatches */
.color-swatch-grid .color-swatch {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e5e7eb;
    background: var(--color-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}

.color-swatch-grid .color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.color-swatch-placeholder {
    font-size: 14px;
    color: var(--color-secondary);
    font-weight: var(--font-weight-medium);
}

.color-swatch-grid .color-swatch:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

.color-swatch-grid .color-swatch:hover img {
    transform: scale(1.1);
}

.color-swatch-grid .color-swatch.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary), 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: scale(1.08);
}

.color-swatch-grid .color-swatch.active::after {
    content: '✓';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for trust badges */
@media (max-width: 768px) {
    .product-trust-badges {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .trust-badge {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
}

/* Category Tree Styles - 优化版本 */
.category-tree {
    padding: 0;
}

.category-item {
    margin-bottom: 4px;
}

.category-item.level-0 {
    margin-bottom: 8px;
}

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

.category-group {
    border: none;
}

.category-group summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.category-group summary::-webkit-details-marker {
    display: none;
}

/* Level 0 - 一级分类 (最醒目，类似Nike官网风格) */
.level-0 > .category-group > .category-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    background: #fff;
    border-radius: 0;
    transition: all 0.15s ease;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.level-0 > .category-group > .category-parent:hover {
    background: #fafafa;
}

.level-0 > .category-group > .category-parent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.15s ease;
}

.level-0 > .category-group[open] > .category-parent::before {
    background: #111;
}

/* Level 1 - 二级分类 (更紧凑，更清晰) */
.level-1 > .category-group > .category-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border-radius: 0;
    transition: all 0.15s ease;
}

.level-1 > .category-group > .category-parent:hover {
    background: #f5f5f5;
    padding-left: 26px;
}

/* Level 2 - 三级分类 */
.level-2 .category-parent {
    padding-left: 36px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.category-name {
    flex: 1;
    line-height: 1.4;
}

.category-count {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin: 0 8px;
    min-width: 36px;
    text-align: right;
}

.category-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #999;
    width: 14px;
    height: 14px;
}

.category-group[open] > summary .category-chevron {
    transform: rotate(90deg);
}

.category-parent:hover .category-chevron {
    color: #111;
}

.category-children {
    margin-left: 0;
    margin-top: 2px;
    padding-left: 0;
    border-left: none;
}

.level-0 > .category-group > .category-children {
    margin-top: 4px;
    margin-bottom: 4px;
    background: #fff;
    border-radius: 0;
    padding: 6px 0;
}

.level-1 > .category-group > .category-children {
    background: #fff;
    padding: 2px 0;
}

/* Category leaf (可点击的分类链接) - 优化版 */
.category-leaf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.15s ease;
    text-decoration: none;
    font-weight: 400;
    position: relative;
}

.level-1 .category-leaf {
    padding-left: 24px;
}

.level-2 .category-leaf {
    padding-left: 48px;
}

.category-leaf::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ccc;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.level-1 .category-leaf::before {
    left: 12px;
}

.level-2 .category-leaf::before {
    left: 36px;
}

.category-leaf:hover {
    background: #fafafa;
    color: #111;
    padding-left: 38px;
}

.level-1 .category-leaf:hover {
    padding-left: 26px;
}

.level-2 .category-leaf:hover {
    padding-left: 50px;
}

.category-leaf:hover::before {
    opacity: 1;
    background: #111;
}

.category-leaf.active {
    background: #f0f0f0;
    color: #111;
    font-weight: 600;
    border-left: 3px solid #111;
}

.category-leaf.active::before {
    opacity: 1;
    background: #111;
}

.category-leaf .category-name {
    display: inline;
    flex: 1;
}

.category-leaf .category-count {
    display: inline;
    margin-left: 8px;
    font-size: 11px;
    color: #999;
}

/* ===================================
   Modern Hero Banner
   =================================== */

.hero-banner-modern {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}

.hero-slide-modern {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
}

.hero-slide-modern.active {
    display: flex;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 15s ease-in-out infinite;
}

@keyframes kenburns {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
}

.hero-content-modern {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    width: 100%;
    padding: 0 var(--spacing-2xl);
}

.hero-content-inner {
    max-width: 680px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-label-modern {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
}

.hero-title-modern {
    font-size: 72px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-modern {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    max-width: 560px;
}

.hero-price-modern {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-price-original {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.hero-price-current {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    letter-spacing: -1px;
}

.hero-actions-modern {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.btn-hero-primary svg {
    transition: transform 0.3s;
}

.btn-hero-primary:hover svg {
    transform: translateX(5px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: transparent;
    color: var(--color-white);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    opacity: 1;
}

.hero-dots-modern {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot-modern {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.4s;
    padding: 0;
}

.dot-modern:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.dot-modern.active {
    width: 40px;
    border-radius: 6px;
    background: var(--color-white);
}

/* ===================================
   Modern Products Section
   =================================== */

.products-section-modern {
    padding: 120px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

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

.section-title-modern {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
}

.section-subtitle-modern {
    font-size: 18px;
    color: var(--color-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.product-card-modern {
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-link-modern {
    display: block;
    text-decoration: none;
}

.product-image-wrapper-modern {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
}

.product-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.product-image-primary {
    opacity: 1;
}

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

.product-card-modern:hover .product-image-primary {
    opacity: 0;
    transform: scale(1.1);
}

.product-card-modern:hover .product-image-hover {
    opacity: 1;
    transform: scale(1.1);
}

.product-badge-modern {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    background: #dc2626;
    color: var(--color-white);
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    z-index: 5;
}

.quick-view-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.product-card-modern:hover .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

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

.product-info-modern {
    padding: 24px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.product-brand {
    font-size: 12px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--font-weight-medium);
}

.product-new-badge {
    padding: 4px 10px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.product-name-modern {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-color-info {
    font-size: 13px;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.product-price-modern {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-was {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.price-now {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.product-wishlist-modern {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card-modern:hover .product-wishlist-modern {
    opacity: 1;
}

.product-wishlist-modern:hover {
    transform: scale(1.1);
    background: var(--color-white);
}

.product-wishlist-modern svg {
    color: var(--color-primary);
    transition: all 0.3s;
}

.product-wishlist-modern.active svg {
    fill: #dc2626;
    stroke: #dc2626;
}

.section-footer-modern {
    text-align: center;
    margin-top: 60px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.btn-view-all svg {
    transition: transform 0.3s;
}

.btn-view-all:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1280px) {
    .products-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-title-modern {
        font-size: 56px;
    }

    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero-banner-modern {
        min-height: 80vh;
    }

    .hero-slide-modern {
        min-height: 80vh;
    }

    .hero-title-modern {
        font-size: 40px;
    }

    .hero-subtitle-modern {
        font-size: 16px;
    }

    .hero-actions-modern {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-title-modern {
        font-size: 36px;
    }

    .products-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 32px;
    }

    .hero-price-current {
        font-size: 36px;
    }
}

/* ===================================
   Enhanced Featured Products Section
   =================================== */

.products-section-enhanced {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.section-header-with-filters {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.section-header-content {
    flex: 1;
}

.section-title-enhanced {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-subtitle-enhanced {
    font-size: 18px;
    color: var(--color-secondary);
    font-weight: var(--font-weight-normal);
}

.product-filter-tabs {
    display: flex;
    gap: 8px;
    background: #f3f4f6;
    padding: 6px;
    border-radius: 50px;
}

.filter-tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-tab:hover {
    background: rgba(17, 17, 17, 0.05);
    color: var(--color-primary);
}

.filter-tab.active {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Masonry Grid Layout */
.products-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

/* Hero Product Card (2x2 space) */
.product-card-hero {
    position: relative;
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-hero:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.product-link-hero {
    display: block;
    height: 100%;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
}

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

.hero-image-primary {
    opacity: 1;
}

.hero-image-secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card-hero:hover .hero-image-primary {
    opacity: 0;
    transform: scale(1.05);
}

.product-card-hero:hover .hero-image-secondary {
    opacity: 1;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    color: var(--color-white);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-hero:hover .hero-overlay {
    transform: translateY(-10px);
}

.hero-badge-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    backdrop-filter: blur(10px);
}

.badge-hot {
    background: rgba(239, 68, 68, 0.95);
    color: var(--color-white);
}

.badge-sale {
    background: rgba(16, 185, 129, 0.95);
    color: var(--color-white);
}

.hero-brand {
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.hero-title {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-color {
    font-size: 15px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.hero-price-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-price-original {
    font-size: 20px;
    text-decoration: line-through;
    opacity: 0.6;
}

.hero-price-current {
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -1px;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.hero-cta-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.hero-cta-btn svg {
    transition: transform 0.3s;
}

.hero-cta-btn:hover svg {
    transform: translateX(4px);
}

.product-wishlist-hero {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-card-hero:hover .product-wishlist-hero {
    opacity: 1;
}

.product-wishlist-hero:hover {
    transform: scale(1.1);
}

.product-wishlist-hero svg {
    color: var(--color-primary);
}

.product-wishlist-hero.active svg {
    fill: #dc2626;
    stroke: #dc2626;
}

/* Compact Product Cards */
.product-card-compact {
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-card-compact:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Every 5th card is larger (spans 2 columns) */
.product-card-compact.card-large {
    grid-column: span 2;
}

.product-link-compact {
    display: block;
    text-decoration: none;
}

.compact-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
}

.card-large .compact-image-wrapper {
    aspect-ratio: 16 / 9;
}

.compact-image-primary,
.compact-image-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.compact-image-primary {
    opacity: 1;
}

.compact-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card-compact:hover .compact-image-primary {
    opacity: 0;
    transform: scale(1.08);
}

.product-card-compact:hover .compact-image-hover {
    opacity: 1;
    transform: scale(1.08);
}

.compact-badge-sale,
.compact-badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    z-index: 5;
}

.compact-badge-sale {
    background: #dc2626;
    color: var(--color-white);
}

.compact-badge-new {
    background: var(--color-primary);
    color: var(--color-white);
    top: 12px;
    right: auto;
    left: 12px;
}

.compact-quick-view {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.product-card-compact:hover .compact-quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.compact-quick-view:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.compact-info {
    padding: 20px;
}

.card-large .compact-info {
    padding: 24px;
}

.compact-brand {
    display: block;
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.compact-name {
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-large .compact-name {
    font-size: 18px;
    -webkit-line-clamp: 3;
}

.compact-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.compact-price-was {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.compact-price-now {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.card-large .compact-price-now {
    font-size: 22px;
}

.compact-wishlist {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card-compact:hover .compact-wishlist {
    opacity: 1;
}

.compact-wishlist:hover {
    transform: scale(1.1);
}

.compact-wishlist svg {
    color: var(--color-primary);
}

.compact-wishlist.active svg {
    fill: #dc2626;
    stroke: #dc2626;
}

.section-footer-enhanced {
    text-align: center;
    margin-top: 60px;
}

.btn-view-all-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-view-all-enhanced:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.btn-view-all-enhanced svg {
    transition: transform 0.3s;
}

.btn-view-all-enhanced:hover svg {
    transform: translateX(5px);
}

/* Responsive - Enhanced Products */
@media (max-width: 1280px) {
    .products-masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-card-hero {
        grid-column: span 3;
        grid-row: span 1;
    }

    .hero-image-container {
        min-height: 400px;
    }
}

@media (max-width: 1024px) {
    .section-header-with-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .product-filter-tabs {
        width: 100%;
        overflow-x: auto;
    }

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

    .product-card-hero {
        grid-column: span 2;
    }

    .product-card-compact.card-large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .products-section-enhanced {
        padding: 60px 0;
    }

    .section-title-enhanced {
        font-size: 32px;
    }

    .products-masonry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card-hero {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-image-container {
        min-height: 300px;
    }

    .hero-overlay {
        padding: 24px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-price-current {
        font-size: 32px;
    }

    .product-card-compact.card-large {
        grid-column: span 1;
    }

    .card-large .compact-image-wrapper {
        aspect-ratio: 1 / 1;
    }
}

/* ===================================
   Brand Showcase Section
   =================================== */

.brand-showcase {
    padding: 100px 0;
    background: var(--color-white);
    border-bottom: 1px solid #e5e5e5;
}

.section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.section-title-large {
    font-size: 52px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.section-description {
    font-size: 18px;
    color: var(--color-secondary);
    line-height: 1.7;
}

.brand-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px 32px;
    margin-bottom: 60px;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.3s;
    min-height: 100px;
    text-decoration: none;
}

.brand-logo-item:hover {
    background: #f0f0f0;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s;
}

.brand-logo-item:hover .brand-logo {
    filter: grayscale(0%) opacity(1);
}

.brand-logo-text {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-showcase-footer {
    text-align: center;
    padding-top: 20px;
}

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

/* ===================================
   Brand Collections Grid
   =================================== */

.brand-collections-modern {
    padding: 100px 0;
    background: #f8f9fa;
}

.container-full {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
}

.brand-collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.brand-collection-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.brand-collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.brand-collection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

.brand-header-content {
    flex: 1;
}

.brand-collection-name {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.brand-collection-count {
    font-size: 14px;
    color: var(--color-secondary);
    font-weight: var(--font-weight-medium);
}

.brand-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.brand-view-all-btn:hover {
    background: #333;
    transform: translateX(4px);
    opacity: 1;
}

.brand-view-all-btn svg {
    transition: transform 0.3s;
}

.brand-view-all-btn:hover svg {
    transform: translateX(3px);
}

.brand-products-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.brand-product-mini {
    display: block;
    text-decoration: none;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.brand-product-mini:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brand-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}

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

.brand-product-mini:hover .brand-product-image img {
    transform: scale(1.08);
}

.brand-product-info {
    padding: 12px;
}

.brand-product-name {
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-product-price {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.brand-collection-image-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.brand-collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.brand-collection-image-link:hover .brand-collection-image {
    transform: scale(1.05);
}

.brand-collections-footer {
    text-align: center;
    margin-top: 60px;
}

.btn-view-all-brands {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-view-all-brands:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.btn-view-all-brands svg {
    transition: transform 0.3s;
}

.btn-view-all-brands:hover svg {
    transform: translateX(5px);
}

/* Responsive - Brand Collections Grid */
@media (max-width: 1280px) {
    .brand-collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

@media (max-width: 768px) {
    .brand-showcase {
        padding: 60px 0;
    }

    .section-title-large {
        font-size: 36px;
    }

    .brand-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .brand-collections-modern {
        padding: 60px 0;
    }

    .brand-collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .brand-products-preview {
        grid-template-columns: 1fr;
    }

    .brand-collection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .brand-view-all-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .brand-collection-card {
        padding: 20px;
    }

    .brand-collection-name {
        font-size: 22px;
    }
}

/* Badge Styles */
.icon-link-badge {
    position: relative;
}

.cart-badge,
.wishlist-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #dc2626;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===================================
   Trust Badges Section
   =================================== */

.trust-badges-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid #e5e5e5;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-badge-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.trust-badge-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s;
    border: 2px solid #e5e7eb;
}

.trust-badge-icon svg {
    stroke: var(--color-primary);
}

.trust-badge-item:hover .trust-badge-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #fa5400 0%, #ff6b2b 100%);
    border-color: #fa5400;
}

.trust-badge-item:hover .trust-badge-icon svg {
    stroke: var(--color-white);
}

.trust-badge-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.trust-badge-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-secondary);
}

@media (max-width: 1024px) {
    .trust-badges-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .trust-badges-section {
        padding: 60px 0;
    }

    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .trust-badge-item {
        padding: 24px 16px;
    }

    .trust-badge-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .trust-badge-icon svg {
        width: 32px;
        height: 32px;
    }

    .trust-badge-title {
        font-size: 16px;
    }

    .trust-badge-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ===================================
   Quick Category Navigation
   =================================== */

.quick-categories-section {
    padding: 80px 0 100px;
    background: var(--color-white);
    border-bottom: 1px solid #e5e5e5;
}

.quick-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.quick-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #fafafa;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-height: 200px;
}

.quick-category-card:hover {
    background: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.quick-category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.quick-category-icon svg {
    stroke: var(--color-primary);
    transition: all 0.3s;
}

.quick-category-card:hover .quick-category-icon {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    transform: scale(1.1);
}

.quick-category-card:hover .quick-category-icon svg {
    stroke: var(--color-white);
}

.quick-category-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.3px;
}

.quick-category-desc {
    font-size: 14px;
    color: var(--color-secondary);
    text-align: center;
    line-height: 1.4;
}

/* Highlighted Card (最新上架) */
.quick-category-highlight {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    position: relative;
    overflow: hidden;
}

.quick-category-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 84, 0, 0.15) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.quick-category-highlight .quick-category-title {
    color: var(--color-white);
}

.quick-category-highlight .quick-category-desc {
    color: rgba(255, 255, 255, 0.8);
}

.quick-category-highlight:hover {
    background: linear-gradient(135deg, #fa5400 0%, #ff6b2b 100%);
    border-color: transparent;
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(250, 84, 0, 0.3);
}

.quick-category-icon-special {
    background: linear-gradient(135deg, rgba(250, 84, 0, 0.2) 0%, rgba(255, 107, 43, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.quick-category-icon-special svg {
    stroke: var(--color-white);
}

.quick-category-highlight:hover .quick-category-icon-special {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: var(--color-white);
    transform: scale(1.15);
}

.quick-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: #dc2626;
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Responsive */
@media (max-width: 1280px) {
    .quick-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .quick-categories-section {
        padding: 60px 0 80px;
    }

    .quick-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .quick-category-card {
        padding: 32px 16px;
        min-height: 180px;
    }

    .quick-category-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .quick-category-icon svg {
        width: 32px;
        height: 32px;
    }

    .quick-category-title {
        font-size: 16px;
    }

    .quick-category-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .quick-categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-category-card {
        padding: 28px 16px;
        min-height: 160px;
    }
}

/* ===================================
   Promotional Banner
   =================================== */

.promo-banner-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.promo-banner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

/* Large Banner */
.promo-banner-large {
    background: linear-gradient(135deg, #111 0%, #2d2d2d 100%);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.promo-banner-large::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 84, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.promo-banner-content {
    position: relative;
    z-index: 2;
}

.promo-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #dc2626;
    color: var(--color-white);
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.promo-title {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.promo-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Countdown Timer */
.promo-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 80px;
}

.countdown-number {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 4px;
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: rgba(255, 255, 255, 0.5);
}

.promo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.promo-cta-btn:hover {
    background: #fa5400;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(250, 84, 0, 0.4);
    opacity: 1;
}

.promo-cta-btn svg {
    transition: transform 0.3s;
}

.promo-cta-btn:hover svg {
    transform: translateX(5px);
}

/* Banner Image Placeholder */
.promo-banner-image {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image-placeholder {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.promo-image-placeholder svg {
    stroke: rgba(255, 255, 255, 0.3);
}

/* Small Banners */
.promo-banner-small {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-banner-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.promo-banner-dark {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.promo-small-content {
    position: relative;
    z-index: 2;
}

.promo-small-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.promo-banner-dark .promo-small-badge {
    background: #fa5400;
}

.promo-small-title {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.promo-banner-dark .promo-small-title {
    color: var(--color-white);
}

.promo-small-desc {
    font-size: 16px;
    color: var(--color-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.promo-banner-dark .promo-small-desc {
    color: rgba(255, 255, 255, 0.7);
}

.promo-small-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.promo-banner-dark .promo-small-link {
    color: var(--color-white);
}

.promo-small-link:hover {
    gap: 12px;
    opacity: 1;
}

.promo-small-link svg {
    transition: transform 0.3s;
}

.promo-small-link:hover svg {
    transform: translateX(4px);
}

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

    .promo-banner-large {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .promo-banner-section {
        padding: 40px 0 60px;
    }

    .promo-banner-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promo-banner-large {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        min-height: auto;
    }

    .promo-title {
        font-size: 36px;
    }

    .promo-description {
        font-size: 16px;
    }

    .promo-countdown {
        flex-wrap: wrap;
        gap: 12px;
    }

    .countdown-item {
        padding: 12px 16px;
        min-width: 70px;
    }

    .countdown-number {
        font-size: 28px;
    }

    .promo-banner-image {
        display: none;
    }

    .promo-banner-small {
        padding: 32px 24px;
        min-height: 280px;
    }

    .promo-small-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .promo-banner-large {
        padding: 32px 24px;
    }

    .promo-title {
        font-size: 28px;
    }

    .countdown-item {
        padding: 10px 12px;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 24px;
    }

    .promo-small-title {
        font-size: 24px;
    }
}

/* ===================================
   Lifestyle Content / Blog Section
   =================================== */

.lifestyle-content-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Lifestyle Card Base */
.lifestyle-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.lifestyle-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.lifestyle-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

/* Featured Card (larger) */
.lifestyle-card-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.lifestyle-card-featured .lifestyle-image-wrapper {
    height: 400px;
}

.lifestyle-card-featured .lifestyle-card-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.lifestyle-card-featured .lifestyle-content {
    grid-column: 1 / -1;
}

/* Image Wrapper */
.lifestyle-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.lifestyle-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s;
}

.lifestyle-image-placeholder svg {
    stroke: rgba(17, 17, 17, 0.2);
}

.lifestyle-card:hover .lifestyle-image-placeholder {
    transform: scale(1.1);
}

/* Overlay */
.lifestyle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.lifestyle-card:hover .lifestyle-overlay {
    opacity: 1;
}

.lifestyle-category {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content */
.lifestyle-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lifestyle-title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lifestyle-card-featured .lifestyle-title {
    font-size: 32px;
    -webkit-line-clamp: 3;
    margin-bottom: 16px;
}

.lifestyle-excerpt {
    font-size: 15px;
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.lifestyle-card-featured .lifestyle-excerpt {
    font-size: 16px;
    -webkit-line-clamp: 4;
}

/* Meta Info */
.lifestyle-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.lifestyle-date,
.lifestyle-read-time {
    font-size: 13px;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lifestyle-date::before {
    content: '📅';
    font-size: 14px;
}

.lifestyle-read-time::before {
    content: '⏱️';
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1280px) {
    .lifestyle-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .lifestyle-card-featured {
        grid-column: 1 / -1;
        grid-row: span 1;
    }

    .lifestyle-card-featured .lifestyle-image-wrapper {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .lifestyle-content-section {
        padding: 60px 0 80px;
    }

    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lifestyle-card-featured {
        grid-column: 1;
        grid-row: span 1;
    }

    .lifestyle-card-featured .lifestyle-image-wrapper {
        height: 280px;
    }

    .lifestyle-image-wrapper {
        height: 200px;
    }

    .lifestyle-content {
        padding: 24px;
    }

    .lifestyle-title {
        font-size: 20px;
    }

    .lifestyle-card-featured .lifestyle-title {
        font-size: 26px;
    }

    .lifestyle-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .lifestyle-card-featured .lifestyle-excerpt {
        font-size: 15px;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 480px) {
    .lifestyle-content-section {
        padding: 40px 0 60px;
    }

    .lifestyle-card-featured .lifestyle-image-wrapper {
        height: 240px;
    }

    .lifestyle-image-wrapper {
        height: 180px;
    }

    .lifestyle-content {
        padding: 20px;
    }

    .lifestyle-title {
        font-size: 18px;
    }

    .lifestyle-card-featured .lifestyle-title {
        font-size: 22px;
    }

    .lifestyle-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ===================================
   Product Detail Page
   =================================== */

.product-detail-page {
    padding: var(--spacing-lg) 0 var(--spacing-3xl);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--color-secondary);
    transition: var(--transition);
}

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

.breadcrumb-separator {
    color: var(--color-gray-medium);
}

.breadcrumb-current {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

/* Product Content Wrapper - Two Column Layout */
.product-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

/* Product Gallery Section */
.product-gallery-section {
    position: relative;
}

.gallery-container {
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-gray-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.main-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-slide.active {
    opacity: 1;
}

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

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.gallery-nav-btn:hover {
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn.prev {
    left: var(--spacing-md);
}

.gallery-nav-btn.next {
    right: var(--spacing-md);
}

.gallery-nav-btn svg {
    color: var(--color-primary);
}

/* Thumbnail Navigation */
.thumbnail-navigation {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding: var(--spacing-xs) 0;
    scrollbar-width: thin;
}

.thumbnail-navigation::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-navigation::-webkit-scrollbar-thumb {
    background: var(--color-gray-medium);
    border-radius: 2px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail-item:hover {
    border-color: var(--color-gray-medium);
}

.thumbnail-item.active {
    border-color: var(--color-primary);
}

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

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-gray-medium);
    gap: var(--spacing-sm);
}

.no-image-placeholder p {
    font-size: 14px;
}

/* Product Info Section */
.product-info-section {
    position: relative;
}

.product-info-sticky {
    position: sticky;
    top: 100px;
}

.brand-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.product-title {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.product-sku {
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Price Section */
.price-section {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-lg);
}

.price-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
}

.price-current {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.price-current-solo {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.discount-badge {
    background: var(--color-error);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
}

.price-original-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    color: var(--color-secondary);
}

.price-label {
    font-size: 13px;
}

.price-original {
    text-decoration: line-through;
    font-size: 16px;
}

/* Product Options */
.product-option-group {
    margin-bottom: var(--spacing-xl);
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.option-title {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.option-subtitle {
    font-size: 14px;
    color: var(--color-secondary);
}

.size-guide-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-secondary);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Color Variants Grid */
.color-variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--spacing-sm);
}

.color-variant-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

.color-variant-item:hover {
    border-color: var(--color-gray-medium);
}

.color-variant-item.active {
    border-color: var(--color-primary);
}

.color-variant-image {
    width: 100%;
    height: 100%;
}

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

.variant-check {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Size Selection */
.size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--spacing-sm);
}

.size-btn {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.size-btn:hover {
    border-color: var(--color-primary);
    background: var(--color-gray-light);
}

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

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--color-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-wishlist {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    transition: var(--transition);
}

.btn-wishlist:hover {
    border-color: var(--color-primary);
    background: var(--color-gray-light);
}

.btn-wishlist.active svg {
    fill: var(--color-error);
}

/* Trust Badges */
.trust-badges-inline {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    color: var(--color-secondary);
}

.trust-item svg {
    color: var(--color-success);
}

/* Product Details Tabs */
.product-details-tabs {
    margin-bottom: var(--spacing-3xl);
}

.tabs-header {
    display: flex;
    gap: var(--spacing-xl);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-xl);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: var(--spacing-md) 0;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--color-secondary);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

.description-content {
    line-height: 1.8;
    color: var(--color-primary);
    font-size: 15px;
}

.empty-content {
    padding: var(--spacing-2xl);
    text-align: center;
    color: var(--color-secondary);
}

.features-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-md);
}

.features-list li {
    padding-left: var(--spacing-lg);
    position: relative;
    line-height: 1.6;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: var(--font-weight-bold);
}

.specs-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: var(--font-primary);
    line-height: 1.8;
    color: var(--color-primary);
}

.shipping-info h3 {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.shipping-info h3:first-child {
    margin-top: 0;
}

.info-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
}

.info-list li {
    padding-left: var(--spacing-lg);
    position: relative;
    line-height: 1.6;
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* Related Products Section */
.related-products-section {
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.related-product-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.related-product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.related-product-image {
    aspect-ratio: 1;
    background: var(--color-gray-light);
    overflow: hidden;
}

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

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

.related-product-image .no-image {
    width: 100%;
    height: 100%;
    background: var(--color-gray-light);
}

.related-product-info {
    padding: var(--spacing-md);
}

.related-product-info h3 {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

.related-price {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

/* Responsive Design for Product Detail Page */
@media (max-width: 1024px) {
    .product-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .gallery-container {
        position: static;
    }

    .product-info-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: var(--spacing-md) 0 var(--spacing-xl);
    }

    .product-title {
        font-size: 24px;
    }

    .price-current {
        font-size: 24px;
    }

    .price-current-solo {
        font-size: 28px;
    }

    .tabs-header {
        gap: var(--spacing-md);
    }

    .tab-btn {
        font-size: 14px;
        padding: var(--spacing-sm) 0;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container-fluid {
        padding: 0 var(--spacing-md);
    }

    .breadcrumb-nav {
        font-size: 12px;
        gap: 6px;
    }

    .product-title {
        font-size: 20px;
    }

    .price-current {
        font-size: 22px;
    }

    .price-current-solo {
        font-size: 24px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-wishlist {
        width: 100%;
        border-radius: var(--radius-full);
    }

    .color-variants-grid,
    .size-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
    }
}

/* ===================================
   REDESIGNED Product Detail Page
   =================================== */

.product-detail-page {
    background: #fff;
    padding: var(--spacing-xl) 0;
}

.container-max {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-2xl);
    font-size: 14px;
    color: var(--color-secondary);
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--color-secondary);
    transition: color 0.2s;
}

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

.breadcrumb-separator {
    color: #d1d5db;
    user-select: none;
}

.breadcrumb-current {
    color: var(--color-primary);
    font-weight: 500;
}

/* Product Main Content Grid */
.product-main-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* === Product Gallery === */
.product-gallery {
    display: block;
    position: sticky;
    top: 100px;
    align-self: start;
}

.gallery-main-view {
    position: relative;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 1;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.gallery-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

.gallery-indicator {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
    padding: 0;
}

.thumbnail:hover {
    border-color: #d1d5db;
}

.thumbnail.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary);
}

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

.no-image-state {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 12px;
    color: #9ca3af;
    gap: 16px;
}

.no-image-state p {
    font-size: 14px;
    margin: 0;
}

/* === Product Info === */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-brand {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.product-name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin: 0;
}

.product-sku {
    font-size: 14px;
    color: #6b7280;
}

.product-sku span {
    color: var(--color-primary);
    font-weight: 500;
}

/* Price Block */
.product-price-block {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 20px;
    border-radius: 12px;
}

.price-main-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.price-sale {
    font-size: 36px;
    font-weight: 800;
    color: #dc2626;
    line-height: 1;
}

.price-single {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
}

.price-badge-discount {
    background: #dc2626;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.price-compare-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.price-original {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 16px;
}

.price-save-text {
    color: #059669;
    font-weight: 600;
}

.product-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

/* Option Sections */
.option-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.label-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
}

.size-guide-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

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

/* Size Selector */
.size-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
}

.size-option {
    padding: 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.size-option:hover {
    border-color: var(--color-primary);
    background: #f9fafb;
}

.size-option.selected {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

/* Color Display */
.color-display {
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.color-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
}

/* Action Buttons */
.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 8px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

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

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #fff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 14px 24px;
}

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

.btn-secondary.active svg {
    fill: #dc2626;
    stroke: #dc2626;
}

/* Trust Features */
.trust-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.trust-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}

.trust-feature-item svg {
    flex-shrink: 0;
    color: #10b981;
}

/* === Product Details Section === */
.product-details-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 60px;
}

.details-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    background: #f9fafb;
    overflow-x: auto;
    scrollbar-width: none;
}

.details-tabs::-webkit-scrollbar {
    display: none;
}

.tab-button {
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

.tab-button:hover {
    color: var(--color-primary);
    background: rgba(17, 17, 17, 0.03);
}

.tab-button.active {
    color: var(--color-primary);
    background: #fff;
    border-bottom-color: var(--color-primary);
}

.tabs-content-area {
    padding: 40px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

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

.description-text {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

.empty-state {
    padding: 60px 0;
    text-align: center;
    color: #9ca3af;
}

.features-listing {
    list-style: none;
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.features-listing li {
    padding-left: 32px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.features-listing li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

.specs-text pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: var(--font-primary);
    line-height: 1.8;
    font-size: 15px;
    color: #374151;
    margin: 0;
}

.shipping-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--color-primary);
}

.shipping-content h3:first-child {
    margin-top: 0;
}

.shipping-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.shipping-list li {
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

.shipping-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 20px;
}

/* === Related Products === */
.related-products-section {
    margin-bottom: 60px;
}

.related-products-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-primary);
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.related-product-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.related-product-item:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.related-product-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #fafafa;
}

.related-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-product-item:hover .related-product-img img {
    transform: scale(1.08);
}

.related-no-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

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

.related-product-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--color-primary);
    line-height: 1.4;
}

.related-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #dc2626;
    margin: 0;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .product-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }

    .container-max {
        padding: 0 var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: var(--spacing-lg) 0;
    }

    .container-max {
        padding: 0 var(--spacing-md);
    }

    .product-main-content {
        gap: 32px;
        margin-bottom: 50px;
    }

    .product-name {
        font-size: 22px;
    }

    .price-sale,
    .price-single {
        font-size: 28px;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .tabs-content-area {
        padding: 24px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .product-name {
        font-size: 20px;
    }

    .price-sale,
    .price-single {
        font-size: 24px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }

    .size-selector {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    .breadcrumb-nav {
        font-size: 12px;
        gap: 6px;
    }

    .tabs-content-area {
        padding: 20px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .tab-button {
        padding: 14px 18px;
        font-size: 14px;
    }
}

/* ===================================
   Animations for Cart & Wishlist
   =================================== */

/* Shake Animation (for size selector warning) */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Cart Bounce Animation */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
}

/* Heart Beat Animation */
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
}

/* Button Loading Animation */
.btn-add-to-cart.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-add-to-cart.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

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

.btn-add-to-cart.success {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

/* Toast Improvements */
.toast {
    position: fixed;
    bottom: -100px;
    right: 24px;
    min-width: 300px;
    max-width: 420px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid;
}

.toast.show {
    bottom: 24px;
    animation: slideInRight 0.4s ease;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 4px;
}

.toast-message {
    flex: 1;
    color: #1f2937;
    line-height: 1.4;
}

/* Toast Types */
.toast-success {
    border-left-color: #10b981;
}

.toast-success .toast-icon {
    background: #d1fae5;
    color: #10b981;
}

.toast-warning {
    border-left-color: #f59e0b;
}

.toast-warning .toast-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-error .toast-icon {
    background: #fee2e2;
    color: #ef4444;
}

.toast-info {
    border-left-color: #3b82f6;
}

.toast-info .toast-icon {
    background: #dbeafe;
    color: #3b82f6;
}

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

/* Wishlist Button Active State */
.btn-add-wishlist.active {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}

.btn-add-wishlist.active:hover {
    background: #fecaca;
    border-color: #dc2626;
}

/* Mobile Responsive for Toast */
@media (max-width: 768px) {
    .toast {
        right: 16px;
        left: 16px;
        min-width: auto;
        max-width: none;
        bottom: -100px;
    }

    .toast.show {
        bottom: 16px;
    }
}
