/*
Theme Name: Flatsome Child
Template: flatsome
Description: Child theme cho thamtapyoga.com - Chuyen ban tham tap yoga chinh hang
Version: 2.0.0
Author: ThamTapYoga
Text Domain: flatsome-child
*/

/* ============================================================
   1. CSS VARIABLES (Design Tokens)
   ============================================================ */
:root {
    --ty-primary: #2D6A4F;
    --ty-primary-dark: #1B4332;
    --ty-primary-light: #40916C;
    --ty-secondary: #E07A5F;
    --ty-secondary-dark: #C65D43;
    --ty-accent: #F4A261;
    --ty-bg: #FFF8F0;
    --ty-bg-alt: #F5EDE4;
    --ty-white: #FFFFFF;
    --ty-dark: #1B4332;
    --ty-text: #2D2D2D;
    --ty-text-light: #6B6B6B;
    --ty-border: #E8DFD5;
    --ty-radius-sm: 8px;
    --ty-radius-md: 12px;
    --ty-radius-lg: 16px;
    --ty-shadow-sm: 0 2px 8px rgba(27,67,50,0.08);
    --ty-shadow-md: 0 4px 16px rgba(27,67,50,0.12);
    --ty-shadow-lg: 0 8px 32px rgba(27,67,50,0.16);
    --ty-transition: all 0.3s ease;
    --ty-font-heading: 'Cormorant Garamond', Georgia, serif;
    --ty-font-body: 'DM Sans', system-ui, sans-serif;
}

/* ============================================================
   2. GLOBAL RESETS & TYPOGRAPHY
   ============================================================ */
body {
    font-family: var(--ty-font-body);
    color: var(--ty-text);
    background: var(--ty-bg);
    -webkit-font-smoothing: antialiased;
}

/* Flatsome #wrapper overrides body bg — force warm cream */
#wrapper {
    background: var(--ty-bg) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ty-font-heading) !important;
    color: var(--ty-dark) !important;
    line-height: 1.2;
}

a {
    color: var(--ty-primary);
    text-decoration: none;
    transition: var(--ty-transition);
}

a:hover {
    color: var(--ty-primary-dark);
}

::selection {
    background: var(--ty-primary);
    color: var(--ty-white);
}

/* ============================================================
   2B. CONTAINER WIDTH (mockup = 1200px)
   ============================================================ */
.row,
.container,
.full-width .ubermenu-nav {
    max-width: 1200px !important;
}

/* ============================================================
   3. BUTTONS
   ============================================================ */

/* Reset Flatsome white text-shadow on all buttons (causes blurry text on dark bg) */
.button,
button.button,
.woocommerce .button,
.woocommerce button.button,
input[type="submit"] {
    text-shadow: none !important;
}

.ty-btn {
    display: inline-block;
    font-family: var(--ty-font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: var(--ty-radius-sm);
    transition: var(--ty-transition);
    cursor: pointer;
    text-align: center;
    line-height: 1;
}

.ty-btn-primary {
    padding: 14px 32px;
    background: var(--ty-secondary) !important;
    color: var(--ty-white) !important;
    font-size: 15px;
}

.ty-btn-primary:hover {
    background: var(--ty-secondary-dark) !important;
    color: var(--ty-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--ty-shadow-md);
}

.ty-btn-outline-white {
    padding: 14px 32px;
    border: 2px solid var(--ty-white);
    color: var(--ty-white) !important;
    font-size: 15px;
    background: transparent !important;
}

.ty-btn-outline-white:hover {
    background: rgba(255,255,255,0.15) !important;
    color: var(--ty-white) !important;
    transform: translateY(-2px);
}

.ty-btn-outline-white-sm {
    padding: 10px 24px;
    border: 2px solid var(--ty-white);
    color: var(--ty-white) !important;
    font-size: 14px;
    background: transparent !important;
}

.ty-btn-outline-white-sm:hover {
    background: rgba(255,255,255,0.15) !important;
    color: var(--ty-white) !important;
    transform: translateY(-2px);
}

.ty-btn-outline {
    padding: 14px 32px;
    border: 2px solid var(--ty-primary);
    color: var(--ty-primary) !important;
    background: transparent !important;
    font-size: 15px;
}

.ty-btn-outline:hover {
    background: var(--ty-primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.ty-btn-white {
    padding: 14px 32px;
    background: var(--ty-white) !important;
    color: var(--ty-secondary) !important;
    font-size: 15px;
}

.ty-btn-white:hover {
    background: var(--ty-bg) !important;
    color: var(--ty-secondary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--ty-shadow-md);
}

/* ============================================================
   4. S1: HERO BANNER
   ============================================================ */
.ty-hero-label {
    color: var(--ty-white) !important;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.ty-hero-title {
    color: var(--ty-white) !important;
    font-family: var(--ty-font-heading) !important;
    font-size: 52px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ty-hero-desc {
    color: rgba(255,255,255,0.9) !important;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.ty-hero-btns {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
}

.ty-hero-btns .ty-btn {
    display: inline-flex;
    justify-content: center;
    width: auto;
}

/* ============================================================
   5. S2: TRUST BAR
   ============================================================ */
.ty-trust-bar {
    border-bottom: 1px solid var(--ty-border) !important;
}

.ty-trust-item {
    text-align: center;
}

.ty-trust-title {
    display: block;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: var(--ty-font-body) !important;
    font-style: normal !important;
    color: var(--ty-dark) !important;
    line-height: 1.4;
}

.ty-trust-sub {
    display: block;
    font-size: 12px;
    color: var(--ty-text-light);
    margin-top: 2px;
}

/* ============================================================
   6. S3: CATEGORIES + REUSABLE SECTION HEADER
   ============================================================ */
.ty-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.ty-section-title {
    font-family: var(--ty-font-heading) !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

.ty-section-desc {
    color: var(--ty-text-light) !important;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.ty-cat-card {
    cursor: pointer;
}

.col:has(.ty-cat-card) > .col-inner {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-md) !important;
    padding: 24px 20px !important;
    border: 1px solid var(--ty-border) !important;
    transition: var(--ty-transition) !important;
}

.col:has(.ty-cat-card) > .col-inner:hover {
    border-color: var(--ty-primary) !important;
    box-shadow: var(--ty-shadow-md) !important;
    transform: translateY(-2px) !important;
}

/* Flatsome col-inner with shadow: add border-radius + equal height */
.col-inner.box-shadow-1,
.col-inner.box-shadow-2,
.col-inner.box-shadow-3 {
    border-radius: var(--ty-radius-md) !important;
    overflow: hidden;
    height: 100%;
}

/* Flatsome product cards equal height */
.col:has(.product-small) > .col-inner {
    height: 100%;
}
.col:has(.product-small) > .col-inner .product-small {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.col:has(.product-small) > .col-inner .product-small .box-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.col:has(.product-small) > .col-inner .product-small .box-text .price-wrapper {
    margin-top: auto;
}

.ty-cat-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 8px;
    color: var(--ty-dark) !important;
}

.ty-cat-desc {
    font-size: 14px;
    color: var(--ty-text-light);
    line-height: 1.6;
}

/* ============================================================
   7. S4: PRODUCTS (Flatsome [ux_products] overrides)
   ============================================================ */

/* Flatsome product card overrides (homepage + shop) */
/* Hover on col (not product-small) so badge moves together */
.product-small {
    margin-bottom: 0;
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--ty-shadow-sm) !important;
}

.col:has(.product-small) > .col-inner {
    transition: var(--ty-transition) !important;
}

.col:has(.product-small):hover > .col-inner {
    transform: translateY(-4px);
}

.col:has(.product-small):hover .product-small {
    box-shadow: var(--ty-shadow-lg) !important;
}

.product-small .box-image {
    border-radius: var(--ty-radius-md) var(--ty-radius-md) 0 0 !important;
    overflow: hidden !important;
    background: var(--ty-bg-alt) !important;
    aspect-ratio: 1 / 1;
}

.product-small .box-image .image-fade_in,
.product-small .box-image > div {
    height: 100%;
    width: 100%;
}

.product-small .box-image a {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

.product-small .box-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-small .box-text {
    padding: 16px 20px 20px !important;
    border-radius: 0 0 var(--ty-radius-md) var(--ty-radius-md) !important;
    background: var(--ty-white) !important;
}

.product-small .box-text .category {
    font-size: 11px !important;
    color: var(--ty-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.product-small .box-text .name a {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--ty-text) !important;
    line-height: 1.4;
}

.product-small .box-text .price {
    color: var(--ty-secondary) !important;
    font-weight: 700;
    font-size: 16px;
}

.product-small .box-text .price del,
.product-small .box-text .price del * {
    color: var(--ty-text-light) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.product-small .box-text .price ins,
.product-small .box-text .price ins * {
    color: var(--ty-secondary) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Homepage product slider — hide nav arrows for clean grid look */
.ty-hp-products .flickity-prev-next-button,
.ty-hp-products .slider-nav-push .flickity-prev-next-button {
    display: none !important;
}

/* Shop header bar */
.woocommerce-result-count {
    font-size: 14px !important;
    color: var(--ty-text-light) !important;
}

.woocommerce-ordering select {
    padding: 8px 36px 8px 16px !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    font-family: var(--ty-font-body) !important;
    font-size: 13px !important;
    color: var(--ty-text) !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
}

/* ============================================================
   8. S5: BANNER DOUBLE
   ============================================================ */
/* Flatsome col bg_color wraps in col-inner — need border-radius there */
.col-inner:has(.ty-banner-item) {
    border-radius: var(--ty-radius-md) !important;
    overflow: hidden;
}

.ty-banner-item {
    border-radius: var(--ty-radius-md);
    padding: 48px 40px;
}

.ty-banner-title {
    color: var(--ty-white) !important;
    font-family: var(--ty-font-heading) !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    margin-bottom: 12px;
}

.ty-banner-desc {
    color: rgba(255,255,255,0.85) !important;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ============================================================
   9. S6: WHY US
   ============================================================ */
/* Why-card: .col-inner already has box-shadow + bg from Flatsome shortcode,
   so only style text inside — no card on .ty-why-card to avoid layer stacking */
.ty-why-card {
    text-align: center;
}

.ty-why-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 8px;
    color: var(--ty-dark) !important;
}

.ty-why-desc {
    font-size: 14px;
    color: var(--ty-text-light);
    line-height: 1.6;
}

/* ============================================================
   10. S7: GUIDES
   ============================================================ */
.ty-guide-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 8px;
    color: var(--ty-dark) !important;
}

.ty-guide-desc {
    font-size: 14px;
    color: var(--ty-text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.ty-guide-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-primary);
    transition: var(--ty-transition);
}

.ty-guide-link:hover {
    color: var(--ty-primary-dark);
}

/* Homepage guide cards — override guide-page styles leaking in */
.ty-hp-guides .ty-guide-card {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    position: static !important;
    overflow: visible !important;
    height: auto !important;
}

.ty-hp-guides .ty-guide-card::before {
    display: none !important;
}

.ty-hp-guides .ty-guide-card h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: var(--ty-dark) !important;
}

.ty-hp-guides .ty-guide-card p {
    font-size: 14px !important;
    color: var(--ty-text-light) !important;
    margin-bottom: 12px !important;
    line-height: 1.6 !important;
}

/* ============================================================
   11. S8: BRANDS
   ============================================================ */
.ty-brand-label {
    display: block;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ty-text-light);
    margin-bottom: 24px;
}

.ty-brand-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.ty-brand-name {
    font-size: 16px;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.05em;
}

/* ============================================================
   12. S9: TESTIMONIALS
   ============================================================ */
.ty-testi-stars {
    color: var(--ty-accent);
    font-size: 14px;
    margin-bottom: 12px;
}

.ty-testi-text {
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--ty-text);
}

.ty-testi-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ty-text);
}

.ty-testi-product {
    font-size: 12px;
    color: var(--ty-text-light);
    margin-top: 2px;
}

/* ============================================================
   13. S10: BLOG GRID (Homepage)
   ============================================================ */
.ty-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ty-blog-card {
    background: var(--ty-white);
    border-radius: var(--ty-radius-md);
    overflow: hidden;
    box-shadow: var(--ty-shadow-sm);
    transition: var(--ty-transition);
}

.ty-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ty-shadow-lg);
}

.ty-blog-card-img {
    height: 180px;
    overflow: hidden;
    background: var(--ty-bg-alt);
}

.ty-blog-card-img a {
    display: block;
    height: 100%;
}

.ty-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ty-transition);
}

.ty-blog-card:hover .ty-blog-card-img img {
    transform: scale(1.05);
}

.ty-blog-card-body {
    padding: 20px 24px 24px;
}

.ty-blog-card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--ty-text-light);
    margin-bottom: 10px;
}

.ty-blog-card-cat {
    color: var(--ty-primary) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ty-blog-card-body h3 {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--ty-text) !important;
}

.ty-blog-card-body h3 a {
    color: inherit !important;
}

.ty-blog-card-body h3 a:hover {
    color: var(--ty-primary) !important;
}

.ty-blog-card-excerpt {
    font-size: 14px;
    color: var(--ty-text-light);
    line-height: 1.6;
}

/* ============================================================
   14. S11: CTA
   ============================================================ */
.ty-cta-block {
    text-align: center;
}

.ty-cta-title {
    color: var(--ty-white) !important;
    font-family: var(--ty-font-heading) !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    margin-bottom: 12px;
}

.ty-cta-desc {
    color: rgba(255,255,255,0.9) !important;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ============================================================
   15. WOOCOMMERCE OVERRIDES
   ============================================================ */

/* Sale badge */
/* Sale badge — container position */
.badge-container.left.top {
    top: 6px !important;
    left: 12px !important;
}

span.onsale,
.woocommerce span.onsale {
    background: linear-gradient(135deg, #E07A5F, #C65D43) !important;
    color: var(--ty-white) !important;
    font-style: normal !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.3 !important;
    box-shadow: 0 2px 6px rgba(198, 93, 67, 0.35) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
}

/* Shop product list: 4 columns, override Flatsome default */
.woocommerce ul.products,
.woocommerce div.products,
.woocommerce .products.row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    flex-wrap: unset !important;
}

.woocommerce ul.products .ty-product-card,
.woocommerce div.products .ty-product-card,
.woocommerce .products.row .ty-product-card {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    flex: unset !important;
}

/* Shop: hide sidebar, full width grid */
.category-page-row > .col.large-3 {
    display: none !important;
}

.category-page-row > .col.large-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
}

/* Shop product card */
.products .product .box-image {
    border-radius: var(--ty-radius-md) var(--ty-radius-md) 0 0;
    overflow: hidden;
}

/* Product card price */
.woocommerce .price,
.woocommerce .amount {
    color: var(--ty-secondary) !important;
    font-weight: 700;
}

.woocommerce .price del,
.woocommerce .price del *,
.woocommerce del .amount,
.ty-product-card-price del,
.ty-product-card-price del *,
.ty-cross-sell .ty-product-card-price del,
.ty-cross-sell .ty-product-card-price del *,
.ty-related .ty-product-card-price del,
.ty-related .ty-product-card-price del * {
    color: #6B6B6B !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
}

.ty-product-card-price ins,
.ty-cross-sell .ty-product-card-price ins,
.ty-related .ty-product-card-price ins {
    text-decoration: none !important;
}

.ty-product-card-price ins *,
.ty-cross-sell .ty-product-card-price ins *,
.ty-related .ty-product-card-price ins * {
    color: var(--ty-secondary) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* Single product */
.ty-single-product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.ty-single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.ty-product-gallery {
    position: sticky;
    top: 100px;
}

.ty-gallery-main {
    width: 100%;
    border-radius: var(--ty-radius-md);
    overflow: hidden;
    margin-bottom: 12px;
}

.ty-gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--ty-radius-md);
}

.ty-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ty-gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--ty-bg-alt);
    border-radius: var(--ty-radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--ty-transition);
}

.ty-gallery-thumbs img:hover {
    border-color: var(--ty-secondary);
}

.ty-gallery-thumbs img.active {
    border-color: var(--ty-primary);
}

.ty-product-info {
    padding: 0;
}

.ty-product-info h1 {
    font-family: var(--ty-font-heading) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--ty-primary-dark) !important;
    line-height: 1.25;
    margin-bottom: 16px !important;
}

.ty-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ty-product-rating .ty-stars {
    color: var(--ty-accent);
    font-size: 16px;
}

.ty-product-rating .ty-count {
    font-size: 13px;
    color: var(--ty-text-light);
}

.ty-product-price-box {
    background: var(--ty-bg-alt);
    border-radius: var(--ty-radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ty-product-price-box .ty-price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--ty-secondary) !important;
}

.ty-product-price-box .ty-price-old {
    font-size: 16px;
    color: var(--ty-text-light);
    text-decoration: line-through;
}

.ty-price-save {
    display: inline-block;
    background: var(--ty-secondary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.ty-product-short-desc {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Product specs grid */
.ty-product-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.ty-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--ty-bg);
    border-radius: var(--ty-radius-sm);
}

.ty-spec-icon {
    color: var(--ty-primary);
    flex-shrink: 0;
}

.ty-spec-label {
    font-size: 12px;
    color: var(--ty-text-light);
    display: block;
}

.ty-spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-text);
    display: block;
}

/* Product tags */
.ty-product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ty-tag-eco {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: rgba(45,106,79,0.1);
    color: var(--ty-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.ty-tag-align {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: rgba(224,122,95,0.1);
    color: var(--ty-secondary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Add to cart wrapper */
.ty-add-to-cart-wrap {
    margin-bottom: 24px;
}

.ty-add-to-cart-wrap .single_add_to_cart_button {
    background: var(--ty-secondary) !important;
    color: #fff !important;
    border-radius: var(--ty-radius-sm) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding: 14px 32px !important;
    transition: background 0.2s !important;
}

.ty-add-to-cart-wrap .single_add_to_cart_button:hover {
    background: var(--ty-secondary-dark) !important;
}

/* Product trust badges */
.ty-product-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: var(--ty-radius-md);
    border: 1px solid var(--ty-border);
}

.ty-product-trust .ty-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ty-primary-dark);
}

.ty-product-trust .ty-trust-icon {
    width: 36px;
    height: 36px;
    background: rgba(45,106,79,0.08);
    border-radius: var(--ty-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Product tabs */
.ty-product-tabs {
    padding: 60px 0;
    border-top: 1px solid var(--ty-border);
}

.ty-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--ty-border);
    margin-bottom: 32px;
}

.ty-tabs-nav button {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ty-text-light);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--ty-transition);
    font-family: var(--ty-font-body);
}

.ty-tabs-nav button:hover {
    color: var(--ty-primary);
}

.ty-tabs-nav button.active {
    color: var(--ty-primary-dark);
    border-bottom-color: var(--ty-primary);
}

.ty-tab-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--ty-text);
}

.ty-tab-content[hidden] {
    display: none;
}

/* WooCommerce default tabs override */
.woocommerce-tabs .tabs {
    border-bottom: 2px solid var(--ty-border) !important;
}

.woocommerce-tabs .tabs li a {
    color: var(--ty-text-light) !important;
    font-weight: 600 !important;
}

.woocommerce-tabs .tabs li.active a {
    color: var(--ty-primary) !important;
}

/* Specs table (tab) */
.ty-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.ty-specs-table tr {
    border-bottom: 1px solid var(--ty-border);
}

.ty-specs-table td {
    padding: 14px 0;
    font-size: 15px;
}

.ty-specs-table td:first-child {
    font-weight: 600;
    color: var(--ty-primary-dark);
    width: 40%;
}

/* Tab content styling */
.ty-tab-content h3,
.ty-tab-content h4 {
    font-family: var(--ty-font-heading) !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--ty-primary-dark) !important;
    margin-bottom: 16px !important;
}

.ty-tab-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 16px;
}

.ty-tab-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.ty-tab-content ul li {
    font-size: 15px;
    line-height: 2;
    color: #4A4A4A;
}

/* Review summary */
.ty-review-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--ty-bg-alt);
    border-radius: var(--ty-radius-md);
}

.ty-review-score {
    font-size: 48px;
    font-weight: 700;
    color: var(--ty-primary-dark);
    line-height: 1;
}

/* Cross-sell / related sections */
.ty-cross-sell {
    padding: 60px 0;
}

.ty-cross-sell.ty-section-alt {
    background: var(--ty-bg-alt);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.ty-single-product .ty-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.ty-single-product .ty-section-title h2 {
    font-family: var(--ty-font-heading) !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    color: var(--ty-primary-dark) !important;
    margin-bottom: 8px !important;
}

.ty-single-product .ty-section-title p {
    color: var(--ty-text-light);
    font-size: 15px;
}

.ty-product-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ty-product-card-cat {
    font-size: 11px;
    color: var(--ty-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 4px;
}

.ty-product-grid-auto {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Custom product card (shortcode output) */
.ty-product-card {
    background: var(--ty-white);
    border-radius: var(--ty-radius-md);
    overflow: hidden;
    box-shadow: var(--ty-shadow-sm);
    transition: var(--ty-transition);
}

.ty-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ty-shadow-lg);
}

.ty-product-card-img {
    width: 100%;
    overflow: hidden;
    background: var(--ty-bg-alt);
    position: relative;
    aspect-ratio: 1 / 1;
}

.ty-product-card-img a {
    display: block;
    height: 100%;
    width: 100%;
}

.ty-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ty-secondary);
    color: var(--ty-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.05em;
    z-index: 2;
}

.ty-product-badge-sale {
    background: var(--ty-secondary);
}

.ty-product-card-info {
    padding: 16px 20px 20px;
}

.ty-product-card-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--ty-text) !important;
}

.ty-product-card-title a {
    color: inherit !important;
}

.ty-product-card-title a:hover {
    color: var(--ty-primary) !important;
}

.ty-product-card-specs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ty-text-light);
    margin-bottom: 10px;
}

.ty-product-card-specs svg {
    flex-shrink: 0;
}

.ty-product-card-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ty-product-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

/* "Xem chi tiết" button on product card */
.ty-btn-detail {
    display: inline-block;
    padding: 9px 20px;
    border: 2px solid var(--ty-primary);
    color: var(--ty-primary) !important;
    border-radius: var(--ty-radius-sm);
    font-weight: 600;
    font-size: 13px;
    transition: var(--ty-transition);
    text-decoration: none !important;
}

.ty-btn-detail:hover {
    background: var(--ty-primary);
    color: #fff !important;
}

.ty-price-old,
.ty-price-old *,
.ty-price-old .woocommerce-Price-amount,
.ty-price-old .amount,
.ty-price-old bdi {
    font-size: 14px !important;
    color: #6B6B6B !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
}

.ty-price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--ty-secondary) !important;
}

.ty-product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--ty-accent);
}

.ty-review-count {
    color: var(--ty-text-light);
}

/* Product grid shortcode */
.ty-product-grid-shortcode {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Add to cart row — mockup: flex row, qty + button */
.ty-add-to-cart-wrap .cart {
    display: flex !important;
    gap: 12px !important;
    align-items: stretch !important;
}

/* Quantity selector — unified border box */
.ty-add-to-cart-wrap .quantity.buttons_added,
.ty-add-to-cart-wrap .ux-quantity {
    display: flex !important;
    align-items: center !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    overflow: hidden !important;
    background: #fff !important;
    height: 48px !important;
    box-shadow: none !important;
}

.ty-add-to-cart-wrap .quantity.buttons_added *,
.ty-add-to-cart-wrap .ux-quantity * {
    box-shadow: none !important;
    outline: none !important;
}

.ty-add-to-cart-wrap .minus,
.ty-add-to-cart-wrap .plus,
.ty-add-to-cart-wrap .ux-quantity .minus,
.ty-add-to-cart-wrap .ux-quantity .plus {
    width: 40px !important;
    height: 48px !important;
    min-height: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--ty-text) !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    line-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.ty-add-to-cart-wrap .minus:hover,
.ty-add-to-cart-wrap .plus:hover,
.ty-add-to-cart-wrap .ux-quantity .minus:hover,
.ty-add-to-cart-wrap .ux-quantity .plus:hover {
    background: var(--ty-bg-alt) !important;
    color: var(--ty-text) !important;
    border: none !important;
}

.ty-add-to-cart-wrap input.qty,
.ty-add-to-cart-wrap .ux-quantity input.qty,
.ty-add-to-cart-wrap .quantity .qty {
    width: 48px !important;
    height: 44px !important;
    border: none !important;
    border-left: 1px solid var(--ty-border) !important;
    border-right: 1px solid var(--ty-border) !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: var(--ty-font-body) !important;
    color: var(--ty-text) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    -moz-appearance: textfield !important;
    box-shadow: none !important;
}

.ty-add-to-cart-wrap input.qty::-webkit-outer-spin-button,
.ty-add-to-cart-wrap input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to cart button */
.ty-add-to-cart-wrap .single_add_to_cart_button {
    flex: 1 !important;
    height: 48px !important;
    padding: 0 32px !important;
    background: var(--ty-secondary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--ty-radius-sm) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    font-family: var(--ty-font-body) !important;
    transition: background 0.2s !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ty-add-to-cart-wrap .single_add_to_cart_button:hover {
    background: var(--ty-secondary-dark) !important;
}

/* Fallback for pages outside single product */
.woocommerce .single_add_to_cart_button {
    background: var(--ty-secondary) !important;
    color: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    font-family: var(--ty-font-body) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 14px 32px !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: var(--ty-transition);
}

.woocommerce .single_add_to_cart_button:hover {
    background: var(--ty-secondary-dark) !important;
}

/* Cart & forms */
.woocommerce-cart .cart_totals .checkout-button,
.woocommerce .checkout-button {
    background: var(--ty-secondary) !important;
    color: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    font-weight: 600 !important;
}

.woocommerce-cart .cart_totals .checkout-button:hover,
.woocommerce .checkout-button:hover {
    background: var(--ty-secondary-dark) !important;
}

/* Form inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce textarea,
.woocommerce select {
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 12px 16px !important;
    font-family: var(--ty-font-body) !important;
    font-size: 14px !important;
    color: var(--ty-text) !important;
    background: var(--ty-white) !important;
    transition: var(--ty-transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce input:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
    border-color: var(--ty-primary) !important;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1) !important;
    outline: none !important;
}

/* ============================================================
   16. BLOG TEMPLATES
   ============================================================ */

/* Blog listing page */
/* Blog page title */
.ty-blog-page-title {
    text-align: center;
    padding: 24px 0 40px;
}

.ty-blog-page-title h1 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 10px !important;
}

.ty-blog-page-title p {
    color: var(--ty-text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog breadcrumb */
.ty-breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--ty-text-light);
}

.ty-breadcrumb a {
    color: var(--ty-primary);
    font-weight: 500;
    text-decoration: none;
}

.ty-breadcrumb a:hover {
    text-decoration: underline;
}

.ty-breadcrumb .sep {
    margin: 0 8px;
    color: #aaa;
}

/* CTA banner */
.ty-cta-banner {
    background: linear-gradient(135deg, var(--ty-primary), var(--ty-primary-dark));
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 48px;
}

.ty-cta-banner h3 {
    color: var(--ty-white) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.ty-cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin-bottom: 20px;
}

.ty-btn-accent {
    display: inline-block;
    padding: 12px 32px;
    background: var(--ty-secondary) !important;
    color: #fff !important;
    border-radius: var(--ty-radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: var(--ty-transition);
    text-decoration: none !important;
}

.ty-btn-accent:hover {
    background: var(--ty-secondary-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.ty-blog-listing {
    padding: 0 0 80px;
}

.ty-blog-listing > .container {
    max-width: 1200px !important;
}

.ty-blog-listing-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.ty-blog-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Blog listing card (horizontal) */
.ty-blog-list-card {
    display: flex;
    background: var(--ty-white);
    border-radius: var(--ty-radius-md);
    overflow: hidden;
    box-shadow: var(--ty-shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.ty-blog-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(27,67,50,0.16);
}

.ty-blog-list-card-img {
    width: 280px;
    min-width: 280px;
    min-height: 220px;
    overflow: hidden;
    background: var(--ty-bg-alt);
    position: relative;
}

.ty-blog-list-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.ty-blog-list-card:hover .ty-blog-list-card-img img {
    transform: scale(1.05);
}

.ty-blog-list-card-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ty-blog-list-card-body h2 {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--ty-text) !important;
}

.ty-blog-list-card-body h2 a {
    color: inherit !important;
    text-decoration: none;
}

.ty-blog-list-card-body h2 a:hover {
    color: var(--ty-primary) !important;
}

/* Blog card excerpt */
.ty-blog-card-excerpt {
    font-size: 14px;
    color: var(--ty-text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog card readmore */
.ty-blog-readmore {
    margin-top: auto;
    padding-top: 12px;
}

.ty-blog-readmore a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-primary);
    text-decoration: none;
}

.ty-blog-readmore a:hover {
    color: var(--ty-secondary);
}

/* Blog card cat badge */
.ty-blog-card-cat {
    display: inline-block;
    background: #E8F5E9;
    color: var(--ty-primary) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px !important;
    text-decoration: none;
}

/* Reading time */
.ty-reading-time {
    font-size: 12px;
    color: var(--ty-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Single post layout */
.ty-single-page {
    padding-bottom: 60px;
}

.ty-single-page > .container {
    max-width: 1200px !important;
}

.ty-single-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
    padding: 30px 0 0;
}

.ty-single-post-header {
    text-align: left;
    margin-bottom: 28px;
}

.ty-post-cat-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(45,106,79,0.1);
    color: var(--ty-primary) !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    text-decoration: none;
}

.ty-single-post-header h1 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 16px;
    line-height: 1.2;
}

.ty-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--ty-text-light);
    flex-wrap: wrap;
}

.ty-post-meta svg {
    vertical-align: -2px;
    margin-right: 4px;
}

.ty-single-post-featured {
    border-radius: var(--ty-radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.ty-single-post-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.ty-single-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ty-text);
    margin-bottom: 36px;
}

.ty-single-post-content h2 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ty-border);
}

.ty-single-post-content h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-top: 32px;
    margin-bottom: 12px;
}

.ty-single-post-content p {
    margin-bottom: 16px;
}

.ty-single-post-content img {
    border-radius: var(--ty-radius-sm);
    max-width: 100%;
    height: auto;
}

.ty-single-post-content ul,
.ty-single-post-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.ty-single-post-content li {
    margin-bottom: 8px;
}

.ty-single-post-content blockquote {
    border-left: 4px solid var(--ty-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--ty-bg);
    border-radius: 0 var(--ty-radius-sm) var(--ty-radius-sm) 0;
    font-style: italic;
    color: var(--ty-text);
}

/* Table of Contents */
.ty-toc {
    background: var(--ty-bg);
    border: 1px solid var(--ty-border);
    border-radius: var(--ty-radius-md);
    padding: 24px;
    margin-bottom: 32px;
}

.ty-toc h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 12px;
}

.ty-toc ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
}

.ty-toc ol li {
    margin-bottom: 8px;
}

.ty-toc ol li a {
    font-size: 14px;
    color: var(--ty-primary);
    font-weight: 500;
}

.ty-toc ol li a:hover {
    color: var(--ty-primary-dark);
    text-decoration: underline;
}

/* Share buttons */
.ty-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--ty-border);
    border-bottom: 1px solid var(--ty-border);
    margin: 32px 0;
}

.ty-share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-text);
}

.ty-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--ty-bg-alt);
    color: var(--ty-primary);
    transition: all 0.2s;
    text-decoration: none;
}

.ty-share a:hover {
    background: var(--ty-primary);
    color: var(--ty-white);
}

/* Author box */
.ty-author-box {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 24px;
    background: var(--ty-bg-alt);
    border-radius: var(--ty-radius-md);
    margin-bottom: 32px;
}

.ty-author-box img,
.ty-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ty-author-avatar {
    background: var(--ty-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-white);
    font-size: 24px;
    font-weight: 700;
}

.ty-author-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 4px;
}

.ty-author-bio {
    font-size: 14px;
    color: var(--ty-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Post navigation */
.ty-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

.ty-post-nav a {
    display: block;
    padding: 20px;
    background: var(--ty-white);
    border: 1px solid var(--ty-border);
    border-radius: var(--ty-radius-md);
    transition: all 0.2s;
    text-decoration: none;
}

.ty-post-nav a:hover {
    border-color: var(--ty-primary);
    box-shadow: 0 4px 16px rgba(27,67,50,0.1);
}

.ty-post-nav-label {
    display: block;
    font-size: 12px;
    color: var(--ty-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    font-weight: 600;
}

.ty-post-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-dark);
    line-height: 1.4;
}

/* Related posts */
.ty-related-posts {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--ty-border);
}

.ty-related-posts h3 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 20px;
}

.ty-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Sidebar */
.ty-sidebar {
    position: sticky;
    top: 80px;
}

.ty-sidebar-widget {
    background: var(--ty-white);
    border-radius: var(--ty-radius-md);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--ty-shadow-sm);
}

.ty-sidebar-widget h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ty-border);
}

.ty-sidebar-search {
    position: relative;
}

.ty-sidebar-search form {
    position: relative;
}

.ty-sidebar-search input {
    width: 100%;
    padding: 12px 44px 12px 16px !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    background: var(--ty-bg) !important;
    outline: none !important;
}

.ty-sidebar-search input:focus {
    border-color: var(--ty-primary) !important;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1) !important;
}

.ty-sidebar-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--ty-text-light);
}

.ty-sidebar-search button:hover {
    color: var(--ty-primary);
}

.ty-sidebar-search button svg {
    width: 20px;
    height: 20px;
}

/* Sidebar CTA */
.ty-sidebar-cta {
    background: linear-gradient(135deg, #2D6A4F, #1B4332) !important;
    color: var(--ty-white) !important;
    text-align: center;
    border-radius: var(--ty-radius-md);
    padding: 28px 24px;
}

.ty-sidebar-cta h4 {
    color: var(--ty-white) !important;
    border-bottom: none !important;
    font-size: 20px !important;
    margin-bottom: 8px !important;
}

.ty-sidebar-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ty-sidebar-cta .ty-btn-cta {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    background: var(--ty-secondary);
    color: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.ty-sidebar-cta .ty-btn-cta:hover {
    background: #d4694f;
}

/* Sidebar links (dark text on white bg) */
.ty-sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ty-sidebar-links li {
    margin-bottom: 0;
}

.ty-sidebar-links li a {
    font-size: 14px;
    color: var(--ty-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F0EBE4;
    transition: color 0.2s;
    text-decoration: none;
}

.ty-sidebar-links li a:hover {
    color: var(--ty-primary);
}

.ty-sidebar-links li:last-child a {
    border-bottom: none;
}

.ty-sidebar-count {
    background: var(--ty-bg-alt);
    color: var(--ty-text-light);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
}

/* Mini products */
.ty-mini-product {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0EBE4;
}

.ty-mini-product:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ty-mini-product-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--ty-bg-alt);
}

.ty-mini-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-mini-product-info {
    flex: 1;
}

.ty-mini-product-info a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-text);
    display: block;
    line-height: 1.3;
    margin-bottom: 4px;
    text-decoration: none;
}

.ty-mini-product-info a:hover {
    color: var(--ty-primary);
}

.ty-mini-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--ty-secondary);
}

/* Pagination */
.ty-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.ty-pagination a,
.ty-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--ty-radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--ty-border);
    color: var(--ty-text);
    transition: all 0.2s;
    text-decoration: none;
}

.ty-pagination a:hover {
    border-color: var(--ty-primary);
    color: var(--ty-primary);
}

.ty-pagination span.current,
.ty-pagination .current {
    background: var(--ty-primary);
    color: var(--ty-white);
    border-color: var(--ty-primary);
}

.ty-pagination .prev,
.ty-pagination .next {
    width: auto;
    padding: 0 14px;
}

/* ============================================================
   17. FOOTER (uses Flatsome [section][row][col])
   ============================================================ */
.ty-footer-heading {
    color: #fff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.ty-footer-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8) !important;
    margin-bottom: 8px;
}

.ty-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.ty-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--ty-white);
    transition: var(--ty-transition);
}

.ty-footer-social a:hover {
    background: var(--ty-secondary);
}

/* Footer links (white text on dark bg) */
.ty-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ty-footer-links li {
    margin-bottom: 10px;
}

.ty-footer-links li a {
    color: rgba(255,255,255,0.8) !important;
    font-size: 14px;
    transition: var(--ty-transition);
}

.ty-footer-links li a:hover {
    color: var(--ty-white) !important;
}

.ty-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ty-footer-contact li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.8) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ty-footer-contact li a {
    color: rgba(255,255,255,0.8) !important;
}

.ty-footer-contact li a:hover {
    color: #fff !important;
}

.ty-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.ty-footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.6) !important;
}

/* ============================================================
   17d. GUIDE PAGE (Hướng dẫn chọn thảm)
   ============================================================ */

/* --- Hero Guide --- */
.ty-hero-guide .section-bg.bg-fill {
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%) !important;
}

.ty-hero-guide {
    position: relative;
    overflow: hidden;
}

.ty-hero-guide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244,162,97,0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.ty-hero-guide::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(224,122,95,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.ty-hero-guide .section-content {
    position: relative;
    z-index: 1;
}

.ty-guide-label {
    display: inline-block;
    color: var(--ty-accent) !important;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(244,162,97,0.4);
    padding: 6px 20px;
    border-radius: 30px;
}

.ty-guide-hero-title {
    color: #fff !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
}

.ty-guide-hero-desc {
    color: rgba(255,255,255,0.85) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    max-width: 600px;
    margin: 0 auto !important;
}

/* --- Section title --- */
.ty-guide-section-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

.ty-guide-section-desc {
    color: var(--ty-text-light) !important;
    font-size: 16px !important;
    max-width: 600px;
    margin: 0 auto 48px !important;
}

/* --- Guide Cards --- */
.ty-guide-card {
    display: block;
    background: var(--ty-white);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 2px 12px rgba(27,67,50,0.06);
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45,106,79,0.06);
    text-decoration: none !important;
    color: inherit !important;
    height: 100%;
}

.ty-guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2D6A4F, #F4A261);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.ty-guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27,67,50,0.14);
}

.ty-guide-card:hover::before {
    transform: scaleX(1);
}

.ty-guide-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.ty-guide-icon-green { background: rgba(45,106,79,0.1); color: #2D6A4F; }
.ty-guide-icon-coral { background: rgba(224,122,95,0.1); color: #E07A5F; }
.ty-guide-icon-amber { background: rgba(244,162,97,0.1); color: #F4A261; }

.ty-guide-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 10px !important;
    margin-top: 0 !important;
}

.ty-guide-card p {
    font-size: 14px !important;
    color: var(--ty-text-light) !important;
    line-height: 1.75 !important;
    margin-bottom: 16px !important;
}

.ty-guide-readmore {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.ty-guide-card:hover .ty-guide-readmore {
    gap: 10px;
}

/* --- Comparison Table --- */
.ty-table-wrapper {
    background: var(--ty-white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(27,67,50,0.08);
    max-width: 960px;
    margin: 0 auto;
}

.ty-table-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    text-align: center;
    color: var(--ty-dark) !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

.ty-table-subtitle {
    text-align: center;
    color: var(--ty-text-light) !important;
    font-size: 15px !important;
    margin-bottom: 32px !important;
}

.ty-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ty-comparison-table thead tr {
    background: var(--ty-primary);
}

.ty-comparison-table thead th {
    padding: 14px 16px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ty-comparison-table thead th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.ty-comparison-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.ty-comparison-table thead th:not(:first-child) {
    text-align: center;
}

.ty-comparison-table tbody tr {
    border-bottom: 1px solid #F0E8E0;
    transition: background 0.2s ease;
}

.ty-comparison-table tbody tr:hover {
    background: rgba(45,106,79,0.03);
}

.ty-comparison-table tbody tr:last-child {
    border-bottom: none;
}

.ty-comparison-table td {
    padding: 14px 16px;
}

.ty-comparison-table td:first-child {
    font-weight: 600;
    color: var(--ty-dark);
}

.ty-comparison-table td:not(:first-child) {
    text-align: center;
}

.ty-stars { color: var(--ty-accent); letter-spacing: 1px; }
.ty-eco-yes { color: var(--ty-primary); font-weight: 700; font-size: 16px; }
.ty-eco-no { color: #ccc; font-size: 16px; }
.ty-price { font-weight: 500; color: var(--ty-secondary); }
.ty-fit { font-size: 13px; color: var(--ty-text-light); }

.ty-table-note {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}

/* --- CTA Dark (#163728 — tối hơn footer #1B4332 để phân biệt) --- */
/* --- 17d-3. Guide Products Section --- */
.ty-guide-products-section {
    background: var(--ty-bg) !important;
}

.ty-btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--ty-primary);
    color: #fff !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.ty-btn-view-all:hover {
    background: var(--ty-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,106,79,0.3);
}

/* --- 17d-4. CTA Dark Section --- */
.ty-cta-dark {
    position: relative;
    overflow: hidden;
}

.ty-cta-dark .section-bg.bg-fill {
    background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 100%) !important;
}

.ty-cta-dark::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244,162,97,0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.ty-cta-dark .section-content {
    position: relative;
    z-index: 1;
}

.ty-cta-dark-title {
    color: #fff !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

.ty-cta-dark-desc {
    color: rgba(255,255,255,0.85) !important;
    font-size: 17px !important;
    margin-bottom: 36px !important;
    line-height: 1.7 !important;
}

.ty-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ty-btn-zalo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--ty-secondary);
    color: #fff !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.ty-btn-zalo:hover {
    background: #d0694f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224,122,95,0.4);
}

.ty-btn-phone-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border: 2px solid #fff;
    color: #fff !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
    background: transparent;
}

.ty-btn-phone-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* --- Guide responsive --- */
@media (max-width: 849px) {
    .ty-guide-hero-title {
        font-size: 36px !important;
    }
    .ty-table-wrapper {
        padding: 24px 16px;
    }
    .ty-table-title {
        font-size: 26px !important;
    }
    .ty-comparison-table {
        font-size: 12px;
    }
    .ty-comparison-table thead th,
    .ty-comparison-table td {
        padding: 10px 8px;
    }
    .ty-fit {
        font-size: 11px;
    }
    .ty-cta-dark-title {
        font-size: 30px !important;
    }
}

@media (max-width: 549px) {
    .ty-guide-hero-title {
        font-size: 32px !important;
    }
    .ty-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .ty-btn-zalo,
    .ty-btn-phone-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    .ty-cta-dark-title {
        font-size: 28px !important;
    }
    .ty-comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ============================================================
   17b. CONTACT PAGE
   ============================================================ */

/* --- Hero gradient (mockup: 135deg #1B4332 → #2D6A4F) --- */
.ty-hero-contact .section-bg.bg-fill {
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%) !important;
}

/* --- Padding top/bottom khớp mockup --- */
.ty-hero-contact > .section-content {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
}

.ty-contact-section > .section-content {
    padding-top: 60px !important;
    padding-bottom: 80px !important;
}

.ty-contact-heading {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-bottom: 16px !important;
    line-height: 1.2 !important;
}

.ty-contact-subtitle {
    font-size: 17px !important;
    color: rgba(255,255,255,0.85) !important;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7 !important;
}

/* --- Contact grid: stretch cols to equal height --- */
.ty-contact-row .row {
    align-items: stretch !important;
}

/* --- Info cards wrapper (fills left column height) --- */
.ty-contact-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

/* --- Individual info card --- */
.ty-contact-card-item {
    flex: 1;
    background: var(--ty-white);
    border-radius: var(--ty-radius-md);
    padding: 32px;
    box-shadow: var(--ty-shadow-sm);
    margin-bottom: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ty-contact-card-item:last-child {
    margin-bottom: 0;
}

.ty-contact-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(27,67,50,0.16);
}

/* --- Icon squares --- */
.ty-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.ty-contact-icon-phone {
    background-color: rgba(224,122,95,0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E07A5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E");
}

.ty-contact-icon-email {
    background-color: rgba(45,106,79,0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.ty-contact-icon-zalo {
    background-color: rgba(0,104,255,0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230068FF'%3E%3Cpath d='M12 0C5.373 0 0 5.037 0 11.25c0 3.537 1.8 6.675 4.613 8.737V24l3.862-2.138c1.05.3 2.175.388 3.525.388 6.627 0 12-5.037 12-11.25S18.627 0 12 0zm1.238 15.15l-3.075-3.263-5.85 3.263L10.425 8.7h3.075l-3.375 3.6 5.963-3.6-3.85 6.45z'/%3E%3C/svg%3E");
}

/* --- Card typography --- */
.ty-contact-card-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

.ty-contact-value {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    margin-top: 0 !important;
}

.ty-contact-link-phone { color: var(--ty-secondary) !important; }
.ty-contact-link-phone:hover { opacity: 0.8; }
.ty-contact-link-email { color: var(--ty-primary) !important; font-size: 17px !important; }
.ty-contact-link-email:hover { opacity: 0.8; }
.ty-contact-link-zalo { color: #0068FF !important; font-size: 17px !important; }
.ty-contact-link-zalo:hover { opacity: 0.8; }

.ty-contact-detail {
    font-size: 14px !important;
    color: var(--ty-text-light) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* --- Form card --- */
.ty-contact-form-col .col-inner {
    border-radius: var(--ty-radius-md) !important;
}

.ty-contact-form-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

.ty-contact-form-subtitle {
    font-size: 15px !important;
    color: var(--ty-text-light) !important;
    margin-bottom: 32px !important;
    margin-top: 0 !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    min-height: 48px !important;
    border: 1.5px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-md) !important;
    background: var(--ty-bg) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

.wpcf7 select {
    width: 100% !important;
    padding: 14px 40px 14px 16px !important;
    min-height: 48px !important;
    border: 1.5px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-md) !important;
    background: var(--ty-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    transition: var(--ty-transition) !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--ty-primary) !important;
    background: var(--ty-white) !important;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1) !important;
    outline: none !important;
}

.wpcf7 input[type="submit"] {
    background: var(--ty-secondary) !important;
    color: var(--ty-white) !important;
    border: none !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 14px 32px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    transition: var(--ty-transition) !important;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--ty-primary) !important;
    transform: translateY(-2px) !important;
}

/* CF7 form layout */
.ty-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.ty-form-field-full {
    margin-bottom: 16px;
}

.ty-form-label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-text);
    margin-bottom: 6px;
}

.ty-form-submit {
    margin-top: 20px;
}

.ty-form-btn,
.wpcf7 input[type="submit"],
.wpcf7-form input[type="submit"],
input.wpcf7-form-control.wpcf7-submit {
    display: inline-block !important;
    background: var(--ty-secondary) !important;
    color: var(--ty-white) !important;
    border: none !important;
    border-radius: var(--ty-radius-md) !important;
    padding: 16px 36px !important;
    min-height: auto !important;
    height: auto !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
}

.ty-form-btn:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover,
input.wpcf7-form-control.wpcf7-submit:hover {
    background: #c9654a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(224,122,95,0.3) !important;
}

.wpcf7 textarea {
    min-height: 140px !important;
    resize: vertical !important;
}

@media (max-width: 849px) {
    .ty-hero-contact > .section-content {
        padding-top: 60px !important;
        padding-bottom: 48px !important;
    }
    .ty-contact-section > .section-content {
        padding-top: 40px !important;
        padding-bottom: 60px !important;
    }
    .ty-contact-heading {
        font-size: 36px !important;
    }
    /* Tablet: horizontal scroll cards (like mockup) */
    .ty-contact-cards-wrap {
        flex-direction: row !important;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 8px;
    }
    .ty-contact-card-item {
        min-width: 240px;
        flex-shrink: 0;
        padding: 24px;
        margin-bottom: 0 !important;
    }
    .ty-contact-form-subtitle {
        margin-bottom: 24px !important;
    }
}

@media (max-width: 549px) {
    .ty-hero-contact > .section-content {
        padding-top: 48px !important;
        padding-bottom: 40px !important;
    }
    .ty-contact-section > .section-content {
        padding-top: 32px !important;
        padding-bottom: 48px !important;
    }
    .ty-contact-heading {
        font-size: 32px !important;
    }
    .ty-form-row {
        grid-template-columns: 1fr;
    }
    /* Mobile: stack cards vertically again */
    .ty-contact-cards-wrap {
        flex-direction: column !important;
        overflow-x: visible;
    }
    .ty-contact-card-item {
        min-width: auto;
        flex-shrink: 1;
        padding: 24px;
        margin-bottom: 16px !important;
    }
    .ty-contact-card-item:last-child {
        margin-bottom: 0 !important;
    }
}

/* ============================================================
   17c. ABOUT PAGE
   ============================================================ */

/* --- Hero About --- */
.ty-about-heading {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    line-height: 1.15 !important;
    margin-bottom: 32px !important;
    margin-top: 0 !important;
}

.ty-about-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--ty-secondary);
    border-radius: 2px;
    margin-top: 16px;
}

.ty-about-text {
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: var(--ty-text) !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}

.ty-about-text strong {
    color: var(--ty-dark) !important;
}

.ty-about-text-last {
    margin-bottom: 0 !important;
}

/* --- About image with decorative border offset --- */
.ty-about-img-wrap {
    background: var(--ty-bg-alt);
    border-radius: 16px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ty-about-img-wrap::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--ty-primary);
    border-radius: 16px;
    z-index: -1;
}

.ty-about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* --- Section title (about page context only) --- */
.ty-about-section .ty-section-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 48px !important;
    margin-top: 0 !important;
    text-align: center;
}

/* --- Commitment cards --- */
.ty-commit-card {
    background: var(--ty-white);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(27,67,50,0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.ty-commit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27,67,50,0.12);
}

.ty-commit-icon {
    width: 64px;
    height: 64px;
    background: var(--ty-bg);
    border: 2px solid var(--ty-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ty-commit-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

.ty-commit-desc {
    font-size: 15px !important;
    color: var(--ty-text-light) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* --- Stats --- */
.ty-stat-item {
    padding: 32px 16px;
}

.ty-stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--ty-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.ty-stat-label {
    font-size: 15px;
    color: var(--ty-text-light);
    line-height: 1.5;
}

.ty-stat-divider {
    width: 40px;
    height: 3px;
    background: var(--ty-secondary);
    border-radius: 2px;
    margin: 12px auto 0;
}

/* --- About page responsive --- */
@media (max-width: 849px) {
    .ty-about-heading {
        font-size: 36px !important;
    }
    .ty-about-img-wrap {
        height: 300px;
    }
    .ty-about-section .ty-section-title {
        font-size: 30px !important;
        margin-bottom: 32px !important;
    }
    .ty-stat-number {
        font-size: 44px;
    }
}

@media (max-width: 549px) {
    .ty-about-heading {
        font-size: 32px !important;
        margin-bottom: 24px !important;
    }
    .ty-about-img-wrap {
        height: 280px;
    }
    .ty-about-img-wrap::after {
        display: none;
    }
    .ty-about-section .ty-section-title {
        font-size: 28px !important;
        margin-bottom: 24px !important;
    }
    .ty-commit-card {
        padding: 32px 24px;
    }
    .ty-stat-number {
        font-size: 40px;
    }
    .ty-stat-item {
        padding: 20px 12px;
    }
}

/* ============================================================
   17e. POLICY PAGES (Đổi trả, Vận chuyển, Bảo hành)
   ============================================================ */
.ty-policy-section {
    background: var(--ty-bg) !important;
}

.ty-policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.ty-policy-card {
    background: #fff;
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: 0 2px 12px rgba(27,67,50,0.08);
    line-height: 1.8;
}

.ty-policy-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    text-align: center;
    color: var(--ty-primary-dark) !important;
    margin-bottom: 32px !important;
    margin-top: 0 !important;
}

.ty-policy-card h3 {
    color: var(--ty-primary) !important;
    font-family: var(--ty-font-body) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 28px !important;
    margin-bottom: 12px !important;
}

.ty-policy-card h3:first-of-type {
    margin-top: 0 !important;
}

.ty-policy-card ul,
.ty-policy-card ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.ty-policy-card li {
    margin-bottom: 6px;
    font-size: 15px;
}

.ty-policy-card p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* --- Policy Tables --- */
.ty-policy-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.ty-policy-table thead th {
    background: var(--ty-primary);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ty-policy-table tbody td {
    padding: 14px 16px;
    font-size: 15px;
    border-bottom: 1px solid var(--ty-border);
}

.ty-policy-table tbody tr:last-child td {
    border-bottom: none;
}

.ty-policy-table tbody tr:nth-child(even) {
    background: #FDFAF6;
}

.ty-highlight {
    color: var(--ty-primary);
    font-weight: 600;
}

/* --- Policy Responsive --- */
@media (max-width: 849px) {
    .ty-policy-card {
        padding: 32px 24px;
    }
    .ty-policy-title {
        font-size: 30px !important;
    }
}

@media (max-width: 549px) {
    .ty-policy-card {
        padding: 28px 20px;
    }
    .ty-policy-title {
        font-size: 28px !important;
        margin-bottom: 24px !important;
    }
    .ty-policy-table thead th,
    .ty-policy-table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ============================================================
   18. FLOATING WIDGETS
   ============================================================ */
.ty-floating-zalo {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 999;
}

.ty-floating-zalo a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0068FF;
    color: var(--ty-white) !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,104,255,0.3);
    transition: var(--ty-transition);
}

.ty-floating-zalo a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,104,255,0.4);
}

.ty-floating-phone {
    position: fixed;
    bottom: 40px;
    right: 24px;
    z-index: 999;
}

.ty-floating-phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--ty-secondary);
    color: var(--ty-white) !important;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(224,122,95,0.3);
    transition: var(--ty-transition);
    animation: ty-phone-ring 2s infinite;
}

.ty-floating-phone a:hover {
    transform: scale(1.1);
}

@keyframes ty-phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(0deg); }
}

/* Mobile bottom bar */
.ty-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--ty-white);
    border-top: 1px solid var(--ty-border);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}

.ty-mobile-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ty-mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    font-size: 11px;
    color: var(--ty-text-light);
    text-decoration: none;
}

.ty-mobile-bar-item.active {
    color: var(--ty-primary);
}

.ty-mobile-bar-item svg {
    width: 22px;
    height: 22px;
}

/* ============================================================
   19. UTILITY PAGES (404, Search)
   ============================================================ */

/* --- 404 Page --- */
.ty-404 {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.ty-404-icon {
    margin-bottom: 24px;
    opacity: 0.6;
}

.ty-404 h1 {
    font-size: 100px !important;
    font-weight: 800 !important;
    color: var(--ty-primary) !important;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.ty-404 h2 {
    font-size: 24px !important;
    color: var(--ty-dark) !important;
    margin-bottom: 12px;
    font-weight: 600 !important;
}

.ty-404 > p {
    color: var(--ty-text-light);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.ty-404-search {
    max-width: 440px;
    margin: 0 auto 28px;
    display: flex;
    align-items: stretch;
    border: 2px solid var(--ty-border);
    border-radius: var(--ty-radius-md);
    overflow: hidden;
    transition: border-color 0.2s;
}

.ty-404-search:focus-within {
    border-color: var(--ty-primary);
}

.ty-404-search input[type="search"] {
    flex: 1;
    padding: 12px 16px !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    font-family: var(--ty-font-body) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    outline: none !important;
    background: #fff !important;
    -webkit-appearance: none !important;
    height: auto !important;
}

.ty-404-search button {
    padding: 12px 16px !important;
    margin: 0 !important;
    background: var(--ty-primary) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1.4 !important;
    height: auto !important;
    flex-shrink: 0;
}

.ty-404-search button:hover {
    background: var(--ty-primary-dark) !important;
}

.ty-404-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ty-404-suggest {
    border-top: 1px solid var(--ty-border);
    padding-top: 28px;
}

.ty-404-suggest-label {
    font-size: 13px;
    color: var(--ty-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.ty-404-suggest ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.ty-404-suggest li a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--ty-bg-alt);
    border-radius: 20px;
    font-size: 13px;
    color: var(--ty-dark) !important;
    text-decoration: none !important;
    transition: var(--ty-transition);
}

.ty-404-suggest li a:hover {
    background: var(--ty-primary);
    color: #fff !important;
}

/* --- Search Page --- */
.ty-search-page {
    padding: 40px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.ty-search-header {
    text-align: center;
    margin-bottom: 40px;
}

.ty-search-header h1 {
    font-size: 32px !important;
    color: var(--ty-dark) !important;
    margin-bottom: 8px;
}

.ty-search-query {
    color: var(--ty-text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.ty-search-form-large {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.ty-search-form-large input[type="search"] {
    flex: 1;
    padding: 14px 20px !important;
    margin: 0 !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    font-family: var(--ty-font-body) !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    height: auto !important;
    box-shadow: none !important;
}

.ty-search-form-large input[type="search"]:focus {
    border-color: var(--ty-primary) !important;
    outline: none !important;
}

.ty-search-form-large button {
    padding: 14px 28px !important;
    margin: 0 !important;
    background: var(--ty-primary) !important;
    color: var(--ty-white) !important;
    border: none !important;
    border-radius: var(--ty-radius-sm) !important;
    font-family: var(--ty-font-body);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4 !important;
    height: auto !important;
    cursor: pointer;
    transition: var(--ty-transition);
}

.ty-search-form-large button:hover {
    background: var(--ty-primary-dark) !important;
}

.ty-search-count {
    text-align: center;
    color: var(--ty-text-light);
    font-size: 14px;
    margin-bottom: 32px;
}

.ty-search-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ty-search-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: var(--ty-radius-md);
    border: 1px solid var(--ty-border);
    text-decoration: none !important;
    transition: var(--ty-transition);
}

.ty-search-item:hover {
    border-color: var(--ty-primary);
    box-shadow: var(--ty-shadow-sm);
}

.ty-search-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--ty-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--ty-bg-alt);
}

.ty-search-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-search-item-info {
    flex: 1;
    min-width: 0;
}

.ty-search-item-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ty-primary);
    margin-bottom: 4px;
}

.ty-search-item-info h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 4px !important;
    line-height: 1.4;
}

.ty-search-item-info p {
    font-size: 13px;
    color: var(--ty-text-light);
    line-height: 1.5;
    margin: 0;
}

.ty-search-empty {
    text-align: center;
    padding: 60px 20px;
}

.ty-search-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.ty-search-empty h3 {
    font-size: 22px !important;
    color: var(--ty-dark) !important;
    margin-bottom: 8px;
}

.ty-search-empty p {
    color: var(--ty-text-light);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.ty-search-empty-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Breadcrumb */
.ty-breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--ty-text-light);
}

.ty-breadcrumb a {
    color: var(--ty-text-light);
}

.ty-breadcrumb a:hover {
    color: var(--ty-primary);
}

/* ============================================================
   21. CART PAGE
   ============================================================ */

/* Checkout breadcrumb steps */
.checkout-breadcrumbs {
    margin-bottom: 32px !important;
}

.checkout-breadcrumbs a {
    color: var(--ty-text-light) !important;
    text-decoration: none !important;
    transition: var(--ty-transition) !important;
}

.checkout-breadcrumbs a.current {
    color: var(--ty-primary) !important;
}

.checkout-breadcrumbs .divider {
    color: var(--ty-text-light) !important;
    margin: 0 8px !important;
}

/* Page title */
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
    font-family: var(--ty-font-heading) !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    text-align: center !important;
    margin-bottom: 32px !important;
}

/* Cart table wrapper */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Cart table */
.woocommerce table.shop_table {
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
}

.woocommerce-cart table.shop_table.cart {
    border-radius: var(--ty-radius-md) !important;
    background: var(--ty-white) !important;
    box-shadow: var(--ty-shadow-sm) !important;
}

.woocommerce-cart table.shop_table thead {
    background: var(--ty-primary) !important;
}

.woocommerce-cart table.shop_table thead th {
    color: var(--ty-white) !important;
    font-family: var(--ty-font-body) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding: 14px 16px !important;
    border: none !important;
}

.woocommerce table.shop_table td {
    padding: 16px !important;
    border-bottom: 1px solid var(--ty-border) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle !important;
    font-size: 14px !important;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none !important;
}

/* Cart product thumbnail */
.woocommerce table.shop_table .product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: var(--ty-radius-sm) !important;
}

/* Cart product name */
.woocommerce table.shop_table .product-name a {
    color: var(--ty-dark) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 15px !important;
}

.woocommerce table.shop_table .product-name a:hover {
    color: var(--ty-primary) !important;
}

/* Cart product price */
.woocommerce table.shop_table .product-price .amount,
.woocommerce table.shop_table .product-subtotal .amount {
    color: var(--ty-secondary) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* Cart quantity input */
.woocommerce table.shop_table .quantity .qty {
    width: 60px !important;
    height: 40px !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.woocommerce table.shop_table .quantity .qty:focus {
    border-color: var(--ty-primary) !important;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1) !important;
}

/* Cart quantity +/- buttons (Flatsome ux-quantity) */
.woocommerce-cart .ux-quantity {
    display: flex !important;
    align-items: center !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    overflow: hidden !important;
    height: 40px !important;
}

.woocommerce-cart .ux-quantity .minus,
.woocommerce-cart .ux-quantity .plus {
    width: 32px !important;
    height: 100% !important;
    background: var(--ty-bg-alt) !important;
    border: none !important;
    color: var(--ty-text) !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--ty-transition) !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.woocommerce-cart .ux-quantity .minus:hover,
.woocommerce-cart .ux-quantity .plus:hover {
    background: var(--ty-primary) !important;
    color: var(--ty-white) !important;
}

.woocommerce-cart .ux-quantity input.qty {
    width: 40px !important;
    height: 100% !important;
    border: none !important;
    border-left: 1px solid var(--ty-border) !important;
    border-right: 1px solid var(--ty-border) !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    -moz-appearance: textfield !important;
    background: var(--ty-white) !important;
}

.woocommerce-cart .ux-quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart .ux-quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Remove button */
.woocommerce table.shop_table .product-remove a.remove {
    color: #999 !important;
    font-size: 20px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: var(--ty-transition) !important;
}

.woocommerce table.shop_table .product-remove a.remove:hover {
    background: #fee !important;
    color: #e53e3e !important;
}

/* Cart sidebar */
.woocommerce .cart-collaterals {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.woocommerce-cart .cart_totals {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-md) !important;
    box-shadow: var(--ty-shadow-sm) !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
}

/* Coupon form wrapper */
.woocommerce-cart .ux-cart-coupon {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-md) !important;
    box-shadow: var(--ty-shadow-sm) !important;
    padding: 20px !important;
}

.woocommerce-cart table.cart td.actions {
    padding: 20px 16px !important;
    background: #fafaf8 !important;
}

.woocommerce-cart table.cart td.actions .continue-shopping {
    display: inline-block !important;
    margin-right: 12px !important;
}

/* Reset Flatsome button margins in cart */
.woocommerce-cart .button,
.woocommerce-cart button.button {
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Coupon form (Flatsome: sidebar coupon has h3 + input + button) */
.woocommerce .coupon {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
}

.woocommerce .coupon .widget-title {
    width: 100% !important;
    margin: 0 0 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--ty-text) !important;
}

.woocommerce .coupon #coupon_code,
.woocommerce-cart .coupon input.input-text,
input#coupon_code {
    flex: 1 !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.woocommerce .coupon #coupon_code:focus {
    border-color: var(--ty-primary) !important;
}

.woocommerce .coupon .button,
.woocommerce .coupon button[name="apply_coupon"] {
    background: var(--ty-primary) !important;
    color: var(--ty-white) !important;
    border: none !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 12px 20px !important;
    height: auto !important;
    min-height: 42px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    cursor: pointer !important;
    transition: var(--ty-transition) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce .coupon .button:hover,
.woocommerce .coupon button[name="apply_coupon"]:hover {
    background: var(--ty-primary-dark) !important;
}

/* Continue shopping & Update cart buttons — unified style */
.woocommerce .button-continue-shopping,
.woocommerce .return-to-shop .button,
.woocommerce a.wc-backward,
.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
    background: transparent !important;
    color: var(--ty-primary) !important;
    border: 2px solid var(--ty-primary) !important;
    border-radius: var(--ty-radius-sm) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 11px 20px !important;
    height: auto !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: var(--ty-transition) !important;
    margin: 0 !important;
}

.woocommerce .button-continue-shopping:hover,
.woocommerce .return-to-shop .button:hover,
.woocommerce a.wc-backward:hover,
.woocommerce button[name="update_cart"]:hover,
.woocommerce input[name="update_cart"]:hover {
    background: var(--ty-primary) !important;
    color: var(--ty-white) !important;
}

.woocommerce button[name="update_cart"]:disabled,
.woocommerce input[name="update_cart"]:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Cart totals */
.woocommerce-cart .cart_totals h2 {
    font-family: var(--ty-font-heading) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--ty-border) !important;
}

.woocommerce-cart .cart_totals table {
    border: none !important;
}

.woocommerce-cart .cart_totals table th {
    font-weight: 600 !important;
    color: var(--ty-text) !important;
    padding: 12px 0 !important;
    border: none !important;
    font-size: 14px !important;
}

.woocommerce-cart .cart_totals table td {
    text-align: right !important;
    padding: 12px 0 !important;
    border: none !important;
    font-size: 14px !important;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 18px !important;
    font-weight: 700 !important;
    padding-top: 16px !important;
    border-top: 2px solid var(--ty-border) !important;
}

.woocommerce-cart .cart_totals .order-total .amount {
    color: var(--ty-secondary) !important;
    font-size: 20px !important;
}

/* Checkout button in cart */
.woocommerce-cart .cart_totals .checkout-button,
.woocommerce .checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 32px !important;
    background: var(--ty-secondary) !important;
    color: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    transition: var(--ty-transition) !important;
    margin-top: 16px !important;
}

.woocommerce-cart .cart_totals .checkout-button:hover,
.woocommerce .checkout-button:hover {
    background: var(--ty-secondary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(224,122,95,0.3) !important;
}

/* Shipping methods */
.woocommerce-cart .cart_totals .shipping ul#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-cart .cart_totals .shipping ul#shipping_method li {
    margin-bottom: 8px !important;
}

.woocommerce-cart .cart_totals .shipping ul#shipping_method li label {
    font-size: 14px !important;
    cursor: pointer !important;
}

/* Free shipping notice */
.woocommerce-shipping-destination,
.shipping-calculator-button {
    font-size: 13px !important;
    color: var(--ty-text-light) !important;
}

/* Empty cart */
.woocommerce-cart .cart-empty {
    text-align: center !important;
    padding: 60px 20px !important;
    font-size: 16px !important;
    color: var(--ty-text-light) !important;
}

/* Cross-sells */
.woocommerce-cart .cross-sells {
    margin-top: 40px !important;
}

.woocommerce-cart .cross-sells h2 {
    font-family: var(--ty-font-heading) !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 20px !important;
}

/* ============================================================
   21b. MINI CART DROPDOWN
   ============================================================ */

/* Container */
.cart-item.has-dropdown .nav-dropdown {
    border-radius: var(--ty-radius-md) !important;
    box-shadow: var(--ty-shadow-lg) !important;
    padding: 0 !important;
    overflow: hidden !important;
    min-width: 320px !important;
}

/* Item list */
.cart-item .woocommerce-mini-cart {
    padding: 16px !important;
    margin: 0 !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

/* Individual item */
.cart-item .woocommerce-mini-cart-item {
    padding: 12px 32px 12px 72px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--ty-border) !important;
    position: relative !important;
}
.cart-item .woocommerce-mini-cart-item:last-child {
    border-bottom: none !important;
}

/* Product image */
.cart-item .woocommerce-mini-cart-item img {
    border-radius: var(--ty-radius-sm) !important;
    width: 56px !important;
    height: 56px !important;
    object-fit: cover !important;
}

/* Product name */
.cart-item .woocommerce-mini-cart-item > a:not(.remove) {
    color: var(--ty-text) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}
.cart-item .woocommerce-mini-cart-item > a:not(.remove):hover {
    color: var(--ty-primary) !important;
}

/* Remove button */
.cart-item .woocommerce-mini-cart-item .remove {
    color: #999 !important;
    font-size: 18px !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    text-align: center !important;
    border-radius: 50% !important;
    transition: var(--ty-transition) !important;
    right: 8px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.cart-item .woocommerce-mini-cart-item .remove:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

/* Quantity & price */
.cart-item .ux-mini-cart-qty {
    margin-top: 4px !important;
}
.cart-item .ux-mini-cart-qty .quantity {
    color: var(--ty-text-light) !important;
    font-size: 12px !important;
}
.cart-item .ux-mini-cart-qty .amount {
    color: var(--ty-secondary) !important;
    font-weight: 600 !important;
}

/* Footer */
.cart-item .ux-mini-cart-footer {
    background: var(--ty-bg) !important;
    padding: 16px !important;
    border-top: 1px solid var(--ty-border) !important;
}

/* Total */
.cart-item .woocommerce-mini-cart__total {
    padding: 0 0 12px !important;
    margin: 0 !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
}
.cart-item .woocommerce-mini-cart__total strong {
    color: var(--ty-text) !important;
    font-weight: 600 !important;
}
.cart-item .woocommerce-mini-cart__total .amount {
    color: var(--ty-secondary) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Buttons */
.cart-item .woocommerce-mini-cart__buttons {
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* View cart — outline */
.cart-item .woocommerce-mini-cart__buttons .button:first-child {
    flex: 1 !important;
    background: transparent !important;
    color: var(--ty-primary) !important;
    border: 2px solid var(--ty-primary) !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
    height: auto !important;
    transition: var(--ty-transition) !important;
}
.cart-item .woocommerce-mini-cart__buttons .button:first-child:hover {
    background: var(--ty-primary) !important;
    color: var(--ty-white) !important;
}

/* Checkout — filled */
.cart-item .woocommerce-mini-cart__buttons .button.checkout {
    flex: 1 !important;
    background: var(--ty-secondary) !important;
    color: var(--ty-white) !important;
    border: 2px solid var(--ty-secondary) !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
    height: auto !important;
    transition: var(--ty-transition) !important;
}
.cart-item .woocommerce-mini-cart__buttons .button.checkout:hover {
    background: var(--ty-secondary-dark) !important;
    border-color: var(--ty-secondary-dark) !important;
}

/* Empty cart */
.cart-item .ux-mini-cart-empty {
    padding: 32px 20px !important;
}
.cart-item .woocommerce-mini-cart__empty-message {
    color: var(--ty-text-light) !important;
    font-size: 14px !important;
}

/* ============================================================
   22. CHECKOUT PAGE
   ============================================================ */

/* Two column layout */
.woocommerce-checkout .col2-set {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

/* Checkout sections */
.woocommerce-checkout #customer_details {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-md) !important;
    box-shadow: var(--ty-shadow-sm) !important;
    padding: 28px !important;
    margin-bottom: 24px !important;
}

/* Order review wrapper — transparent, no shadow (children have own cards) */
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Order review table — card style */
.woocommerce-checkout table.woocommerce-checkout-review-order-table,
table.shop_table.woocommerce-checkout-review-order-table {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-md) !important;
    box-shadow: var(--ty-shadow-sm) !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
}

/* Section headings */
.woocommerce-checkout h3,
.woocommerce-checkout h3#ship-to-different-address,
.woocommerce-checkout #order_review_heading {
    font-family: var(--ty-font-heading) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--ty-dark) !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--ty-border) !important;
}

/* Form fields */
.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
}

.woocommerce-checkout .form-row label {
    font-weight: 600 !important;
    font-size: 13px !important;
    color: var(--ty-text) !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-checkout .form-row label .required {
    color: var(--ty-secondary) !important;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    width: 100% !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-family: var(--ty-font-body) !important;
    background: var(--ty-white) !important;
    transition: var(--ty-transition) !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: var(--ty-primary) !important;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1) !important;
    outline: none !important;
}

/* Select2 dropdown override */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 46px !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    background: var(--ty-white) !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
    padding-left: 16px !important;
    font-size: 14px !important;
    color: var(--ty-text) !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    right: 8px !important;
}

.woocommerce-checkout .select2-container--open .select2-selection--single {
    border-color: var(--ty-primary) !important;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1) !important;
}

/* Order review table */
.woocommerce-checkout table.shop_table {
    border: none !important;
    margin-bottom: 0 !important;
}

.woocommerce-checkout table.shop_table thead {
    background: transparent !important;
}

.woocommerce-checkout table.shop_table thead th {
    background: transparent !important;
    color: var(--ty-text) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 0 !important;
    border-bottom: 2px solid var(--ty-border) !important;
}

.woocommerce-checkout table.shop_table td {
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(232,223,213,0.5) !important;
    font-size: 14px !important;
}

.woocommerce-checkout table.shop_table .product-name {
    color: var(--ty-text) !important;
}

.woocommerce-checkout table.shop_table .amount {
    color: var(--ty-secondary) !important;
    font-weight: 600 !important;
}

.woocommerce-checkout table.shop_table tfoot .order-total th,
.woocommerce-checkout table.shop_table tfoot .order-total td {
    font-size: 18px !important;
    font-weight: 700 !important;
    padding-top: 16px !important;
    border-top: 2px solid var(--ty-border) !important;
    border-bottom: none !important;
}

.woocommerce-checkout table.shop_table tfoot .order-total .amount {
    color: var(--ty-secondary) !important;
    font-size: 20px !important;
}

/* Payment methods */
.woocommerce-checkout #payment {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-md) !important;
    box-shadow: var(--ty-shadow-sm) !important;
    padding: 24px !important;
    margin-top: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 14px 16px !important;
    margin-bottom: 8px !important;
    border: 2px solid var(--ty-border) !important;
    border-radius: var(--ty-radius-sm) !important;
    background: #fafaf8 !important;
    transition: var(--ty-transition) !important;
}

.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
    border-color: var(--ty-primary) !important;
    background: rgba(45,106,79,0.04) !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--ty-dark) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-checkout #payment .payment_box {
    background: transparent !important;
    padding: 12px 0 4px 28px !important;
    color: var(--ty-text-light) !important;
    font-size: 13px !important;
}

.woocommerce-checkout #payment .payment_box::before {
    display: none !important;
}

/* Place order button */
.woocommerce-checkout #place_order {
    width: 100% !important;
    padding: 16px 32px !important;
    background: var(--ty-secondary) !important;
    color: var(--ty-white) !important;
    border: none !important;
    border-radius: var(--ty-radius-sm) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: var(--ty-transition) !important;
}

.woocommerce-checkout #place_order:hover {
    background: var(--ty-secondary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(224,122,95,0.3) !important;
}

/* Privacy policy */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin: 16px 0 !important;
    font-size: 13px !important;
    color: var(--ty-text-light) !important;
}

/* Checkout notices */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    border: none !important;
    border-left: 4px solid var(--ty-primary) !important;
    padding: 14px 20px !important;
    box-shadow: var(--ty-shadow-sm) !important;
    color: var(--ty-text) !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .woocommerce-error {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    border: none !important;
    border-left: 4px solid #e53e3e !important;
    padding: 14px 20px !important;
    box-shadow: var(--ty-shadow-sm) !important;
    margin-bottom: 20px !important;
}

/* Login/Coupon toggle */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 16px !important;
}

/* Order received / Thank you page */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: rgba(45,106,79,0.08) !important;
    border-radius: var(--ty-radius-md) !important;
    padding: 24px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--ty-primary) !important;
    margin-bottom: 28px !important;
}

.woocommerce-order-received .woocommerce-order-overview {
    list-style: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
}

.woocommerce-order-received .woocommerce-order-overview li {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 16px !important;
    box-shadow: var(--ty-shadow-sm) !important;
    text-align: center !important;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block !important;
    color: var(--ty-dark) !important;
    font-size: 16px !important;
    margin-top: 4px !important;
}

/* WooCommerce notices (global) */
.woocommerce-message,
.woocommerce-info {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    border: none !important;
    border-left: 4px solid var(--ty-primary) !important;
    padding: 14px 20px !important;
    box-shadow: var(--ty-shadow-sm) !important;
    font-size: 14px !important;
}

.woocommerce-message::before {
    color: var(--ty-primary) !important;
}

.woocommerce-message .button {
    background: var(--ty-primary) !important;
    color: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-error {
    background: var(--ty-white) !important;
    border-radius: var(--ty-radius-sm) !important;
    border: none !important;
    border-left: 4px solid #e53e3e !important;
    padding: 14px 20px !important;
    box-shadow: var(--ty-shadow-sm) !important;
}

/* ============================================================
   23. RESPONSIVE
   ============================================================ */

/* Tablet: 849px */
@media (max-width: 849px) {
    /* --- Homepage --- */
    .ty-hero-title {
        font-size: 36px !important;
    }

    .ty-section-header {
        margin-bottom: 32px;
    }

    .ty-section-title {
        font-size: 30px !important;
    }

    .ty-section-desc {
        font-size: 15px;
    }

    .ty-cat-title {
        font-size: 16px !important;
    }

    .ty-cat-desc {
        font-size: 13px;
    }

    .ty-testi-card {
        padding: 24px !important;
    }

    .ty-testi-text {
        font-size: 14px;
    }

    .ty-brand-logos {
        gap: 20px 32px;
    }

    .ty-brand-name {
        font-size: 13px !important;
    }

    .ty-cta-title {
        font-size: 30px !important;
    }

    /* --- Blog --- */
    .ty-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ty-blog-listing-grid {
        grid-template-columns: 1fr;
    }

    .ty-sidebar {
        position: static;
    }

    .ty-blog-page-title h1 {
        font-size: 30px !important;
    }

    .ty-blog-list-card {
        flex-direction: row;
    }

    .ty-blog-list-card-img {
        width: 240px;
        min-width: 240px;
    }

    /* --- WooCommerce --- */
    .woocommerce ul.products,
    .woocommerce div.products,
    .woocommerce .products.row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* --- Single Product --- */
    .ty-single-layout {
        grid-template-columns: 1fr;
    }

    .ty-single-product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ty-product-gallery {
        position: static;
    }

    .ty-product-info h1 {
        font-size: 26px !important;
    }

    .ty-product-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ty-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ty-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .ty-tabs-nav button {
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ty-tabs-section {
        padding: 40px 0;
    }

    .ty-tab-content h3,
    .ty-tab-content h4 {
        font-size: 20px !important;
    }

    .ty-product-trust {
        grid-template-columns: 1fr;
    }

    .ty-product-card-grid {
        grid-template-columns: 1fr;
    }

    .ty-review-summary {
        flex-direction: column;
        text-align: center;
    }

    .ty-add-to-cart-wrap .cart {
        flex-direction: column;
    }

    .ty-product-grid-auto {
        grid-template-columns: repeat(2, 1fr);
    }

    .ty-product-grid-shortcode {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .ty-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ty-post-nav {
        grid-template-columns: 1fr;
    }

    .ty-related-grid {
        grid-template-columns: 1fr;
    }

    /* --- Cart/Checkout tablet --- */
    .woocommerce table.shop_table .product-thumbnail {
        display: none !important;
    }

    .woocommerce .coupon {
        flex-wrap: wrap !important;
    }

    .woocommerce .coupon #coupon_code {
        max-width: 100% !important;
        flex: 1 !important;
    }

    .woocommerce-cart .cart_totals {
        padding: 20px !important;
    }

    .woocommerce-checkout #customer_details {
        padding: 20px !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table {
        padding: 20px !important;
    }

    .woocommerce-checkout #payment {
        padding: 20px !important;
    }
}

/* Phone: 549px */
@media (max-width: 549px) {
    /* --- Homepage Hero --- */
    .ty-hero-title {
        font-size: 28px !important;
    }

    .ty-hero-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .ty-hero-label {
        font-size: 12px;
    }

    .ty-hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .ty-hero-btns .ty-btn {
        text-align: center;
        justify-content: center !important;
        width: 100%;
        padding: 14px 24px;
    }

    /* --- Homepage Section Headers --- */
    .ty-section-header {
        margin-bottom: 24px;
    }

    .ty-section-title {
        font-size: 24px !important;
    }

    .ty-section-desc {
        font-size: 14px;
    }

    /* --- Homepage Trust Bar --- */
    .ty-trust-title {
        font-size: 13px !important;
    }

    .ty-trust-sub {
        font-size: 11px;
    }

    /* --- Homepage: reduce row/col gap on mobile --- */
    .col.small-6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-bottom: 16px !important;
    }

    /* --- Homepage Categories --- */
    .ty-cat-card {
        padding: 0 !important;
    }

    .col:has(.ty-cat-card) > .col-inner {
        padding: 16px 14px !important;
    }

    .ty-cat-title {
        font-size: 15px !important;
    }

    .ty-cat-desc {
        font-size: 12px;
    }

    /* --- Homepage Banners --- */
    .ty-banner-item {
        padding: 28px 20px;
    }

    .ty-banner-title {
        font-size: 20px !important;
    }

    .ty-banner-desc {
        font-size: 13px;
    }

    /* --- Homepage Why Us --- */
    .col:has(.ty-why-card) > .col-inner {
        padding: 20px 16px !important;
    }

    .ty-why-title {
        font-size: 15px !important;
    }

    .ty-why-desc {
        font-size: 13px;
    }

    /* --- Homepage Guides --- */
    .ty-guide-title, .ty-hp-guides .ty-guide-card h3 {
        font-size: 16px !important;
    }

    .ty-guide-desc, .ty-hp-guides .ty-guide-card p {
        font-size: 13px;
    }

    /* --- Homepage Brands --- */
    .ty-brand-logos {
        gap: 16px 24px;
    }

    .ty-brand-name {
        font-size: 12px !important;
        letter-spacing: 0.1em !important;
    }

    .ty-brand-label {
        font-size: 12px;
    }

    /* --- Homepage Testimonials --- */
    .ty-testi-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .ty-testi-name {
        font-size: 14px;
    }

    .ty-testi-product {
        font-size: 12px;
    }

    .ty-testi-stars {
        font-size: 16px;
    }

    /* --- Homepage CTA --- */
    .ty-cta-title {
        font-size: 24px !important;
    }

    .ty-cta-desc {
        font-size: 14px;
    }

    .ty-cta-block .ty-btn {
        width: 100%;
        text-align: center;
    }

    /* --- WooCommerce Products --- */
    .woocommerce ul.products,
    .woocommerce div.products,
    .woocommerce .products.row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* --- Shop/Category product cards (content-product.php) --- */
    .ty-product-card-info {
        padding: 12px 14px 14px !important;
    }

    .ty-product-card-title {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
    }

    .ty-product-card-specs {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .ty-price-current {
        font-size: 15px !important;
    }

    .ty-price-old,
    .ty-price-old *,
    .ty-price-old bdi {
        font-size: 12px !important;
    }

    .ty-product-card-price {
        gap: 4px;
        margin-bottom: 10px;
    }

    .ty-btn-detail {
        padding: 7px 14px;
        font-size: 12px;
    }

    .ty-product-badge {
        padding: 3px 8px;
        font-size: 10px;
        top: 8px;
        left: 8px;
    }

    /* --- Blog --- */
    .ty-blog-grid {
        grid-template-columns: 1fr;
    }

    .ty-blog-list-card {
        flex-direction: column;
    }

    .ty-blog-list-card-img {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .ty-single-post-header h1 {
        font-size: 28px !important;
    }

    .ty-author-box {
        flex-direction: column;
        text-align: center;
    }

    /* --- Single Product --- */
    .ty-tabs-nav button {
        padding: 10px 12px;
        font-size: 12px;
    }

    .ty-tabs-section {
        padding: 32px 0;
    }

    .ty-tab-content {
        font-size: 14px;
    }

    .ty-tab-content h3,
    .ty-tab-content h4 {
        font-size: 18px !important;
    }

    .ty-specs-table th,
    .ty-specs-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .ty-product-grid-auto {
        grid-template-columns: 1fr;
    }

    .ty-product-grid-shortcode {
        grid-template-columns: 1fr !important;
    }

    .ty-product-card-grid {
        grid-template-columns: 1fr;
    }

    .ty-product-specs-grid {
        grid-template-columns: 1fr;
    }

    /* --- Footer --- */
    .ty-footer-grid {
        grid-template-columns: 1fr;
    }

    .ty-single-post-header h1 {
        font-size: 28px !important;
    }

    .ty-search-form-large {
        flex-direction: column;
    }

    .ty-404 h1 {
        font-size: 72px !important;
    }

    .ty-404 h2 {
        font-size: 20px !important;
    }

    .ty-404-search {
        max-width: 100%;
    }

    .ty-404-suggest ul {
        flex-direction: column;
        align-items: center;
    }

    .ty-search-item {
        flex-direction: column;
    }

    .ty-search-item-img {
        width: 100%;
        height: 160px;
    }

    /* --- Cart/Checkout mobile --- */
    .woocommerce-cart .page-title,
    .woocommerce-checkout .page-title {
        font-size: 24px !important;
    }

    /* Checkout breadcrumb smaller on mobile */
    .checkout-breadcrumbs {
        font-size: 18px !important;
    }

    /* Hide cart table header on mobile */
    .woocommerce-cart table.shop_table thead {
        display: none !important;
    }

    /* Cart row: relative for remove button positioning */
    .woocommerce-cart table.shop_table tbody tr {
        position: relative !important;
    }

    /* Hide remove cell, show button as overlay top-right */
    .woocommerce-cart table.shop_table td.product-remove {
        position: absolute !important;
        right: 0 !important;
        top: 4px !important;
        width: auto !important;
        padding: 0 !important;
        border: none !important;
        z-index: 2 !important;
    }

    .woocommerce table.shop_table .product-remove a.remove {
        width: 24px !important;
        height: 24px !important;
        font-size: 14px !important;
        background: rgba(0,0,0,0.06) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }

    /* Quantity buttons smaller on mobile */
    .woocommerce-cart .ux-quantity {
        height: 36px !important;
    }

    .woocommerce-cart .ux-quantity .minus,
    .woocommerce-cart .ux-quantity .plus {
        width: 28px !important;
        font-size: 14px !important;
    }

    .woocommerce-cart .ux-quantity input.qty {
        width: 34px !important;
        font-size: 13px !important;
    }

    .woocommerce table.shop_table td {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .woocommerce table.shop_table thead th {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }

    .woocommerce table.shop_table .product-name a {
        font-size: 13px !important;
    }

    .woocommerce table.shop_table .quantity .qty {
        width: 48px !important;
        height: 36px !important;
    }

    .woocommerce-cart table.cart td.actions {
        padding: 12px 8px !important;
    }

    /* Both buttons full-width stacked */
    .woocommerce-cart td.actions .continue-shopping,
    .woocommerce-cart td.actions .continue-shopping.pull-left {
        display: block !important;
        float: none !important;
        width: 100% !important;
        margin: 0 0 8px 0 !important;
        text-align: center !important;
    }

    .woocommerce .button-continue-shopping,
    .woocommerce .button-continue-shopping.button.primary.is-outline {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        float: none !important;
    }

    .woocommerce-cart td.actions button[name="update_cart"],
    .woocommerce-cart td.actions input[name="update_cart"],
    .woocommerce button[name="update_cart"].pull-left {
        width: 100% !important;
        float: none !important;
        text-align: center !important;
        display: block !important;
    }

    .woocommerce .coupon {
        flex-direction: column !important;
    }

    .woocommerce .coupon #coupon_code,
    .woocommerce-cart .coupon input.input-text,
    input#coupon_code {
        max-width: 100% !important;
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }

    .woocommerce .coupon .button,
    .woocommerce .coupon button[name="apply_coupon"],
    .woocommerce .coupon button.is-form.expand.button {
        width: 100% !important;
        height: auto !important;
        min-height: 44px !important;
        padding: 12px 20px !important;
        border-radius: var(--ty-radius-sm) !important;
        line-height: 1.4 !important;
    }

    .woocommerce-cart .cart_totals {
        padding: 16px !important;
    }

    .woocommerce-cart .cart_totals .order-total .amount {
        font-size: 18px !important;
    }

    .woocommerce-checkout #customer_details {
        padding: 16px !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table {
        padding: 16px !important;
    }

    .woocommerce-checkout #payment {
        padding: 16px !important;
    }

    .woocommerce-checkout #place_order {
        font-size: 14px !important;
        padding: 14px 24px !important;
    }

    .woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Show mobile bar, hide desktop floating */
    .ty-mobile-bar {
        display: block;
    }

    .ty-floating-zalo {
        bottom: 80px;
    }

    .ty-floating-phone {
        display: none;
    }

    /* Add bottom padding for mobile bar */
    body {
        padding-bottom: 64px;
    }
}
