/* ============================================================
   DVH WooCommerce Styling — Advanced Cards
   Uses tokens from assets/css/style.css
   ============================================================ */

/* ============================================================
   GLOBAL: Hide theme sidebar on all WooCommerce pages
   ============================================================ */
body.woocommerce .widget-area,
body.woocommerce aside.widget-area,
body.woocommerce #secondary,
body.woocommerce .sidebar,
body.woocommerce-page .widget-area,
body.woocommerce-page aside.widget-area,
body.woocommerce-page #secondary,
body.woocommerce-page .sidebar,
body.post-type-archive-product .widget-area,
body.post-type-archive-product #secondary,
body.post-type-archive-product .sidebar {
    display: none !important;
}
body.woocommerce .content-area,
body.woocommerce #primary,
body.woocommerce-page .content-area,
body.woocommerce-page #primary,
body.post-type-archive-product .content-area,
body.post-type-archive-product #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
}

/* ============================================================
   SHOP HEADER
   ============================================================ */
/* FIX: was a hardcoded dark-navy gradient (#111827->#1F2937) that doesn't match the homepage
   hero's brand gradient (var(--dvh-gradient-primary), indigo->emerald) at all — the Shop page
   read as a visually disconnected, differently-branded page. Now reuses the same token and the
   same radial-highlight treatment as .dvh-hero::before on the homepage. */
.dvh-shop-wrap .shop-head {
    background: var(--dvh-gradient-primary, linear-gradient(135deg, #4F46E5 0%, #10B981 100%));
    color: white;
    padding: var(--dvh-space-2xl, 4rem) 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.dvh-shop-wrap .shop-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139,92,246,.2) 0%, transparent 50%);
}
.dvh-shop-wrap .shop-head > .container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.dvh-shop-wrap .shop-head h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -.025em;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0,0,0,.1);
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Short static intro line under the h1 (the hero now only holds the title, this line, and the
   stat strip — the page's own "Popular picks"/FAQ content moved below the product grid). */
.dvh-shop-wrap .shop-head p {
    color: rgba(255,255,255,.85);
    font-size: 1.0625rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FIX: the intro paragraphs above the category chips carry inline style="text-align: center"
   from the source content. Centering multi-line body text reads as messy at wide widths — lines
   break unevenly and the ragged left edge makes it hard to scan. Overriding an inline style
   needs !important; constraining the width keeps the block visually centered on the page while
   the text itself reads left-aligned, like normal body copy. */
.dvh-shop-wrap .shop-page-content > p {
    text-align: left !important;
    max-width: 700px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* The Shop page's own editable content (the "Popular picks"/FAQ block authored in wp-admin —
   already has its own inline styling for the white card, so this just adds breathing room
   between it and the product grid above it). */
.dvh-shop-wrap .shop-content-section {
    padding-top: 0;
}
.dvh-shop-wrap .shop-content-section .shop-page-content {
    padding-top: 1rem;
}

/* Trust-stat strip — identical structure/skin to the homepage's .hero-stats so the two pages
   feel like one brand instead of two different designs. Numbers are computed live in PHP. */
.dvh-shop-wrap .shop-head .shop-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255,255,255,.15);
}
.dvh-shop-wrap .shop-head .shop-hero-stats .stat { text-align: center; }
.dvh-shop-wrap .shop-head .shop-hero-stats .stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: .25rem;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.dvh-shop-wrap .shop-head .shop-hero-stats .stat-label {
    font-size: .8125rem;
    opacity: .9;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
@media (max-width: 640px) {
    .dvh-shop-wrap .shop-head .shop-hero-stats { gap: 1.75rem; }
    .dvh-shop-wrap .shop-head .shop-hero-stats .stat-number { font-size: 1.75rem; }
}

/* Results bar */
.dvh-shop-wrap .shop-bar {
    background: white;
    border-bottom: 1px solid #E5E7EB;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 30;
}
.dvh-shop-wrap .shop-bar .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.dvh-shop-wrap .shop-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.dvh-shop-wrap .shop-bar .woocommerce-result-count {
    margin: 0;
    color: #6B7280;
    font-size: .875rem;
}
.dvh-shop-wrap .shop-bar .woocommerce-ordering { margin: 0; }
.dvh-shop-wrap .shop-bar select {
    padding: .5rem .875rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    font-size: .875rem;
    color: #111827;
    cursor: pointer;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.dvh-shop-wrap .shop-body {
    padding: 3.5rem 0 5rem;
    background: linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%);
}
.dvh-shop-wrap .shop-body .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dvh-shop-wrap ul.products,
.dvh-shop-wrap .products {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem !important;
}
.dvh-shop-wrap ul.products::before,
.dvh-shop-wrap ul.products::after {
    content: none !important;
    display: none !important;
}

/* ============================================================
   ADVANCED PRODUCT CARD
   ============================================================ */
.dvh-shop-wrap ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    position: relative;
    isolation: isolate;
}

.dvh-shop-wrap ul.products li.product::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    background: linear-gradient(135deg, #4F46E5, #818CF8, #10B981);
    opacity: 0;
    transition: opacity .4s ease;
    z-index: -1;
    pointer-events: none;
}

.dvh-shop-wrap ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 48px -12px rgba(79, 70, 229, .22),
        0 12px 24px -8px rgba(0, 0, 0, .08);
    border-color: transparent;
}
.dvh-shop-wrap ul.products li.product:hover::before { opacity: 1; }

/* ============================================================
   MEDIA AREA
   ============================================================ */
.dvh-shop-wrap ul.products li.product .dvh-media,
.dvh-shop-wrap ul.products li.product > a.woocommerce-LoopProduct-link,
.dvh-shop-wrap ul.products li.product .woocommerce-loop-product__link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    text-decoration: none;
}

.dvh-shop-wrap ul.products li.product img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover;
    margin: 0 !important;
    display: block;
    background:
        radial-gradient(circle at 30% 20%, #EEF2FF 0%, transparent 55%),
        radial-gradient(circle at 70% 80%, #F5F3FF 0%, transparent 55%),
        linear-gradient(135deg, #F9FAFB 0%, #E0E7FF 100%);
    transition: transform .8s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid #F3F4F6;
}
.dvh-shop-wrap ul.products li.product:hover img {
    transform: scale(1.08) rotate(.5deg);
}

/* Shine sweep on hover */
.dvh-shop-wrap ul.products li.product .woocommerce-loop-product__link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.35) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: left .8s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    z-index: 1;
}
.dvh-shop-wrap ul.products li.product:hover .woocommerce-loop-product__link::after {
    left: 130%;
}

/* ============================================================
   BADGES
   ============================================================ */

/* Category badge (injected via functions.php hook) */
.dvh-shop-wrap ul.products li.product .dvh-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(79, 70, 229, .94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .4rem .8rem;
    border-radius: 9999px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(79, 70, 229, .35);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.dvh-shop-wrap ul.products li.product .dvh-card-cat::before {
    content: '\f02b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .625rem;
}

/* Sale badge */
.dvh-shop-wrap ul.products li.product .onsale {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: #fff !important;
    padding: .4rem .75rem !important;
    border-radius: 9999px !important;
    font-size: .6875rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    min-height: 0 !important;
    min-width: 0 !important;
    line-height: 1.3 !important;
    z-index: 3 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, .4) !important;
    border: 2px solid #fff !important;
    display: inline-flex !important;
    align-items: center;
    gap: .25rem;
    animation: dvhSalePulse 2s ease-in-out infinite;
}

@keyframes dvhSalePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* ============================================================
   TITLE / PRICE
   ============================================================ */
.dvh-shop-wrap ul.products li.product .woocommerce-loop-product__link {
    display: block;
}

.dvh-shop-wrap ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    padding: 1.25rem 1.25rem .5rem !important;
    margin: 0 !important;
    line-height: 1.35;
    letter-spacing: -.01em;
    transition: color .25s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dvh-shop-wrap ul.products li.product:hover .woocommerce-loop-product__title {
    color: #4F46E5 !important;
}

.dvh-shop-wrap ul.products li.product > .dvh-card-body {
    padding: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dvh-shop-wrap ul.products li.product .star-rating {
    margin: .25rem 1.25rem .5rem !important;
    color: #F59E0B;
    font-family: star;
    font-size: .875rem;
}

.dvh-shop-wrap ul.products li.product .price {
    padding: 0 1.25rem !important;
    margin: 0 0 1rem !important;
    font-size: 1.375rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    display: flex !important;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap;
    letter-spacing: -.02em;
}
.dvh-shop-wrap ul.products li.product .price del {
    color: #9CA3AF !important;
    font-weight: 500;
    font-size: .9375rem !important;
    text-decoration: line-through;
    opacity: 1 !important;
}
.dvh-shop-wrap ul.products li.product .price ins {
    text-decoration: none !important;
    font-weight: 800;
    color: #111827;
    background: none;
}

/* ============================================================
   ADD TO CART BUTTON
   ============================================================ */
.dvh-shop-wrap ul.products li.product .button,
.dvh-shop-wrap ul.products li.product .add_to_cart_button,
.dvh-shop-wrap ul.products li.product .product_type_simple,
.dvh-shop-wrap ul.products li.product .product_type_variable {
    margin: 0 1.25rem 1.25rem !important;
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: .9rem 1.25rem !important;
    font-size: .875rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-transform: none;
    letter-spacing: .01em;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: auto !important;
    line-height: 1.2;
    text-decoration: none;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 6px rgba(79, 70, 229, .2);
    position: relative;
    overflow: hidden;
}
.dvh-shop-wrap ul.products li.product .button::before,
.dvh-shop-wrap ul.products li.product .add_to_cart_button::before {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .8125rem;
    transition: transform .3s;
}
.dvh-shop-wrap ul.products li.product .button:hover,
.dvh-shop-wrap ul.products li.product .add_to_cart_button:hover {
    background: linear-gradient(135deg, #4338CA 0%, #3730A3 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, .4);
    color: #fff !important;
}
.dvh-shop-wrap ul.products li.product .button:hover::before,
.dvh-shop-wrap ul.products li.product .add_to_cart_button:hover::before {
    transform: translateX(2px) rotate(-8deg);
}
.dvh-shop-wrap ul.products li.product .button.loading {
    opacity: .8;
    pointer-events: none;
}
.dvh-shop-wrap ul.products li.product .button.added {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
}
.dvh-shop-wrap ul.products li.product .button.added::before {
    content: '\f00c';
}

/* ============================================================
   PAGINATION
   ============================================================ */
.dvh-shop-wrap .woocommerce-pagination {
    margin-top: 4rem;
    text-align: center;
}
.dvh-shop-wrap .woocommerce-pagination ul {
    display: inline-flex;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none !important;
}
.dvh-shop-wrap .woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
}
.dvh-shop-wrap .woocommerce-pagination ul li a,
.dvh-shop-wrap .woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 .875rem;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
    transition: all .2s;
}
.dvh-shop-wrap .woocommerce-pagination ul li a:hover {
    background: #EEF2FF;
    color: #4F46E5;
    border-color: #C7D2FE;
    transform: translateY(-1px);
}
.dvh-shop-wrap .woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
    color: #fff;
    border-color: #4F46E5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, .3);
}

/* No products */
.dvh-shop-wrap .no-products {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #E5E7EB;
    max-width: 500px;
    margin: 0 auto;
}
.dvh-shop-wrap .no-products h2 {
    color: #111827;
    margin: 0 0 .5rem;
    font-size: 1.5rem;
    font-weight: 700;
}
.dvh-shop-wrap .no-products p { color: #6B7280; margin: 0; }

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.dvh-sp { background: #F9FAFB; padding-bottom: 4rem; }
.dvh-sp .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.dvh-sp-breadcrumb { padding: 1.25rem 0; font-size: .875rem; color: #6B7280; }
.dvh-sp-breadcrumb a { color: #6B7280; text-decoration: none; }
.dvh-sp-breadcrumb a:hover { color: #4F46E5; }
.dvh-sp-breadcrumb .sep { margin: 0 .5rem; color: #9CA3AF; }
.dvh-sp-breadcrumb .current { color: #111827; font-weight: 600; }
.dvh-sp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 1rem 0 3rem;
    align-items: start;
}
.dvh-sp-grid > * { min-width: 0; }
.dvh-sp-images {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1rem;
}
.dvh-sp-images img { width: 100%; height: auto; border-radius: 12px; display: block; }
.dvh-sp-images .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    margin: .75rem 0 0;
    padding: 0;
    list-style: none;
}
.dvh-sp-images .flex-control-thumbs li img {
    border-radius: 6px;
    cursor: pointer;
    opacity: .7;
    border: 2px solid transparent;
}
.dvh-sp-images .flex-control-thumbs li img:hover,
.dvh-sp-images .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: #4F46E5;
}
.dvh-sp-summary { padding-top: .5rem; }
.dvh-sp-summary .product_title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 1rem;
    letter-spacing: -.02em;
}
.dvh-sp-summary .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}
.dvh-sp-summary .star-rating { color: #F59E0B; font-family: star; }
.dvh-sp-summary .woocommerce-review-link { color: #6B7280; font-size: .875rem; text-decoration: none; }
.dvh-sp-summary .price {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 .5rem;
    letter-spacing: -.02em;
    display: flex;
    align-items: baseline;
    gap: .75rem;
    flex-wrap: wrap;
}
.dvh-sp-summary .price del { font-size: 1.125rem; color: #9CA3AF; font-weight: 400; }
.dvh-sp-summary .price ins { text-decoration: none; }
.dvh-sp-summary .woocommerce-product-details__short-description {
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}
.dvh-sp-summary form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 0 0 1.5rem;
    align-items: stretch;
}
.dvh-sp-summary form.cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: white;
    overflow: hidden;
}
.dvh-sp-summary form.cart .quantity input.qty {
    width: 60px;
    text-align: center;
    border: none;
    padding: .85rem .5rem;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    -moz-appearance: textfield;
}
.dvh-sp-summary form.cart .quantity input.qty::-webkit-outer-spin-button,
.dvh-sp-summary form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.dvh-sp-summary form.cart .single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    background: #4F46E5 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: .95rem 1.5rem !important;
    font-size: .9375rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all .25s !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.dvh-sp-summary form.cart .single_add_to_cart_button:hover {
    background: #4338CA !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79,70,229,.25);
    color: #fff !important;
}
.dvh-sp-summary .product_meta {
    padding-top: 1.25rem;
    border-top: 1px solid #E5E7EB;
    font-size: .875rem;
    color: #6B7280;
}
.dvh-sp-summary .product_meta > span { display: block; margin-bottom: .5rem; }
.dvh-sp-summary .product_meta a { color: #4F46E5; text-decoration: none; }

/* Tabs */
.dvh-sp .woocommerce-tabs {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 0;
    margin-top: 2rem;
    overflow: hidden;
}
.dvh-sp .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #E5E7EB;
    background: #F9FAFB;
}
.dvh-sp .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
}
.dvh-sp .woocommerce-tabs ul.tabs li::before,
.dvh-sp .woocommerce-tabs ul.tabs li::after { display: none !important; }
.dvh-sp .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #6B7280;
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.dvh-sp .woocommerce-tabs ul.tabs li a:hover { color: #4F46E5; }
.dvh-sp .woocommerce-tabs ul.tabs li.active a {
    color: #4F46E5;
    border-bottom-color: #4F46E5;
    background: #fff;
}
.dvh-sp .woocommerce-tabs .panel {
    padding: 2rem !important;
    margin: 0 !important;
    background: #fff;
    color: #4B5563;
    line-height: 1.7;
}

/* Related products */
.dvh-sp .related.products,
.dvh-sp .upsells.products {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #E5E7EB;
}
.dvh-sp .related.products > h2,
.dvh-sp .upsells.products > h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2rem;
    text-align: center;
}
.dvh-sp ul.products {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem !important;
}
.dvh-sp ul.products::before,
.dvh-sp ul.products::after { content: none !important; display: none !important; }
.dvh-sp ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 0 1rem !important;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .25s;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.dvh-sp ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}
.dvh-sp ul.products li.product img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover;
    margin: 0 !important;
    background: #F9FAFB;
}
.dvh-sp ul.products li.product .woocommerce-loop-product__title {
    font-size: .9375rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    padding: .875rem .875rem .35rem !important;
    margin: 0 !important;
    line-height: 1.4;
}
.dvh-sp ul.products li.product .price {
    padding: 0 .875rem !important;
    margin: 0 0 .75rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
}
.dvh-sp ul.products li.product .button {
    margin: 0 .875rem 0 !important;
    background: #4F46E5 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: .6rem .875rem !important;
    font-size: .8125rem !important;
    font-weight: 600 !important;
    text-align: center;
    display: block;
    width: auto !important;
    transition: all .2s !important;
    text-decoration: none;
}
.dvh-sp ul.products li.product .button:hover {
    background: #4338CA !important;
    color: #fff !important;
}

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.woocommerce table.shop_table th {
    background: #F9FAFB;
    color: #111827;
    font-weight: 600;
    padding: .75rem 1rem;
    text-align: left;
}
.woocommerce table.shop_table td { padding: .75rem 1rem; border-top: 1px solid #E5E7EB; }
.woocommerce #payment div.payment_box { background: #F9FAFB; border-radius: 8px; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
    background: #4F46E5;
    color: #fff;
    border: none;
    padding: .85rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
    color: #fff;
}
.woocommerce form .form-row input.input-text,
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce form .form-row select {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: .65rem .85rem;
}
.woocommerce-message,
.woocommerce-info {
    background: #eef2ff;
    border-top-color: #4F46E5;
    border-radius: 8px;
    padding: .75rem 1rem;
}
.woocommerce-error {
    background: #fef2f2;
    border-top-color: #EF4444;
    border-radius: 8px;
    padding: .75rem 1rem;
}

/* ============================================================
   NEUTRALIZE WOOCOMMERCE PLACEHOLDER
   Replace the green tint with our indigo placeholder
   ============================================================ */
.dvh-shop-wrap ul.products li.product img.woocommerce-placeholder,
.dvh-shop-wrap ul.products li.product img[src*="placeholder"] {
    background:
        radial-gradient(circle at 30% 20%, #EEF2FF 0%, transparent 55%),
        radial-gradient(circle at 70% 80%, #F5F3FF 0%, transparent 55%),
        linear-gradient(135deg, #F9FAFB 0%, #E0E7FF 100%) !important;
    object-fit: contain !important;
    padding: 2.5rem !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .dvh-shop-wrap ul.products {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem !important;
    }
    .dvh-sp-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
    .dvh-shop-wrap .shop-head { padding: 3rem 0 2rem; }
    .dvh-shop-wrap ul.products {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 1rem !important;
    }
    .dvh-shop-wrap ul.products li.product img { height: 180px !important; }
    .dvh-shop-wrap ul.products li.product .woocommerce-loop-product__title {
        font-size: .9375rem !important;
        padding: 1rem 1rem .35rem !important;
    }
    .dvh-shop-wrap ul.products li.product .price {
        padding: 0 1rem !important;
        font-size: 1.125rem !important;
        margin-bottom: .75rem !important;
    }
    .dvh-shop-wrap ul.products li.product .button {
        margin: 0 1rem 1rem !important;
        padding: .7rem .875rem !important;
        font-size: .8125rem !important;
    }
    .dvh-shop-wrap ul.products li.product .dvh-card-cat {
        font-size: .625rem;
        padding: .3rem .6rem;
    }
    .dvh-shop-wrap ul.products li.product .onsale {
        font-size: .625rem !important;
        padding: .3rem .55rem !important;
    }
}