/* ============================================================

   ÃÂÃÂ§ÃÂÃÂÃÂÃÂÃÂÃÂ¦ÃÂÃÂÃÂÃÂ¾ÃÂÃÂ¦ÃÂÃÂ°ÃÂÃÂ´ÃÂÃÂ¦ÃÂÃÂÃÂÃÂ¶ ÃÂÃÂÃÂÃÂ· YS Crystal ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ ÃÂÃÂ¥ÃÂÃÂÃÂÃÂÃÂÃÂ¥ÃÂÃÂºÃÂÃÂÃÂÃÂ©ÃÂÃÂ ÃÂÃÂÃÂÃÂ©ÃÂÃÂÃÂÃÂ¢ V4

   ÃÂÃÂ¤ÃÂÃÂ¿ÃÂÃÂ®ÃÂÃÂ¦ÃÂÃÂ­ÃÂÃÂ£: ÃÂÃÂ©ÃÂÃÂÃÂÃÂÃÂÃÂ¦ÃÂÃÂ»ÃÂÃÂ¾ÃÂÃÂ¥ÃÂÃÂÃÂÃÂÃÂÃÂ¦ÃÂÃÂ¢ÃÂÃÂ / ÃÂÃÂ¥ÃÂÃÂÃÂÃÂ´ÃÂÃÂ©ÃÂÃÂÃÂÃÂÃÂÃÂ§ÃÂÃÂ¯ÃÂÃÂ©ÃÂÃÂ©ÃÂÃÂÃÂÃÂ¸ / ÃÂÃÂ¦ÃÂÃÂÃÂÃÂÃÂÃÂ©ÃÂÃÂÃÂÃÂÃÂÃÂ§ÃÂÃÂ¾ÃÂÃÂÃÂÃÂ¥ÃÂÃÂÃÂÃÂ / ÃÂÃÂ§ÃÂÃÂ§ÃÂÃÂ»ÃÂÃÂ©ÃÂÃÂÃÂÃÂ¤ÃÂÃÂ¥ÃÂÃÂÃÂÃÂÃÂÃÂ©ÃÂÃÂ¡ÃÂÃÂÃÂÃÂ¥ÃÂÃÂ±ÃÂÃÂÃÂÃÂ§ÃÂÃÂ¤ÃÂÃÂº

   ============================================================ */



/* ===== CSS Variables ===== */

.ys-shop-page {

    --ys-cream: #FAF6F1;

    --ys-milk-tea: #EDE4D8;

    --ys-milk-tea-light: #F5F0E8;

    --ys-milk-tea-dark: #D5C8B8;

    --ys-gold: #C9A96E;

    --ys-gold-hover: #B8944F;

    --ys-gold-light: #D9C49A;

    --ys-gold-pale: #F0E6D0;

    --ys-gold-shimmer: linear-gradient(135deg, #C9A96E 0%, #E8D5A8 25%, #C9A96E 50%, #E8D5A8 75%, #C9A96E 100%);

    --ys-brown-dark: #2C2420;

    --ys-brown: #4A3F37;

    --ys-brown-medium: #7A6E65;

    --ys-brown-light: #A99E95;

    --ys-border: #E8DFD4;

    --ys-border-light: #F0EAE2;

    --ys-white: #FFFFFF;

    --ys-success: #7D8E6B;

    --ys-error: #C67B6B;

    --ys-glass: rgba(250, 246, 241, 0.75);

    --ys-glass-border: rgba(201, 169, 110, 0.2);

    --ys-shadow-soft: 0 4px 30px rgba(44, 36, 32, 0.06);

    --ys-shadow-hover: 0 20px 60px rgba(44, 36, 32, 0.12);

    --ys-shadow-gold: 0 8px 40px rgba(201, 169, 110, 0.15);

    --ys-font-serif: 'Cormorant Garamond', 'Noto Serif TC', Georgia, serif;

    --ys-font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;

    --ys-radius: 16px;

    --ys-radius-sm: 8px;

    --ys-transition: cubic-bezier(0.4, 0, 0.2, 1);

}



/* ===== Loading Bar ===== */

.ys-loading-bar {

    position: fixed;

    top: 0;

    left: 0;

    height: 3px;

    width: 0;

    z-index: 99999;

    transition: width 0.8s var(--ys-transition), opacity 0.5s;

    overflow: hidden;

}

.ys-loading-shimmer {

    width: 100%;

    height: 100%;

    background: var(--ys-gold-shimmer);

    background-size: 200% 100%;

    animation: ysShimmer 1.5s linear infinite;

}

.ys-loading-bar.ys-loaded {

    width: 100% !important;

    opacity: 0;

}

@keyframes ysShimmer {

    0% { background-position: 200% 0; }

    100% { background-position: -200% 0; }

}



/* ===== Page Container ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ ÃÂÃÂ¤ÃÂÃÂ¿ÃÂÃÂ®ÃÂÃÂ¦ÃÂÃÂ­ÃÂÃÂ£ÃÂÃÂ©ÃÂÃÂÃÂÃÂÃÂÃÂ¦ÃÂÃÂ»ÃÂÃÂ¾ÃÂÃÂ¥ÃÂÃÂÃÂÃÂÃÂÃÂ¦ÃÂÃÂ¢ÃÂÃÂ ===== */

.ys-shop-page {

    background: var(--ys-cream);

    font-family: var(--ys-font-sans);

    color: var(--ys-brown-dark);

    /* ÃÂÃÂ¤ÃÂÃÂ¸ÃÂÃÂÃÂÃÂ¤ÃÂÃÂ½ÃÂÃÂ¿ÃÂÃÂ§ÃÂÃÂÃÂÃÂ¨ overflow-x: hidden ÃÂÃÂ©ÃÂÃÂÃÂÃÂ¿ÃÂÃÂ¥ÃÂÃÂÃÂÃÂÃÂÃÂ§ÃÂÃÂÃÂÃÂ¢ÃÂÃÂ§ÃÂÃÂÃÂÃÂÃÂÃÂ§ÃÂÃÂ¬ÃÂÃÂ¬ÃÂÃÂ¤ÃÂÃÂºÃÂÃÂÃÂÃÂ¥ÃÂÃÂÃÂÃÂÃÂÃÂ¦ÃÂÃÂ»ÃÂÃÂ¾ÃÂÃÂ¥ÃÂÃÂÃÂÃÂÃÂÃÂ¦ÃÂÃÂ¢ÃÂÃÂ */

}



/* ============================================================

   HERO

   ============================================================ */

.ys-shop-hero {

    position: relative;

    min-height: 75vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background: var(--ys-brown-dark);

}

.ys-shop-hero::before {

    content: '';

    position: absolute;

    inset: -20px;

    background: url('https://yscrystal.com/wp-content/uploads/2026/04/TT-17.webp') center/cover no-repeat;

    transform: translateY(calc(var(--scroll, 0px) * 0.35));

    will-change: transform;

    transition: none;

}

.ys-hero-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(

        180deg,

        rgba(44, 36, 32, 0.25) 0%,

        rgba(44, 36, 32, 0.15) 30%,

        rgba(237, 228, 216, 0.25) 70%,

        rgba(250, 246, 241, 0.8) 100%

    );

    z-index: 1;

}

.ys-hero-particles {

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    overflow: hidden;

}

.ys-particle {

    position: absolute;

    bottom: -10px;

    width: 3px;

    height: 3px;

    background: var(--ys-gold-light);

    border-radius: 50%;

    opacity: 0;

    animation: ysFloat linear infinite;

}

@keyframes ysFloat {

    0% { opacity: 0; transform: translateY(0) scale(0); }

    15% { opacity: 0.8; }

    85% { opacity: 0.3; }

    100% { opacity: 0; transform: translateY(-75vh) scale(1.5); }

}



.ys-hero-content {

    position: relative;

    z-index: 3;

    text-align: center;

    padding: 0 24px;

}



/* Hero badge */

.ys-hero-badge {

    display: flex;

    justify-content: center;

    gap: 4px;

    margin-bottom: 16px;

}

.ys-hero-badge span {

    display: inline-block;

    font-family: var(--ys-font-serif);

    font-size: 13px;

    font-weight: 400;

    letter-spacing: 0.35em;

    color: var(--ys-gold);

    opacity: 0;

    transform: translateY(-12px);

    animation: ysBadgeFade 0.6s var(--ys-transition) forwards;

}

@keyframes ysBadgeFade {

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

}



/* Hero title */

.ys-hero-title {

    font-family: var(--ys-font-serif);

    font-size: clamp(42px, 7vw, 80px);

    font-weight: 400;

    letter-spacing: 0.15em;

    color: var(--ys-white);

    margin: 0 0 20px;

    line-height: 1.2;

    text-shadow: 0 2px 30px rgba(44, 36, 32, 0.3);

}

.ys-char-wrap {

    display: inline-block;

    overflow: hidden;

}

.ys-char {

    display: inline-block;

    opacity: 0;

    transform: translateY(100%);

    animation: ysCharUp 0.8s var(--ys-transition) forwards;

}

@keyframes ysCharUp {

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

}



.ys-hero-line {

    width: 60px;

    height: 1px;

    background: var(--ys-gold);

    margin: 0 auto 20px;

    animation: ysLineGrow 1s 0.8s var(--ys-transition) both;

}

@keyframes ysLineGrow {

    from { width: 0; opacity: 0; }

    to { width: 60px; opacity: 1; }

}



.ys-hero-sub {

    font-family: var(--ys-font-sans);

    font-size: 15px;

    font-weight: 300;

    color: rgba(255, 255, 255, 0.85);

    letter-spacing: 0.08em;

    margin: 0 0 40px;

    opacity: 0;

    animation: ysFadeUp 0.8s 1s var(--ys-transition) forwards;

}

@keyframes ysFadeUp {

    from { opacity: 0; transform: translateY(16px); }

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

}



.ys-hero-scroll-hint {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 11px;

    letter-spacing: 0.15em;

    opacity: 0;

    animation: ysFadeUp 0.8s 1.4s var(--ys-transition) forwards;

}

.ys-scroll-dot {

    animation: ysScrollBounce 1.5s ease-in-out infinite;

}

@keyframes ysScrollBounce {

    0%, 100% { cy: 8; opacity: 1; }

    50% { cy: 20; opacity: 0.3; }

}



/* ============================================================

   GOLD DIVIDER

   ============================================================ */

.ys-gold-divider {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 0;

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.8s var(--ys-transition);

}

.ys-gold-divider.ys-visible {

    opacity: 1;

    transform: translateY(0);

}

.ys-gold-divider::before,

.ys-gold-divider::after {

    content: '';

    flex: 0 0 80px;

    height: 1px;

    background: linear-gradient(90deg, transparent, var(--ys-gold), transparent);

}

.ys-gold-divider svg {

    width: 18px;

    height: 18px;

    fill: var(--ys-gold);

    margin: 0 16px;

    animation: ysSpin 8s linear infinite;

}

@keyframes ysSpin {

    from { transform: rotate(0deg); }

    to { transform: rotate(360deg); }

}



/* ============================================================

   SHOP LAYOUT ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ Sidebar + Products

   ============================================================ */

.ys-shop-layout {

    display: flex;

    gap: 32px;

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 40px 60px;

}



/* ============================================================

   FILTER SIDEBAR

   ============================================================ */

.ys-filter-sidebar {

    flex: 0 0 280px;

    position: sticky;

    top: 100px;

    align-self: flex-start;

    max-height: calc(100vh - 120px);

    overflow-y: auto;

    background: #FEFDFB;

    border: none;

    border-radius: 2px;

    padding: 0;

    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 40px rgba(44, 36, 32, 0.06);

    overflow: hidden;

}

.ys-filter-sidebar::-webkit-scrollbar {

    width: 4px;

}

.ys-filter-sidebar::-webkit-scrollbar-thumb {

    background: var(--ys-gold-light);

    border-radius: 4px;

}

.ys-filter-header {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px 28px 0;

    margin-bottom: 12px;

    text-align: center;

}

.ys-filter-header-line {

    width: 30px;

    height: 1px;

    background: var(--ys-gold);

    margin: 16px auto 0;

    border: none;

    padding: 0;

}

.ys-filter-header h3 {

    font-family: var(--ys-font-serif);

    font-size: 15px;

    font-weight: 400;

    color: var(--ys-brown);

    margin: 0;

    letter-spacing: 0.35em;

    text-transform: uppercase;

}

.ys-filter-close {

    display: none;

    width: 32px;

    height: 32px;

    background: none;

    border: 1px solid var(--ys-border);

    border-radius: 50%;

    font-size: 18px;

    color: var(--ys-brown-medium);

    cursor: pointer;

    transition: all 0.3s;

    align-items: center;

    justify-content: center;

}

.ys-filter-close:hover {

    background: var(--ys-gold);

    color: var(--ys-white);

    border-color: var(--ys-gold);

}

.ys-filter-group {

    padding: 22px 28px;

}

.ys-filter-group + .ys-filter-group {

    border-top: none;

}

.ys-filter-title {

    font-family: var(--ys-font-sans);

    font-size: 10px;

    font-weight: 400;

    color: var(--ys-brown-light);

    letter-spacing: 0.25em;

    text-transform: uppercase;

    margin: 0 0 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    text-align: center;

}

.ys-filter-title svg {

    color: var(--ys-gold);

    opacity: 0.5;

}

.ys-filter-list {

    list-style: none;

    padding: 0;

    margin: 0;

}

.ys-filter-list li {

    margin-bottom: 2px;

}

.ys-filter-list a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 8px 0;

    font-size: 13px;

    font-weight: 400;

    color: var(--ys-brown-medium);

    text-decoration: none;

    transition: all 0.3s var(--ys-transition);

    position: relative;

    letter-spacing: 0.02em;

    border-bottom: 1px solid var(--ys-milk-tea-light);

}

.ys-filter-list a::before {

    display: none;

}

.ys-filter-list a:hover {

    color: var(--ys-brown-dark);

    background: none;

}

.ys-filter-list a:hover::before {

    display: none;

}

.ys-filter-list a.ys-filter-active {

    color: var(--ys-brown-dark);

    font-weight: 500;

    background: none;

}

.ys-filter-list a.ys-filter-active::before {

    display: none;

}

.ys-filter-count {

    font-size: 11px;

    font-weight: 400;

    color: var(--ys-gold);

    background: none;

    padding: 0;

    border-radius: 0;

    min-width: auto;

    text-align: center;

    letter-spacing: 0;

    transition: all 0.3s;

}

.ys-filter-list a.ys-filter-active .ys-filter-count {

    background: none;

    color: var(--ys-gold-hover);

}



/* Price slider */

.ys-price-slider-wrap {

    position: relative;

    height: 40px;

    margin: 12px 0 6px;

}

.ys-range-track {

    position: absolute;

    top: 50%;

    left: 0;

    right: 0;

    height: 1px;

    transform: translateY(-50%);

    background: var(--ys-border-light);

    z-index: 1;

}

.ys-range-fill {

    position: absolute;

    height: 100%;

    background: var(--ys-brown-dark);

    transition: left 0.05s, right 0.05s;

}

.ys-range-input {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    margin: 0;

    padding: 0;

    -webkit-appearance: none;

    -moz-appearance: none;

    appearance: none;

    background: transparent !important;

    pointer-events: none;

    outline: none;

    z-index: 2;

    border: none;

}

.ys-range-input::-webkit-slider-runnable-track {

    -webkit-appearance: none;

    appearance: none;

    background: transparent !important;

    border: none;

    height: 0;

    width: 100%;

}

.ys-range-input::-moz-range-track {

    -moz-appearance: none;

    appearance: none;

    background: transparent !important;

    border: none;

    height: 0;

    width: 100%;

}

.ys-range-input::-webkit-slider-thumb {

    -webkit-appearance: none;

    appearance: none;

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--ys-brown-dark);

    border: none;

    box-shadow: none;

    cursor: pointer;

    pointer-events: auto;

    position: relative;

    z-index: 3;

    margin-top: -6px;

    transition: background 0.25s, transform 0.25s;

}

.ys-range-input::-webkit-slider-thumb:hover {

    box-shadow: 0 0 0 4px rgba(44, 36, 32, 0.1);

    transform: scale(1.08);

}

.ys-range-input::-webkit-slider-thumb:active {

    background: var(--ys-gold);

    border: none;

    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.15);

}

.ys-range-input::-moz-range-thumb {

    -moz-appearance: none;

    appearance: none;

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--ys-brown-dark);

    border: none;

    box-shadow: none;

    cursor: pointer;

    pointer-events: auto;

}

.ys-range-input::-moz-range-thumb:active {

    background: var(--ys-gold);

}

.ys-price-labels {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 8px;

}

.ys-price-label-box {

    display: inline-flex;

    align-items: baseline;

    gap: 3px;

    padding: 0;

    font-size: 12px;

    color: var(--ys-brown);

    background: none;

    border: none;

    white-space: nowrap;

    min-width: auto;

    justify-content: center;

}

.ys-price-currency {

    color: var(--ys-brown-light);

    font-size: 10px;

    font-weight: 400;

}

.ys-price-val {

    font-weight: 400;

    color: var(--ys-brown-dark);

    font-size: 14px;

    font-family: var(--ys-font-serif);

    letter-spacing: 0.05em;

}

.ys-price-label-sep {

    color: var(--ys-gold-light);

    font-size: 12px;

    flex-shrink: 0;

}



/* Submit button ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ Dior style */

.ys-price-submit {

    display: block;

    width: 100%;

    margin-top: 20px;

    padding: 10px 0;

    font-family: var(--ys-font-sans);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.3em;

    text-transform: uppercase;

    color: #FEFDFB;

    background: var(--ys-brown-dark);

    border: 1px solid var(--ys-brown-dark);

    border-radius: 0;

    cursor: pointer;

    transition: all 0.35s var(--ys-transition);

    text-align: center;

}

.ys-price-submit:hover {

    background: transparent;

    color: var(--ys-brown-dark);

}



/* Sidebar decoration ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ Dior style */

.ys-filter-decor {

    padding: 16px 28px 22px;

    text-align: center;

}

.ys-filter-decor-line {

    display: none;

}

.ys-filter-decor svg {

    display: none;

}

.ys-filter-decor::after {

    content: 'Y S \00a0\00a0 C R Y S T A L';

    font-family: var(--ys-font-serif);

    font-size: 11px;

    letter-spacing: 0.3em;

    color: var(--ys-gold-light);

    text-transform: uppercase;

}



/* Products area */

.ys-products-area {

    flex: 1;

    min-width: 0;

}



/* Breadcrumb */

.ys-shop-page .woocommerce-breadcrumb {

    font-family: var(--ys-font-sans);

    font-size: 12px;

    font-weight: 300;

    color: var(--ys-brown-light);

    letter-spacing: 0.06em;

    padding: 0 0 16px;

    border-bottom: 1px solid var(--ys-border-light);

    margin-bottom: 16px;

}



/* Hide empty products header */

.ys-shop-page .woocommerce-products-header:empty,

.ys-shop-page .woocommerce-products-header {

    display: none;

}

.ys-shop-page .woocommerce-breadcrumb a {

    color: var(--ys-gold);

    text-decoration: none;

    transition: color 0.3s;

}

.ys-shop-page .woocommerce-breadcrumb a:hover {

    color: var(--ys-gold-hover);

}



/* ============================================================

   TOOLBAR

   ============================================================ */

.ys-toolbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 0 24px;

    flex-wrap: wrap;

    gap: 12px;

}

.ys-toolbar-left {

    display: flex;

    align-items: center;

    gap: 16px;

    flex-wrap: wrap;

}

.ys-toolbar-right {

    display: flex;

    align-items: center;

    gap: 16px;

}



/* Result count */

.ys-shop-page .woocommerce-result-count {

    font-size: 13px;

    font-weight: 300;

    color: var(--ys-brown-medium);

    letter-spacing: 0.04em;

    margin: 0;

    padding: 0;

}



/* Sort dropdown */

.ys-shop-page .woocommerce-ordering {

    margin: 0;

}

.ys-shop-page .woocommerce-ordering .orderby {

    font-family: var(--ys-font-sans);

    font-size: 13px;

    font-weight: 400;

    color: var(--ys-brown);

    background: var(--ys-white);

    border: 1px solid var(--ys-border);

    border-radius: var(--ys-radius-sm);

    padding: 10px 36px 10px 16px;

    cursor: pointer;

    appearance: none;

    -webkit-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A99E95' d='M6 8L1 3h10z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;

    background-position: right 12px center;

    transition: border-color 0.3s, box-shadow 0.3s;

}

.ys-shop-page .woocommerce-ordering .orderby:focus {

    outline: none;

    border-color: var(--ys-gold);

    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);

}



/* ===== View Toggle ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ ÃÂÃÂ§ÃÂÃÂ²ÃÂÃÂ¾ÃÂÃÂ§ÃÂÃÂ·ÃÂÃÂ»ÃÂÃÂ¥ÃÂÃÂÃÂÃÂ ===== */

.ys-view-toggle {

    display: flex;

    border: 1px solid var(--ys-border);

    border-radius: 20px;

    overflow: hidden;

    background: var(--ys-milk-tea-light);

    padding: 3px;

    gap: 2px;

}

.ys-view-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    background: transparent;

    border: none;

    border-radius: 50%;

    cursor: pointer;

    color: var(--ys-brown-light);

    transition: all 0.35s var(--ys-transition);

}

.ys-view-btn.ys-active {

    background: var(--ys-white);

    color: var(--ys-gold);

    box-shadow: 0 2px 8px rgba(44, 36, 32, 0.08);

}

.ys-view-btn:hover:not(.ys-active) {

    color: var(--ys-gold-light);

}



/* ============================================================

   PRODUCT GRID

   ============================================================ */

.ys-shop-page ul.products {

    display: grid !important;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    list-style: none;

    padding: 0;

    margin: 0;

}

.ys-shop-page ul.products::before,

.ys-shop-page ul.products::after {

    display: none;

}



/* ===== PRODUCT CARD ===== */

.ys-shop-page ul.products li.product {

    position: relative;

    list-style: none;

    background: var(--ys-white);

    border-radius: var(--ys-radius);

    overflow: hidden;

    box-shadow: var(--ys-shadow-soft);

    transition: all 0.5s var(--ys-transition);

    opacity: 0;

    transform: translateY(40px);

    border: 1px solid transparent;

    display: flex;

    flex-direction: column;

    width: auto !important;

    margin: 0 !important;

    float: none !important;

}

.ys-shop-page ul.products li.product.ys-visible {

    opacity: 1;

    transform: translateY(0);

}

.ys-shop-page ul.products li.product:hover {

    box-shadow: var(--ys-shadow-hover);

    border-color: var(--ys-glass-border);

    transform: translateY(-6px) !important;

}



/* Gold shimmer on hover */

.ys-shop-page ul.products li.product::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    height: 3px;

    background: var(--ys-gold-shimmer);

    background-size: 200% 100%;

    opacity: 0;

    transition: opacity 0.4s;

}

.ys-shop-page ul.products li.product:hover::after {

    opacity: 1;

    animation: ysShimmer 2s linear infinite;

}



/* ===== PRODUCT IMAGE ===== */

.ys-product-image-wrap {

    display: block;

    position: relative;

    overflow: hidden;

    aspect-ratio: 1 / 1;

    background: var(--ys-milk-tea-light);

}

.ys-product-image-wrap img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.8s var(--ys-transition);

}

.ys-shop-page ul.products li.product:hover .ys-product-image-wrap img {

    transform: scale(1.08);

}



/* ===== Badges ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ ÃÂÃÂ¤ÃÂÃÂ¿ÃÂÃÂ®ÃÂÃÂ¦ÃÂÃÂ­ÃÂÃÂ£ÃÂÃÂ¯ÃÂÃÂ¼ÃÂÃÂÃÂÃÂ©ÃÂÃÂÃÂÃÂ±ÃÂÃÂ¨ÃÂÃÂÃÂÃÂ WC ÃÂÃÂ©ÃÂÃÂ ÃÂÃÂÃÂÃÂ¨ÃÂÃÂ¨ÃÂÃÂ­ÃÂÃÂ§ÃÂÃÂÃÂÃÂ¹ÃÂÃÂ¥ÃÂÃÂÃÂÃÂ¹ ===== */

.ys-shop-page ul.products li.product > .onsale,

.ys-shop-page .woocommerce-loop-product__link > .onsale,

.ys-shop-page span.onsale {

    display: none !important;

}

.ys-badge-new,

.ys-badge-sale {

    position: absolute;

    top: 16px;

    padding: 5px 14px;

    font-family: var(--ys-font-sans);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    border-radius: 3px;

    z-index: 5;

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

}

.ys-badge-new {

    right: 16px;

    background: rgba(44, 36, 32, 0.8);

    color: var(--ys-gold-light);

    border: 1px solid rgba(201, 169, 110, 0.3);

}

.ys-badge-sale {

    left: 16px;

    background: rgba(201, 169, 110, 0.9);

    color: var(--ys-white);

}



/* ===== Product Actions ===== */

.ys-product-actions {

    position: absolute;

    right: 16px;

    bottom: 16px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    z-index: 6;

    opacity: 0;

    transform: translateX(12px);

    transition: all 0.4s var(--ys-transition);

}

.ys-shop-page ul.products li.product:hover .ys-product-actions {

    opacity: 1;

    transform: translateX(0);

}

.ys-wishlist-btn,

.ys-quick-view-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    color: var(--ys-brown-medium);

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

    transition: all 0.3s;

}

.ys-wishlist-btn:hover,

.ys-quick-view-btn:hover {

    background: var(--ys-gold);

    color: var(--ys-white);

    transform: scale(1.1);

}

.ys-wishlist-btn.ys-wishlisted {

    background: var(--ys-gold);

    color: var(--ys-white);

}

.ys-wishlist-btn.ys-wishlisted svg {

    fill: var(--ys-white);

}

.ys-wishlist-btn.ys-heartbeat {

    animation: ysHeartbeat 0.6s ease;

}

@keyframes ysHeartbeat {

    0% { transform: scale(1); }

    25% { transform: scale(1.3); }

    50% { transform: scale(0.95); }

    75% { transform: scale(1.15); }

    100% { transform: scale(1); }

}



/* ===== Product Info ===== */

.ys-product-info {

    padding: 20px 24px 24px;

    text-align: center;

    display: flex;

    flex-direction: column;

    flex-grow: 1;

}

.ys-product-cat {

    font-family: var(--ys-font-sans);

    font-size: 11px;

    font-weight: 400;

    color: var(--ys-gold);

    letter-spacing: 0.12em;

    text-transform: uppercase;

    margin-bottom: 8px;

}

.ys-shop-page ul.products li.product .woocommerce-loop-product__title {

    font-family: var(--ys-font-serif);

    font-size: 17px;

    font-weight: 500;

    color: var(--ys-brown-dark);

    letter-spacing: 0.04em;

    margin: 0 0 10px;

    line-height: 1.4;

    padding: 0;

}



/* Price */

.ys-shop-page ul.products li.product .price {

    font-family: var(--ys-font-serif);

    font-size: 18px;

    font-weight: 400;

    color: var(--ys-brown);

    margin: 0 0 16px;

}

.ys-shop-page ul.products li.product .price del {

    color: var(--ys-brown-light);

    font-size: 14px;

    font-weight: 300;

}

.ys-shop-page ul.products li.product .price ins {

    color: var(--ys-gold-hover);

    text-decoration: none;

    font-weight: 500;

}



/* ===== Add to Cart ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ LV ÃÂÃÂ©ÃÂÃÂ¢ÃÂÃÂ¨ÃÂÃÂ¦ÃÂÃÂ ÃÂÃÂ¼ ===== */

.ys-shop-page ul.products li.product .button,

.ys-shop-page ul.products li.product .add_to_cart_button,

.ys-shop-page ul.products li.product .ajax_add_to_cart {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    white-space: nowrap !important;

    width: 100% !important;

    padding: 13px 24px !important;

    margin-top: auto !important;

    font-family: var(--ys-font-sans) !important;

    font-size: 12px !important;

    font-weight: 400 !important;

    letter-spacing: 3px !important;

    text-transform: uppercase !important;

    color: var(--ys-gold-light) !important;

    background: var(--ys-brown-dark) !important;

    border: 1px solid var(--ys-brown-dark) !important;

    border-radius: 0 !important;

    cursor: pointer !important;

    text-decoration: none !important;

    transition: all 0.4s ease !important;

    box-shadow: none !important;

}

.ys-shop-page ul.products li.product .button:hover {

    background: transparent !important;

    color: var(--ys-brown-dark) !important;

    box-shadow: none !important;

    transform: none !important;

}

/* Added state ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ Dior-refined */

.ys-shop-page ul.products li.product .button.added {
    background: var(--ys-cream, #FAF6F1) !important;
    border-color: var(--ys-gold, #C9A96E) !important;
    color: var(--ys-gold, #C9A96E) !important;
    pointer-events: none;
}

.ys-shop-page ul.products li.product .button.added::after {

    content: ' \2713';

    margin-left: 6px;

    font-size: 14px;

}

.ys-shop-page ul.products li.product .button.loading::after {

    content: '';

    display: inline-block;

    width: 14px;

    height: 14px;

    margin-left: 8px;

    border: 1.5px solid var(--ys-gold-light);

    border-top-color: transparent;

    border-radius: 50%;

    animation: ysSpinner 0.6s linear infinite;

}

@keyframes ysSpinner {

    to { transform: rotate(360deg); }

}

.ys-shop-page ul.products li.product .added_to_cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
    padding: 10px 0 4px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--ys-gold, #C9A96E);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
}
.ys-shop-page ul.products li.product .added_to_cart::before {
    content: '\2192';
    font-size: 14px;
    transition: transform 0.3s ease;
}
.ys-shop-page ul.products li.product .added_to_cart:hover {
    color: var(--ys-gold-hover, #B8944F);
}
.ys-shop-page ul.products li.product .added_to_cart:hover::before {
    transform: translateX(3px);
}





/* ===== LIST VIEW ===== */


/* Product Description */
.ys-product-desc {
    display: none;
}
.ys-shop-page ul.products.ys-list-view .ys-product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ys-text-secondary, #7a6f65);
    margin: 8px 0 12px;
    letter-spacing: 0.02em;
}
.ys-shop-page ul.products.ys-list-view {

    grid-template-columns: 1fr;

    gap: 20px;

}

.ys-shop-page ul.products.ys-list-view li.product {

    flex-direction: row;

    border-radius: var(--ys-radius-sm);

}

.ys-shop-page ul.products.ys-list-view .ys-product-image-wrap {

    flex: 0 0 280px;

    aspect-ratio: auto;

    height: 280px;

}

.ys-shop-page ul.products.ys-list-view .ys-product-info {

    text-align: left;

    padding: 28px 32px;

    justify-content: center;

}

.ys-shop-page ul.products.ys-list-view .woocommerce-loop-product__title {

    font-size: 22px;

}

.ys-shop-page ul.products.ys-list-view .price {

    font-size: 22px;

}

.ys-shop-page ul.products.ys-list-view .button {

    width: auto;

    min-width: 180px;

}



/* ============================================================

   PAGINATION

   ============================================================ */

.ys-shop-page .woocommerce-pagination {

    text-align: center;

    margin: 50px 0 0;

    padding: 0;

}

.ys-shop-page .woocommerce-pagination ul {

    display: inline-flex;

    gap: 8px;

    list-style: none;

    padding: 0;

    margin: 0;

    border: none;

}

.ys-shop-page .woocommerce-pagination ul li {

    margin: 0;

}

.ys-shop-page .woocommerce-pagination ul li a,

.ys-shop-page .woocommerce-pagination ul li span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border-radius: 50%;

    font-family: var(--ys-font-serif);

    font-size: 15px;

    color: var(--ys-brown);

    background: var(--ys-white);

    border: 1px solid var(--ys-border);

    text-decoration: none;

    transition: all 0.3s;

}

.ys-shop-page .woocommerce-pagination ul li a:hover {

    background: var(--ys-gold);

    color: var(--ys-white);

    border-color: var(--ys-gold);

}

.ys-shop-page .woocommerce-pagination ul li span.current {

    background: var(--ys-gold);

    color: var(--ys-white);

    border-color: var(--ys-gold);

}



/* ============================================================

   NO PRODUCTS

   ============================================================ */

.ys-shop-page .woocommerce-info {

    text-align: center;

    padding: 80px 24px;

    font-family: var(--ys-font-serif);

    font-size: 20px;

    color: var(--ys-brown-medium);

    background: none;

    border: none;

}



/* ============================================================

   FOOTER DECORATION

   ============================================================ */

.ys-shop-footer-decor {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    padding: 50px 40px;

    opacity: 0;

    transform: translateY(16px);

    transition: all 0.8s var(--ys-transition);

}

.ys-shop-footer-decor.ys-visible {

    opacity: 1;

    transform: translateY(0);

}

.ys-footer-line {

    width: 60px;

    height: 1px;

    background: var(--ys-gold);

}

.ys-shop-footer-decor span {

    font-family: var(--ys-font-serif);

    font-size: 14px;

    font-weight: 400;

    color: var(--ys-gold);

    letter-spacing: 0.2em;

    text-transform: uppercase;

}



/* ============================================================

   BACK TO TOP

   ============================================================ */

.ys-back-to-top {

    position: fixed;

    bottom: 30px;

    right: 30px;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border: 1px solid var(--ys-gold);

    color: var(--ys-gold);

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: all 0.4s var(--ys-transition);

    z-index: 1000;

}

.ys-back-to-top.ys-show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.ys-back-to-top:hover {

    background: var(--ys-gold);

    color: var(--ys-white);

    transform: translateY(-3px);

    box-shadow: var(--ys-shadow-gold);

}



/* ============================================================

   MOBILE FILTER TOGGLE

   ============================================================ */

.ys-filter-toggle {

    display: none;

    position: fixed;

    bottom: 30px;

    left: 30px;

    padding: 12px 20px;

    background: var(--ys-gold);

    color: var(--ys-white);

    border: none;

    border-radius: 24px;

    font-family: var(--ys-font-sans);

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.08em;

    cursor: pointer;

    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.35);

    z-index: 1000;

    align-items: center;

    gap: 6px;

    transition: all 0.3s;

}

.ys-filter-toggle:hover {

    box-shadow: 0 6px 28px rgba(201, 169, 110, 0.5);

    transform: translateY(-2px);

}



/* ============================================================

   QUICK VIEW MODAL

   ============================================================ */

.ys-modal-overlay {

    position: fixed;

    inset: 0;

    background: rgba(44, 36, 32, 0.6);

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    z-index: 10000;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: all 0.4s;

}

.ys-modal-overlay.ys-show {

    opacity: 1;

    visibility: visible;

}

.ys-modal {

    background: var(--ys-white);

    border-radius: var(--ys-radius);

    width: 90%;

    max-width: 880px;

    max-height: 90vh;

    overflow: hidden;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);

    transform: scale(0.9) translateY(30px);

    transition: transform 0.5s var(--ys-transition);

}

.ys-modal-overlay.ys-show .ys-modal {

    transform: scale(1) translateY(0);

}

.ys-modal-close {

    position: absolute;

    top: 16px;

    right: 20px;

    width: 40px;

    height: 40px;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid var(--ys-border);

    border-radius: 50%;

    font-size: 22px;

    color: var(--ys-brown);

    cursor: pointer;

    z-index: 2;

    transition: all 0.3s;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ys-modal-close:hover {

    background: var(--ys-gold);

    color: var(--ys-white);

    border-color: var(--ys-gold);

}

.ys-modal-body {

    display: flex;

    min-height: 400px;

}

.ys-modal-img {

    flex: 0 0 50%;

    background-size: cover;

    background-position: center;

    min-height: 400px;

}

.ys-modal-info {

    flex: 1;

    padding: 48px 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.ys-modal-cat {

    font-size: 11px;

    font-weight: 400;

    color: var(--ys-gold);

    letter-spacing: 0.15em;

    text-transform: uppercase;

    margin-bottom: 12px;

    display: block;

}

.ys-modal-title {

    font-family: var(--ys-font-serif);

    font-size: 28px;

    font-weight: 500;

    color: var(--ys-brown-dark);

    letter-spacing: 0.04em;

    margin: 0 0 16px;

    line-height: 1.3;

}

.ys-modal-price {

    font-family: var(--ys-font-serif);

    font-size: 24px;

    color: var(--ys-brown);

    margin-bottom: 20px;

}

.ys-modal-price del {

    color: var(--ys-brown-light);

    font-size: 18px;

}

.ys-modal-price ins {

    color: var(--ys-gold-hover);

    text-decoration: none;

}

.ys-modal-desc {

    font-size: 14px;

    font-weight: 300;

    color: var(--ys-brown-medium);

    line-height: 1.8;

    margin: 0 0 28px;

}

.ys-modal-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 32px;

    background: linear-gradient(135deg, var(--ys-gold), var(--ys-gold-hover));

    color: var(--ys-white);

    border: none;

    border-radius: var(--ys-radius-sm);

    font-family: var(--ys-font-sans);

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    text-decoration: none;

    transition: all 0.4s;

    align-self: flex-start;

}

.ys-modal-btn:hover {

    box-shadow: var(--ys-shadow-gold);

    transform: translateY(-2px);

}



/* ============================================================

   RESPONSIVE

   ============================================================ */

@media (max-width: 1200px) {

    .ys-filter-sidebar {

        flex: 0 0 230px;

    }

    .ys-shop-page ul.products {

        grid-template-columns: repeat(2, 1fr) !important;

        gap: 20px;

    }

}



@media (max-width: 992px) {

    .ys-shop-hero {

        min-height: 60vh;

    }

    .ys-shop-layout {

        padding: 0 24px 40px;

    }

    /* ÃÂÃÂ¥ÃÂÃÂÃÂÃÂ´ÃÂÃÂ©ÃÂÃÂÃÂÃÂÃÂÃÂ¦ÃÂÃÂ¬ÃÂÃÂÃÂÃÂ¨ÃÂÃÂ®ÃÂÃÂÃÂÃÂ¦ÃÂÃÂÃÂÃÂ overlay */

    .ys-filter-sidebar {

        position: fixed;

        top: 0;

        left: -320px;

        width: 300px;

        height: 100vh;

        max-height: 100vh;

        z-index: 9999;

        border-radius: 0 var(--ys-radius) var(--ys-radius) 0;

        transition: left 0.4s var(--ys-transition);

        box-shadow: 20px 0 60px rgba(0,0,0,0.15);

    }

    .ys-filter-sidebar.ys-open {

        left: 0;

    }

    .ys-filter-close {

        display: flex;

    }

    .ys-filter-toggle {

        display: flex;

    }

    .ys-shop-page ul.products {

        grid-template-columns: repeat(2, 1fr) !important;

        gap: 20px;

    }

    .ys-shop-page ul.products.ys-list-view {

        grid-template-columns: 1fr !important;

    }

}



@media (max-width: 768px) {

    .ys-shop-hero {

        min-height: 50vh;

    }

    .ys-hero-title {

        font-size: 40px;

    }

    .ys-toolbar {

        flex-direction: column;

        align-items: stretch;

        gap: 12px;

    }

    .ys-toolbar-left {

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

    }

    .ys-toolbar-right {

        justify-content: space-between;

    }

    .ys-modal {

        width: 95%;

        max-height: 95vh;

    }

    .ys-modal-body {

        flex-direction: column;

    }

    .ys-modal-img {

        flex: none;

        height: 250px;

    }

    .ys-modal-info {

        padding: 28px 24px;

    }

    .ys-modal-title {

        font-size: 22px;

    }

    .ys-shop-page ul.products.ys-list-view li.product {

        flex-direction: column;

    }

    .ys-shop-page ul.products.ys-list-view .ys-product-image-wrap {

        flex: none;

        height: 240px;

    }

    .ys-shop-page ul.products.ys-list-view .ys-product-info {

        text-align: center;

        padding: 20px 20px;

    }

    .ys-product-actions {

        opacity: 1;

        transform: translateX(0);

    }

    .ys-shop-layout {

        padding: 0 16px 40px;

    }

}



@media (max-width: 480px) {

    .ys-shop-page ul.products {

        grid-template-columns: 1fr !important;

        gap: 16px;

    }

    .ys-hero-title {

        font-size: 32px;

    }

}



/* ============================================================

   ACCESSIBILITY

   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ys-char { animation: none; opacity: 1; transform: none; }

    .ys-hero-badge span { animation: none; opacity: 1; transform: none; }

    .ys-hero-line { animation: none; width: 60px; opacity: 1; }

    .ys-hero-sub { animation: none; opacity: 1; transform: none; }

    .ys-hero-scroll-hint { animation: none; opacity: 1; transform: none; }

    .ys-scroll-dot { animation: none; }

    .ys-particle { animation: none; }

    .ys-gold-divider svg { animation: none; }

    .ys-shop-page ul.products li.product { opacity: 1; transform: none; }

    .ys-section-title { opacity: 1; transform: none; }

    .ys-gold-divider { opacity: 1; transform: none; }

    .ys-shop-footer-decor { opacity: 1; transform: none; }

    .ys-loading-shimmer { animation: none; }

    * { transition-duration: 0.01ms !important; }

}

