.woocommerce-products-header {
    display: none;
}

/* WRAPPER */
.page-content .woocommerce-ordering {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

/* SELECT DROPDOWN */
.page-content .woocommerce-ordering select.orderby {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: #fff;
    border: 1px solid #d1d5db;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}

/* HOVER / FOCUS */
.page-content .woocommerce-ordering select.orderby:hover,
.page-content .woocommerce-ordering select.orderby:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.25);
    outline: none;
}

/* CUSTOM DROPDOWN ARROW */
.page-content .woocommerce-ordering {
    position: relative;
}

.page-content .woocommerce-ordering::after {
    content: "▾";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1rem;
    color: #6b7280;
}

/* PRODUCT GRID - FORCE A MODERN GRID AND IGNORE WOO FLOATS */
.page-content ul.products::before,
.page-content ul.products::after {
    content: none !important;
    display: none !important;
}

.page-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

/* PRODUCT CARD */
.page-content ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    list-style: none;   
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all .2s ease;
}

.page-content ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* PRODUCT TITLE */
.page-content ul.products li.product .woocommerce-loop-product__title {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* PRICE */
.page-content ul.products li.product .price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0ea5e9;
}

/* BUTTONS */
.page-content a.button,
.page-content button.button,
.page-content input.button {
    background: #0ea5e9;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background .2s ease;
}

.page-content a.button:hover,
.page-content button.button:hover {
    background: #0284c7;
}

/* SALE BADGE */
.page-content span.onsale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f43f5e;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

/***********************************************
 * PRODUCT GALLERY — STABLE FRAME, NO JUMPING
 ***********************************************/

/* Fixed-height viewport, but keep Flexslider's layout intact */
.page-content .woocommerce-product-gallery .flex-viewport {
    height: 520px;
    max-height: 60vh;
    background: #fff;
    overflow: hidden;
    text-align: center; /* for centering images */
}

/* Slides: DO NOT touch float/display/width — let Woo/Flexslider handle it */

/* Main image: keep aspect ratio, don't rely on height:100% */
.page-content .woocommerce-product-gallery__image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 1rem; /* optional */
    display: block;
    margin: 0 auto;
}

/***********************************************
 * THUMBNAILS — DON'T FORCE SQUARE
 ***********************************************/
.page-content .flex-control-nav {
    display: flex !important;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
}

.page-content .flex-control-nav li {
    list-style: none;
    margin: 0;
}

.page-content .flex-control-nav img {
    width: 70px;
    height: auto;              /* <-- important */
    max-height: 70px;
    object-fit: contain;
    background: #fff;
    padding: 0.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all .2s ease;
}

.page-content .flex-control-nav .flex-active img {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14,165,233,0.25);
}

/* Zoom icon spacing */
.page-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 1.5rem !important;
    right: 1.5rem !important;
}

.page-content .woocommerce-product-gallery .flex-control-nav {
    margin-top: 1.5rem !important;
}

/***********************************************
 * PRODUCT TITLE
 ***********************************************/
.page-content .product_title {
    font-size: 2rem;              /* matches your theme’s H2 scale */
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin-bottom: 1rem;
    font-family: var(--font-serif, Georgia, serif);
}

/***********************************************
 * PRICE
 ***********************************************/
.page-content .price {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0ea5e9;                /* your primary accent */
    margin-bottom: 1.25rem;
    display: block;
}

/***********************************************
 * SHORT DESCRIPTION
 ***********************************************/
.page-content .woocommerce-product-details__short-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;                /* muted-foreground */
    margin-bottom: 2rem;
}

.page-content .woocommerce-product-details__short-description p {
    margin: 0;
}

/***********************************************
 * ADD TO CART FORM SPACING
 ***********************************************/
.page-content form.cart {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/***********************************************
 * QUANTITY INPUT
 ***********************************************/
.page-content .quantity .qty {
    width: 70px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

/***********************************************
 * ADD TO CART BUTTON
 ***********************************************/
.page-content .single_add_to_cart_button {
    background: #0ea5e9;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background .2s ease;
}

.page-content .single_add_to_cart_button:hover {
    background: #0284c7;
}

/***********************************************
 * PRODUCT META (Category)
 ***********************************************/
.page-content .product_meta {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #6b7280;
}

.page-content .product_meta a {
    color: #0ea5e9;
    text-decoration: none;
}

.page-content .product_meta a:hover {
    text-decoration: underline;
}

/***********************************************
 * ADD TO CART ROW
 ***********************************************/
.page-content form.cart {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/***********************************************
 * QUANTITY INPUT
 ***********************************************/
.page-content .quantity {
    position: relative;
}

.page-content .quantity .qty {
    width: 80px;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    color: #111;
    appearance: textfield;
}

/* Remove spinners (Chrome, Edge, Safari) */
.page-content .quantity .qty::-webkit-outer-spin-button,
.page-content .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove spinners (Firefox) */
.page-content .quantity .qty[type=number] {
    -moz-appearance: textfield;
}

/***********************************************
 * ADD TO CART BUTTON
 ***********************************************/
.page-content .single_add_to_cart_button {
    background: #0ea5e9;
    color: #fff;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-content .single_add_to_cart_button:hover {
    background: #0284c7;
}

.page-content .single_add_to_cart_button:active {
    transform: scale(0.97);
}

/***********************************************
 * MOBILE STACKING
 ***********************************************/
@media (max-width: 640px) {
    .page-content form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .page-content .single_add_to_cart_button {
        width: 100%;
    }
}

/***********************************************
 * TABS WRAPPER
 ***********************************************/
.page-content .woocommerce-tabs {
    margin-top: 3rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

/***********************************************
 * TAB HEADERS
 ***********************************************/
.page-content .woocommerce-tabs .tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

.page-content .woocommerce-tabs .tabs li {
    list-style: none;
    margin: 0;
}

.page-content .woocommerce-tabs .tabs li a {
    font-size: 1.125rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    padding-bottom: 0.5rem;
    display: inline-block;
    transition: color .2s ease, border-color .2s ease;
    border-bottom: 2px solid transparent;
}

/* Active tab */
.page-content .woocommerce-tabs .tabs li.active a {
    color: #0ea5e9;
    border-color: #0ea5e9;
}

/* Hover */
.page-content .woocommerce-tabs .tabs li a:hover {
    color: #0ea5e9;
}

/***********************************************
 * TAB CONTENT PANEL
 ***********************************************/
.page-content .woocommerce-Tabs-panel {
    padding-top: 0.5rem;
}

/* Remove WooCommerce's forced H2 */
.page-content .woocommerce-Tabs-panel > h2 {
    display: none;
}

/***********************************************
 * LONG DESCRIPTION TYPOGRAPHY
 ***********************************************/
.page-content .woocommerce-Tabs-panel p,
.page-content .woocommerce-Tabs-panel li {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4b5563;
}

.page-content .woocommerce-Tabs-panel ul,
.page-content .woocommerce-Tabs-panel ol {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.page-content .woocommerce-Tabs-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111;
}

/***********************************************
 * REVIEWS (if enabled later)
 ***********************************************/
.page-content #reviews #comments h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-content #reviews #comments ol.commentlist {
    margin-top: 1.5rem;
}

.page-content #reviews #comments .comment-text {
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #fff;
}

/***********************************************
 * H2s INSIDE DESCRIPTION CONTENT
 ***********************************************/
.page-content .woocommerce-Tabs-panel h2:not(:first-child) {
    display: block !important;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #111;
    line-height: 1.3;
}

/***********************************************
 * RELATED PRODUCTS — SECTION WRAPPER
 ***********************************************/
.page-content .related {
    margin-top: 4rem;
    padding: 2.5rem 2rem;
    background: #f6f7f9; /* whisper-light tint */
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

/***********************************************
 * RELATED PRODUCTS — HEADING
 ***********************************************/
.page-content .related > h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #111;
    line-height: 1.3;
    font-family: var(--font-serif, Georgia, serif);
    text-align: left;
}

/***********************************************
 * OPTIONAL: SPACING BETWEEN CARDS
 ***********************************************/
.page-content .related ul.products {
    margin-top: 1rem;
}

/***********************************************
 * ADD TO CART — SUCCESS NOTIFICATION
 ***********************************************/
.page-content .woocommerce-message {
    background: #ecfdf5;                 /* soft green tint */
    border: 1px solid #a7f3d0;           /* mint border */
    color: #065f46;                      /* deep green text */
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-weight: 500;
}

/***********************************************
 * PERFECT SUCCESS ICON ALIGNMENT + SPACING
 ***********************************************/

/* Classic WooCommerce notices */
.woocommerce-message::before,
.page-content .woocommerce-message::before {
    margin-right: 1.25rem !important;   /* proper gap */
    color: #059669 !important;          /* green tick */
    position: relative !important;
    top: 0.15rem !important;            /* vertical alignment fix */
    line-height: 1 !important;
}

/* WooCommerce Blocks notices */
.wc-block-components-notice-banner.is-success::before {
    margin-right: 1.25rem !important;
    color: #059669 !important;
    position: relative !important;
    top: 0.15rem !important;            /* aligns with text baseline */
    line-height: 1 !important;
}

/* Ensure text doesn't collide with icon */
.woocommerce-message,
.wc-block-components-notice-banner.is-success {
    padding-left: 2.5rem !important;    /* enough room for icon + gap */
    display: flex !important;
    align-items: center !important;     /* vertically align text + icon */
}

/***********************************************
 * CART BLOCK — FIX TWO-COLUMN LAYOUT COLLAPSING
 ***********************************************/
.wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: 1fr 360px !important; /* product list | totals */
    gap: 2.5rem !important;
    align-items: start;
}

/* Prevent sidebar from shrinking to zero */
.wc-block-cart__sidebar {
    min-width: 320px !important;
}

/* Ensure main content takes remaining space */
.wc-block-cart__main {
    min-width: 0 !important;
}

/***********************************************
 * RESPONSIVE — STACK ON MOBILE
 ***********************************************/
@media (max-width: 900px) {
    .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr !important;
    }

    .wc-block-cart__sidebar {
        order: 2;
        width: 100% !important;
    }

    .wc-block-cart__main {
        order: 1;
    }
}

/***********************************************
 * CART BLOCK — GLOBAL VARIABLES
 ***********************************************/
.wc-block-cart {
    --cart-border: #e5e7eb;
    --cart-radius: 0.75rem;
    --cart-bg: #ffffff;
}

/***********************************************
 * FIX COLUMN LAYOUT — ENSURE CLEAR SEPARATION
 ***********************************************/
.wc-block-components-sidebar-layout {
    gap: 2.5rem !important; /* space between product list + totals */
}

/***********************************************
 * PRODUCT ROWS — NO CARD WRAPPING
 ***********************************************/
.wc-block-cart-items__row {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
}

/***********************************************
 * PRODUCT NAME
 ***********************************************/
.wc-block-components-product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.wc-block-components-product-name:hover {
    color: #0ea5e9;
}

/***********************************************
 * QUANTITY SELECTOR
 ***********************************************/
.wc-block-components-quantity-selector__input {
    width: 70px !important;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    font-size: 1rem !important;
}

.wc-block-components-quantity-selector__button {
    background: #f3f4f6 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 1.25rem !important;
    color: #374151 !important;
}

.wc-block-components-quantity-selector__button:hover {
    background: #e5e7eb !important;
}

/***********************************************
 * REMOVE BUTTON
 ***********************************************/
.wc-block-cart-item__remove-link {
    color: #ef4444 !important;
    margin-left: 0.75rem;
}

.wc-block-cart-item__remove-link:hover {
    color: #dc2626 !important;
}

/***********************************************
 * SIDEBAR TOTALS — CARD STYLE
 ***********************************************/
.wc-block-cart__sidebar {
    background: #f6f7f9;
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);
    padding: 1.75rem;
}

.wc-block-cart__totals-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: #111 !important;
    font-family: var(--font-serif, Georgia, serif);
}

/***********************************************
 * TOTALS ITEMS
 ***********************************************/
.wc-block-components-totals-item__label {
    font-size: 1rem;
    color: #374151;
}

.wc-block-components-totals-item__value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111;
}

/***********************************************
 * PROCEED TO CHECKOUT BUTTON
 ***********************************************/
.wc-block-cart__submit-button {
    background: #0ea5e9 !important;
    color: #fff !important;
    padding: 1rem 1.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    text-align: center;
    transition: background .2s ease;
}

.wc-block-cart__submit-button:hover {
    background: #0284c7 !important;
}

/***********************************************
 * COUPON ACCORDION
 ***********************************************/
.wc-block-components-panel__button {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #111 !important;
    padding: 0.75rem 0 !important;
}

.wc-block-components-panel__button-icon {
    fill: #0ea5e9 !important;
}

/***********************************************
 * 1) PRICE + ROW TOTAL — MAKE SMALLER + CLEANER
 ***********************************************/
.wc-block-cart-item__total .wc-block-components-formatted-money-amount,
.wc-block-cart-item__prices .wc-block-components-formatted-money-amount {
    font-size: 1rem !important;      /* smaller */
    font-weight: 600 !important;     /* clean, readable */
    color: #111 !important;
}

/* Optional: make totals slightly stronger than unit price */
.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

/***********************************************
 * 2) REMOVE OUTER BORDER AROUND QUANTITY BLOCK
 ***********************************************/
/* Outer wrapper around the input + +/- buttons */
.wc-block-cart-item__quantity,
.wc-block-components-quantity-selector {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Keep only the input + buttons styled */
.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector__button {
    border-color: #d1d5db !important;
    background: #fff !important;
}

.wc-block-components-quantity-selector__button:hover {
    background: #f3f4f6 !important;       /* subtle hover */
}

/***********************************************
 * 3) TIGHTEN GAP BETWEEN PRODUCTS + TOTALS
 ***********************************************/
.wc-block-components-sidebar-layout .wc-block-components-main {
    width: 100% !important;
}

/***********************************************
 * 4 HIDE PRODUCT SUMMARY / DESCRIPTION IN CART
 ***********************************************/
.wc-block-components-product-metadata {
    display: none !important;
}

/***********************************************
 * CHECKOUT — TWO-COLUMN LAYOUT FIX
 ***********************************************/
.wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid !important;
    grid-template-columns: 1fr 360px !important;
    gap: 1.75rem !important;
    align-items: start;
}

.wc-block-checkout__sidebar {
    min-width: 320px !important;
}

.wc-block-checkout__main {
    min-width: 0 !important;
}

/* Mobile */
@media (max-width: 900px) {
    .wc-block-components-sidebar-layout.wc-block-checkout {
        grid-template-columns: 1fr !important;
    }
}

/***********************************************
 * CHECKOUT — FORCE ORDER SUMMARY OPEN
 ***********************************************/
.wc-block-checkout__sidebar .wc-block-components-panel {
    max-height: none !important;
    overflow: visible !important;
}

.wc-block-checkout__sidebar .wc-block-components-panel__content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/***********************************************
 * CHECKOUT — SIDEBAR CARD STYLE (MATCH CART)
 ***********************************************/
.wc-block-checkout__sidebar {
    background: #f6f7f9;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.75rem;
}

.wc-block-checkout__sidebar h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.25rem !important;
    color: #111 !important;
    font-family: var(--font-serif, Georgia, serif);
}

/***********************************************
 * CHECKOUT — PRICE + ROW TOTAL (MATCH CART)
 ***********************************************/
.wc-block-components-product-price__value,
.wc-block-components-totals-item__value,
.wc-block-components-order-summary-item__value,
.wc-block-components-order-summary-item__total,
.wc-block-components-formatted-money-amount {
    color: #111 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.wc-block-components-order-summary-item__total {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

/***********************************************
 * CHECKOUT — FORM FIELD STYLING
 ***********************************************/
.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-blocks-components-select__select {
    width: 100% !important;
    padding: 0.65rem 0.75rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    background: #fff !important;
    font-size: 1rem !important;
    color: #111 !important;
}

.wc-block-components-text-input label,
.wc-blocks-components-select__label {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.25rem !important;
}

/***********************************************
 * CHECKOUT — SHIPPING OPTIONS
 ***********************************************/
.wc-block-components-radio-control__label {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #111 !important;
}

.wc-block-components-radio-control__secondary-label {
    font-size: 0.95rem !important;
    color: #374151 !important;
}

/***********************************************
 * CHECKOUT — PAYMENT METHODS
 ***********************************************/
.wc-block-components-radio-control__input:checked + .wc-block-components-radio-control__option-layout {
    border-color: #0ea5e9 !important;
}

.wc-block-components-radio-control__option-layout {
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    background: #fff !important;
}

/***********************************************
 * CHECKOUT — PLACE ORDER BUTTON
 ***********************************************/
.wc-block-components-checkout-place-order-button {
    background: #0ea5e9 !important;
    color: #fff !important;
    padding: 1rem 1.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    text-align: center !important;
    transition: background .2s ease;
}

.wc-block-components-checkout-place-order-button:hover {
    background: #0284c7 !important;
}

/***********************************************
 * CHECKOUT — CHECKBOXES
 ***********************************************/
.wc-block-components-checkbox__label {
    font-size: 1rem !important;
    color: #111 !important;
    font-weight: 600 !important;
}

/***********************************************
 * CHECKOUT — REMOVE BLUE ACCENTS
 ***********************************************/
.wc-block-components-title,
.wc-block-components-checkout-step__title {
    color: #111 !important;
}

/* Remove WooCommerce's transform-based floating labels */
.wc-block-components-text-input label,
.wc-blocks-components-select__label {
    transform: none !important;
    transition: none !important;
}

/***********************************************
 * CLEAN FLOATING LABEL SYSTEM (FINAL)
 ***********************************************/

/* Base field styling */
.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-blocks-components-select__select {
    padding: 1.1rem 0.75rem 0.55rem !important; /* perfect vertical spacing */
    line-height: 1.4 !important;               /* fixes truncated dropdown text */
    height: auto !important;
}

/* Default label position */
.wc-block-components-text-input label,
.wc-blocks-components-select__label {
    position: absolute !important;
    top: 0.15rem !important;     /* sits comfortably inside the field */
    left: 0.75rem !important;
    font-size: 0.75rem !important;
    color: #374151 !important;   /* subtle grey */
    background: transparent;
    pointer-events: none;
}

/* Floating label (field has value OR is focused) */
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:not(:placeholder-shown) + label,
.wc-block-components-text-input input:focus + label,
.wc-blocks-components-select__select:focus + .wc-blocks-components-select__label,
.wc-blocks-components-select__select:not([value=""]) + .wc-blocks-components-select__label {
    top: 0.15rem !important;    /* sits above border but not too high */
    font-size: 0.75rem !important;
    background: #fff;
    padding: 0 0.25rem;
    color: #374151 !important;
    opacity: 1;
}

/* Ensure select labels behave consistently */
.wc-blocks-components-select__container {
    position: relative;
}

/* Overlay */
body.adding-to-cart::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(2px);
    z-index: 9999;
}

/* Spinner */
body.adding-to-cart::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 2.2rem;
    height: 2.2rem;
    margin-top: -1.1rem;
    margin-left: -1.1rem;
    border: 3px solid #0ea5e9;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    z-index: 10000;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/***********************************************
 * SHOP PAGE INTRO SECTION — PREMIUM STYLING
 ***********************************************/

.shop-page-content {
    max-width: 900px;
    margin: 0 auto 3rem auto;       /* centre + spacing below */
    padding: 2rem 1.5rem;
    background: #f9fafb;            /* soft grey */
    border-radius: 12px;
    border: 1px solid #e5e7eb;      /* subtle border */
}

/* Typography */
.shop-page-content h1,
.shop-page-content h2,
.shop-page-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #111827;
}

.shop-page-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
}

/* Optional divider under intro */
.shop-page-content::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin-top: 2rem;
}

/* Fade-in animation */
.shop-page-content {
    animation: shopIntroFade 0.45s ease-out;
}

@keyframes shopIntroFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-page-content {
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Product subtitle under product title */
.product-subtitle {
    font-size: 0.8rem;
    color: #6b7280;          /* soft grey */
    margin-top: 0.1rem;     /* small spacing under title */
    margin-bottom: 1rem;     
    line-height: 1.4;
    font-weight: 600;
}

/* FAQ container */
.product-faqs {
    margin-top: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Heading */
.product-faqs-heading {
    font-size: 1.6rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

/* FAQ item spacing */
.faq-item + .faq-item {
    margin-top: 1rem;
}

/* Trigger button */
.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Icon rotation */
.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-icon {
    transition: transform 0.25s ease;
    fill: #6b7280;
}

/* Content */
.faq-content {
    padding: 0.5rem 0 1rem 0;
    color: #374151;
    line-height: 1.6;
    font-size: 1rem;
}

.shop-faqs {
    margin-top: 3rem;
}

.faq-item {
    border-bottom: 1px solid #d1d5db;
    padding: 1rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}
