/* ========================================================
   ÃÂ§ÃÂÃÂÃÂ¦ÃÂÃÂ¾ÃÂ¦ÃÂ°ÃÂ´ÃÂ¦ÃÂÃÂ¶ ÃÂÃÂ· YS Crystal ÃÂ¢ÃÂÃÂ ÃÂ¥ÃÂÃÂ®ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ©ÃÂ ÃÂÃÂ©ÃÂÃÂ¢ÃÂ¦ÃÂ¨ÃÂ£ÃÂ¥ÃÂ¼ÃÂ
   WooCommerce Single Product ÃÂ¥ÃÂ¥ÃÂ¢ÃÂ¨ÃÂÃÂ¯ÃÂ¥ÃÂ¥ÃÂ¶ÃÂ¨ÃÂÃÂ¶ÃÂ©ÃÂÃÂÃÂ¤ÃÂ¸ÃÂ»ÃÂ©ÃÂ¡ÃÂ
   ======================================================== */

/* ===== CSS ÃÂ¨ÃÂ®ÃÂÃÂ¦ÃÂÃÂ¸ ===== */
:root {
    --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-font-serif: 'Cormorant Garamond', 'Noto Serif TC', Georgia, serif;
    --ys-font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    --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-radius: 16px;
    --ys-radius-sm: 8px;
    --ys-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ÃÂ¥ÃÂÃÂ¨ÃÂ¥ÃÂ±ÃÂÃÂ©ÃÂÃÂÃÂ§ÃÂ½ÃÂ® ===== */
body.ys-product-page {
    background: var(--ys-cream) !important;
    overflow-x: hidden;
}

body.ys-product-page *,
body.ys-product-page *::before,
body.ys-product-page *::after {
    box-sizing: border-box;
}

body.ys-product-page .site-main,
body.ys-product-page .page-content,
body.ys-product-page .entry-content {
    max-width: 100% !important;
}

/* ÃÂ©ÃÂÃÂ±ÃÂ¨ÃÂÃÂ WooCommerce ÃÂ©ÃÂ ÃÂÃÂ¨ÃÂ¨ÃÂ­ÃÂ¦ÃÂ¨ÃÂÃÂ©ÃÂ¡ÃÂ */
body.ys-product-page .woocommerce-breadcrumb,
body.ys-product-page .page-header {
    display: none !important;
}

/* ===== ÃÂ©ÃÂ ÃÂÃÂ©ÃÂ¦ÃÂÃÂ©ÃÂ ÃÂÃÂ§ÃÂÃÂÃÂ§ÃÂ©ÃÂºÃÂ©ÃÂÃÂÃÂ¯ÃÂ¼ÃÂfixed headerÃÂ¯ÃÂ¼ÃÂ ===== */
body.ys-product-page .site-main,
body.ys-product-page main#main {
    padding-top: 140px !important;
}

/* ===== ÃÂ©ÃÂºÃÂµÃÂ¥ÃÂÃÂÃÂ¥ÃÂ±ÃÂ ===== */
.ys-product-breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    font-family: var(--ys-font-sans);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--ys-brown-light);
    border-bottom: 1px solid var(--ys-border-light);
}

.ys-product-breadcrumb a {
    color: var(--ys-brown-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ys-product-breadcrumb a:hover {
    color: var(--ys-gold);
}

.ys-product-breadcrumb .ys-bc-sep {
    margin: 0 10px;
    color: var(--ys-border);
}

.ys-product-breadcrumb .ys-bc-current {
    color: var(--ys-brown-medium);
}

/* ===== ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¤ÃÂ¸ÃÂ»ÃÂ©ÃÂ«ÃÂÃÂ¥ÃÂÃÂ ===== */
body.ys-product-page div.product {
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 50px 40px 0 !important;
    display: grid !important;
    grid-template-columns: 480px 1fr !important;
    grid-template-areas:
        "gallery summary"
        "tabs tabs"
        "related related" !important;
    gap: 0 60px !important;
    align-items: start;
}

/* ÃÂ¨ÃÂ¦ÃÂÃÂ¨ÃÂÃÂ WooCommerce layout.css ÃÂ§ÃÂÃÂ float ÃÂ¤ÃÂ½ÃÂÃÂ¥ÃÂ±ÃÂ */
.woocommerce body.ys-product-page div.product div.images,
.woocommerce-page body.ys-product-page div.product div.images,
.woocommerce #content div.product div.images,
body.ys-product-page div.product div.images {
    float: none !important;
    width: 480px !important;
    max-width: 480px !important;
}

.woocommerce body.ys-product-page div.product div.summary,
.woocommerce-page body.ys-product-page div.product div.summary,
body.ys-product-page div.product div.summary {
    float: none !important;
    width: 100% !important;
    clear: none !important;
}

/* ===== ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ§ÃÂÃÂÃÂ§ÃÂÃÂ«ÃÂ¥ÃÂ»ÃÂ ===== */
body.ys-product-page .woocommerce-product-gallery {
    grid-area: gallery;
    position: relative !important;
    top: auto;
    float: none !important;
    width: 480px !important;
    max-width: 480px !important;
    opacity: 1 !important;
    transition: none !important;
    overflow: visible !important;
}

/* FlexSlider viewport ÃÂ¢ÃÂÃÂ ÃÂ¥ÃÂÃÂªÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂ¶ viewport ÃÂ¦ÃÂÃÂ¬ÃÂ¨ÃÂºÃÂ«ÃÂ¯ÃÂ¼ÃÂÃÂ¤ÃÂ¸ÃÂÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂ¶ wrapper */
body.ys-product-page .woocommerce-product-gallery .flex-viewport {
    width: 480px !important;
    max-width: 480px !important;
    height: 480px !important;
    overflow: hidden !important;
    border-radius: var(--ys-radius);
    background: var(--ys-white);
    border: 1px solid var(--ys-border-light);
    box-shadow: var(--ys-shadow-soft);
}

/* ÃÂ¦ÃÂÃÂªÃÂ¥ÃÂÃÂÃÂ¥ÃÂ§ÃÂÃÂ¥ÃÂÃÂ FlexSlider ÃÂ¦ÃÂÃÂÃÂ§ÃÂÃÂÃÂ©ÃÂÃÂÃÂ¦ÃÂÃÂ wrapper */
body.ys-product-page .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    width: 480px !important;
    max-width: 480px !important;
    border-radius: var(--ys-radius);
    overflow: hidden !important;
    background: var(--ys-white);
    border: 1px solid var(--ys-border-light);
    box-shadow: var(--ys-shadow-soft);
}

/* FlexSlider ÃÂ¥ÃÂÃÂ§ÃÂ§ÃÂÃÂ wrapper ÃÂ¢ÃÂÃÂ ÃÂ¨ÃÂ®ÃÂ FlexSlider ÃÂ¦ÃÂÃÂ§ÃÂ¥ÃÂÃÂ¶ÃÂ¥ÃÂ¯ÃÂ¬ÃÂ¥ÃÂºÃÂ¦ */
body.ys-product-page .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
    /* ÃÂ¤ÃÂ¸ÃÂÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂ¶ÃÂ¥ÃÂ¯ÃÂ¬ÃÂ¥ÃÂºÃÂ¦ÃÂ¯ÃÂ¼ÃÂFlexSlider ÃÂ©ÃÂÃÂÃÂ¨ÃÂ¦ÃÂÃÂ¥ÃÂ®ÃÂÃÂ¦ÃÂ¯ÃÂ viewport ÃÂ¥ÃÂ¯ÃÂ¬ÃÂ¦ÃÂÃÂÃÂ¨ÃÂÃÂ½ÃÂ¦ÃÂ»ÃÂÃÂ¥ÃÂÃÂ */
    max-width: none !important;
}

/* ÃÂ¦ÃÂ¯ÃÂÃÂ¥ÃÂ¼ÃÂµ slide */
body.ys-product-page .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    width: 480px !important;
    height: 480px !important;
    overflow: hidden !important;
}

body.ys-product-page .woocommerce-product-gallery__image a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

body.ys-product-page .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ys-transition);
}

body.ys-product-page .woocommerce-product-gallery__image:hover img {
    transform: scale(1.05);
}

/* ÃÂ§ÃÂÃÂ¹ÃÂ¥ÃÂÃÂ¹ÃÂ¦ÃÂ¨ÃÂÃÂ§ÃÂ±ÃÂ¤ */
body.ys-product-page span.onsale {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    right: auto !important;
    z-index: 5;
    background: var(--ys-gold) !important;
    color: var(--ys-white) !important;
    font-family: var(--ys-font-sans);
    font-size: 10px !important;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px !important;
    border-radius: 0 !important;
    line-height: 1.4;
    min-width: auto !important;
    min-height: auto !important;
}

/* ÃÂ§ÃÂ¸ÃÂ®ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ */
body.ys-product-page .flex-control-thumbs {
    display: flex !important;
    gap: 10px;
    margin-top: 12px !important;
    padding: 0 !important;
    list-style: none;
}

body.ys-product-page .flex-control-thumbs li {
    flex: 0 0 calc(25% - 8px);
    border-radius: var(--ys-radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

body.ys-product-page .flex-control-thumbs li img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

body.ys-product-page .flex-control-thumbs li img.flex-active,
body.ys-product-page .flex-control-thumbs li:hover img {
    opacity: 1;
}

body.ys-product-page .flex-control-thumbs li:has(img.flex-active) {
    border-color: var(--ys-gold);
    box-shadow: var(--ys-shadow-gold);
}

/* ===== ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¦ÃÂÃÂÃÂ¨ÃÂ¦ÃÂ ===== */
body.ys-product-page .summary.entry-summary {
    grid-area: summary;
    padding: 10px 0 0 20px !important;
}

/* ÃÂ¥ÃÂÃÂÃÂ©ÃÂ¡ÃÂÃÂ¦ÃÂ¨ÃÂÃÂ§ÃÂ±ÃÂ¤ */
.ys-product-category-tag {
    display: inline-block;
    font-family: var(--ys-font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ys-gold);
    margin-bottom: 12px;
    padding: 4px 0;
    position: relative;
}

.ys-product-category-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--ys-gold);
    opacity: 0.3;
}

/* ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ§ÃÂ¨ÃÂ± */
body.ys-product-page .product_title {
    font-family: var(--ys-font-serif) !important;
    font-size: clamp(28px, 3.5vw, 40px) !important;
    font-weight: 400 !important;
    color: var(--ys-brown-dark) !important;
    letter-spacing: 0.06em !important;
    line-height: 1.3 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

/* ÃÂ©ÃÂÃÂÃÂ¨ÃÂÃÂ²ÃÂ¨ÃÂ£ÃÂÃÂ©ÃÂ£ÃÂ¾ÃÂ§ÃÂ·ÃÂ */
.ys-product-gold-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, var(--ys-gold), transparent);
    margin-bottom: 24px;
}

/* ÃÂ¥ÃÂÃÂ¹ÃÂ¦ÃÂ ÃÂ¼ */
body.ys-product-page p.price {
    font-family: var(--ys-font-serif) !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    color: var(--ys-brown-dark) !important;
    margin-bottom: 28px !important;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

body.ys-product-page p.price del {
    font-size: 18px !important;
    font-weight: 300 !important;
    color: var(--ys-brown-light) !important;
    text-decoration: line-through;
    opacity: 0.7;
}

body.ys-product-page p.price ins {
    text-decoration: none !important;
    color: var(--ys-brown-dark) !important;
}

/* ÃÂ¦ÃÂÃÂÃÂ¦ÃÂÃÂ£ÃÂ¦ÃÂ¨ÃÂÃÂ¨ÃÂ¨ÃÂ */
.ys-product-discount-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--ys-font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--ys-gold-hover);
    background: rgba(201, 169, 110, 0.1);
    padding: 3px 10px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ÃÂ§ÃÂ°ÃÂ¡ÃÂ§ÃÂÃÂ­ÃÂ¦ÃÂÃÂÃÂ¨ÃÂ¿ÃÂ° */
body.ys-product-page .woocommerce-product-details__short-description {
    font-family: var(--ys-font-sans) !important;
    font-size: 14px !important;
    line-height: 2.0 !important;
    color: var(--ys-brown-medium) !important;
    margin-bottom: 32px !important;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ys-border-light);
}

body.ys-product-page .woocommerce-product-details__short-description p {
    margin: 0 0 8px;
}

/* ===== ÃÂ¦ÃÂÃÂ¸ÃÂ©ÃÂÃÂ + ÃÂ¥ÃÂÃÂ ÃÂ¥ÃÂÃÂ¥ÃÂ¨ÃÂ³ÃÂ¼ÃÂ§ÃÂÃÂ©ÃÂ¨ÃÂ»ÃÂ + ÃÂ§ÃÂ«ÃÂÃÂ¥ÃÂÃÂ³ÃÂ¨ÃÂ³ÃÂ¼ÃÂ¨ÃÂ²ÃÂ· ===== */
body.ys-product-page form.cart {
    display: block !important;
    margin-bottom: 28px !important;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ys-border-light);
}

/* ===== Variable Product: Variation Swatches + Layout ===== */

body.ys-product-page .variations {
    margin-bottom: 0 !important;
    border: none !important;
    width: 100% !important;
}

body.ys-product-page .variations tr {
    display: block !important;
}

body.ys-product-page .variations th.label,
body.ys-product-page .variations td.label {
    display: none !important;
}

body.ys-product-page .variations td.value,
body.ys-product-page .variations th.value {
    display: block !important;
    padding: 0 !important;
    width: 100% !important;
}

body.ys-product-page .variations select,
body.ys-product-page .variations td.value select,
body.ys-product-page table.variations select {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

body.ys-product-page .reset_variations {
    display: none !important;
}

body.ys-product-page .reset_variations_alert {
    display: none !important;
}

.ys-swatch-label {
    display: block;
    margin-bottom: 14px;
    font-family: var(--ys-font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ys-brown-medium, #8B7355);
}

.ys-swatch-label span {
    color: var(--ys-brown-dark, #2C2420);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: none;
}

.ys-swatch-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.ys-swatch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 40px;
    padding: 0 16px;
    background: transparent;
    border: 1px solid var(--ys-border, #D6CFC4);
    color: var(--ys-brown-dark, #2C2420);
    font-family: var(--ys-font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
    position: relative;
    outline: none;
}

.ys-swatch-btn:hover {
    border-color: var(--ys-brown-dark, #2C2420);
    color: var(--ys-brown-dark, #2C2420);
}

.ys-swatch-btn.ys-swatch-active {
    border-color: var(--ys-brown-dark, #2C2420);
    background: var(--ys-brown-dark, #2C2420);
    color: var(--ys-gold-light, #D9C49A);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.ys-selected-size {
    display: none;
}

/* Action row: qty + add-to-cart + buy-now */
.ys-action-row {
    display: flex !important;
    gap: 12px !important;
    align-items: stretch !important;
    margin-top: 24px !important;
    width: 100% !important;
}

.ys-action-row .quantity {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    border: 1px solid var(--ys-border) !important;
}

.ys-action-row .single_add_to_cart_button {
    flex: 1 !important;
}

.ys-action-row .ys-buy-now-btn {
    flex: 1 !important;
}

/* Hide original WooCommerce variation-add-to-cart container */
body.ys-product-page .woocommerce-variation-add-to-cart.variations_button {
    display: none !important;
}

/* Variation price */
body.ys-product-page .woocommerce-variation.single_variation {
    margin-top: 16px;
}

body.ys-product-page .woocommerce-variation-price .price {
    font-family: var(--ys-font-serif) !important;
    font-size: 22px !important;
    color: var(--ys-brown-dark) !important;
}



body.ys-product-page .quantity {
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    border: 1px solid var(--ys-border);
}

/* ÃÂ¦ÃÂÃÂ¸ÃÂ©ÃÂÃÂ +/- ÃÂ¦ÃÂÃÂÃÂ©ÃÂÃÂ */
body.ys-product-page .ys-qty-btn {
    width: 44px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ys-cream);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--ys-brown-medium);
    transition: all 0.3s ease;
    user-select: none;
    line-height: 1;
}

body.ys-product-page .ys-qty-btn:hover {
    background: var(--ys-milk-tea);
    color: var(--ys-brown-dark);
}

body.ys-product-page .ys-qty-btn:active {
    background: var(--ys-milk-tea-dark);
}

body.ys-product-page .quantity .qty {
    width: 52px !important;
    height: 52px !important;
    text-align: center !important;
    font-family: var(--ys-font-serif) !important;
    font-size: 18px !important;
    color: var(--ys-brown-dark) !important;
    border: none !important;
    border-left: 1px solid var(--ys-border) !important;
    border-right: 1px solid var(--ys-border) !important;
    border-radius: 0 !important;
    background: var(--ys-white) !important;
    outline: none !important;
    transition: background-color 0.3s ease;
    -moz-appearance: textfield;
}

body.ys-product-page .quantity .qty::-webkit-inner-spin-button,
body.ys-product-page .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.ys-product-page .quantity .qty:focus {
    background: var(--ys-milk-tea-light) !important;
}

/* ÃÂ¥ÃÂÃÂ ÃÂ¥ÃÂÃÂ¥ÃÂ¨ÃÂ³ÃÂ¼ÃÂ§ÃÂÃÂ©ÃÂ¨ÃÂ»ÃÂÃÂ¦ÃÂÃÂÃÂ©ÃÂÃÂÃÂ¯ÃÂ¼ÃÂLV PrimaryÃÂ¯ÃÂ¼ÃÂ */
body.ys-product-page .single_add_to_cart_button {
    flex: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    background: var(--ys-brown-dark) !important;
    color: var(--ys-gold-light) !important;
    border: 1px solid var(--ys-brown-dark) !important;
    border-radius: 0 !important;
    padding: 16px 32px !important;
    font-family: var(--ys-font-sans) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    min-height: 52px !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

body.ys-product-page .single_add_to_cart_button:hover {
    background: transparent !important;
    color: var(--ys-brown-dark) !important;
    border-color: var(--ys-brown-dark) !important;
}

body.ys-product-page .single_add_to_cart_button:active {
    transform: none !important;
}

/* ÃÂ§ÃÂ«ÃÂÃÂ¥ÃÂÃÂ³ÃÂ¨ÃÂ³ÃÂ¼ÃÂ¨ÃÂ²ÃÂ·ÃÂ¦ÃÂÃÂÃÂ©ÃÂÃÂÃÂ¯ÃÂ¼ÃÂLV SecondaryÃÂ¯ÃÂ¼ÃÂ */
body.ys-product-page .ys-buy-now-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent !important;
    color: var(--ys-brown-dark) !important;
    border: 1px solid var(--ys-brown-medium) !important;
    border-radius: 0 !important;
    padding: 16px 32px !important;
    font-family: var(--ys-font-sans) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    min-height: 52px !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

body.ys-product-page .ys-buy-now-btn:hover {
    background: var(--ys-brown-dark) !important;
    color: var(--ys-gold-light) !important;
    border-color: var(--ys-brown-dark) !important;
}

/* ===== ÃÂ¦ÃÂÃÂÃÂ¨ÃÂ¿ÃÂ°ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ§ÃÂÃÂ ===== */
.ys-desc-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ys-border-light);
}

.ys-desc-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--ys-radius-sm);
    border: 1px solid var(--ys-border-light);
    box-shadow: var(--ys-shadow-soft);
    transition: transform 0.5s var(--ys-transition), box-shadow 0.3s ease;
}

.ys-desc-gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--ys-shadow-hover);
}

/* ÃÂ¥ÃÂÃÂ ÃÂ¥ÃÂÃÂ¥ÃÂ¨ÃÂ³ÃÂ¼ÃÂ§ÃÂÃÂ©ÃÂ¨ÃÂ»ÃÂÃÂ¦ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¦ÃÂÃÂÃÂ§ÃÂ¤ÃÂºÃÂ¯ÃÂ¼ÃÂÃÂ¥ÃÂ¥ÃÂ¢ÃÂ¨ÃÂÃÂ¯ toastÃÂ¯ÃÂ¼ÃÂ */
body.ys-product-page .woocommerce-message {
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    left: auto !important;
    top: auto !important;
    z-index: 9999 !important;
    max-width: 380px !important;
    width: auto !important;
    min-width: 320px !important;
    border: none !important;
    border-top: none !important;
    background: var(--ys-brown-dark, #2C2420) !important;
    color: var(--ys-gold-light, #D9C49A) !important;
    font-family: var(--ys-font-sans) !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    letter-spacing: 0.06em !important;
    border-radius: 0 !important;
    padding: 28px 32px !important;
    border-left: none !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25) !important;
    animation: ysToastIn 0.5s var(--ys-transition) forwards !important;
    line-height: 1.8 !important;
}

body.ys-product-page .woocommerce-message::before {
    content: '' !important;
    display: block !important;
    width: 40px !important;
    height: 1px !important;
    background: var(--ys-gold, #C9A96E) !important;
    margin-bottom: 16px !important;
    top: auto !important;
    left: auto !important;
    position: relative !important;
}

body.ys-product-page .woocommerce-message a.button.wc-forward {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 16px !important;
    background: transparent !important;
    color: var(--ys-gold-light, #D9C49A) !important;
    border: 1px solid var(--ys-gold, #C9A96E) !important;
    border-radius: 0 !important;
    padding: 10px 28px !important;
    font-family: var(--ys-font-sans) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.4s ease !important;
}

body.ys-product-page .woocommerce-message a.button.wc-forward:hover {
    background: var(--ys-gold, #C9A96E) !important;
    color: var(--ys-brown-dark, #2C2420) !important;
    border-color: var(--ys-gold, #C9A96E) !important;
}

@keyframes ysToastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ysToastOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

body.ys-product-page .woocommerce-message.ys-toast-hide {
    animation: ysToastOut 0.4s ease forwards !important;
}

/* ===== ÃÂ¨ÃÂÃÂªÃÂ¨ÃÂ¨ÃÂ AJAX Toast ===== */
.ys-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    max-width: 380px;
    background: var(--ys-cream);
    border-left: 3px solid var(--ys-gold);
    border-radius: 2px;
    padding: 18px 42px 18px 20px;
    box-shadow: 0 4px 24px rgba(44, 36, 32, 0.12);
    font-family: var(--ys-font-sans);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ys-toast.ys-toast-show {
    opacity: 1;
    transform: translateY(0);
}
.ys-toast.ys-toast-hide {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.ys-toast-body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.ys-toast-check {
    color: var(--ys-gold);
    font-size: 15px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
}
.ys-toast-text {
    color: var(--ys-brown-dark);
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
.ys-toast-view {
    display: inline-block;
    background: var(--ys-brown-dark);
    color: var(--ys-gold-light);
    border: 1px solid var(--ys-brown-dark);
    border-radius: 0;
    padding: 9px 22px;
    font-family: var(--ys-font-sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}
.ys-toast-view:hover {
    background: transparent;
    color: var(--ys-brown-dark);
}
.ys-toast-dismiss {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: var(--ys-brown-light);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s;
}
.ys-toast-dismiss:hover {
    color: var(--ys-brown-dark);
}

/* ===== PhotoSwipe Lightbox ===== */
.pswp__bg {
    background: rgba(44, 36, 32, 0.88) !important;
}

.pswp__img {
    object-fit: contain !important;
}

.pswp__zoom-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Force UI always visible (close button, arrows) */
.pswp__ui,
.pswp__ui--idle .pswp__top-bar {
    opacity: 1 !important;
}

.pswp__top-bar {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 100%) !important;
    opacity: 1 !important;
}

.pswp__button {
    color: var(--ys-white) !important;
}

/* Close button ÃÂ¢ÃÂÃÂ always visible with dark circle background */
.pswp__button--close {
    display: block !important;
    opacity: 0.9 !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(44, 36, 32, 0.55) !important;
    border-radius: 50% !important;
    margin: 8px !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
}

.pswp__button--close:hover {
    opacity: 1 !important;
    background: rgba(44, 36, 32, 0.85) !important;
}

.pswp__counter {
    font-family: var(--ys-font-sans) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ===== ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¤ÃÂ¿ÃÂÃÂ¨ÃÂ­ÃÂÃÂ¥ÃÂÃÂÃÂ¯ÃÂ¼ÃÂÃÂ¨ÃÂÃÂªÃÂ¨ÃÂ¨ÃÂÃÂ¯ÃÂ¼ÃÂ ===== */
.ys-product-guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ys-border-light);
}

.ys-product-guarantee {
    text-align: center;
    padding: 16px 8px;
    position: relative;
}

.ys-product-guarantee:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: var(--ys-border);
}

.ys-product-guarantee svg {
    width: 22px;
    height: 22px;
    stroke: var(--ys-gold);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ys-product-guarantee span {
    display: block;
    font-family: var(--ys-font-sans);
    font-size: 11px;
    color: var(--ys-brown-medium);
    letter-spacing: 0.06em;
}

/* ===== ÃÂ¥ÃÂ¤ÃÂ©ÃÂ§ÃÂÃÂ¶ÃÂ§ÃÂ¤ÃÂ¦ÃÂ§ÃÂÃÂ³ÃÂ¨ÃÂÃÂ²ÃÂ¦ÃÂÃÂ ===== */
.ys-product-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid var(--ys-border-light);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.ys-product-notice svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--ys-gold);
    margin-top: 1px;
}

.ys-product-notice p {
    margin: 0;
    font-family: var(--ys-font-sans);
    font-size: 12px;
    line-height: 1.7;
    color: var(--ys-brown-medium);
    letter-spacing: 0.02em;
}

/* ===== ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ MetaÃÂ¯ÃÂ¼ÃÂÃÂ¥ÃÂÃÂÃÂ©ÃÂ¡ÃÂÃÂ£ÃÂÃÂÃÂ¦ÃÂ¨ÃÂÃÂ§ÃÂ±ÃÂ¤ÃÂ¯ÃÂ¼ÃÂ ===== */
body.ys-product-page .product_meta {
    font-family: var(--ys-font-sans) !important;
    font-size: 13px !important;
    color: var(--ys-brown-medium) !important;
    line-height: 2 !important;
    margin-bottom: 20px !important;
}

body.ys-product-page .product_meta > span {
    display: block;
}

body.ys-product-page .product_meta a {
    color: var(--ys-gold) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

body.ys-product-page .product_meta a:hover {
    color: var(--ys-gold-hover) !important;
}

/* ===== Tabs ÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ ===== */
body.ys-product-page .woocommerce-tabs {
    grid-area: tabs;
    margin-top: 60px !important;
    padding: 0 !important;
    clear: both;
}

body.ys-product-page .woocommerce-tabs::before,
body.ys-product-page .woocommerce-tabs::after {
    display: none !important;
}

/* Tab ÃÂ¥ÃÂ°ÃÂÃÂ¨ÃÂÃÂª */
body.ys-product-page .woocommerce-tabs ul.tabs {
    display: flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 40px !important;
    border-bottom: 1px solid var(--ys-border) !important;
    gap: 0;
    background: none !important;
}

body.ys-product-page .woocommerce-tabs ul.tabs::before,
body.ys-product-page .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

body.ys-product-page .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
}

body.ys-product-page .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 16px 32px !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-brown-light) !important;
    text-decoration: none !important;
    position: relative;
    transition: color 0.3s ease;
    background: none !important;
}

body.ys-product-page .woocommerce-tabs ul.tabs li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--ys-gold);
    transition: width 0.4s var(--ys-transition);
}

body.ys-product-page .woocommerce-tabs ul.tabs li.active a,
body.ys-product-page .woocommerce-tabs ul.tabs li a:hover {
    color: var(--ys-brown-dark) !important;
}

body.ys-product-page .woocommerce-tabs ul.tabs li.active a::after {
    width: 100%;
}

body.ys-product-page .woocommerce-tabs ul.tabs li a:hover::after {
    width: 60%;
}

/* Tab ÃÂ©ÃÂÃÂ¢ÃÂ¦ÃÂÃÂ¿ÃÂ¥ÃÂÃÂ§ÃÂ¥ÃÂ®ÃÂ¹ */
body.ys-product-page .woocommerce-Tabs-panel {
    padding: 0 0 40px !important;
    font-family: var(--ys-font-sans) !important;
    font-size: 14px !important;
    line-height: 2.0 !important;
    color: var(--ys-brown-medium) !important;
    overflow: visible !important;
    max-height: none !important;
}

body.ys-product-page .woocommerce-Tabs-panel h3 {
    font-family: var(--ys-font-serif) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: var(--ys-brown-dark) !important;
    letter-spacing: 0.04em !important;
    margin: 28px 0 12px !important;
}

body.ys-product-page .woocommerce-Tabs-panel h3:first-child {
    margin-top: 0 !important;
}

body.ys-product-page .woocommerce-Tabs-panel p {
    margin: 0 0 16px;
    color: var(--ys-brown-medium);
}

body.ys-product-page .woocommerce-Tabs-panel ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

body.ys-product-page .woocommerce-Tabs-panel ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--ys-brown);
}

body.ys-product-page .woocommerce-Tabs-panel ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--ys-gold);
    border-radius: 50%;
}

body.ys-product-page .woocommerce-Tabs-panel h2 {
    font-family: var(--ys-font-serif) !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    color: var(--ys-brown-dark) !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ys-border-light);
    position: relative;
}

body.ys-product-page .woocommerce-Tabs-panel h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--ys-gold);
}

/* ÃÂ¦ÃÂÃÂÃÂ¨ÃÂ¿ÃÂ° Tab ÃÂ¨ÃÂ¡ÃÂ¨ÃÂ¦ÃÂ ÃÂ¼ÃÂ¯ÃÂ¼ÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂ±ÃÂ¬ÃÂ¦ÃÂÃÂ§ÃÂ¯ÃÂ¼ÃÂ */
body.ys-product-page .woocommerce-Tabs-panel table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--ys-font-sans);
}

body.ys-product-page .woocommerce-Tabs-panel table th {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ys-brown-medium);
    background: var(--ys-milk-tea-light);
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ys-border-light);
}

body.ys-product-page .woocommerce-Tabs-panel table td {
    padding: 12px 16px;
    color: var(--ys-brown);
    border-bottom: 1px solid var(--ys-border-light);
    font-size: 14px;
}

/* ===== ÃÂ¨ÃÂ©ÃÂÃÂ¥ÃÂÃÂ¹ Tab ===== */
body.ys-product-page .woocommerce-Reviews-title {
    font-family: var(--ys-font-serif) !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    color: var(--ys-brown-dark) !important;
    letter-spacing: 0.06em !important;
}

body.ys-product-page .woocommerce-noreviews {
    font-family: var(--ys-font-sans);
    font-size: 14px;
    color: var(--ys-brown-light);
    font-style: normal !important;
    padding: 20px 0;
}

/* ÃÂ¨ÃÂ©ÃÂÃÂ¥ÃÂÃÂ¹ÃÂ¨ÃÂ¡ÃÂ¨ÃÂ¥ÃÂÃÂ® */
body.ys-product-page #review_form .comment-reply-title {
    font-family: var(--ys-font-serif) !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: var(--ys-brown-dark) !important;
    letter-spacing: 0.04em;
}

body.ys-product-page #review_form label {
    font-family: var(--ys-font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ys-brown-medium);
}

body.ys-product-page #review_form input[type="text"],
body.ys-product-page #review_form input[type="email"],
body.ys-product-page #review_form textarea {
    background: var(--ys-cream) !important;
    border: 1px solid var(--ys-border) !important;
    border-radius: var(--ys-radius-sm) !important;
    padding: 14px 16px !important;
    font-family: var(--ys-font-sans) !important;
    font-size: 14px !important;
    color: var(--ys-brown) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

body.ys-product-page #review_form input:focus,
body.ys-product-page #review_form textarea:focus {
    border-color: var(--ys-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12) !important;
    background: var(--ys-white) !important;
    outline: none !important;
}

body.ys-product-page #review_form .submit {
    background: var(--ys-brown-dark) !important;
    color: var(--ys-gold-light) !important;
    border: 1px solid var(--ys-brown-dark) !important;
    border-radius: 0 !important;
    padding: 14px 32px !important;
    font-family: var(--ys-font-sans) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
}

body.ys-product-page #review_form .submit:hover {
    background: transparent !important;
    color: var(--ys-brown-dark) !important;
    border-color: var(--ys-brown-dark) !important;
}

/* ÃÂ¦ÃÂÃÂÃÂ§ÃÂ­ÃÂ */
body.ys-product-page .stars a {
    color: var(--ys-gold) !important;
}

body.ys-product-page .star-rating {
    color: var(--ys-gold) !important;
}

/* ===== ÃÂ©ÃÂÃÂÃÂ¨ÃÂÃÂ²ÃÂ¥ÃÂÃÂÃÂ©ÃÂÃÂÃÂ§ÃÂ·ÃÂÃÂ¯ÃÂ¼ÃÂTabs ÃÂ¥ÃÂÃÂÃÂ¯ÃÂ¼ÃÂÃÂ¢ÃÂÃÂ ÃÂ¥ÃÂ·ÃÂ²ÃÂ©ÃÂÃÂ±ÃÂ¨ÃÂÃÂ ===== */
.ys-product-divider {
    display: none !important;
}

/* ===== ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ ===== */
body.ys-product-page section.related {
    grid-area: related;
    margin-top: 60px !important;
    padding: 60px 0 80px !important;
    border-top: 1px solid var(--ys-border-light);
}

body.ys-product-page section.related > h2 {
    font-family: var(--ys-font-serif) !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    color: var(--ys-brown-dark) !important;
    letter-spacing: 0.1em !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ¯ÃÂ¦ÃÂ¨ÃÂ */
.ys-related-sub {
    text-align: center;
    font-family: var(--ys-font-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--ys-brown-medium);
    letter-spacing: 0.06em;
    margin-bottom: 40px;
}

/* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ§ÃÂ¶ÃÂ²ÃÂ¦ÃÂ ÃÂ¼ */
body.ys-product-page section.related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.ys-product-page section.related ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    background: var(--ys-white);
    border-radius: var(--ys-radius);
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: var(--ys-shadow-soft);
    transition: all 0.5s var(--ys-transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ys-transition), opacity 0.6s ease, transform 0.6s ease;
}

body.ys-product-page section.related ul.products li.product.ys-vis {
    opacity: 1;
    transform: translateY(0);
}

body.ys-product-page section.related ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: var(--ys-shadow-hover);
    border-color: rgba(201, 169, 110, 0.2);
}

/* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ§ÃÂÃÂ */
body.ys-product-page section.related ul.products li.product a.ys-product-image-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

body.ys-product-page section.related ul.products li.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ys-transition);
}

body.ys-product-page section.related ul.products li.product:hover img {
    transform: scale(1.08);
}

/* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ Badge */
body.ys-product-page section.related .ys-badge-new {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(44, 36, 32, 0.85);
    color: var(--ys-gold-light);
    font-family: var(--ys-font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

body.ys-product-page section.related span.onsale {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    z-index: 2;
    background: var(--ys-gold) !important;
    color: var(--ys-white) !important;
    font-family: var(--ys-font-sans);
    font-size: 10px !important;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px !important;
    border-radius: 0 !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1.4 !important;
}

/* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ Action Buttons */
body.ys-product-page .ys-product-actions {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
    opacity: 0;
    transform: translateX(12px);
    transition: all 0.4s var(--ys-transition);
}

body.ys-product-page section.related li.product:hover .ys-product-actions {
    opacity: 1;
    transform: translateX(0);
}

body.ys-product-page .ys-product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(250, 246, 241, 0.9);
    border: 1px solid rgba(201, 169, 110, 0.2);
    color: var(--ys-brown-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.ys-product-page .ys-product-actions button:hover {
    background: var(--ys-gold);
    color: var(--ys-white);
    transform: scale(1.1);
}

body.ys-product-page .ys-product-actions button svg {
    width: 16px;
    height: 16px;
}

/* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ Info */
body.ys-product-page section.related .ys-product-info {
    padding: 18px 20px;
    text-align: center;
}

body.ys-product-page section.related .ys-product-cat {
    display: block;
    font-family: var(--ys-font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ys-gold);
    margin-bottom: 6px;
}

body.ys-product-page section.related .woocommerce-loop-product__title {
    font-family: var(--ys-font-serif) !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--ys-brown-dark) !important;
    letter-spacing: 0.04em !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
}

body.ys-product-page section.related .price {
    font-family: var(--ys-font-serif) !important;
    font-size: 18px !important;
    color: var(--ys-brown) !important;
    margin-bottom: 14px !important;
    display: block;
}

body.ys-product-page section.related .price del {
    color: var(--ys-brown-light) !important;
    font-size: 14px;
    opacity: 0.6;
}

body.ys-product-page section.related .price ins {
    text-decoration: none;
    color: var(--ys-brown-dark);
}

/* Related: product description */
body.ys-product-page section.related .ys-product-desc {
    font-family: var(--ys-font-sans);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--ys-brown-medium);
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    padding: 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ ÃÂ¥ÃÂÃÂ¥ÃÂ¨ÃÂ³ÃÂ¼ÃÂ§ÃÂÃÂ©ÃÂ¨ÃÂ»ÃÂÃÂ¦ÃÂÃÂÃÂ©ÃÂÃÂÃÂ¯ÃÂ¼ÃÂLV PrimaryÃÂ¯ÃÂ¼ÃÂ */
body.ys-product-page section.related .button,
body.ys-product-page section.related .add_to_cart_button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: var(--ys-brown-dark) !important;
    color: var(--ys-gold-light) !important;
    border: 1px solid var(--ys-brown-dark) !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    font-family: var(--ys-font-sans) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
}

body.ys-product-page section.related .button:hover,
body.ys-product-page section.related .add_to_cart_button:hover {
    background: transparent !important;
    color: var(--ys-brown-dark) !important;
    border-color: var(--ys-brown-dark) !important;
}

/* Related: added state and view cart link */
body.ys-product-page section.related .button.added {
    background: var(--ys-cream, #FAF6F1) !important;
    border-color: var(--ys-gold, #C9A96E) !important;
    color: var(--ys-gold, #C9A96E) !important;
    pointer-events: none;
}
body.ys-product-page section.related .button.added::after {
    content: ' \2713';
    margin-left: 6px;
    font-size: 13px;
}
body.ys-product-page section.related .added_to_cart {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    margin-top: 0;
    padding: 8px 0 2px;
    font-family: var(--ys-font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--ys-gold, #C9A96E);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
}
body.ys-product-page section.related .added_to_cart::before {
    content: '\2192';
    font-size: 13px;
    transition: transform 0.3s ease;
}
body.ys-product-page section.related .added_to_cart:hover {
    color: var(--ys-gold-hover, #B8944F);
}
body.ys-product-page section.related .added_to_cart:hover::before {
    transform: translateX(3px);
}

/* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂºÃÂÃÂ©ÃÂÃÂ¨ shimmer */
body.ys-product-page section.related 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 ease;
    animation: ysProductShimmer 2s linear infinite;
    z-index: 5;
}

body.ys-product-page section.related ul.products li.product:hover::after {
    opacity: 1;
}

/* ===== ÃÂ©ÃÂ ÃÂÃÂ¨ÃÂÃÂ³ÃÂ¨ÃÂ£ÃÂÃÂ©ÃÂ£ÃÂ¾ ===== */
.ys-product-footer-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px 60px;
    background: var(--ys-cream);
}

.ys-product-footer-decor span {
    font-family: var(--ys-font-serif);
    font-size: 11px;
    color: var(--ys-brown-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ys-product-footer-decor::before,
.ys-product-footer-decor::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ys-gold-light), transparent);
}

/* ===== Animations ===== */
@keyframes ysProductSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ysProductShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes ysProductFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ysProductFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ÃÂ¥ÃÂÃÂ¥ÃÂ¥ÃÂ ÃÂ´ÃÂ¥ÃÂÃÂÃÂ§ÃÂÃÂ« class */
.ys-product-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ys-product-animate.ys-vis {
    opacity: 1;
    transform: translateY(0);
}

/* ÃÂ¥ÃÂÃÂÃÂ§ÃÂÃÂÃÂ¥ÃÂÃÂ¥ÃÂ¥ÃÂ ÃÂ´ */
body.ys-product-page .woocommerce-product-gallery {
    animation: ysProductFadeIn 0.8s ease forwards;
}

/* ÃÂ¦ÃÂÃÂÃÂ¨ÃÂ¦ÃÂÃÂ¥ÃÂÃÂ¥ÃÂ¥ÃÂ ÃÂ´ÃÂ¯ÃÂ¼ÃÂstaggerÃÂ¯ÃÂ¼ÃÂ */
body.ys-product-page .summary.entry-summary > * {
    opacity: 0;
    animation: ysProductFadeUp 0.6s ease forwards;
}

body.ys-product-page .summary.entry-summary > *:nth-child(1) { animation-delay: 0.1s; }
body.ys-product-page .summary.entry-summary > *:nth-child(2) { animation-delay: 0.2s; }
body.ys-product-page .summary.entry-summary > *:nth-child(3) { animation-delay: 0.3s; }
body.ys-product-page .summary.entry-summary > *:nth-child(4) { animation-delay: 0.4s; }
body.ys-product-page .summary.entry-summary > *:nth-child(5) { animation-delay: 0.5s; }
body.ys-product-page .summary.entry-summary > *:nth-child(6) { animation-delay: 0.6s; }
body.ys-product-page .summary.entry-summary > *:nth-child(7) { animation-delay: 0.7s; }
body.ys-product-page .summary.entry-summary > *:nth-child(8) { animation-delay: 0.8s; }

/* ===== Scrollbar: ÃÂ¤ÃÂ½ÃÂ¿ÃÂ§ÃÂÃÂ¨ÃÂ§ÃÂÃÂÃÂ¨ÃÂ¦ÃÂ½ÃÂ¥ÃÂÃÂ¨ÃÂ©ÃÂ ÃÂÃÂ¨ÃÂ¨ÃÂ­ ===== */

/* ===== ÃÂ©ÃÂÃÂ¿ÃÂ¦ÃÂÃÂÃÂ¥ÃÂ¼ÃÂÃÂ¨ÃÂ¨ÃÂ­ÃÂ¨ÃÂ¨ÃÂ ===== */
@media (max-width: 1200px) {
    body.ys-product-page div.product {
        gap: 0 40px;
        padding: 40px 30px 0 !important;
    }

    body.ys-product-page section.related ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    body.ys-product-page div.product {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "gallery"
            "summary"
            "tabs"
            "related" !important;
        gap: 0;
        padding: 30px 20px 0 !important;
    }

    body.ys-product-page .woocommerce-product-gallery,
    body.ys-product-page div.product div.images {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto 36px !important;
    }

    body.ys-product-page .woocommerce-product-gallery .flex-viewport,
    body.ys-product-page .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
    body.ys-product-page .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
        width: 100% !important;
        max-width: 480px !important;
    }

    body.ys-product-page .woocommerce-product-gallery .flex-viewport {
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    body.ys-product-page .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    body.ys-product-page .summary.entry-summary {
        padding: 0 !important;
    }

    .ys-product-breadcrumb {
        padding: 16px 20px;
    }

    body.ys-product-page section.related ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body.ys-product-page .product_title {
        font-size: 26px !important;
    }

    body.ys-product-page p.price {
        font-size: 24px !important;
    }

    .ys-action-row {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .ys-action-row .quantity {
        flex: 0 0 100% !important;
    }

    body.ys-product-page .ys-buy-now-btn {
        flex: 0 0 100%;
    }

    .ys-desc-gallery {
        grid-template-columns: 1fr;
    }

    body.ys-product-page .quantity .qty {
        width: 100% !important;
    }

    body.ys-product-page .woocommerce-tabs ul.tabs li a {
        padding: 12px 20px !important;
        font-size: 11px !important;
        letter-spacing: 2px !important;
    }

    .ys-product-guarantees {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ys-product-guarantee:not(:last-child)::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 0;
        width: 40px;
        height: 1px;
        transform: translateX(-50%);
    }

    /* ÃÂ§ÃÂÃÂ¸ÃÂ©ÃÂÃÂÃÂ¥ÃÂÃÂÃÂ¥ÃÂÃÂ action buttons ÃÂ¥ÃÂ¸ÃÂ¸ÃÂ©ÃÂ§ÃÂÃÂ©ÃÂ¡ÃÂ¯ÃÂ§ÃÂ¤ÃÂº */
    body.ys-product-page .ys-product-actions {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
}

@media (max-width: 480px) {
    body.ys-product-page div.product {
        padding: 20px 16px 0 !important;
    }

    .ys-product-breadcrumb {
        padding: 12px 16px;
        font-size: 11px;
    }

    body.ys-product-page .product_title {
        font-size: 22px !important;
    }

    body.ys-product-page p.price {
        font-size: 22px !important;
    }

    body.ys-product-page section.related ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    body.ys-product-page .woocommerce-tabs ul.tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    body.ys-product-page .woocommerce-tabs ul.tabs li a {
        padding: 12px 16px !important;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    body.ys-product-page *,
    body.ys-product-page *::before,
    body.ys-product-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body.ys-product-page section.related ul.products li.product {
        opacity: 1;
        transform: none;
    }

    body.ys-product-page .summary.entry-summary > * {
        opacity: 1;
        animation: none;
    }
}
