/*
Theme Name: Basta Creative Essentials
Theme URI: https://bastaessentials.com/
Author: Basta Creative Essentials
Description: Custom WordPress theme converted from the supplied Basta website.
Version: 1.0.0
Text Domain: basta
*/

:root{
  --purple:#6d4b91; --pink:#df1f78; --orange:#f5a623; --green:#91b936;
  --blue:#3595bd; --ink:#272235; --muted:#6f687b; --cream:#fffaf5;
  --lav:#f3edff; --line:#e9e1ef; --white:#fff;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--cream);line-height:1.55}
a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}
.topbar{background:var(--purple);color:#fff;font-size:14px;padding:8px 0;text-align:center}
.header{position:sticky;top:0;z-index:50;background:rgba(255,250,245,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand img{width:125px;height:58px;object-fit:contain}.links{display:flex;gap:26px;font-weight:700}.links a.active,.links a:hover{color:var(--pink)}
.actions{display:flex;gap:12px;align-items:center}.cart-link{position:relative;font-weight:700}.cart-count{background:var(--pink);color:#fff;border-radius:50%;font-size:11px;min-width:20px;height:20px;display:inline-grid;place-items:center}
.menu-btn{display:none;border:0;background:none;font-size:25px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border-radius:999px;font-weight:800;border:2px solid transparent;cursor:pointer;transition:.2s}
.btn:hover{transform:translateY(-2px)}.btn-pink{background:var(--pink);color:#fff}.btn-outline{border-color:var(--purple);color:var(--purple);background:#fff}.btn-orange{background:var(--orange);color:#fff}
.hero{min-height:600px;background:radial-gradient(circle at 80% 30%,#f7d8e8,transparent 30%),radial-gradient(circle at 5% 80%,#d8f0ee,transparent 28%),linear-gradient(135deg,#fffaf5,#f5efff);display:grid;align-items:center;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:60px 0}.eyebrow{color:var(--pink);font-weight:900;text-transform:uppercase;letter-spacing:1px}
.hero h1{font-size:clamp(42px,6vw,76px);line-height:1.05;margin:12px 0 20px}.gradient-text{background:linear-gradient(90deg,var(--purple),var(--pink),var(--orange));background-clip:text;color:transparent}
.hero p{font-size:19px;color:var(--muted);max-width:590px}.hero-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.book-stack{position:relative;height:450px;display:grid;place-items:center}.book-main{width:min(90%,430px);border-radius:20px;box-shadow:0 30px 60px rgba(50,30,70,.22);transform:rotate(2deg)}
.bubble{position:absolute;background:#fff;border-radius:18px;padding:12px 16px;box-shadow:0 10px 30px rgba(40,30,60,.12);font-weight:800}.bubble.one{left:0;top:70px;color:var(--pink)}.bubble.two{right:0;bottom:65px;color:var(--green)}
.trust{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:20px 0;text-align:center;font-weight:800}
.section{padding:80px 0}.section.alt{background:#fff}.section-title{text-align:center;max-width:700px;margin:0 auto 45px}.section-title h2{font-size:40px;margin:0 0 10px}.section-title p{color:var(--muted)}
.product-highlight{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.gallery-main{background:var(--lav);border-radius:28px;padding:22px}.gallery-main img{width:100%;display:block;border-radius:18px}
.price{font-size:32px;font-weight:900;color:var(--pink)}.old-price{text-decoration:line-through;color:#999;font-size:18px;margin-left:8px}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.badge{background:var(--lav);padding:8px 13px;border-radius:999px;font-size:14px;font-weight:700}
.feature-list{padding:0;list-style:none}.feature-list li{padding:10px 0;border-bottom:1px solid var(--line)}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;text-align:center;box-shadow:0 10px 30px rgba(45,30,60,.05)}
.card .icon{font-size:42px}.card h3{margin:10px 0 6px}.card p{color:var(--muted);margin:0}
.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.preview-grid img{width:100%;border-radius:18px;box-shadow:0 10px 25px rgba(0,0,0,.08);transition:.2s}.preview-grid img:hover{transform:scale(1.02)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.step{padding:30px;background:var(--lav);border-radius:24px}.step-number{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:var(--pink);color:#fff;font-weight:900}
.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.quote{background:#fff;padding:25px;border-radius:20px;border:1px solid var(--line)}.stars{color:var(--orange);letter-spacing:2px}
.cta{background:linear-gradient(120deg,var(--purple),var(--pink));color:#fff;border-radius:32px;padding:55px;text-align:center}.cta h2{font-size:40px;margin:0 0 10px}
.footer{background:#282036;color:#fff;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer img{width:140px;filter:brightness(1.15)}.footer p{color:#d8d1df}.footer a{display:block;color:#d8d1df;margin:8px 0}.copyright{border-top:1px solid #4a4055;margin-top:30px;padding-top:20px;color:#bdb3c8;text-align:center}
.page-hero{padding:85px 0;background:linear-gradient(135deg,var(--lav),#fff6fa);text-align:center}.page-hero h1{font-size:52px;margin:0}.page-hero p{color:var(--muted);max-width:700px;margin:15px auto 0}
.book-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:start}.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:15px}.thumbs img{width:100%;cursor:pointer;border-radius:10px;border:2px solid transparent}.thumbs img:hover{border-color:var(--pink)}
.accordion{border:1px solid var(--line);border-radius:14px;margin:10px 0;background:#fff}.accordion summary{padding:16px 18px;font-weight:800;cursor:pointer}.accordion p{padding:0 18px 18px;color:var(--muted)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid.full{grid-template-columns:1fr}.input{width:100%;padding:15px;border:1px solid var(--line);border-radius:12px;font:inherit;background:#fff}
.cart-layout{display:grid;grid-template-columns:1.4fr .6fr;gap:30px}.cart-item{display:flex;gap:18px;background:#fff;padding:18px;border:1px solid var(--line);border-radius:18px;align-items:center}.cart-item img{width:120px;border-radius:12px}.cart-summary{background:#fff;padding:25px;border-radius:18px;border:1px solid var(--line);height:max-content}
.qty{display:flex;align-items:center;gap:10px}.qty button{width:32px;height:32px;border:0;border-radius:8px;background:var(--lav);font-size:18px;cursor:pointer}
.notice{padding:14px;border-radius:12px;background:#fff3f8;color:#8c2555;margin:15px 0}
@media(max-width:850px){.links{display:none}.menu-btn{display:block}.hero-grid,.product-highlight,.book-grid,.cart-layout{grid-template-columns:1fr}.book-stack{height:360px}.cards{grid-template-columns:repeat(2,1fr)}.preview-grid{grid-template-columns:repeat(2,1fr)}.testimonials,.steps,.trust-grid,.footer-grid{grid-template-columns:1fr 1fr}.nav{height:68px}}
@media(max-width:520px){.hero h1{font-size:45px}.section{padding:55px 0}.cards,.preview-grid,.testimonials,.steps,.trust-grid,.footer-grid,.form-grid{grid-template-columns:1fr}.section-title h2{font-size:32px}.cta{padding:35px 20px}.cta h2{font-size:30px}.book-stack{height:290px}.bubble{font-size:13px}.page-hero h1{font-size:40px}}

/* WordPress/theme helpers */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.aligncenter{text-align:center}

/* =========================================
   BASTA ESSENTIALS — PREMIUM INTERACTIONS
   Soft shadows, hover effects & animations
========================================= */

:root {
    --basta-pink: #e91e78;
    --basta-purple: #754b9a;
    --basta-shadow: 0 12px 32px rgba(42, 28, 55, 0.08);
    --basta-shadow-hover: 0 20px 44px rgba(42, 28, 55, 0.15);
    --basta-transition: 0.3s ease;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header and navigation */
.header {
    transition: box-shadow var(--basta-transition),
                background var(--basta-transition);
}

.header:hover {
    box-shadow: 0 5px 20px rgba(42, 28, 55, 0.07);
}

.links a {
    position: relative;
    transition: color var(--basta-transition);
}

.links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    border-radius: 4px;
    background: var(--basta-pink);
    transition: width var(--basta-transition);
}

.links a:hover {
    color: var(--basta-pink);
}

.links a:hover::after {
    width: 100%;
}

/* Logo hover */
.brand img,
.footer-grid img {
    transition: transform var(--basta-transition),
                filter var(--basta-transition);
}

.brand:hover img {
    transform: scale(1.06);
}

/* Hero book image */
.book-stack {
    perspective: 1000px;
}

.book-main {
    transform: translateY(0) rotate(0deg);
    filter: drop-shadow(0 15px 18px rgba(60, 35, 75, 0.12));
    transition: transform 0.45s ease,
                filter 0.45s ease;
    animation: bastaBookEnter 0.9s ease both;
}

.book-stack:hover .book-main {
    transform: translateY(-8px) rotate(-1deg) scale(1.025);
    filter: drop-shadow(0 25px 25px rgba(60, 35, 75, 0.22));
}

@keyframes bastaBookEnter {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Floating hero labels */
.bubble {
    box-shadow: 0 10px 28px rgba(42, 28, 55, 0.12);
    transition: transform var(--basta-transition),
                box-shadow var(--basta-transition);
    animation: bastaFloat 4s ease-in-out infinite;
}

.bubble.two {
    animation-delay: 0.8s;
}

.book-stack:hover .bubble {
    box-shadow: 0 14px 30px rgba(42, 28, 55, 0.17);
}

@keyframes bastaFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* Buttons */
.btn {
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                background-color 0.25s ease,
                border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(42, 28, 55, 0.15);
}

.btn-pink:hover {
    box-shadow: 0 10px 25px rgba(233, 30, 120, 0.28);
}

.btn-outline:hover {
    border-color: var(--basta-pink);
    color: var(--basta-pink);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Feature badges */
.badge {
    transition: transform var(--basta-transition),
                box-shadow var(--basta-transition);
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(42, 28, 55, 0.09);
}

/* Trust strip */
.trust-grid > div {
    transition: transform var(--basta-transition),
                color var(--basta-transition);
}

.trust-grid > div:hover {
    transform: translateY(-4px);
    color: var(--basta-purple);
}

/* Product highlight */
.product-highlight {
    border-radius: 22px;
    transition: box-shadow 0.35s ease,
                transform 0.35s ease;
}

.product-highlight:hover {
    box-shadow: var(--basta-shadow-hover);
    transform: translateY(-4px);
}

.gallery-main img {
    transition: transform 0.4s ease,
                filter 0.4s ease;
}

.gallery-main:hover img {
    filter: saturate(1.04);
}

/* Benefit cards */
.cards .card {
    border: 1px solid rgba(117, 75, 154, 0.10);
    border-radius: 18px;
    box-shadow: var(--basta-shadow);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.cards .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--basta-shadow-hover);
    border-color: rgba(233, 30, 120, 0.25);
}

.cards .icon {
    transition: transform 0.3s ease;
}

.cards .card:hover .icon {
    transform: scale(1.12) rotate(-5deg);
}

/* Inside-book image gallery */
.preview-grid img {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(42, 28, 55, 0.08);
    transition: transform 0.35s ease,
                box-shadow 0.35s ease;
}

.preview-grid img:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 16px 30px rgba(42, 28, 55, 0.17);
}

/* Order steps */
.steps .step {
    transition: transform var(--basta-transition),
                box-shadow var(--basta-transition);
}

.steps .step:hover {
    transform: translateY(-5px);
    box-shadow: var(--basta-shadow);
}

/* Testimonials */
.testimonials .quote {
    border-radius: 16px;
    transition: transform var(--basta-transition),
                box-shadow var(--basta-transition);
}

.testimonials .quote:hover {
    transform: translateY(-5px);
    box-shadow: var(--basta-shadow-hover);
}

/* Final call-to-action */
.cta {
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(117, 75, 154, 0.12);
    transition: box-shadow 0.35s ease,
                transform 0.35s ease;
}

.cta:hover {
    box-shadow: 0 22px 48px rgba(117, 75, 154, 0.20);
    transform: translateY(-3px);
}

/* Footer links */
.footer-grid a {
    transition: color var(--basta-transition),
                padding-left var(--basta-transition);
}

.footer-grid a:hover {
    color: #ff8dbd;
    padding-left: 4px;
}

/* Keyboard accessibility */
.btn:focus-visible,
.links a:focus-visible,
.brand:focus-visible {
    outline: 3px solid var(--basta-pink);
    outline-offset: 4px;
}

/* Respect visitors who prefer less animation */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile: subtle interactions, no hover movement required */
@media (max-width: 768px) {
    .book-stack:hover .book-main,
    .cards .card:hover,
    .product-highlight:hover,
    .cta:hover {
        transform: none;
    }
}

/* =========================================
   BASTA — REMOVE UNWANTED EMPTY SPACING
   Preserve existing layout and design
========================================= */

/* Prevent accidental horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* Remove accidental default margins */
h1, h2, h3, h4, p {
    overflow-wrap: break-word;
}

p:last-child {
    margin-bottom: 0;
}

/* Keep section spacing consistent */
.section {
    padding-top: clamp(36px, 5vw, 64px);
    padding-bottom: clamp(36px, 5vw, 64px);
}

/* Avoid excessive gaps around section headings */
.section-title {
    margin-bottom: 26px;
}

.section-title h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.section-title p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Tighten the product highlight area */
.product-highlight {
    gap: clamp(20px, 3vw, 40px);
}

.product-highlight > div {
    min-width: 0;
}

/* Keep book image gallery compact */
.preview-grid {
    gap: 16px;
}

/* Remove extra space below the hero */
.hero {
    margin-bottom: 0;
}

.hero-grid {
    min-height: 0;
}

/* Avoid unnecessary gaps around feature cards */
.cards {
    gap: 18px;
}

/* Compact the order steps */
.steps {
    gap: 18px;
}

/* Compact testimonial spacing */
.testimonials {
    gap: 18px;
}

/* Prevent footer content from creating excess space */
.footer-grid {
    gap: 28px;
}

/* Mobile spacing adjustments */
@media (max-width: 768px) {
    .section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .preview-grid,
    .cards,
    .steps,
    .testimonials {
        gap: 14px;
    }

    .product-highlight {
        gap: 22px;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .section-title {
        margin-bottom: 16px;
    }
}
```css
/* Basta mobile navigation fix */
@media (max-width: 768px) {
    .header .nav {
        position: relative;
    }

    .header .menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        z-index: 100002;
    }

    .header .links {
        display: none !important;
        position: absolute !important;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column !important;
        align-items: stretch;
        gap: 0 !important;
        padding: 10px 18px;
        background: #fffaf5;
        border-top: 1px solid #eee1ec;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
        z-index: 100001;
    }

    .header .links.is-open {
        display: flex !important;
    }

    .header .links a {
        display: block;
        padding: 14px 10px;
        text-decoration: none;
        border-bottom: 1px solid #f0e8f0;
    }

    .header .links a:last-child {
        border-bottom: none;
    }
}

/* Basta mobile menu — single clean rule */
@media (max-width: 850px) {
    .header .nav {
        position: relative;
    }

    .header .nav > .links {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 12px 18px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        background: #fffaf5 !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .15) !important;
        z-index: 999999 !important;
    }

    .header .nav > .links.is-open {
        display: flex !important;
    }

    .header .nav > .links a {
        display: block !important;
        padding: 14px 10px !important;
        border-bottom: 1px solid #eee1ec;
    }

    .header .nav .menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        z-index: 1000000;
        touch-action: manipulation;
    }
}

/* BASTA: equal-sized homepage buttons */
.hero-buttons {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
}

.hero-buttons > .btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 48px;
    margin: 0;
    padding: 12px 10px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
}

/* Keep buttons balanced on mobile */
@media (max-width: 520px) {
    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons > .btn {
        min-height: 46px;
        padding: 10px 8px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .hero-buttons {
        gap: 7px;
    }

    .hero-buttons > .btn {
        padding: 9px 5px;
        font-size: 12px;
    }
}

/* Remove only decorative icons from homepage text */
.hero .eyebrow,
.hero .badge,
.hero .bubble,
.hero .trust-item,
.hero .trust-item span,
.hero .pill,
.hero .feature-badge {
    /* Keep text and layout unchanged */
}

/* Hide the icons inside feature badges */
.hero .pill::before,
.hero .feature-badge::before {
    content: none !important;
    display: none !important;
}

/* Hide technical product details */
.single-product .product_meta {
    display: none !important;
}

/* Make the product price easy to notice */
.single-product .summary .price {
    font-size: 28px !important;
    font-weight: 700;
    color: #e91e73 !important;
    margin: 12px 0 16px;
}

/* Improve Add to Cart button */
.single-product .single_add_to_cart_button {
    min-height: 46px;
    padding: 12px 24px !important;
    border-radius: 24px !important;
    background: #e91e73 !important;
    color: #fff !important;
    font-weight: 700;
}

/* Improve cart notification readability */
.single-product .woocommerce-message {
    font-size: 14px;
    line-height: 1.6;
    padding: 14px 16px;
    border-top-color: #91b508;
}

/* Mobile layout */
@media (max-width: 600px) {
    .single-product .summary .price {
        font-size: 25px !important;
    }

    .single-product .single_add_to_cart_button {
        padding: 12px 18px !important;
    }
}

/* Friendly WooCommerce cart notification */
.single-product .woocommerce-message {
    border: 1px solid #e8dbea !important;
    border-top: 3px solid #91b508 !important;
    border-radius: 10px !important;
    background: #fffafc !important;
    color: #263445 !important;
    padding: 14px 16px !important;
    margin: 16px 0 22px !important;
    box-shadow: 0 3px 12px rgba(35, 20, 45, 0.05);
    line-height: 1.6;
}

/* Keep View Cart button neat */
.single-product .woocommerce-message .button {
    border-radius: 20px !important;
    padding: 9px 16px !important;
    background: #e91e73 !important;
    color: #fff !important;
    border: none !important;
}

/* Mobile notification layout */
@media (max-width: 600px) {
    .single-product .woocommerce-message {
        font-size: 13px;
        padding: 12px !important;
    }

    .single-product .woocommerce-message .button {
        display: inline-block;
        float: none;
        margin: 8px 0 0;
    }
}

/* Remove the black outline from the cart success notice */
.single-product .woocommerce-message {
    outline: none !important;
    box-shadow: 0 3px 12px rgba(35, 20, 45, 0.05) !important;
    border: 1px solid #eaddec !important;
    border-top: 3px solid #91b508 !important;
    border-radius: 10px !important;
}

/* Reduce unnecessary empty space in the product section */
.single-product div.product {
    margin-bottom: 20px;
}

.single-product .woocommerce-tabs {
    margin-top: 12px !important;
}

/* Improve product description readability */
.single-product .woocommerce-Tabs-panel {
    font-size: 14px;
    line-height: 1.8;
    color: #344054;
    text-align: left;
    padding: 10px 4px;
}

.single-product .woocommerce-Tabs-panel h2 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #1e2a38;
}

/* Keep the page comfortable on mobile */
@media (max-width: 600px) {
    .single-product .woocommerce-message {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .single-product .woocommerce-message .button {
        margin-left: auto;
    }

    .single-product .woocommerce-Tabs-panel {
        padding: 10px 0;
        font-size: 14px;
    }
}

/* Clear, readable product description */
.single-product .woocommerce-Tabs-panel {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #344054;
    text-align: left;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 12px !important;
}

.single-product .woocommerce-Tabs-panel h2 {
    font-size: 23px !important;
    font-weight: 700;
    margin: 0 0 16px !important;
    text-align: left;
}

.single-product .woocommerce-Tabs-panel p {
    margin: 0 0 12px;
}

.single-product .woocommerce-Tabs-panel ul {
    padding-left: 22px;
    margin: 8px 0 16px;
}

.single-product .woocommerce-Tabs-panel li {
    margin-bottom: 6px;
}

/* Better spacing for the product information */
.single-product div.product .summary {
    padding: 8px 12px;
}

@media (max-width: 600px) {
    .single-product .woocommerce-Tabs-panel {
        font-size: 14px !important;
        padding: 12px 4px !important;
    }

    .single-product .woocommerce-Tabs-panel h2 {
        font-size: 20px !important;
    }

    .single-product div.product .summary {
        padding: 12px 0;
    }
}

/* BastaEssentials: clearer product buying section */
.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
}

.single-product div.product .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.single-product div.product .summary {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 8px 0 !important;
}

.single-product .summary .price {
    font-size: 28px !important;
    font-weight: 700;
    color: #e91e73 !important;
    margin-bottom: 14px;
}

.single-product .summary .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.7;
    color: #344054;
    margin: 14px 0;
}

.single-product .summary form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.single-product .summary .single_add_to_cart_button {
    min-height: 46px;
    border-radius: 24px !important;
    padding: 12px 22px !important;
    background: #e91e73 !important;
    color: #fff !important;
}

/* Large View Cart button under Add to Cart */
.single-product .basta-view-cart {
    display: flex;
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
    padding: 14px 20px;
    border-radius: 28px;
    background: #292038;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
}

.single-product .basta-view-cart:hover {
    background: #e91e73;
    color: #fff !important;
}

/* Mobile: stack image and buying section */
@media (max-width: 600px) {
    .single-product div.product {
        display: block;
    }

    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .summary {
        width: 100% !important;
    }

    .single-product .summary .price {
        font-size: 25px !important;
    }

    .single-product .basta-view-cart {
        min-height: 50px;
        font-size: 15px;
    }
}

/* Hide the added-to-cart notification on product pages */
.single-product .woocommerce-notices-wrapper:has(.woocommerce-message) {
    display: none !important;
}

.single-product .basta-quantity-total {
    color: #292038;
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0 16px;
}

.single-product form.cart input.qty {
    width: 70px;
    min-height: 44px;
    border: 1px solid #d8cfe0;
    border-radius: 8px;
    padding: 8px;
}

/* BastaEssentials: simple, readable checkout */
body.woocommerce-checkout {
    background: #fffaf5;
}

.woocommerce-checkout form.checkout {
    max-width: 1100px;
    margin: 24px auto;
    padding: 24px;
    background: #fff;
    border: 1px solid #eaddec;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(35, 20, 45, 0.05);
}

.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading {
    font-size: 21px;
    line-height: 1.4;
    color: #292038;
    margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #292038;
    margin-bottom: 6px;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d8cfe0;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    outline: 2px solid #f6b5d1;
    border-color: #e91e73;
}

.woocommerce-checkout #order_review {
    padding: 16px;
    border: 1px solid #eaddec;
    border-radius: 12px;
    background: #fff;
}

.woocommerce-checkout #order_review table {
    width: 100%;
    font-size: 14px;
}

.woocommerce-checkout #order_review .order-total {
    font-size: 19px;
    font-weight: 700;
    color: #e91e73;
}

.woocommerce-checkout #payment {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #eaddec;
    border-radius: 12px;
}

.woocommerce-checkout #payment .payment_methods {
    padding: 14px;
}

.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    border: 0;
    border-radius: 28px;
    background: #e91e73;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.woocommerce-checkout #place_order:hover {
    background: #c91660;
}

@media (max-width: 600px) {
    .woocommerce-checkout form.checkout {
        margin: 12px auto;
        padding: 14px;
        border-radius: 12px;
    }

    .woocommerce-checkout #customer_details h3,
    .woocommerce-checkout #order_review_heading {
        font-size: 19px;
    }

    .woocommerce-checkout #order_review {
        padding: 12px;
    }

    .woocommerce-checkout #place_order {
        min-height: 50px;
        font-size: 15px;
    }
}

/* BastaEssentials: readable WooCommerce Checkout Blocks */
body.woocommerce-checkout {
    background: #fffaf5;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
    max-width: 1100px;
    margin: 24px auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #eaddec;
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0 6px 24px rgba(35, 20, 45, 0.05);
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__order-summary-title {
    color: #292038;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-address-form select {
    min-height: 48px;
    border-radius: 8px;
    font-size: 15px;
}

body.woocommerce-checkout .wc-block-components-text-input label {
    font-size: 14px;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: 52px;
    border-radius: 28px;
    background: #e91e73;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 600px) {
    body.woocommerce-checkout .wp-block-woocommerce-checkout {
        margin: 12px auto;
        padding: 16px;
        border-radius: 12px;
    }

    body.woocommerce-checkout .wc-block-components-title,
    body.woocommerce-checkout .wc-block-checkout__order-summary-title {
        font-size: 18px;
    }

    body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
        width: 100%;
        min-height: 52px;
    }
}

/* BastaEssentials: Mobile checkout order summary fix */
@media screen and (max-width: 600px) {

    /* Keep the summary within the available screen width */
    .wc-block-components-order-summary,
    .wp-block-woocommerce-checkout-order-summary-block {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Product row: thumbnail | details | price */
    .wc-block-components-order-summary-item {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        min-width: 0 !important;
    }

    .wc-block-components-order-summary-item__image {
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        margin: 0 !important;
    }

    .wc-block-components-order-summary-item__image img {
        display: block !important;
        width: 44px !important;
        height: auto !important;
        max-width: 100% !important;
    }

    /* Give the product name the remaining space */
    .wc-block-components-order-summary-item__description {
        flex: 1 1 0% !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .wc-block-components-order-summary-item__product-name {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* Remove the lengthy product description from checkout summary */
    .wc-block-components-order-summary-item__description p {
        display: none !important;
    }

    /* Keep the price on the right */
    .wc-block-components-order-summary-item__total-price,
    .wc-block-components-order-summary-item__individual-prices {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
        white-space: nowrap !important;
        text-align: right !important;
        font-size: 16px !important;
    }

    /* Keep totals aligned */
    .wc-block-components-totals-item {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .wc-block-components-totals-item__label {
        min-width: 0 !important;
    }

    .wc-block-components-totals-item__value {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        text-align: right !important;
    }
}

/* BastaEssentials: Strong mobile order-summary layout fix */
@media screen and (max-width: 600px) {

    .wc-block-components-order-summary,
    .wp-block-woocommerce-checkout-order-summary-block {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .wc-block-components-order-summary-item {
        display: grid !important;
        grid-template-columns: 56px minmax(0, 1fr) auto !important;
        align-items: start !important;
        column-gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .wc-block-components-order-summary-item__image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 56px !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .wc-block-components-order-summary-item__image img {
        display: block !important;
        width: 56px !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .wc-block-components-order-summary-item__description {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .wc-block-components-order-summary-item__product-name {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .wc-block-components-order-summary-item__description p {
        display: none !important;
    }

    .wc-block-components-order-summary-item__total-price,
    .wc-block-components-order-summary-item__individual-prices {
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        white-space: nowrap !important;
        text-align: right !important;
        font-size: 16px !important;
    }
}

/* Hide cart item count badge */
.cart-count {
    display: none !important;
}

/* BastaEssentials: show mobile menu on every page */
@media (max-width: 768px) {
    .header .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .header .actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header .menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #292033;
        font-size: 26px;
        cursor: pointer;
    }

    .header .links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9999;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px;
        background: #fffaf5;
        border-top: 1px solid #eee0ec;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    .header .links.is-open {
        display: flex !important;
    }

    .header .links a {
        display: block;
        padding: 12px 0;
    }
}

/* Force the mobile menu button to appear on every page */
@media screen and (max-width: 850px) {
    .header .actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .header .menu-btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 40px !important;
        height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 26px !important;
        color: #272235 !important;
        background: transparent !important;
        border: 0 !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 100002 !important;
    }
}
