/* ============================================================
   CIRCUITRY OS — PRODUCT PAGE STYLESHEET v3.0
   Fonts: Instrument Serif (display) + Outfit (body/UI)
   Tokens mirror the hero exactly — light & dark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   TOKENS — LIGHT
   ============================================================ */
.woocommerce div.product {
    --bg:                #F0EDE6;
    --bg-card:           rgba(255, 255, 255, 0.72);
    --bg-feature:        rgba(255, 255, 255, 0.55);
    --bg-pill:           rgba(30, 80, 160, 0.08);
    --border:            rgba(0, 0, 0, 0.08);
    --border-hover:      rgba(30, 80, 160, 0.30);
    --text-primary:      #0A0A0F;
    --text-secondary:    #4A4A5A;
    --text-muted:        #8A8A9A;
    --text-eyebrow:      #1A5CC8;
    --accent:            #1A5CC8;
    --accent-glow:       rgba(26, 92, 200, 0.18);
    --shadow-card:       0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.05);
    --shadow-hover:      0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
    --noise-opacity:     0.025;
    --product-r:         26;
    --product-g:         92;
    --product-b:         200;

    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
    transition: background 0.6s ease, color 0.4s ease;
    min-height: 100vh;
}

/* ============================================================
   TOKENS — DARK
   ============================================================ */
@media (prefers-color-scheme: dark) {
    .woocommerce div.product {
        --bg:                #090B10;
        --bg-card:           rgba(18, 22, 32, 0.85);
        --bg-feature:        rgba(255, 255, 255, 0.03);
        --bg-pill:           rgba(26, 92, 200, 0.15);
        --border:            rgba(255, 255, 255, 0.07);
        --border-hover:      rgba(80, 140, 255, 0.40);
        --text-primary:      #EEF0F8;
        --text-secondary:    rgba(238, 240, 248, 0.65);
        --text-muted:        rgba(238, 240, 248, 0.38);
        --text-eyebrow:      #6AADFF;
        --accent:            #4E96FF;
        --accent-glow:       rgba(78, 150, 255, 0.22);
        --shadow-card:       0 8px 40px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.30);
        --shadow-hover:      0 20px 60px rgba(0,0,0,0.60), 0 4px 16px rgba(0,0,0,0.35);
        --noise-opacity:     0.04;
        --product-r:         78;
        --product-g:         150;
        --product-b:         255;
    }
}

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */
#cq-product-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cq-product-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    transition: background 0.7s ease;
}

.cq-product-blob-1 {
    width: 600px; height: 600px;
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 0.13);
    top: -120px; left: -160px;
}

.cq-product-blob-2 {
    width: 500px; height: 500px;
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 0.07);
    bottom: -80px; right: -120px;
}

.cq-product-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: var(--noise-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ============================================================
   GLASS CARD WRAPPER (wraps entire product)
   ============================================================ */
.woocommerce div.product > .product-inner-wrap {
    position: relative;
    z-index: 10;
    background: var(--bg-card);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 56px 52px 60px;
    max-width: 1200px;
    margin: 48px auto;
    box-shadow: var(--shadow-card);
    transition: background 0.5s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    animation: cq-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cq-rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.woocommerce .woocommerce-breadcrumb {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    margin-bottom: 32px !important;
    padding: 0 !important;
    position: relative;
    z-index: 10;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--text-eyebrow) !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    opacity: 0.7;
}

/* ============================================================
   SALE BADGE
   ============================================================ */
.woocommerce div.product .onsale {
    font-family: 'Outfit', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
    color: #fff !important;
    border-radius: 100px !important;
    padding: 6px 14px !important;
    min-width: unset !important;
    min-height: unset !important;
    line-height: 1 !important;
    box-shadow: 0 4px 14px rgba(var(--product-r), var(--product-g), var(--product-b), 0.35) !important;
    top: 16px !important;
    left: 16px !important;
}

/* ============================================================
   PRODUCT GALLERY
   ============================================================ */
.woocommerce-product-gallery {
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 0.05) !important;
    border: 1px solid var(--border) !important;
    border-radius: 24px !important;
    padding: 20px !important;
    transition: background 0.6s ease, border-color 0.4s ease !important;
    overflow: hidden !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    border-radius: 16px !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image:hover img {
    transform: scale(1.02) !important;
}

/* Thumbnails */
.woocommerce-product-gallery .flex-control-thumbs {
    margin-top: 16px !important;
    gap: 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 64px !important;
    height: 64px !important;
    margin: 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    opacity: 0.65 !important;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    opacity: 1 !important;
    border-color: rgba(var(--product-r), var(--product-g), var(--product-b), 0.8) !important;
    transform: scale(1.06) !important;
}

/* ============================================================
   PRODUCT TITLE — Instrument Serif display
   ============================================================ */
.woocommerce div.product .product_title {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-size: clamp(32px, 5vw, 58px) !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -0.02em !important;
    line-height: 1.05 !important;
    color: var(--text-primary) !important;
    margin: 0 0 20px !important;
}

/* ============================================================
   PRICE
   ============================================================ */
.woocommerce div.product .price {
    font-family: 'Outfit', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.woocommerce div.product .price del {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
    text-decoration: line-through !important;
    opacity: 0.7 !important;
}

.woocommerce div.product .price ins {
    text-decoration: none !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

/* ============================================================
   SHORT DESCRIPTION
   ============================================================ */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    line-height: 1.75 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 28px !important;
    max-width: 480px;
    letter-spacing: 0.01em;
}

/* ============================================================
   PRODUCT META (categories, tags)
   ============================================================ */
.woocommerce div.product .product_meta {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    color: var(--text-muted) !important;
    margin-top: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.woocommerce div.product .product_meta span.posted_in,
.woocommerce div.product .product_meta span.tagged_as {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.woocommerce div.product .product_meta a {
    display: inline-block !important;
    background: var(--bg-pill) !important;
    border: 1px solid rgba(var(--product-r), var(--product-g), var(--product-b), 0.20) !important;
    color: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
    border-radius: 100px !important;
    padding: 3px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.woocommerce div.product .product_meta a:hover {
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 0.15) !important;
    transform: translateY(-1px) !important;
}

/* ============================================================
   QUANTITY INPUT
   ============================================================ */
.woocommerce div.product form.cart .quantity .qty {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    background: var(--bg-feature) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    width: 80px !important;
    text-align: center !important;
    transition: border-color 0.25s ease, background 0.25s ease !important;
    -moz-appearance: textfield !important;
}

.woocommerce div.product form.cart .quantity .qty:focus {
    outline: none !important;
    border-color: rgba(var(--product-r), var(--product-g), var(--product-b), 0.6) !important;
    background: var(--bg-card) !important;
}

/* ============================================================
   ADD TO CART BUTTON — hero pill style
   ============================================================ */
.woocommerce div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-top: 8px !important;
}

.woocommerce div.product .single_add_to_cart_button,
.woocommerce div.product .single_add_to_cart_button.button {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    color: #fff !important;
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 16px 40px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 8px 24px rgba(var(--product-r), var(--product-g), var(--product-b), 0.32) !important;
    transition: background 0.3s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce div.product .single_add_to_cart_button::after {
    content: '→';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    font-size: 12px;
    transition: transform 0.25s ease;
}

.woocommerce div.product .single_add_to_cart_button:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 14px 36px rgba(var(--product-r), var(--product-g), var(--product-b), 0.45) !important;
}

.woocommerce div.product .single_add_to_cart_button:hover::after {
    transform: translateX(3px);
}

/* ============================================================
   TABS — completely redesigned
   ============================================================ */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 60px !important;
    position: relative;
    z-index: 10;
}

/* Tab nav strip */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 0 !important;
    display: flex !important;
    gap: 4px !important;
    background: var(--bg-feature) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 6px !important;
    width: fit-content !important;
    flex-wrap: wrap !important;
}

/* Remove WooCommerce pseudo-border hacks */
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* Tab items */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

/* Tab links */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    display: block !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    transition: color 0.2s ease, background 0.2s ease !important;
    white-space: nowrap !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--text-primary) !important;
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 0.06) !important;
}

/* Active tab */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--bg-card) !important;
    border: 1px solid rgba(var(--product-r), var(--product-g), var(--product-b), 0.20) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
    background: transparent !important;
}

/* Tab panels */
.woocommerce div.product .woocommerce-tabs .panel {
    background: var(--bg-card) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid var(--border) !important;
    border-radius: 0 20px 20px 20px !important;
    padding: 40px 44px !important;
    margin-top: -1px !important;
    animation: cq-rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    color: var(--text-primary) !important;
    margin: 0 0 20px !important;
    letter-spacing: -0.01em !important;
}

.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
    color: var(--text-secondary) !important;
    letter-spacing: 0.01em !important;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
#reviews .comment_container {
    background: var(--bg-feature) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 16px !important;
    transition: border-color 0.25s ease, transform 0.25s ease !important;
}

#reviews .comment_container:hover {
    border-color: var(--border-hover) !important;
    transform: translateY(-2px) !important;
}

#reviews .comment-text p.meta {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
}

#reviews .comment-text .description p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: var(--text-secondary) !important;
    line-height: 1.75 !important;
}

/* Star ratings */
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
    color: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
}

/* Review form */
#review_form .comment-form-rating label,
#review_form .comment-form p label {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    color: var(--text-primary) !important;
    background: var(--bg-feature) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    transition: border-color 0.25s ease, background 0.25s ease !important;
    width: 100% !important;
}

#review_form input[type="text"]:focus,
#review_form input[type="email"]:focus,
#review_form textarea:focus {
    outline: none !important;
    border-color: rgba(var(--product-r), var(--product-g), var(--product-b), 0.5) !important;
    background: var(--bg-card) !important;
}

#review_form input[type="submit"] {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 14px 32px !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    box-shadow: 0 6px 20px rgba(var(--product-r), var(--product-g), var(--product-b), 0.30) !important;
}

#review_form input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(var(--product-r), var(--product-g), var(--product-b), 0.42) !important;
}

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.related.products {
    position: relative;
    z-index: 10;
    margin-top: 72px !important;
}

.related.products > h2 {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-size: 36px !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    color: var(--text-primary) !important;
    margin-bottom: 32px !important;
}

.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.related.products ul.products li.product {
    background: var(--bg-card) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    overflow: hidden !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s ease, border-color 0.28s ease !important;
    position: relative !important;
}

.related.products ul.products li.product::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(var(--product-r), var(--product-g), var(--product-b), 0.08), transparent 65%);
    opacity: 0;
    transition: opacity 0.28s ease;
    border-radius: inherit;
    pointer-events: none;
}

.related.products ul.products li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: var(--border-hover) !important;
}

.related.products ul.products li.product:hover::before {
    opacity: 1;
}

.related.products ul.products li.product img {
    border-radius: 12px !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.related.products ul.products li.product:hover img {
    transform: scale(1.04) !important;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: var(--text-primary) !important;
    margin: 12px 0 6px !important;
    letter-spacing: -0.01em !important;
}

.related.products ul.products li.product .price {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
}

.related.products ul.products li.product .button {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 0.10) !important;
    color: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
    border: 1px solid rgba(var(--product-r), var(--product-g), var(--product-b), 0.25) !important;
    border-radius: 100px !important;
    padding: 10px 20px !important;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 10px !important;
}

.related.products ul.products li.product .button:hover {
    background: rgba(var(--product-r), var(--product-g), var(--product-b), 1) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(var(--product-r), var(--product-g), var(--product-b), 0.30) !important;
}

/* ============================================================
   SMOOTH TRANSITIONS — all dynamic elements
   ============================================================ */
.woocommerce div.product,
.woocommerce-product-gallery,
.summary.entry-summary,
.cq-product-blob,
.woocommerce div.product .single_add_to_cart_button,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce div.product .price {
    transition: background 0.6s ease, border-color 0.4s ease,
                box-shadow 0.4s ease, color 0.5s ease !important;
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 767px) {
    .woocommerce div.product > .product-inner-wrap {
        padding: 28px 20px 36px !important;
        border-radius: 20px !important;
        margin: 20px 12px !important;
    }

    .woocommerce div.product .product_title {
        font-size: clamp(28px, 8vw, 42px) !important;
    }

    .woocommerce div.product .single_add_to_cart_button {
        width: 100% !important;
        justify-content: center !important;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        width: 100% !important;
        justify-content: stretch !important;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        flex: 1 !important;
        text-align: center !important;
    }

    .woocommerce div.product .woocommerce-tabs .panel {
        padding: 28px 20px !important;
        border-radius: 0 12px 12px 12px !important;
    }

    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}