/*
Theme Name: STV Theme
Theme URI: https://stv.ee
Description: Custom Astra child theme for the STV WooCommerce store
Author: STV
Author URI: https://stv.ee
Template: astra
Version: 1.0.0
Requires at least: 5.3
Requires PHP: 7.4
Text Domain: stv-theme
*/

/* ========================================
   CSS Custom Properties
   ======================================== */

:root {
    --stv-navy: #003d7a;
    --stv-navy-dark: #002a5c;
    --stv-blue: #0052a3;
    --stv-green: #8bc53f;
    --stv-red: #e31e24;
    --stv-text-light: #d1d5dc;
    --stv-text-muted: #e5e7eb;
    --stv-text-dark: #101828;
    --stv-white-10: rgba(255, 255, 255, 0.1);
    --stv-font: 'Inter', sans-serif;
    --stv-container-padding: 80px;
    --stv-container-padding-small: 20px;
    --stv-border-gray: #E5E7EB;
    --stv-border-radius: 10px;
    --stv-background: #F9FAFB;
}

/* ========================================
   Global Header
   ======================================== */

.stv-header {
    font-family: var(--stv-font);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

/* --- Top Bar --- */

.stv-topbar {
    background: var(--stv-navy-dark);
    height: 36px;
    padding: 0 var(--stv-container-padding);
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.stv-topbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1376px;
    margin: 0 auto;
    height: 100%;
}

.stv-topbar a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.stv-topbar a:hover {
    opacity: 0.8;
}

.stv-topbar-left .menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.stv-topbar-left .menu li {
    margin: 0;
    padding: 0;
}

.stv-topbar-right {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* --- Language Switcher --- */

.stv-lang-switcher {
    position: relative;
}

.stv-lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    line-height: 20px;
}

.stv-lang-toggle:hover {
    opacity: 0.8;
}

.stv-lang-globe {
    width: 18px;
    height: 18px;
}

.stv-lang-caret {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.stv-lang-switcher.is-open .stv-lang-caret {
    transform: rotate(180deg);
}

.stv-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    min-width: 160px;
    z-index: 1000;
}

.stv-lang-switcher.is-open .stv-lang-dropdown {
    display: block;
}

.stv-lang-dropdown li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    color: #1f2937;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}

.stv-lang-dropdown li a:hover {
    background: #f3f4f6;
}

.stv-lang-dropdown li.stv-lang-active a {
    font-weight: 600;
}

.stv-lang-code {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

/* --- Main Header --- */

.stv-main-header {
    background: var(--stv-navy);
    padding: 8px var(--stv-container-padding);
    height: 64px;
}

.stv-main-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1376px;
    margin: 0 auto;
    height: 100%;
    gap: 24px;
}

.stv-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    line-height: 32px;
    flex-shrink: 0;
}

.stv-logo:hover {
    color: #fff;
    opacity: 0.9;
}

/* --- Search Form --- */

.stv-search-form {
    position: relative;
    flex: 1;
    max-width: 672px;
    margin: 0 auto;
}

.stv-search-form .stv-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #6a7282;
    pointer-events: none;
}

.stv-search-form .stv-search-input {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 4px;
    padding: 12px 16px 12px 48px;
    font-size: 16px;
    font-family: var(--stv-font);
    color: var(--stv-text-dark);
    outline: none;
    box-sizing: border-box;
}

.stv-search-form .stv-search-input::placeholder {
    color: #6a7282;
}

/* --- Header Icons --- */

.stv-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.stv-header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.stv-header-icon:hover {
    opacity: 0.8;
    color: #fff;
}

.stv-header-icon svg {
    width: 24px;
    height: 24px;
}

.stv-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #fff;
    padding: 0 4px;
    box-sizing: border-box;
}

.stv-badge--red {
    background: var(--stv-red);
}

.stv-badge--green {
    background: var(--stv-green);
}

/* --- Navigation Bar --- */

.stv-navbar {
    background: var(--stv-blue);
    padding: 0 var(--stv-container-padding);
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.stv-navbar__container {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1376px;
    margin: 0 auto;
    height: 100%;
}

.stv-categories-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--stv-font);
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.stv-categories-btn svg {
    width: 20px;
    height: 20px;
}

.stv-categories-btn:hover {
    opacity: 0.8;
}

.stv-navbar .menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.stv-navbar .menu li {
    margin: 0;
    padding: 0;
}

.stv-navbar .menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.stv-navbar .menu a:hover {
    opacity: 0.8;
}

.stv-navbar .menu .stv-sale-link a,
.stv-navbar .menu .menu-item-sale a {
    color: var(--stv-green);
}

/* --- Mega Menu --- */

.stv-navbar {
    position: relative;
}

.stv-mega-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0;
    flex: 1;
}

.stv-mega-item {
    margin: 0;
    padding: 0;
    position: static;
}

.stv-mega-item > a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 12px 16px;
    position: relative;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.stv-mega-item > a:hover {
    opacity: 0.8;
}

.stv-mega-item.is-open > a {
    opacity: 1;
}

.stv-mega-item.is-open > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--stv-red);
    border-radius: 2px 2px 0 0;
}

/* Dropdown panel */

.stv-mega-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--stv-blue);
    z-index: 99;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 32px var(--stv-container-padding);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.stv-mega-item.is-open > .stv-mega-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.stv-mega-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 32px;
    max-width: 1376px;
    margin: 0 auto;
}

.stv-mega-column-header {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 12px;
    text-decoration: none;
}

a.stv-mega-column-header:hover {
    opacity: 0.85;
    color: #fff;
}

.stv-mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stv-mega-links li {
    margin: 0;
    padding: 0;
}

.stv-mega-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.2s;
}

.stv-mega-links a:hover {
    color: #fff;
}

/* "Pood" / Shop button — add CSS class "stv-shop-btn" in WP Admin */

.stv-mega-item.stv-shop-btn {
    margin-left: auto;
}

.stv-mega-item.stv-shop-btn > a {
    background: var(--stv-red);
    border-radius: 999px;
    padding: 6px 24px;
    font-weight: 600;
}

.stv-mega-item.stv-shop-btn > a:hover {
    opacity: 0.9;
}

/* --- Mobile Accordion --- */

.stv-mobile-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stv-mobile-item-row > a {
    flex: 1;
}

.stv-mobile-expand {
    background: none;
    border: none;
    color: #fff;
    padding: 8px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.stv-mobile-expand.is-open {
    transform: rotate(180deg);
}

.stv-mobile-nav .stv-mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
}

.stv-mobile-nav .stv-mobile-submenu a {
    font-size: 14px;
    font-weight: 400;
    padding: 6px 0;
    border-bottom: 1px solid var(--stv-white-10);
}

/* ========================================
   Footer
   ======================================== */

.stv-footer {
    font-family: var(--stv-font);
}

/* --- Newsletter --- */

.stv-newsletter {
    background: var(--stv-blue);
    padding: 0 var(--stv-container-padding);
    height: 116px;
}

.stv-newsletter__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1376px;
    margin: 0 auto;
    height: 100%;
    gap: 40px;
}

.stv-newsletter-text h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: #fff;
    margin: 0 0 4px 0;
}

.stv-newsletter-text p {
    font-size: 14px;
    line-height: 20px;
    color: var(--stv-text-muted);
    margin: 0;
}

.stv-newsletter-form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.stv-newsletter-form input[type="email"] {
    width: 246px;
    height: 48px;
    border: none;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--stv-font);
    box-sizing: border-box;
}

.stv-newsletter-form input[type="email"]::placeholder {
    color: rgba(16, 24, 40, 0.5);
}

.stv-newsletter-form button {
    height: 48px;
    padding: 12px 24px;
    background: var(--stv-green);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--stv-font);
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.stv-newsletter-form button:hover {
    opacity: 0.9;
}

/* --- Footer Main --- */

.stv-footer-main {
    background: var(--stv-navy);
    padding: 48px var(--stv-container-padding);
}

.stv-footer-main__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: 1376px;
    margin: 0 auto;
}

.stv-footer-brand p {
    font-size: 14px;
    line-height: 22.75px;
    color: var(--stv-text-light);
    margin: 16px 0;
    max-width: 506px;
}

.stv-footer-brand .stv-logo {
    display: inline-block;
    margin-bottom: 0;
}

.stv-footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.stv-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--stv-white-10);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.stv-footer-socials a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.stv-footer-socials svg {
    width: 20px;
    height: 20px;
}

/* Footer Columns */

.stv-footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #fff;
    margin: 0 0 16px 0;
}

.stv-footer-col .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stv-footer-col .menu li {
    margin: 0;
    padding: 0;
}

.stv-footer-col .menu a {
    font-size: 14px;
    line-height: 20px;
    color: var(--stv-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.stv-footer-col .menu a:hover {
    color: #fff;
}

/* --- Footer Bottom --- */

.stv-footer-bottom {
    background: var(--stv-navy);
    border-top: 1px solid var(--stv-white-10);
    padding: 25px var(--stv-container-padding);
}

.stv-footer-bottom__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1376px;
    margin: 0 auto;
}

.stv-footer-copyright {
    font-size: 14px;
    line-height: 20px;
    color: var(--stv-text-light);
}

.stv-footer-payments {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stv-footer-payments span {
    font-size: 14px;
    line-height: 20px;
    color: var(--stv-text-light);
}

.stv-payment-badges {
    display: flex;
    gap: 8px;
}

.stv-payment-badge {
    background: #fff;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: var(--stv-text-dark);
    white-space: nowrap;
}

/* ========================================
   Hero Banner
   ======================================== */

.stv-hero {
    background: linear-gradient(90deg, #003d7a 0%, #0052a3 100%);
    padding: 48px var(--stv-container-padding) 0;
    font-family: var(--stv-font);
}

.stv-hero__container {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    max-width: 1376px;
    margin: 0 auto;
    min-height: 500px;
}

.stv-hero__content {
    flex: 1;
    min-width: 0;
    padding-top: 0;
}

.stv-hero__badge {
    display: inline-block;
    background: var(--stv-green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.stv-hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #fff;
    margin: 0 0 24px 0;
    max-width: 608px;
}

.stv-hero__description {
    font-size: 20px;
    font-weight: 400;
    line-height: 32.5px;
    color: var(--stv-text-muted);
    margin: 0 0 32px 0;
    max-width: 635px;
}

.stv-hero__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.stv-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    font-family: var(--stv-font);
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.stv-hero__btn:hover {
    opacity: 0.9;
}

.stv-hero__btn--primary {
    background: var(--stv-green);
    color: #fff;
    padding: 16px 32px;
    border: none;
    height: 60px;
    box-sizing: border-box;
}

.stv-hero__btn--primary:hover {
    color: #fff;
}

.stv-hero__btn--outline {
    background: transparent;
    color: #fff;
    padding: 16px 32px;
    border: 2px solid #fff;
    height: 64px;
    box-sizing: border-box;
}

.stv-hero__btn--outline:hover {
    color: #fff;
}

.stv-hero__btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.stv-hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stv-hero__stat {
    display: flex;
    flex-direction: column;
}

.stv-hero__stat-number {
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    color: #fff;
}

.stv-hero__stat-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #d1d5dc;
}

.stv-hero__stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.3);
}

.stv-hero__image-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 664px;
    padding-top: 25px;
}

.stv-hero__image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: block;
}

.stv-hero__discount {
    position: absolute;
    top: 9px;
    right: -16px;
    background: var(--stv-red);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    padding: 12px 24px;
    border-radius: 999px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Promo Strip
   ======================================== */

.stv-promo-strip {
    background: #fff;
    border-top: 1px solid var(--stv-border-gray);
    border-bottom: 1px solid var(--stv-border-gray);
    padding: 33px var(--stv-container-padding);
    font-family: var(--stv-font);
}

.stv-promo-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1376px;
    margin: 0 auto;
}

.stv-promo-strip__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stv-promo-strip__icon {
    width: 52px;
    height: 52px;
    background: rgba(139, 197, 63, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--stv-green);
}

.stv-promo-strip__text {
    display: flex;
    flex-direction: column;
}

.stv-promo-strip__text strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #101828;
}

.stv-promo-strip__text span {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #4a5565;
}

/* ========================================
   Category Tiles (Shop by Category)
   ======================================== */

.stv-category-tiles {
    padding: 48px var(--stv-container-padding);
    background: #f9fafb;
}

.stv-category-tiles__container {
    max-width: 1376px;
    margin: 0 auto;
}

.stv-category-tiles__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.stv-category-tiles__title {
    font-family: var(--stv-font);
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    color: #101828;
    margin: 0 0 8px;
}

.stv-category-tiles__subtitle {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #4a5565;
    margin: 0;
}

.stv-category-tiles__view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--stv-navy);
    text-decoration: none;
    white-space: nowrap;
}

.stv-category-tiles__view-all:hover {
    text-decoration: underline;
}

.stv-category-tiles__view-all svg {
    flex-shrink: 0;
}

.stv-category-tiles__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stv-category-tiles__card {
    position: relative;
    display: block;
    height: 326px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease;
}

.stv-category-tiles__card:hover {
    transform: translateY(-4px);
}

.stv-category-tiles__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stv-category-tiles__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.stv-category-tiles__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 1;
}

.stv-category-tiles__card-name {
    font-family: var(--stv-font);
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #fff;
    margin: 0 0 4px;
}

.stv-category-tiles__card-desc {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--stv-text-muted);
    margin: 0 0 12px;
}

.stv-category-tiles__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stv-category-tiles__card-count {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #fff;
}

.stv-category-tiles__card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: #101828;
}

/* ========================================
   Featured Products
   ======================================== */

.stv-featured-products {
    padding: 64px var(--stv-container-padding) 48px;
    background: #fff;
}

.stv-featured-products__header {
    text-align: center;
    margin-bottom: 48px;
}

.stv-featured-products__title {
    font-family: var(--stv-font);
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    color: #101828;
    margin: 0;
}

.stv-featured-products__subtitle {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #4a5565;
    margin: 12px 0 0;
}

.stv-featured-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1376px;
    margin: 0 auto;
}

/* Product Card */
.stv-product-card {
    background: #fff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stv-product-card__image {
    display: block;
    position: relative;
    height: 324px;
    background: #f3f4f6;
    overflow: hidden;
}

.stv-product-card__image img,
.stv-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stv-product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.stv-product-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 9999px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.stv-product-card__badge--discount {
    background: #e31e24;
    color: #fff;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    height: 32px;
}

.stv-product-card__badge--status {
    background: var(--stv-navy);
    color: #fff;
    font-family: var(--stv-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    height: 28px;
    text-transform: uppercase;
}

/* Card Content */
.stv-product-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.stv-product-card__category {
    font-family: var(--stv-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: var(--stv-navy);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stv-product-card__title {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #101828;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 48px;
}

.stv-product-card__title:hover {
    color: var(--stv-navy);
}

/* Rating */
.stv-product-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stv-product-card__star {
    font-size: 16px;
    line-height: 24px;
    color: #fdc700;
}

.stv-product-card__rating-value {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #101828;
}

.stv-product-card__review-count {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6a7282;
    margin-left: 4px;
}

/* Price */
.stv-product-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stv-product-card__price-current {
    font-family: var(--stv-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #101828;
}

.stv-product-card__price-original {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6a7282;
    text-decoration: line-through;
}

/* Add to Cart Button */
.stv-product-card__add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: var(--stv-green);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: auto;
}

.stv-product-card__add-to-cart:hover {
    background: #7ab030;
    color: #fff;
}

.stv-product-card__cart-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* View All Products CTA */
.stv-featured-products__cta-wrap {
    text-align: center;
    margin-top: 48px;
}

.stv-featured-products__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 60px;
    padding: 0 32px;
    background: var(--stv-navy);
    color: #fff;
    border-radius: 10px;
    font-family: var(--stv-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-decoration: none;
    transition: background 0.2s;
}

.stv-featured-products__cta:hover {
    background: var(--stv-navy-dark);
    color: #fff;
}

/* ========================================
   Mobile Menu
   ======================================== */

.stv-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    padding: 8px;
    cursor: pointer;
}

.stv-mobile-toggle svg {
    width: 24px;
    height: 24px;
}

.stv-mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.stv-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: var(--stv-navy);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.stv-mobile-nav.is-open {
    transform: translateX(0);
}

.stv-mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px;
    line-height: 1;
}

.stv-mobile-nav .menu {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stv-mobile-nav .menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--stv-white-10);
}

.stv-mobile-nav .menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    display: none;
}

.stv-mobile-nav .menu .sub-menu.is-open {
    display: block;
}

.stv-mobile-nav .menu .menu-item-has-children {
    position: relative;
}

/* ========================================
   Product Card — Stock Badge
   ======================================== */

.stv-product-card__stock-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 21px;
    padding: 0 12px;
    border-radius: 9999px;
    font-family: var(--stv-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
    color: #fff;
}

.stv-product-card__stock-badge--instock {
    background: #8BC53F;
}

.stv-product-card__stock-badge--low {
    background: #FE9A00;
}

.stv-product-card__stock-badge--outofstock {
    background: #E31E24;
}

.stv-product-card__stock-badge--backorder {
    background: #9810FA;
}

/* ========================================
   Single Product Page (PDP)
   ======================================== */

/* Override Astra container width on single product pages */
body.single-product .site-content > .ast-container {
    max-width: 1376px;
    padding: 0;
}

body.single-product div#primary.content-area {
    margin-top: 1em !important;
    margin-bottom: 1.5em !important;
}

body.single-product .ast-woocommerce-container {
    max-width: 1376px;
    margin: 0 auto;
    padding: 0;
}

body.single-product .ast-woocommerce-container div.product {
    font-family: var(--stv-font);
}

/* ---- Product layout ---- */

body.single-product div.product {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 769px) {
    body.single-product div.product {
        gap: 32px;
    }
}

/* Gallery + Summary card */
.stv-product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    background: #fff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 32px 32px 16px;
}

.stv-product-top > .woocommerce-product-gallery,
.stv-product-top > .summary {
    float: none;
}

/* Gallery takes left column, summary takes right */
.stv-product-top > .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
}

.stv-product-top > .summary {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    padding: 0;
    border-top: none;
}

/* Hide default WooCommerce / Astra "Sale!" badge (replaced by gallery badges) */
body.single-product .onsale,
body.single-product .ast-onsale-card {
    display: none !important;
}

/* ---- Gallery styling ---- */

body.single-product .woocommerce-product-gallery {
    position: relative;
}

body.single-product .woocommerce-product-gallery__wrapper {
    background: #F3F4F6;
    border-radius: 10px;
    overflow: hidden;
}

body.single-product .woocommerce-product-gallery__image {
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 2px solid var(--stv-border-gray);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li .flex-active {
    border-color: var(--stv-navy);
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery nav arrows — positioned relative to .flex-viewport (main image only) */
body.single-product .flex-viewport {
    position: relative;
}

body.single-product .flex-direction-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

body.single-product .flex-direction-nav a {
    position: absolute;
    pointer-events: auto;
    z-index: 5;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0;
    color: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

body.single-product .flex-direction-nav a:hover {
    background: #fff;
}

body.single-product .flex-direction-nav a::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

body.single-product .flex-direction-nav a.flex-prev {
    left: 12px;
}

body.single-product .flex-direction-nav a.flex-prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}

body.single-product .flex-direction-nav a.flex-next {
    right: 12px;
}

body.single-product .flex-direction-nav a.flex-next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

/* Gallery badges (discount / status overlays) */
body.single-product .woocommerce-product-gallery__wrapper {
    position: relative;
}

.stv-gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.stv-gallery-badge {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stv-gallery-badge--discount {
    background: var(--stv-red);
    color: #fff;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    height: 36px;
}

.stv-gallery-badge--status {
    background: var(--stv-navy);
    color: #fff;
    font-family: var(--stv-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    height: 28px;
    text-transform: uppercase;
}

/* Zoom trigger — hidden per design */
body.single-product .woocommerce-product-gallery__trigger {
    display: none !important;
}

/* ---- Summary styling ---- */

/* Summary as flex column for ordering */
body.single-product .summary.entry-summary {
    display: flex;
    flex-direction: column;
}

/* Breadcrumb above the product card */
body.single-product .woocommerce-breadcrumb {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

body.single-product .woocommerce-breadcrumb .stv-breadcrumb-sep {
    flex-shrink: 0;
}

/* Hide Astra's duplicate breadcrumb inside the summary */
body.single-product .summary .woocommerce-breadcrumb {
    display: none !important;
}

body.single-product .woocommerce-breadcrumb a {
    color: #6A7282;
    text-decoration: none;
    transition: color 0.15s;
}

body.single-product .woocommerce-breadcrumb a:hover {
    color: var(--stv-navy);
}

/* SKU & meta — position above title */
body.single-product div.product .product_meta {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
    color: #6A7282;
    margin-bottom: 8px;
    border-top: none;
    padding-top: 0;
    order: -9;
}

body.single-product .product_meta .sku_wrapper {
    display: block;
    font-weight: 400;
}

body.single-product .product_meta .posted_in,
body.single-product .product_meta .tagged_as {
    display: none !important;
}

body.single-product .product_meta a {
    color: #6A7282;
    text-decoration: none;
}

/* Hide Astra's duplicate category display */
body.single-product .single-product-category {
    display: none !important;
}

/* Title */
body.single-product .product_title {
    font-family: var(--stv-font);
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: #101828;
    margin: 0 0 12px;
    order: -8;
}

/* Rating — hide default WooCommerce rating (replaced by .stv-pdp-rating) */
body.single-product .woocommerce-product-rating {
    display: none;
}

/* Star rating row (custom) */
.stv-pdp-rating {
    order: -7;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.stv-pdp-rating__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stv-star--filled {
    color: #F59E0B;
    fill: #F59E0B;
}

.stv-star--empty {
    color: #D1D5DC;
    fill: none;
}

.stv-pdp-rating__text {
    font-family: var(--stv-font);
    font-size: 14px;
    color: #4A5565;
}

/* Price block wrapper */
.stv-pdp-price-block {
    order: -6;
    background: #F9FAFB;
    border-radius: 10px;
    padding: 20px 20px 4px;
    margin-bottom: 20px;
}

body.single-product .stv-pdp-price-block > .price,
body.single-product .summary .woocommerce-variation-price .price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

body.single-product .summary .price ins,
body.single-product .summary .price > .woocommerce-Price-amount {
    font-family: var(--stv-font);
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    text-decoration: none;
}

/* Sale price = red; non-sale price = dark */
body.single-product .summary .price ins,
body.single-product .summary .price ins .woocommerce-Price-amount {
    color: var(--stv-red);
}

body.single-product .summary .price > .woocommerce-Price-amount {
    color: #101828;
}

body.single-product .summary .price del {
    font-family: var(--stv-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #99A1AF;
    text-decoration: line-through;
    opacity: 1;
}

body.single-product .summary .price del .woocommerce-Price-amount {
    color: inherit;
    font-size: inherit;
}

/* Price range for variable products */
body.single-product .summary .price .woocommerce-Price-amount {
    font-family: var(--stv-font);
}

/* Savings line */
.stv-pdp-savings {
    margin-top: 8px;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--stv-green);
}

.stv-pdp-savings .woocommerce-Price-amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* "Incl. VAT" note */
.stv-pdp-vat-note {
    margin: 4px 0 8px 0;
    font-family: var(--stv-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #6A7282;
}

/* Stock + delivery row */
.stv-pdp-availability {
    order: -4;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 16px 0;
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
}

.stv-pdp-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.stv-pdp-stock svg {
    flex-shrink: 0;
}

.stv-pdp-stock--instock {
    color: var(--stv-green);
}

.stv-pdp-stock--outofstock {
    color: var(--stv-red);
}

.stv-pdp-stock--backorder {
    color: #9810FA;
}

.stv-pdp-delivery {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4A5565;
}

.stv-pdp-delivery svg {
    flex-shrink: 0;
    color: #6A7282;
}

/* Short description */
body.single-product .summary .woocommerce-product-details__short-description {
    order: -3;
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 22.75px;
    color: #4A5565;
    border-top: 1px solid #F3F4F6;
    padding-top: 21px;
    margin-bottom: 20px;
}

/* Hide duplicate price output (Astra re-adds it as direct summary child) */
body.single-product .summary.entry-summary > .price {
    display: none !important;
}

/* Variation form */
body.single-product .variations_form .variations {
    margin-bottom: 8px;
    border-bottom: none !important;
}

body.single-product .variations_form .variations,
body.single-product .variations_form .variations tbody,
body.single-product .variations_form .variations tr {
    display: block;
    width: 100%;
}

body.single-product .variations_form .variations td.value {
    display: block;
    width: 100%;
}

body.single-product .variations_form .reset_variations {
    display: none !important;
}

body.single-product .variations_form .variations th.label,
body.single-product .variations_form .variations td.label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 8px;
}

body.single-product .variations_form .variations th.label label,
body.single-product .variations_form .variations td.label label {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 600;
    color: #101828;
}

.stv-size-guide-link {
    display: none;
    margin-left: auto;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--stv-navy);
    text-decoration: underline;
    transition: color 0.2s;
}

.stv-size-guide-link:hover {
    color: #002A5C;
}

/* Validation message for variation selects */
.stv-variation-error {
    font-family: var(--stv-font);
    font-size: 12px;
    color: #E31E24;
    margin-top: 8px;
    display: none;
}

.stv-variation-error.is-visible {
    display: block;
}

body.single-product .variations_form .variations td.value select {
    font-family: var(--stv-font);
    height: 46px;
    border: 1px solid #D1D5DC;
    border-radius: 4px;
    padding: 0 40px 0 16px;
    font-size: 14px;
    color: #101828;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236A7282' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s;
}

body.single-product .variations_form .variations td.value select:hover {
    border-color: #9CA3AF;
}

body.single-product .variations_form .variations td.value select:focus {
    border-color: var(--stv-navy);
    outline: none;
    box-shadow: 0 0 0 1px var(--stv-navy);
}

/* Variation form + Cart */
body.single-product .summary .cart {
    order: -2;
}

/* Hide variation price display (already shown in the price block above) */
body.single-product .woocommerce-variation-price {
    display: none !important;
}

/* Quantity + Add to Cart row */
body.single-product .summary .woocommerce-variation-add-to-cart,
body.single-product .summary .cart:not(.variations_form) {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

body.single-product .summary .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #D1D5DC;
    border-radius: 4px;
    overflow: hidden;
    width: 133px;
    height: 42px;
    flex-shrink: 0;
}

body.single-product .summary .quantity .qty {
    width: 50px;
    height: 100%;
    border: none;
    border-left: 1px solid #D1D5DC;
    border-right: 1px solid #D1D5DC;
    text-align: center;
    font-family: var(--stv-font);
    font-size: 16px;
    color: #0A0A0A;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0;
    margin: 0;
}

body.single-product .summary .quantity .qty::-webkit-inner-spin-button,
body.single-product .summary .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stv-qty-btn {
    width: 40px;
    min-width: 40px;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 18px;
    color: #364153;
    transition: background 0.2s;
}

.stv-qty-btn:hover {
    background: #F3F4F6;
}

/* Add to Cart button */
body.single-product .summary .single_add_to_cart_button {
    flex: 1;
    height: 52px;
    background: var(--stv-green) !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

body.single-product .summary .single_add_to_cart_button:hover {
    background: #7AB030 !important;
}

/* Disabled state (variable product, no selection) */
body.single-product .summary .single_add_to_cart_button.disabled,
body.single-product .summary .single_add_to_cart_button:disabled,
body.single-product .summary .single_add_to_cart_button.wc-variation-selection-needed {
    background: #E5E7EB !important;
    color: #99A1AF !important;
    cursor: not-allowed;
}

body.single-product .summary .single_add_to_cart_button .stv-cart-icon {
    flex-shrink: 0;
}

/* YITH Wishlist styling */
body.single-product .yith-add-to-wishlist-button-block {
    order: -1;
}

body.single-product .yith-wcwl-add-to-wishlist a {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--stv-navy);
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.single-product .yith-wcwl-add-to-wishlist a:hover {
    color: #002A5C;
}

/* Meta links row (wishlist + share) */
.stv-pdp-meta-links {
    order: -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.stv-pdp-meta-links__sep {
    color: #D1D5DC;
    font-size: 16px;
}

.stv-pdp-share__btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    color: #6A7282;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    line-height: 20px;
}

.stv-pdp-share__btn:hover {
    color: #4A5565;
}

.stv-pdp-share__btn svg {
    flex-shrink: 0;
}

/* Wishlist inside meta links */
.stv-pdp-meta-links .yith-add-to-wishlist-button-block {
    display: inline-flex;
    margin: 0;
}

.stv-pdp-meta-links .stv-pdp-share {
    display: inline-flex;
    margin: 0;
}

/* ---- Tabs styling ---- */

body.single-product div.product .woocommerce-tabs {
    margin-bottom: 0px;
}

body.single-product .woocommerce-tabs, .woocommerce-js div.product .woocommerce-tabs {
    background: #fff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding-top: 0;
}

.woocommerce-js div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0 !important;
    padding: 0 0 0 32px;
    border-bottom: 1px solid var(--stv-border-gray);
    background: none;
    overflow: visible;
}

.woocommerce-js div.product .woocommerce-tabs ul.tabs li a {
    font-weight: 500;
    line-height: 42px;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
    display: none;
}

body.single-product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
}

body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 16px 30px;
    font-family: var(--stv-font);
    font-size: 16px;
    line-height: 34px;
    color: #6A7282;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

body.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--stv-navy);
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
    color: var(--stv-navy);
    border-bottom-color: var(--stv-navy);
    font-weight: 500;
}

.woocommerce-js div.product .woocommerce-tabs .panel {
    padding: 32px;
    font-family: var(--stv-font);
    max-width: 768px;
}

body.single-product .woocommerce-tabs .panel h2 {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #101828;
    margin: 0 0 16px;
}

body.single-product .woocommerce-tabs .panel p {
    font-size: 16px;
    line-height: 24px;
    color: #364153;
    margin: 0 0 0px;
}

body.single-product .woocommerce-tabs .panel table {
    width: 100%;
    font-family: var(--stv-font);
    font-size: 14px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    border: 1px solid var(--stv-border-gray);
    overflow: hidden;
}

body.single-product .woocommerce-tabs .panel table tr:nth-child(odd) {
    background: #F9FAFB;
}

body.single-product .woocommerce-tabs .panel table tr:first-child th,
body.single-product .woocommerce-tabs .panel table tr:first-child td {
    border-top: none;
}

body.single-product .woocommerce-tabs .panel table tr:first-child th:first-child,
body.single-product .woocommerce-tabs .panel table tr:first-child td:first-child {
    border-top-left-radius: 8px;
}

body.single-product .woocommerce-tabs .panel table tr:first-child th:last-child,
body.single-product .woocommerce-tabs .panel table tr:first-child td:last-child {
    border-top-right-radius: 8px;
}

body.single-product .woocommerce-tabs .panel table tr:last-child th:first-child,
body.single-product .woocommerce-tabs .panel table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

body.single-product .woocommerce-tabs .panel table tr:last-child th:last-child,
body.single-product .woocommerce-tabs .panel table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

body.single-product .woocommerce-tabs .panel table th,
body.single-product .woocommerce-tabs .panel table td {
    padding: 12px 16px;
    text-align: left;
}

body.single-product .woocommerce-tabs .panel table th {
    font-weight: 600;
    color: #6A7282;
    width: 33%;
}

body.single-product .woocommerce-tabs .panel table td {
    color: #101828;
}

/* Description tab content */
.stv-tab-description {
    max-width: 768px;
    color: #364153;
    line-height: 1.5;
}

.stv-tab-description h3,
.stv-tab-description h4 {
    color: #101828;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 16px 0 16px;
}

.stv-tab-description ul {
    list-style: disc outside;
    padding-left: 22px;
    margin: 0;
}

.stv-tab-description ul li {
    padding: 4px 0;
    font-size: 16px;
    line-height: 24px;
}

/* ---- Review list ---- */

body.single-product .woocommerce-tabs #reviews .comment_container {
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    padding: 24px;
}

body.single-product .woocommerce-tabs #reviews #comments ol.commentlist li {
    border: 0;
}
body.single-product .woocommerce-tabs #reviews #comments ol.commentlist li .meta {
    color: #101828;
}

body.single-product .woocommerce-tabs #reviews #comments ol.commentlist li .comment-text {
    padding: 0;
    margin: 0;
    font-size: 14px;
}

body.single-product .woocommerce-tabs #reviews #comments ol.commentlist li .comment-text p {
    margin: 0;
}

/* --- ASTRA override ---- */
body.single-product .woocommerce-tabs #reviews #comments .entry-content ul, .entry-content ol {
    padding-left: 0px;
}

/* ---- Review form ---- */

body.single-product .woocommerce-tabs #reviews #review_form {
    border: 0;
    padding: 0;
}

body.single-product .woocommerce-tabs #reviews #respond {
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    padding: 32px;
    margin-top: 16px;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-reply-title {
    font-family: var(--stv-font);
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 4px;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-form label {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    color: #364153;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-form input[type="text"],
body.single-product .woocommerce-tabs #reviews #respond .comment-form input[type="email"],
body.single-product .woocommerce-tabs #reviews #respond .comment-form textarea {
    width: 100%;
    border: 1px solid #D1D5DC;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: var(--stv-font);
    font-size: 16px;
    color: #101828;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-form input[type="text"],
body.single-product .woocommerce-tabs #reviews #respond .comment-form input[type="email"] {
    height: 50px;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-form textarea {
    height: 122px;
    resize: vertical;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-form input[type="text"]:hover,
body.single-product .woocommerce-tabs #reviews #respond .comment-form input[type="email"]:hover,
body.single-product .woocommerce-tabs #reviews #respond .comment-form textarea:hover {
    border-color: #9CA3AF;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-form input[type="text"]:focus,
body.single-product .woocommerce-tabs #reviews #respond .comment-form input[type="email"]:focus,
body.single-product .woocommerce-tabs #reviews #respond .comment-form textarea:focus {
    border-color: var(--stv-navy);
    box-shadow: 0 0 0 1px var(--stv-navy);
    outline: none;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-form .form-submit input[type="submit"] {
    background: var(--stv-green);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 32px;
    height: 48px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

body.single-product .woocommerce-tabs #reviews #respond .comment-form .form-submit input[type="submit"]:hover {
    background: #7AB030;
}

/* ---- Related products adjustments ---- */

body.single-product .stv-related-products {
    padding: 32px 0 0;
    max-width: none;
}

body.single-product .stv-related-products__title {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 24px;
}

/* ========================================
   Related Products (Single Product Page)
   ======================================== */

.stv-related-products {
    max-width: calc(1376px + var(--stv-container-padding) * 2);
    margin: 0 auto;
    padding: 48px var(--stv-container-padding) 64px;
}

.stv-related-products__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #101828;
    margin: 0 0 32px;
}

.stv-related-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ========================================
   Category Page
   ======================================== */

/* Override Astra container width on category pages */
body.archive .ast-container,
body.tax-product_cat .ast-container,
body.post-type-archive-product .ast-container,
.ast-woo-shop-archive .site-content > .ast-container {
    max-width: 100%;
    padding: 0;
}

.stv-category-page {
    width: 100%;
    max-width: calc(1376px + var(--stv-container-padding) * 2);
    margin: 0 auto;
    padding: 32px var(--stv-container-padding) 64px;
}

/* ---- Breadcrumb ---- */

.stv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
}

.stv-breadcrumb__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4A5565;
    text-decoration: none;
}

.stv-breadcrumb__link:hover {
    color: var(--stv-navy);
}

.stv-breadcrumb__home-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.stv-breadcrumb__separator {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #4A5565;
}

.stv-breadcrumb__current {
    color: #101828;
    font-weight: 500;
}

/* ---- Category Header ---- */

.stv-category-header {
    margin-bottom: 32px;
}

.stv-category-header__info {
    margin-bottom: 24px;
}

.stv-category-header__title {
    font-family: var(--stv-font);
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: #101828;
    margin: 0 0 12px;
}

.stv-category-header__desc,
.stv-category-header__desc p {
    font-family: var(--stv-font);
    font-size: 16px;
    line-height: 24px;
    color: #4A5565;
    max-width: 768px;
    margin: 0;
}

/* ---- Toolbar ---- */

.stv-category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    padding: 0 17px;
    background: #fff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
}

.stv-category-toolbar__count {
    font-family: var(--stv-font);
    font-size: 16px;
    line-height: 24px;
    color: #4A5565;
}

.stv-category-toolbar__count strong {
    color: #101828;
    font-weight: 600;
}

.stv-category-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stv-category-toolbar__view-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #D1D5DC;
    border-radius: 4px;
    padding: 1px 5px;
}

.stv-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #4A5565;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.stv-view-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.stv-view-btn:hover {
    background: #F3F4F6;
}

.stv-view-btn.is-active {
    background: var(--stv-navy);
    color: #fff;
}

.stv-category-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 0;
}

.stv-sort-label {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
    color: #364153;
    white-space: nowrap;
    padding: 9px 0 9px 17px;
    background: #fff;
    border: 1px solid #D1D5DC;
    border-right: none;
    border-radius: 4px 0 0 4px;
    height: 38px;
    box-sizing: border-box;
}

.stv-sort-select {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #101828;
    background: #fff;
    border: 1px solid #D1D5DC;
    border-left: none;
    border-radius: 0 4px 4px 0;
    height: 38px;
    padding: 0 12px 0 4px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23364153' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

/* ---- Category Content: Sidebar + Grid ---- */

.stv-category-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* ---- Filters Sidebar ---- */

.stv-filters-sidebar {
    width: 280px;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    overflow: hidden;
}

.stv-filters-sidebar__header {
    background: var(--stv-navy);
    color: #fff;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    padding: 12px 16px;
    height: 48px;
    box-sizing: border-box;
}

.stv-filter-section {
    border-bottom: 1px solid var(--stv-border-gray);
}

.stv-filter-section:last-child {
    border-bottom: none;
}

.stv-filter-section__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #101828;
    box-sizing: border-box;
}

.stv-filter-section__toggle:hover,
.stv-filter-section__toggle:focus,
.stv-filter-section__toggle:active {
    background: none;
    color: #101828;
}

.stv-filter-section__chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.stv-filter-section__toggle[aria-expanded="false"] .stv-filter-section__chevron {
    transform: rotate(-90deg);
}

.stv-filter-section__body {
    padding: 0 16px 8px;
}

.stv-filter-section__toggle[aria-expanded="false"] + .stv-filter-section__body {
    display: none;
}

.stv-filter-section__empty {
    padding: 16px;
    font-family: var(--stv-font);
    font-size: 14px;
    color: #6A7282;
}

.stv-filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 8px;
    border-radius: 4px;
    cursor: pointer;
}

.stv-filter-option:hover {
    background: #F9FAFB;
}

.stv-filter-option__checkbox {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--stv-navy);
}

.stv-filter-option__label {
    flex: 1;
    font-family: var(--stv-font);
    font-size: 16px;
    line-height: 24px;
    color: #364153;
}

.stv-filter-option__count {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
    color: #6A7282;
    flex-shrink: 0;
}

/* ---- Price Range Filter ---- */

.stv-price-filter {
    padding: 4px 0 8px;
}

.stv-price-filter__inputs {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.stv-price-filter__separator {
    display: flex;
    align-items: center;
    height: 38px;
    font-size: 14px;
    color: #4a5565;
    flex-shrink: 0;
}

.stv-price-filter__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stv-price-filter__label {
    font-family: var(--stv-font);
    font-size: 12px;
    font-weight: normal;
    line-height: 18px;
    color: #4a5565;
}

.stv-price-filter__input {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    background: #fff;
    border: 1px solid #D1D5DC;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
    -moz-appearance: textfield;
}

.stv-price-filter__input::-webkit-outer-spin-button,
.stv-price-filter__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stv-price-filter__input:focus {
    border-color: var(--stv-navy);
    box-shadow: 0 0 0 2px rgba(0, 61, 122, 0.15);
}

.stv-price-filter__range-label {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
    color: #4a5565;
    text-align: center;
}

/* ---- Category Product Grid ---- */

.stv-category-grid__wrapper {
    flex: 1;
    min-width: 0;
}

.stv-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stv-category-grid__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    font-family: var(--stv-font);
}

.stv-category-grid__empty-icon {
    color: var(--stv-primary, #003B6F);
    opacity: 0.4;
    margin-bottom: 24px;
}

.stv-category-grid__empty-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--stv-text, #1A1A2E);
    margin: 0 0 12px;
}

.stv-category-grid__empty-text {
    font-size: 15px;
    color: #4A5565;
    margin: 0 0 32px;
    max-width: 420px;
    line-height: 1.6;
}

.stv-category-grid__empty-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    background: var(--stv-accent, #00C950);
    color: #fff;
    font-family: var(--stv-font);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.stv-category-grid__empty-btn:hover {
    background: var(--stv-accent-hover, #00b347);
    color: #fff;
}

/* ---- Pagination ---- */

.stv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.stv-pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #364153;
    text-decoration: none;
    border: 1px solid #D1D5DC;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.stv-pagination__btn:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
    color: #364153;
}

.stv-pagination__btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.stv-pagination__pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stv-pagination__page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #364153;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.stv-pagination__page:hover {
    background: #F3F4F6;
    color: #364153;
}

.stv-pagination__page.is-active {
    background: var(--stv-navy);
    color: #fff;
    border-radius: 4px;
}

/* ========================================
   Wishlist Page (YITH)
   ======================================== */

/* Wishlist page container width */
.stv-wishlist-page .ast-container {
    max-width: 1376px !important;
    width: 100% !important;
    margin: 0 auto;
}

.stv-wishlist-page .entry-content[data-ast-blocks-layout] > * {
    max-width: 1376px !important;
}

/* Page title — hide redundant "My wishlist" subtitle, style H1 */
.stv-wishlist-page .entry-title {
    font-family: var(--stv-font);
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: var(--stv-text-dark);
    margin-bottom: 32px;
}

.stv-wishlist-page .wishlist-title-container {
    display: none;
}

/* Wishlist container */
.stv-wishlist-page .yith-wcwl-form {
    background: none;
}

/* Table card treatment */
.stv-wishlist-page table.wishlist_table.shop_table {
    background: #fff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px !important;
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

/* Table header */
.stv-wishlist-page .wishlist_table thead th {
    background: #f9fafb;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #6a7282;
    padding: 17px 24px;
    border: none;
    border-bottom: 1px solid var(--stv-border-gray);
}

/* Table cells */
.stv-wishlist-page .wishlist_table tbody td {
    padding: 24px;
    vertical-align: middle;
    font-family: var(--stv-font);
    border: none;
    border-bottom: 1px solid #f3f4f6;
}

.stv-wishlist-page .wishlist_table tbody tr:last-child td {
    border-bottom: none;
}

/* Thumbnail */
.stv-wishlist-page .wishlist_table .product-thumbnail a {
    display: block;
}

.stv-wishlist-page .wishlist_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    background: #f3f4f6;
}

/* Product name */
.stv-wishlist-page .wishlist_table .product-name a {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #101828;
    text-decoration: none;
    transition: color 0.2s;
}

.stv-wishlist-page .wishlist_table .product-name a:hover {
    color: var(--stv-navy);
}

/* Variation attributes */
.stv-wishlist-page .wishlist_table .product-name dl.variation {
    font-family: var(--stv-font);
    font-size: 13px;
    color: #6a7282;
    margin-top: 4px;
}

/* Price */
.stv-wishlist-page .wishlist_table .product-price {
    font-family: var(--stv-font);
}

.stv-wishlist-page .wishlist_table .product-price ins {
    font-size: 16px;
    font-weight: 400;
    color: #101828;
    text-decoration: none;
}

.stv-wishlist-page .wishlist_table .product-price del {
    font-size: 14px;
    font-weight: 400;
    color: #99a1af;
    margin-left: 8px;
}

.stv-wishlist-page .wishlist_table .product-price > .woocommerce-Price-amount,
.stv-wishlist-page .wishlist_table .product-price > span > .woocommerce-Price-amount {
    font-size: 16px;
    font-weight: 400;
    color: #101828;
}

/* Stock status — dot + colored text */
.stv-wishlist-page .wishlist_table .wishlist-in-stock,
.stv-wishlist-page .wishlist_table .wishlist-out-of-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.stv-wishlist-page .wishlist_table .wishlist-in-stock::before,
.stv-wishlist-page .wishlist_table .wishlist-out-of-stock::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stv-wishlist-page .wishlist_table .wishlist-in-stock {
    color: #8BC53F;
}

.stv-wishlist-page .wishlist_table .wishlist-in-stock::before {
    background: #8BC53F;
}

.stv-wishlist-page .wishlist_table .wishlist-out-of-stock {
    color: #E31E24;
}

.stv-wishlist-page .wishlist_table .wishlist-out-of-stock::before {
    background: #E31E24;
}

/* Add to Cart button */
.stv-wishlist-page .wishlist_table .product-add-to-cart .button,
.stv-wishlist-page .wishlist_table .product-add-to-cart a.add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    background: var(--stv-green) !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.stv-wishlist-page .wishlist_table .product-add-to-cart .button::before,
.stv-wishlist-page .wishlist_table .product-add-to-cart a.add_to_cart_button::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.stv-wishlist-page .wishlist_table .product-add-to-cart .button:hover,
.stv-wishlist-page .wishlist_table .product-add-to-cart a.add_to_cart_button:hover {
    background: #7ab030 !important;
}

/* Actions column — right-align */
.stv-wishlist-page .wishlist_table thead th.product-add-to-cart {
    text-align: right;
}

.stv-wishlist-page .wishlist_table tbody td.product-add-to-cart {
    text-align: right;
}

/* Remove button */
.stv-wishlist-page .wishlist_table td.product-remove {
    width: 48px;
    text-align: center;
}

.stv-wishlist-page .wishlist_table td.product-remove div {
    display: flex;
    justify-content: center;
}

/* Remove button — high specificity to override YITH inline !important */
#content .woocommerce table.wishlist_table.cart td.product-remove a.remove.remove_from_wishlist {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: #f3f4f6 !important;
    color: #6a7282 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.2s;
    border: 1px solid var(--stv-border-gray) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

#content .woocommerce table.wishlist_table.cart td.product-remove a.remove.remove_from_wishlist:hover {
    background-color: #fee2e2 !important;
    color: var(--stv-red) !important;
    border-color: #fca5a5 !important;
}

/* Checkbox */
.stv-wishlist-page .wishlist_table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--stv-green);
    cursor: pointer;
}

/* Share section */
.stv-wishlist-page .yith-wcwl-share {
    margin-top: 24px;
    padding: 20px 0;
}

.stv-wishlist-page .yith-wcwl-share h4 {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--stv-text-dark);
    margin-bottom: 12px;
}

.stv-wishlist-page .yith-wcwl-share ul {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.stv-wishlist-page .yith-wcwl-share ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    transition: all 0.2s;
    border: 1px solid var(--stv-border-gray);
}

.stv-wishlist-page .yith-wcwl-share ul li a:hover {
    background: var(--stv-navy);
    border-color: var(--stv-navy);
}

.stv-wishlist-page .yith-wcwl-share ul li a:hover svg {
    fill: #fff;
}

.stv-wishlist-page .yith-wcwl-share ul li a:hover svg path {
    fill: #fff;
}

.stv-wishlist-page .yith-wcwl-share ul li a svg {
    width: 16px;
    height: 16px;
    fill: #6a7282;
}

.stv-wishlist-page .yith-wcwl-share ul li a svg path {
    fill: #6a7282;
}

/* Share URL input */
.stv-wishlist-page .yith-wcwl-after-share-section input {
    font-family: var(--stv-font);
    font-size: 13px;
    border: 1px solid var(--stv-border-gray);
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
    max-width: 400px;
}

/* Footer actions */
.stv-wishlist-page .yith_wcwl_wishlist_footer {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* Empty wishlist */
.stv-wishlist-page .wishlist_table .wishlist-empty {
    text-align: center;
    padding: 48px 16px;
    font-family: var(--stv-font);
    font-size: 16px;
    color: #6a7282;
}

/* Mobile wishlist items */
.stv-wishlist-page ul.wishlist_table.mobile {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 16px;
}

/* Hide YITH responsive pseudo-element headers */
.stv-wishlist-page ul.wishlist_table.mobile::before,
.stv-wishlist-page ul.wishlist_table.mobile::after,
.stv-wishlist-page ul.wishlist_table.mobile > li::before,
.stv-wishlist-page ul.wishlist_table.mobile > li::after {
    display: none !important;
}

.stv-wishlist-page ul.wishlist_table.mobile > li {
    background: #fff !important;
    border: 1px solid var(--stv-border-gray) !important;
    border-radius: 10px !important;
    padding: 16px !important;
    margin: 0 !important;
    position: relative;
    display: block !important;
    float: none !important;
    width: auto !important;
}

.stv-wishlist-page ul.wishlist_table.mobile .item-wrapper {
    display: flex !important;
    gap: 16px;
}

.stv-wishlist-page ul.wishlist_table.mobile .product-thumbnail {
    flex-shrink: 0;
}

.stv-wishlist-page ul.wishlist_table.mobile .product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--stv-border-gray);
}

.stv-wishlist-page ul.wishlist_table.mobile .item-details {
    flex: 1;
    min-width: 0;
}

.stv-wishlist-page ul.wishlist_table.mobile .product-name h3 {
    margin: 0 0 8px;
    padding-right: 32px;
}

.stv-wishlist-page ul.wishlist_table.mobile .product-name h3 a {
    font-family: var(--stv-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: #101828;
    text-decoration: none;
}

.stv-wishlist-page ul.wishlist_table.mobile .item-details-table {
    border: none !important;
    margin: 0 !important;
    background: none !important;
}

.stv-wishlist-page ul.wishlist_table.mobile .item-details-table td {
    padding: 2px 8px 2px 0 !important;
    border: none !important;
    font-family: var(--stv-font);
    font-size: 14px;
    background: none !important;
}

.stv-wishlist-page ul.wishlist_table.mobile .item-details-table td.label {
    color: #6a7282;
    font-weight: 500;
}

.stv-wishlist-page ul.wishlist_table.mobile .item-details-table td.value ins {
    font-weight: 700;
    color: #101828;
    text-decoration: none;
}

.stv-wishlist-page ul.wishlist_table.mobile .item-details-table td.value del {
    font-size: 13px;
    color: #6a7282;
}

/* Mobile additional info */
.stv-wishlist-page ul.wishlist_table.mobile .additional-info-wrapper {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.stv-wishlist-page ul.wishlist_table.mobile .additional-info {
    border: none !important;
    margin: 0 0 12px !important;
    background: none !important;
}

.stv-wishlist-page ul.wishlist_table.mobile .additional-info td {
    padding: 2px 8px 2px 0 !important;
    border: none !important;
    font-family: var(--stv-font);
    font-size: 14px;
    background: none !important;
}

.stv-wishlist-page ul.wishlist_table.mobile .additional-info td.label {
    color: #6a7282;
    font-weight: 500;
}

.stv-wishlist-page ul.wishlist_table.mobile .product-add-to-cart {
    margin-top: 12px;
}

.stv-wishlist-page ul.wishlist_table.mobile .product-add-to-cart .button {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: var(--stv-green) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* Mobile remove button — positioned top-right of card */
.stv-wishlist-page ul.wishlist_table.mobile .additional-info-wrapper > a[href*="remove_from_wishlist"],
.stv-wishlist-page ul.wishlist_table.mobile .product-remove a {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #f3f4f6 !important;
    color: #6a7282 !important;
    font-size: 14px !important;
    border: 1px solid var(--stv-border-gray) !important;
    text-decoration: none !important;
    opacity: 1 !important;
    overflow: hidden;
    text-indent: -9999px;
}

.stv-wishlist-page ul.wishlist_table.mobile .additional-info-wrapper > a[href*="remove_from_wishlist"]::after {
    content: "×";
    text-indent: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #6a7282;
}

/* Mobile checkbox - hide */
.stv-wishlist-page ul.wishlist_table.mobile .product-checkbox {
    display: none !important;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    :root {
        --stv-container-padding: 40px;
    }

    .stv-hero__container {
        flex-direction: column;
        min-height: auto;
        gap: 32px;
    }

    .stv-hero__image-wrapper {
        width: 100%;
        padding-top: 0;
    }

    .stv-hero__image {
        height: 350px;
    }

    .stv-hero__title {
        font-size: 36px;
        line-height: 44px;
    }

    .stv-hero__description {
        font-size: 18px;
        line-height: 28px;
    }

    .stv-hero__discount {
        right: 8px;
        top: -12px;
    }

    .stv-promo-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stv-category-tiles__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stv-category-tiles__card {
        height: 280px;
    }

    .stv-featured-products__grid,
    .stv-related-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stv-product-card__image {
        height: 260px;
    }

    .stv-related-products__title {
        font-size: 28px;
        line-height: 36px;
    }

    /* Category page tablet */
    .stv-filters-sidebar {
        display: none;
    }

    .stv-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stv-category-toolbar__view-toggle {
        display: none;
    }

    .stv-category-header__title {
        font-size: 30px;
        line-height: 36px;
    }

    .stv-pagination__btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .stv-footer-main__container {
        grid-template-columns: 1fr 1fr;
    }

    /* Wishlist tablet */
    .stv-wishlist-page .wishlist_table .product-thumbnail img {
        width: 64px;
        height: 64px;
    }

    /* Single product tablet */
    .stv-product-top {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }

    .stv-product-top > .woocommerce-product-gallery {
        grid-column: 1;
    }

    .stv-product-top > .summary {
        grid-column: 1;
        grid-row: 2;
    }

    body.single-product .product_title {
        font-size: 22px;
        line-height: 28px;
    }
}

@media (max-width: 768px) {
    :root {
        --stv-container-padding: 20px;
    }

    /* Top bar */
    .stv-topbar {
        font-size: 12px;
    }

    .stv-topbar-left .menu {
        gap: 12px;
    }

    /* Main header */
    .stv-main-header {
        height: auto;
        padding: 12px var(--stv-container-padding);
    }

    .stv-main-header__container {
        flex-wrap: wrap;
        height: auto;
        gap: 12px;
    }

    .stv-logo {
        font-size: 20px;
    }

    .stv-search-form {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
    }

    .stv-search-form .stv-search-input {
        height: 40px;
    }

    /* Nav bar - hide desktop, show hamburger */
    .stv-navbar .stv-nav-menu {
        display: none;
    }

    .stv-mobile-toggle {
        display: flex;
    }

    .stv-mobile-nav {
        display: block;
    }

    .stv-mobile-nav-overlay.is-open {
        display: block;
    }

    /* Hero */
    .stv-hero {
        padding: 32px var(--stv-container-padding) 0;
    }

    .stv-hero__title {
        font-size: 28px;
        line-height: 36px;
    }

    .stv-hero__description {
        font-size: 16px;
        line-height: 24px;
    }

    .stv-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .stv-hero__btn {
        text-align: center;
    }

    .stv-hero__btn--primary,
    .stv-hero__btn--outline {
        height: 48px;
        padding: 10px 24px;
        font-size: 16px;
    }

    .stv-hero__stats {
        gap: 20px;
    }

    .stv-hero__stat-number {
        font-size: 24px;
        line-height: 30px;
    }

    .stv-hero__image {
        height: 250px;
    }

    .stv-hero__discount {
        font-size: 18px;
        padding: 8px 16px;
    }

    /* Promo strip */
    .stv-promo-strip__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Category Tiles */
    .stv-category-tiles {
        padding: 32px var(--stv-container-padding);
    }

    .stv-category-tiles__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .stv-category-tiles__title {
        font-size: 24px;
        line-height: 32px;
    }

    .stv-category-tiles__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stv-category-tiles__card {
        height: 240px;
    }

    /* Featured Products */
    .stv-featured-products {
        padding: 40px var(--stv-container-padding) 32px;
    }

    .stv-featured-products__header {
        margin-bottom: 32px;
    }

    .stv-featured-products__title {
        font-size: 24px;
        line-height: 32px;
    }

    .stv-featured-products__grid,
    .stv-related-products__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stv-product-card__image {
        height: 240px;
    }

    .stv-related-products {
        padding: 32px var(--stv-container-padding) 40px;
    }

    .stv-related-products__title {
        font-size: 24px;
        line-height: 32px;
    }

    .stv-featured-products__cta {
        width: 100%;
        height: 52px;
        font-size: 16px;
    }

    .stv-featured-products__cta-wrap {
        margin-top: 32px;
    }

    /* Category page mobile */
    .stv-category-page {
        padding: 20px var(--stv-container-padding) 40px;
    }

    .stv-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stv-category-toolbar {
        flex-direction: column;
        height: auto;
        padding: 12px 17px;
        gap: 12px;
        align-items: flex-start;
    }

    .stv-category-toolbar__actions {
        width: 100%;
        justify-content: flex-end;
    }

    .stv-breadcrumb {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .stv-category-header__title {
        font-size: 24px;
        line-height: 32px;
    }

    .stv-pagination {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stv-pagination__pages {
        gap: 4px;
    }

    .stv-pagination__page {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Footer */
    .stv-newsletter {
        height: auto;
        padding: 24px var(--stv-container-padding);
        text-align: center;
    }

    .stv-newsletter__container {
        flex-direction: column;
        gap: 16px;
    }

    .stv-newsletter-form {
        width: 100%;
    }

    .stv-newsletter-form input[type="email"] {
        flex: 1;
        width: auto;
    }

    .stv-footer-main {
        padding: 32px var(--stv-container-padding);
    }

    .stv-footer-main__container {
        grid-template-columns: 1fr;
    }

    .stv-footer-bottom__container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Single product mobile */
    body.single-product div.product {
        gap: 16px;
    }

    body.single-product .stv-product-top {
        padding: 16px;
        border-radius: 8px;
    }

    body.single-product .product_title {
        font-size: 20px;
        line-height: 26px;
    }

    body.single-product .summary .price ins,
    body.single-product .summary .price > .woocommerce-Price-amount {
        font-size: 24px;
        line-height: 30px;
    }

    body.single-product .summary .price del {
        font-size: 16px;
    }

    .stv-pdp-availability {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    body.single-product .summary .cart {
        flex-wrap: wrap;
    }

    body.single-product .summary .quantity {
        width: 100%;
        justify-content: center;
    }

    body.single-product .summary .single_add_to_cart_button {
        width: 100%;
        flex: none;
    }

    body.single-product .woocommerce-tabs ul.tabs {
        padding: 0;
        gap: 0;
    }

    body.single-product .woocommerce-tabs ul.tabs li a {
        padding: 12px 16px;
        font-size: 14px;
    }

    body.single-product .woocommerce-tabs .panel {
        padding: 16px;
    }

    body.single-product .woocommerce-product-gallery .flex-control-thumbs {
        overflow-x: auto;
    }
}

/* ========================================
   WooCommerce Cart Page — Layout & Container
   ======================================== */

/* Hide Astra breadcrumb on cart page */
.woocommerce-cart .ast-breadcrumbs-wrapper {
    display: none;
}

/* Page title */
.woocommerce-cart .entry-title {
    font-family: var(--stv-font);
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: #101828;
    margin-bottom: 32px;
}

/* Page background */
.woocommerce-cart {
    background: #f9fafb;
}

/* Override Astra's .ast-container max-width on cart page */
.woocommerce-cart .ast-container {
    max-width: 1376px;
    padding: 0;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
    padding-right: 10px;
}

/* Override block cart max-width to fill the 1376px content area */
.woocommerce-cart .wp-block-woocommerce-cart.alignwide {
    max-width: 1376px;
    margin: 0 auto;
}

/* Two-column sidebar layout — cart items + totals */
.woocommerce-cart .wc-block-components-sidebar-layout {
    gap: 1px;
    flex-wrap: nowrap;
}

/* Left column — cart items */
.woocommerce-cart .wc-block-cart__main {
    flex: 1 1 0%;
    min-width: 0;
}

/* Right column — cart totals sidebar */
.woocommerce-cart .wc-block-cart__sidebar {
    flex: 0 0 400px;
}

/* Cart items table — white card container */
.woocommerce-cart table.wc-block-cart-items {
    background: #ffffff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    overflow: hidden;
}

/* Cart items table — header row */
.woocommerce-cart .wc-block-cart-items__header {
    background: #f9fafb;
    border-bottom: 1px solid var(--stv-border-gray);
}

/* Cart items table — header cells */
.woocommerce-cart .wc-block-cart-items__header th {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    text-transform: none;
    padding: 16px 24px;
}

/* Make product header visible (WC hides it) */
.woocommerce-cart .wc-block-cart-items__header-product {
    visibility: visible;
}

/* ---- Cart item rows ---- */

/* Cell padding */
.woocommerce-cart .wc-block-cart-items__row td {
    padding: 24px;
}

/* Product image — 96x96, rounded, grey background */
.woocommerce-cart .wc-block-cart-item__image {
    width: 96px;
}

.woocommerce-cart .wc-block-cart-item__image img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    background: #f3f4f6;
}

/* Product title — dark, not a blue link */
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 200px;
}

.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name:hover {
    color: #101828;
}

/* Product details — display brand and availability on separate lines */
.woocommerce-cart .wc-block-components-product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Hide "Key:" labels for brand and availability */
.woocommerce-cart .wc-block-components-product-details__brand .wc-block-components-product-details__name,
.woocommerce-cart .wc-block-components-product-details__availability .wc-block-components-product-details__name {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Hide the " / " separator after brand */
.woocommerce-cart .wc-block-components-product-details__brand [aria-hidden="true"] {
    display: none;
}

/* Brand value — 12px uppercase navy */
.woocommerce-cart .wc-block-components-product-details__brand .wc-block-components-product-details__value {
    font-family: var(--stv-font);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #003d7a;
}

/* Stock/Availability value — 14px green */
.woocommerce-cart .wc-block-components-product-details__availability .wc-block-components-product-details__value {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
    color: #00a63e;
}

/* ---- Cart item rows — borders, padding, alignment ---- */

/* Row bottom border */
.woocommerce-cart .wc-block-cart-items__row {
    border-bottom: 1px solid var(--stv-border-gray);
}

/* No bottom border on last row */
.woocommerce-cart .wc-block-cart-items__row:last-child {
    border-bottom: none;
}

/* Row cell vertical alignment */
.woocommerce-cart .wc-block-cart-items__row td {
    vertical-align: middle;
}

/* ---- Remove button ---- */

.woocommerce-cart .wc-block-cart-item__remove-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6b7280;
    transition: background-color 0.15s ease;
}

.woocommerce-cart .wc-block-cart-item__remove-link:hover {
    background: #f3f4f6;
    color: #101828;
}

.woocommerce-cart .wc-block-cart-item__remove-link svg {
    width: 20px;
    height: 20px;
}

/* ---- Price column ---- */

/* Regular price (strikethrough) */
.woocommerce-cart .wc-block-cart-item__wrap .wc-block-components-product-price__regular {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 400;
    color: #6b7280;
}

/* Current/sale price — 18px Bold */
.woocommerce-cart .wc-block-cart-item__wrap .wc-block-components-product-price .wc-block-components-product-price__value {
    font-family: var(--stv-font);
    font-size: 18px;
    font-weight: 700;
    color: #101828;
    text-decoration: none;
}

/* ---- Quantity stepper ---- */

.woocommerce-cart .wc-block-components-quantity-selector {
    display: inline-flex;
    align-items: center;
    width: 124px;
    height: 36px;
    border: 2px solid #d1d5dc;
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-cart .wc-block-components-quantity-selector__input {
    flex: 1;
    width: auto;
    height: 100%;
    border: none;
    background: transparent;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    text-align: center;
    -moz-appearance: textfield;
    padding: 0;
    margin: 0;
}

.woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-cart .wc-block-components-quantity-selector__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #101828;
    padding: 0;
    flex-shrink: 0;
}

.woocommerce-cart .wc-block-components-quantity-selector__button:hover {
    background: #f3f4f6;
}

/* ---- Subtotal column ---- */

.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-family: var(--stv-font);
    font-size: 20px;
    font-weight: 700;
    color: #101828;
}

/* Hide savings badge */
.woocommerce-cart .wc-block-components-sale-badge {
    display: none;
}

/* ---- Below-table actions (Continue Shopping / Clear Cart) ---- */

.woocommerce-cart .stv-cart-actions {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.woocommerce-cart .stv-cart-actions__continue {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    color: #003d7a;
    text-decoration: none;
}

.woocommerce-cart .stv-cart-actions__continue:hover {
    text-decoration: underline;
}

.woocommerce-cart .stv-cart-actions__clear {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    color: #4a5565;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.woocommerce-cart .stv-cart-actions__clear:hover {
    color: #101828;
}

.woocommerce-cart .stv-cart-actions__clear:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---- Coupon code sidebar card ---- */

.woocommerce-cart .stv-coupon-card.wc-block-components-totals-wrapper {
    background: #ffffff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    padding: 24px;
    margin: 0 0 24px 0;
}

/* Heading — clickable toggle */
.woocommerce-cart .stv-coupon-card__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    cursor: pointer;
}

.woocommerce-cart .stv-coupon-card__icon {
    flex-shrink: 0;
}

/* Hide the WooCommerce panel (accordion + form) by default */
.woocommerce-cart .stv-coupon-card .wc-block-components-panel {
    display: none;
}

/* Show panel when card is open */
.woocommerce-cart .stv-coupon-card--open .wc-block-components-panel {
    display: block;
    margin-top: 16px;
}

/* Hide original panel button — we use our own heading */
.woocommerce-cart .stv-coupon-card .wc-block-components-panel__button {
    display: none;
}

/* Ensure panel content is visible when open */
.woocommerce-cart .stv-coupon-card--open .wc-block-components-panel__content {
    overflow: visible !important;
    height: auto !important;
}

/* Form: input + button row */
.woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__form {
    display: flex;
    gap: 8px;
}

/* Input field */
.woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__input {
    flex: 1;
}

.woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__input input {
    height: 42px;
    border: 1px solid #d1d5dc;
    border-radius: 10px;
    padding: 0 12px;
    font-family: var(--stv-font);
    font-size: 14px;
    background: #ffffff;
    box-sizing: border-box;
}

/* Override WooCommerce floating label — use placeholder style */
.woocommerce-cart .stv-coupon-card .wc-block-components-text-input label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    font-size: 14px;
    color: #6b7280;
    pointer-events: none;
    transition: all 0.15s;
}

.woocommerce-cart .stv-coupon-card .wc-block-components-text-input.is-active label {
    display: none;
}

.woocommerce-cart .stv-coupon-card .wc-block-components-text-input.is-active input {
    padding-top: 0 !important;
}

/* Apply button */
.woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__button {
    width: 92px;
    min-width: 92px;
    height: 42px;
    background: #003d7a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    flex-grow: 0;
}

.woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__button:hover {
    background: #002d5c;
}

.woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Hint text */
.woocommerce-cart .stv-coupon-card__hint {
    font-family: var(--stv-font);
    font-size: 14px;
    color: #6a7282;
    margin: 12px 0 0 0;
}

.woocommerce-cart .stv-coupon-card__hint strong {
    font-weight: 600;
}

/* ---- Cart totals card ---- */

.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
    background: #ffffff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    padding: 24px;
}

/* Heading */
.woocommerce-cart .wc-block-cart__totals-title {
    font-family: var(--stv-font);
    font-size: 20px;
    font-weight: 700;
    color: #101828;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 16px 0;
    padding: 0;
    display: none;
}

/* Subtotal/shipping rows (if present) */
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item {
    font-family: var(--stv-font);
    padding: 6px 0;
}

.woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item__label {
    font-size: 16px;
    font-weight: 400;
    color: #364153;
}

.woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item__value {
    font-size: 16px;
    font-weight: 600;
    color: #364153;
}

/* Divider between subtotals and total */
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block {
    border-bottom: 1px solid var(--stv-border-gray);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

/* Hide divider when subtotals block is empty */
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block:empty {
    border: none;
    padding: 0;
    margin: 0;
}

/* Total row */
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-family: var(--stv-font);
    font-size: 20px;
    font-weight: 700;
    color: #101828;
}

.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-family: var(--stv-font);
    font-size: 24px;
    font-weight: 700;
    color: #003d7a;
}

/* Remove default wrapper border/padding inside card */
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block > .wc-block-components-totals-wrapper {
    border: none;
    padding: 0;
    margin: 0;
}

/* Remove sidebar horizontal padding (overrides @container rule in cart.css) */
.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item,
.woocommerce-cart .wc-block-components-sidebar .wc-block-components-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove min-height from coupon/cart buttons */
.woocommerce-cart .wc-block-components-button:not(.is-link) {
    min-height: unset !important;
}

/* ---- Checkout button ---- */

.woocommerce-cart .wc-block-cart__submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background: #8bc53f;
    border: none;
    border-radius: 10px;
    font-family: var(--stv-font);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 15px rgba(139, 197, 63, 0.3), 0 4px 6px rgba(139, 197, 63, 0.3);
    transition: background 0.2s, box-shadow 0.2s;
}

.woocommerce-cart .wc-block-cart__submit-button:hover {
    background: #7ab535;
    box-shadow: 0 10px 15px rgba(139, 197, 63, 0.4), 0 4px 6px rgba(139, 197, 63, 0.4);
}

/* Cart icon before button text */
.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---- "We Accept" payment badges card ---- */

.woocommerce-cart .stv-we-accept {
    background: #ffffff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 10px;
    padding: 25px;
    margin-top: 24px;
    display: none;
}

.woocommerce-cart .stv-we-accept__heading {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 12px 0;
}

.woocommerce-cart .stv-we-accept__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.woocommerce-cart .stv-we-accept__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #d1d5dc;
    border-radius: 4px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 600;
    color: #364153;
    box-sizing: border-box;
}

/* ========================================
   WooCommerce Cart Page — Mobile Responsive
   ======================================== */

@media (max-width: 768px) {

    /* --- Section 1: Container & Layout Stacking --- */

    /* Add horizontal padding to container */
    .woocommerce-cart .ast-container {
        padding: 0 16px;
    }

    /* Scale down page title */
    .woocommerce-cart .entry-title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    /* Force vertical stacking — override desktop nowrap + fixed sidebar */
    .woocommerce-cart .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 16px;
    }

    /* Main column: full width */
    .woocommerce-cart .wc-block-cart__main {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    /* Remove the right padding on main column */
    .wc-block-components-sidebar-layout .wc-block-components-main {
        padding-right: 0;
    }

    /* Sidebar: full width instead of fixed 400px */
    .woocommerce-cart .wc-block-cart__sidebar {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100%;
    }

    /* Fix empty whitespace — remove Astra min-height */
    .woocommerce-cart .site-content > .ast-container,
    .woocommerce-cart #primary {
        min-height: unset !important;
    }

    /* --- Section 2: Cart Table & Item Rows --- */

    /* Hide table header on mobile */
    .woocommerce-cart .wc-block-cart-items__header {
        display: none !important;
    }

    /* Reduce cell padding */
    .woocommerce-cart .wc-block-cart-items__row td {
        padding: 12px;
    }

    /* Slightly smaller product image */
    .woocommerce-cart .wc-block-cart-item__image {
        width: 80px;
    }

    .woocommerce-cart .wc-block-cart-item__image img {
        width: 80px;
        height: 80px;
        border-radius: 8px;
    }

    /* Remove desktop max-width restriction on product title */
    .woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
        max-width: none;
        font-size: 15px;
    }

    /* Scale down line subtotal */
    .woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
        font-size: 16px;
    }

    /* Scale down unit price */
    .woocommerce-cart .wc-block-cart-item__wrap .wc-block-components-product-price .wc-block-components-product-price__value {
        font-size: 16px;
    }

    /* --- Section 3: Order Summary, Coupon & Buttons --- */

    /* Coupon card — tighter padding */
    .woocommerce-cart .stv-coupon-card.wc-block-components-totals-wrapper {
        padding: 16px;
        margin: 0 0 16px 0;
    }

    /* Coupon form — allow wrapping on narrow screens */
    .woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__form {
        flex-wrap: wrap;
    }

    /* Coupon input full width */
    .woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__input {
        flex: 1 1 100%;
        min-width: 0;
    }

    /* Coupon apply button — full width, touch target */
    .woocommerce-cart .stv-coupon-card .wc-block-components-totals-coupon__button {
        width: 100%;
        min-width: unset;
        min-height: 44px;
        height: 44px;
    }

    /* Order summary card — tighter padding */
    .woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
        padding: 16px;
    }

    /* Total label — scale down */
    .woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
        font-size: 18px;
    }

    /* Total value — scale down */
    .woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
        font-size: 20px;
    }

    /* Checkout button — mobile proportions */
    .woocommerce-cart .wc-block-cart__submit-button {
        height: 52px;
        font-size: 16px;
        border-radius: 8px;
    }

    /* Quantity stepper buttons — 44px touch target */
    .woocommerce-cart .wc-block-components-quantity-selector__button {
        min-width: 44px;
        min-height: 44px;
    }

    /* Remove button — 44px touch target */
    .woocommerce-cart .wc-block-cart-item__remove-link {
        width: 44px;
        height: 44px;
    }

    /* "We Accept" card — tighter if shown */
    .woocommerce-cart .stv-we-accept {
        padding: 16px;
        margin-top: 16px;
    }

}

/* =============================================
   1 CHECKOUT HEADER
   ============================================= */

.stv-checkout-header {
    background: #fff;
    border-bottom: 1px solid var(--stv-border-gray);
    height: 64px;
}

.stv-checkout-header__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---- Logo (reuse main header styles) ---- */
.stv-checkout-header .stv-logo {
    flex-shrink: 0;
    color: var(--stv-blue);
}

/* ---- Step Indicator ---- */

.stv-checkout-steps ol {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.stv-checkout-step {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stv-checkout-step__circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.stv-checkout-step__label {
    font-size: 14px;
    white-space: nowrap;
}

.stv-checkout-step__line {
    display: block;
    width: 32px;
    height: 2px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Completed step */
.stv-checkout-step--completed .stv-checkout-step__circle {
    background: #8bc53f;
}

.stv-checkout-step--completed .stv-checkout-step__label {
    color: #8bc53f;
    font-weight: 500;
}

.stv-checkout-step--completed .stv-checkout-step__line {
    background: #8bc53f;
}

/* Active step */
.stv-checkout-step--active .stv-checkout-step__circle {
    background: #003d7a;
}

.stv-checkout-step--active .stv-checkout-step__label {
    color: #003d7a;
    font-weight: 600;
}

.stv-checkout-step--active .stv-checkout-step__line {
    background: #d1d5dc;
}

/* Future step */
.stv-checkout-step--future .stv-checkout-step__circle {
    background: #e5e7eb;
    color: #6a7282;
}

.stv-checkout-step--future .stv-checkout-step__label {
    color: #99a1af;
    font-weight: 400;
}

/* ---- Contact Links ---- */

.stv-checkout-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.stv-checkout-contact__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #6a7282;
    white-space: nowrap;
}

.stv-checkout-contact__item svg {
    flex-shrink: 0;
}

/* ---- Checkout header: hide normal header elements ---- */
body.woocommerce-checkout .stv-topbar,
body.woocommerce-checkout .stv-navbar {
    display: none;
}

/* ---- Responsive: hide contact & steps on small screens ---- */
@media (max-width: 768px) {
    .stv-checkout-contact {
        display: none;
    }

    .stv-checkout-steps ol {
        gap: 2px;
    }

    .stv-checkout-step__line {
        width: 16px;
    }

    .stv-checkout-header__container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .stv-checkout-step__label {
        display: none;
    }
}

/* =============================================
   CHECKOUT FOOTER
   ============================================= */

.stv-checkout-footer {
    background: #f9fafb;
    border-top: 1px solid var(--stv-border-gray);
    padding: 17px 0;
}

.stv-checkout-footer__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---- Security Badges ---- */

.stv-checkout-footer__badges {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stv-checkout-footer__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #6a7282;
    white-space: nowrap;
}

.stv-checkout-footer__badge svg {
    flex-shrink: 0;
}

/* ---- Payment Method Icons ---- */

.stv-checkout-footer__payments {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stv-checkout-footer__payment {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--stv-border-gray);
    border-radius: 4px;
    height: 26px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.stv-checkout-footer__payment--visa {
    color: #1447e6;
}

.stv-checkout-footer__payment--mc {
    color: #ff6900;
}

.stv-checkout-footer__payment--paypal {
    color: #2b7fff;
}

/* ---- Policy Links ---- */

.stv-checkout-footer__links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stv-checkout-footer__link {
    font-size: 12px;
    font-weight: 400;
    color: #6a7282;
    text-decoration: none;
    white-space: nowrap;
}

.stv-checkout-footer__link:hover {
    color: #003d7a;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .stv-checkout-footer__container {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
    }
}

/* =============================================
   CHECKOUT PAGE LAYOUT
   ============================================= */

body.woocommerce-checkout {
    background: #f9fafb;
}

.woocommerce-checkout .ast-container {
    max-width: 1120px;
    padding-left: 32px;
    padding-right: 32px;
    margin: 0 auto;
}

/* Kill Astra's default top margin/padding on #primary so the checkout
   content starts flush under the checkout header. */
.woocommerce-checkout #primary.content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
    max-width: 100%;
}

.woocommerce-checkout .wc-block-components-sidebar-layout {
    gap: 32px;
}

.woocommerce-checkout .wc-block-checkout__main {
    flex: 1 1 608px;
}

.woocommerce-checkout .wc-block-checkout__sidebar {
    flex: 0 0 400px;
}

.woocommerce-checkout .entry-title {
    display: none;
}

.woocommerce-checkout .ast-breadcrumbs-wrapper {
    display: none;
}

/* ---- Responsive: stack columns on small screens ---- */

@media (max-width: 768px) {
    .woocommerce-checkout .wc-block-components-sidebar-layout {
        flex-direction: column;
    }

    .woocommerce-checkout .wc-block-checkout__main,
    .woocommerce-checkout .wc-block-checkout__sidebar {
        flex: 1 1 auto;
    }

    .woocommerce-checkout .ast-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =============================================
   CHECKOUT FORM INPUT STYLING
   ============================================= */

/* ---- Text Inputs ---- */

.woocommerce-checkout .wc-block-components-text-input input[type="text"],
.woocommerce-checkout .wc-block-components-text-input input[type="email"],
.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
.woocommerce-checkout .wc-block-components-text-input input[type="password"],
.woocommerce-checkout .wc-block-components-text-input input[type="number"],
.woocommerce-checkout .wc-block-components-text-input input[type="search"],
.woocommerce-checkout .wc-block-components-text-input input {
    height: 50px;
    border: 1px solid #d1d5dc;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--stv-font);
    font-weight: 400;
    color: #101828;
    background: #fff;
    box-sizing: border-box;
}

.woocommerce-checkout .wc-block-components-text-input input::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

/* ---- Focus State ---- */

.woocommerce-checkout .wc-block-components-text-input input:focus {
    border-color: #003d7a;
    box-shadow: none;
    outline: none;
}

/* ---- Labels ---- */

.woocommerce-checkout .wc-block-components-text-input label {
    font-size: 14px;
    font-weight: 600;
    color: #364153;
}

/* ---- Required Asterisk ---- */

.woocommerce-checkout .wc-block-components-text-input label .required,
.woocommerce-checkout .wc-block-components-text-input label .optional {
    color: #e31e24;
}

/* ---- Combobox / Country Dropdown ---- */

.woocommerce-checkout .wc-block-components-combobox-control input {
    height: 50px;
    border: 1px solid #d1d5dc;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--stv-font);
    font-weight: 400;
    color: #101828;
    background: #fff;
    box-sizing: border-box;
}

.woocommerce-checkout .wc-block-components-combobox-control input:focus {
    border-color: #003d7a;
    box-shadow: none;
    outline: none;
}

.woocommerce-checkout .wc-block-components-combobox-control label {
    font-size: 14px;
    font-weight: 600;
    color: #364153;
}

/* ---- Select Dropdowns ---- */

.woocommerce-checkout .wc-block-components-select-control select,
.woocommerce-checkout .wc-block-components-country-input select,
.woocommerce-checkout .wc-block-components-state-input select,
.woocommerce-checkout select {
    height: 50px;
    border: 1px solid #d1d5dc;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--stv-font);
    font-weight: 400;
    color: #101828;
    background: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.woocommerce-checkout .wc-block-components-select-control select:focus,
.woocommerce-checkout .wc-block-components-country-input select:focus,
.woocommerce-checkout .wc-block-components-state-input select:focus,
.woocommerce-checkout select:focus {
    border-color: #003d7a;
    box-shadow: none;
    outline: none;
}

.woocommerce-checkout .wc-block-components-select-control label {
    font-size: 14px;
    font-weight: 600;
    color: #364153;
}

/* ---- Textarea (Order Notes) ---- */

.woocommerce-checkout .wc-block-components-textarea {
    border: 1px solid #d1d5dc;
    border-radius: 10px;
    padding: 12px 16px;
    min-height: 98px;
    font-size: 16px;
    font-family: var(--stv-font);
    font-weight: 400;
    color: #101828;
    background: #fff;
    box-sizing: border-box;
}

.woocommerce-checkout .wc-block-components-textarea:focus {
    border-color: #003d7a;
    box-shadow: none;
    outline: none;
}

/* ---- Checkboxes ---- */

.woocommerce-checkout .wc-block-components-checkbox__input {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* ---- Remove default WooCommerce block input wrapper borders ---- */

.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-combobox-control {
    border: none;
    background: transparent;
}

/* =============================================
   CHECKOUT SECTION HEADINGS & SPACING
   ============================================= */

.woocommerce-checkout .wc-block-components-checkout-step .wc-block-components-title {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--stv-font);
    color: #101828;
    line-height: 28px;
    margin-bottom: 16px;
}

.woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 32px;
}

/* =============================================
   CHECKOUT PAYMENT METHOD CARDS
   ============================================= */

/* ---- Payment step fieldset reset ---- */

.woocommerce-checkout fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* ---- Payment options container ----
   Stack method cards with a 12px gap, matching the shipping options layout.
   The parent of the accordion-options is `.wc-block-components-radio-control`
   with the `--highlight-checked` modifier — not an `-accordion` class. */

.woocommerce-checkout #payment-method .wc-block-components-radio-control,
.woocommerce-checkout #payment-method .wc-block-components-radio-control--highlight-checked {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Kill WooCommerce's "grouped list" visual for the payment radio group.
   Same issue as the shipping section — WC's packages-style.css draws an
   outer frame and internal row dividers via ::after pseudo-elements on
   .wc-block-components-radio-control--highlight-checked and each
   accordion-option. We want each payment method to read as its own
   standalone card (already styled at .accordion-option below), so hide
   those pseudo-elements entirely. */
.woocommerce-checkout #payment-method .wc-block-components-radio-control--highlight-checked::after,
.woocommerce-checkout #payment-method .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
}

/* ---- Individual payment method card ----
   Mirrors the shipping option card pattern (see §4f in designdocs/checkout.md
   and the "Shipping options" block below):
   1px grey border + white background by default, 2px brand-blue border + pale
   blue tint when selected, with padding compensated by 1px so the card height
   stays stable across states.

   WooCommerce's packages-style.css applies `border-radius: 4px` and an
   `inset box-shadow: 0 0 0 2px currentColor` to the selected state via
   `.wc-block-components-radio-control--highlight-checked
    .wc-block-components-radio-control-accordion-option--checked-option-highlighted`.
   Both are overridden below. */

.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
    border: 1px solid #d1d5dc;
    border-radius: 10px !important;
    padding: 0px 18px;
    background: #fff;
    box-shadow: none !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* ---- Selected / active card ----
   The correct WC modifier is `--checked-option-highlighted` (added when
   `highlightChecked` is true on the radio control). There is no `--checked`
   class on its own. */

.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
    border: 2px solid #003d7a;
    padding: 15px 17px; /* compensate for +1px border so height stays stable */
    background: rgba(239, 246, 255, 0.5);
}

/* ---- Method label typography ---- */

.woocommerce-checkout .wc-block-components-radio-control__option {
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce-checkout .wc-block-components-radio-control__label {
    font-size: 16px;
    font-weight: 600;
    color: #002A5C !important;
    font-family: var(--stv-font);
}

/* ---- Payment method icon ---- */

.woocommerce-checkout .wc-block-components-radio-control__option img,
.woocommerce-checkout .wc-block-components-radio-control__option svg {
    width: 18px;
    height: 18px;
}

/* ---- Expanded content area ---- */

.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
    padding-top: 16px;
}

/* =============================================
   CHECKOUT ORDER SUMMARY SIDEBAR
   ============================================= */

/* ---- Sidebar card container ---- */

.woocommerce-checkout .wc-block-checkout__sidebar {
    background: #f9fafb;
    border: 1px solid var(--stv-border-gray);
    border-radius: 14px;
    overflow: hidden;
    padding: 1px;
}

/* ---- Remove WooCommerce summary block default border ---- */

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    border: none;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    font-size: 18px;
    font-weight: 700;
    padding: 10px;
}

/* ---- Header — "Order Summary" ---- */

.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    margin-top: 0;
    padding-top: 5px;
    font-family: var(--stv-font);
    border-bottom: 1px solid var(--stv-border-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}

/* ---- Product item rows ---- */

.woocommerce-checkout .wc-block-components-checkout-order-summary__content {
    padding: 0;
}

/* WC core sets `display: table` on the inner .wc-block-components-order-summary__content
   and `display: table-cell` on __image / __description (see
   wp-content/plugins/woocommerce/assets/client/blocks/checkout.css). Inside a
   table layout, `min-width: 0` is ignored and the description expands to its
   intrinsic content width, pushing __total-price past the sidebar edge. Reset
   them so our flex layout below can actually shrink the description. */
.woocommerce-checkout .wc-block-components-order-summary__content {
    display: block;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image,
.woocommerce-checkout .wc-block-components-order-summary-item__description {
    display: block;
}

.woocommerce-checkout .wc-block-components-order-summary-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--stv-border-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Description column — grow into free space but allow shrinking below its
   intrinsic content width so the nowrap+ellipsis on .wc-block-components-product-name
   (below) kicks in, keeping __total-price inside the sidebar. Strip WC core's
   24px left-padding — the item's 12px gap provides spacing instead. */
.woocommerce-checkout .wc-block-components-order-summary-item__description {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}

/* Total-price column — don't shrink; keep the price + "Save X" badge pinned
   to the right at their natural width. */
.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    flex: 0 0 auto;
}

.woocommerce-checkout .wc-block-components-order-summary-item:last-child {
    border-bottom: none;
}

/* ---- Product thumbnail ---- */

.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 10px;
    background: #fff;
    overflow: visible;
    position: relative;
    flex-shrink: 0;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ---- Quantity badge ---- */

.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 20px;
    height: 20px;
    background: #003d7a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ---- Product name ---- */

.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #101828;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Product quantity text ---- */

.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-order-summary-item__individual-prices,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-order-summary-item__quantity {
    font-size: 12px;
    font-weight: 400;
    color: #6a7282;
}

/* ---- Product price (right-aligned) ---- */

.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    margin-left: auto;
    white-space: nowrap;
}

/* ---- Coupon code section ---- */

.woocommerce-checkout .wc-block-components-totals-coupon {
    padding: 0px 20px 20px;
}

.woocommerce-checkout .wc-block-components-totals-coupon #wc-block-components-totals-coupon__input-coupon {
    height: 42px;
}

.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
    border-top: none;
}

.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-totals-coupon__content {
    display: flex;
    gap: 8px;
}

.woocommerce-checkout .wc-block-components-totals-coupon__content input {
    flex: 1;
    height: 38px;
    border: 1px solid #d1d5dc;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    font-family: var(--stv-font);
    font-weight: 400;
    color: #101828;
    background: #fff;
    box-sizing: border-box;
}

.woocommerce-checkout .wc-block-components-totals-coupon__content input::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.woocommerce-checkout .wc-block-components-totals-coupon__content input:focus {
    border-color: #003d7a;
    box-shadow: none;
    outline: none;
}

.woocommerce-checkout .wc-block-components-totals-coupon__content button {
    width: 84px;
    min-width: 84px;
    height: 38px;
    background: #003d7a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--stv-font);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.woocommerce-checkout .wc-block-components-totals-coupon__content button:hover {
    background: #002d5c;
}

/* ---- Hide empty totals wrappers (discount, fee) ---- */

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block:empty,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block:empty {
    display: none;
}

/* ---- Totals rows (subtotal, shipping, tax) ---- */

.woocommerce-checkout .wc-block-components-totals-wrapper {
    padding: 17px 0px 0px 10px;
}

.woocommerce-checkout .wc-block-components-checkout-order-summary__content > .wc-block-components-totals-wrapper:last-child {
    padding: 0;
}

.woocommerce-checkout .wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.woocommerce-checkout .wc-block-components-totals-item:last-child {
    margin-bottom: 0;
}

.woocommerce-checkout .wc-block-components-totals-item__label {
    font-size: 14px;
    font-weight: 400;
    color: #4a5565;
}

.woocommerce-checkout .wc-block-components-totals-item__value {
    font-size: 14px;
    font-weight: 500;
    color: #4a5565;
}

/* ---- Free shipping green text ---- */

.woocommerce-checkout .wc-block-components-totals-shipping .wc-block-components-totals-item__value,
.woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__label {
    color: #008236;
    font-weight: 500;
}

/* ---- Total row ---- */

.woocommerce-checkout .wc-block-components-totals-footer-item {
    background: #fff;
    padding: 17px 20px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
}

.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 24px;
    font-weight: 700;
    color: #003d7a;
}

/* ---- Pickup Locations Radio ---- */

.woocommerce-checkout .wc-block-components-radio-control--highlight-checked {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted {
    border-color: #003d7a;
}

.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .radio-control-accordion-option--checked-option-highlighted,
.woocommerce-checkout .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ---- Shipping options (per STV UI kit — form-field radii + payment-card pattern) ---- */

/* Kill WooCommerce's "grouped list" visual for the shipping radio group.
   WC's packages-style.css draws the outer frame and internal row dividers
   with ::after pseudo-elements on .wc-block-components-radio-control--highlight-checked
   and on each __option. We want each shipping method to read as its own
   standalone card, so hide those pseudo-elements entirely. */
.woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control--highlight-checked::after,
.woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
}

/* Also strip any border on the package/control wrappers themselves
   (covers the __package--multiple variant WooCommerce borders). */
.woocommerce-checkout .wc-block-components-shipping-rates-control,
.woocommerce-checkout .wc-block-components-shipping-rates-control__package,
.woocommerce-checkout .wc-block-components-shipping-rates-control__package--multiple {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Stack the options with gap, and undo the "collapsed group" look from the
   Pickup Locations Radio rules above so each shipping method reads as its own card. */
.woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

/* Individual shipping method card — base (unselected) */
.woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option {
    border: 1px solid #d1d5dc;
    border-radius: 10px !important;
    background: #fff;
    /* Left padding clears the absolutely-positioned radio circle
       (.wc-block-components-radio-control__input-container). */
    padding: 16px 18px 16px 48px;
    margin: 0;
    box-shadow: none !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Selected shipping method card — brand blue border + pale tint (matches payment card pattern) */
.woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option--checked-option-highlighted {
    border: 2px solid #003d7a;
    padding: 15px 17px 15px 47px; /* compensate for +1px border so height stays stable */
    background: rgba(239, 246, 255, 0.5);
}

/* Override the Pickup Locations Radio `border-radius: 0 !important` rule above
   so the selected shipping card keeps the rounded 10px corners. */
.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-shipping-rates-control__package label.wc-block-components-radio-control__option--checked-option-highlighted,
.woocommerce-checkout .wc-block-components-shipping-rates-control__package label.wc-block-components-radio-control__option--checked-option-highlighted {
    border-radius: 10px !important;
}

/* =============================================
   CHECKOUT PLACE ORDER, TERMS & SECURITY BADGES
   ============================================= */

/* ---- Place Order Button ---- */

.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background: #8bc53f;
    border: none;
    border-radius: 10px;
    height: 60px;
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--stv-font);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: #7ab030;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled,
.woocommerce-checkout .wc-block-components-checkout-place-order-button[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ---- Actions Row Layout ---- */

.woocommerce-checkout .wc-block-checkout__actions_row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
}

.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    flex: 1;
}

/* ---- Return to Cart Link ---- */

.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
    font-size: 14px;
    font-weight: 500;
    color: #6a7282;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:hover {
    color: #003d7a;
}

/* ---- Terms & Conditions ---- */

.woocommerce-checkout .wc-block-checkout__terms {
    margin-bottom: 16px;
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__input {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label {
    font-size: 14px;
    font-weight: 400;
    color: #364153;
}

.woocommerce-checkout .wc-block-checkout__terms a {
    font-size: 14px;
    font-weight: 600;
    color: #003d7a;
    text-decoration: none;
}

.woocommerce-checkout .wc-block-checkout__terms a:hover {
    text-decoration: underline;
}

/* ---- Security Badges Below Button ---- */

.stv-checkout-security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.stv-checkout-security-badges__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #6a7282;
    white-space: nowrap;
}

.stv-checkout-security-badges__item svg {
    flex-shrink: 0;
}


/* ========================================
   My Account Page
   ======================================== */

/* ---- Page Container Override ---- */

.woocommerce-account .ast-container {
    max-width: calc(1376px + var(--stv-container-padding) * 2);
    padding-left: var(--stv-container-padding);
    padding-right: var(--stv-container-padding);
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25%;
}

.woocommerce-account .ast-container .woocommerce {
    max-width: 100%;
}

.woocommerce-account .ast-container .woocommerce .woocommerce-MyAccount-navigation ul {
    padding-left: 0;
    border: solid 1px var(--stv-border-gray);
    border-radius: var(--stv-border-radius);
}

.woocommerce-account .ast-container .woocommerce .woocommerce-MyAccount-navigation ul li:hover {
    background-color: var(--stv-background);
}


.woocommerce-account .ast-container .woocommerce .woocommerce-MyAccount-navigation-link {
    border: none;
}

.woocommerce-account .woocommerce-MyAccount-content {
    border: solid 1px var(--stv-border-gray);
    border-radius: var(--stv-border-radius);
    padding: var(--stv-container-padding-small);
    width: 72%;
}

/* ---- My Account: Address Overview Cards ---- */

.woocommerce-account .woocommerce-Addresses {
    display: flex;
    gap: 24px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    border: 1px solid var(--stv-border-gray);
    border-radius: var(--stv-border-radius);
}


.woocommerce .woocommerce-Addresses address,.woocommerce .woocommerce-MyAccount-content address,.woocommerce .woocommerce-customer-details address,.woocommerce-account .woocommerce-Addresses address,.woocommerce-account .woocommerce-MyAccount-content address,.woocommerce-account .woocommerce-customer-details address {
    border: 0;
}
.woocommerce .woocommerce-Addresses .woocommerce-Address-title,.woocommerce .woocommerce-Addresses .woocommerce-column__title,.woocommerce .woocommerce-MyAccount-content .woocommerce-Address-title,.woocommerce .woocommerce-MyAccount-content .woocommerce-column__title,.woocommerce .woocommerce-customer-details .woocommerce-Address-title,.woocommerce .woocommerce-customer-details .woocommerce-column__title,.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title,.woocommerce-account .woocommerce-Addresses .woocommerce-column__title,.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title,.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title,.woocommerce-account .woocommerce-customer-details .woocommerce-Address-title,.woocommerce-account .woocommerce-customer-details .woocommerce-column__title {
    background: var(--stv-background);
    margin-bottom: 0;
    border: 0;
    border-radius: var(--stv-border-radius);
}

.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--stv-border-gray);
}

.woocommerce-account .woocommerce-Address-title h2 {
    font-family: var(--stv-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--stv-text-dark);
    margin: 0;
}

.woocommerce-account .woocommerce-Address-title .edit {
    font-family: var(--stv-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--stv-navy);
    text-decoration: none;
}

.woocommerce-account .woocommerce-Address-title .edit:hover {
    color: var(--stv-blue);
    text-decoration: underline;
}

.woocommerce-account .woocommerce-MyAccount-content address {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 22px;
    color: #4a5565;
    font-style: normal;
}

/* ---- My Account: Form Fields ---- */

.woocommerce-account .woocommerce-address-fields .form-row {
    margin-bottom: 16px;
    padding: 0;
}

.woocommerce-account .woocommerce-address-fields .form-row-first,
.woocommerce-account .woocommerce-address-fields .form-row-last {
    width: calc(50% - 12px);
}

.woocommerce-account .woocommerce-address-fields label,
.woocommerce-account .woocommerce-EditAccountForm label,
.woocommerce-account .woocommerce-ResetPassword label {
    display: block;
    font-family: var(--stv-font);
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px;
    color: #364153;
    margin-bottom: 8px;
}

.woocommerce-account .woocommerce-address-fields label .required {
    color: var(--stv-red);
}

.woocommerce-account .woocommerce-address-fields .input-text,
.woocommerce-account .woocommerce-EditAccountForm .input-text,
.woocommerce-account .woocommerce-ResetPassword .input-text {
    width: 100%;
    height: 50px;
    border: 1px solid #d1d5dc;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--stv-text-dark);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.woocommerce-account .woocommerce-address-fields .input-text::placeholder,
.woocommerce-account .woocommerce-EditAccountForm .input-text::placeholder,
.woocommerce-account .woocommerce-ResetPassword .input-text::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.woocommerce-account .woocommerce-address-fields .input-text:focus,
.woocommerce-account .woocommerce-EditAccountForm .input-text:focus,
.woocommerce-account .woocommerce-ResetPassword .input-text:focus {
    border-color: var(--stv-navy);
    box-shadow: none;
    outline: none;
}

/* ---- Select2 (Country Dropdown) ---- */

.woocommerce-account .woocommerce-address-fields .select2-container--default .select2-selection--single {
    height: 50px;
    border: 1px solid #d1d5dc;
    border-radius: 4px;
    padding: 12px 16px;
    background: #fff;
    box-sizing: border-box;
}

.woocommerce-account .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--stv-text-dark);
    padding: 0;
}

.woocommerce-account .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.woocommerce-account .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
    right: 12px;
}

.woocommerce-account .woocommerce-address-fields .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--stv-navy);
    box-shadow: none;
}

/* ---- Save Address Button ---- */

.woocommerce-account .woocommerce-address-fields button[name="save_address"],
.woocommerce-account .woocommerce-EditAccountForm button[type="submit"],
.woocommerce-account .woocommerce-ResetPassword button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 12px 32px;
    background: var(--stv-green);
    color: #fff;
    font-family: var(--stv-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.woocommerce-account .woocommerce-address-fields button[name="save_address"]:hover,
.woocommerce-account .woocommerce-EditAccountForm button[type="submit"]:hover,
.woocommerce-account .woocommerce-ResetPassword button[type="submit"]:hover {
    background: #7ab030; /* TODO: move to :root */
}

/* ---- Form Heading ---- */

.woocommerce-account .woocommerce-MyAccount-content > h2 {
    font-family: var(--stv-font);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--stv-text-dark);
    margin-bottom: 24px;
}

/* ---- Lost Password / Reset Password Form ---- */

.woocommerce-account .woocommerce-ResetPassword {
    max-width: 480px;
}

.woocommerce-account .woocommerce-ResetPassword > p:first-child {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 20px;
    color: #4a5565;
    margin-bottom: 24px;
}

.woocommerce-account .woocommerce-ResetPassword .form-row {
    margin-bottom: 16px;
    padding: 0;
}

.woocommerce-account .woocommerce-ResetPassword label .required {
    color: var(--stv-red);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-Addresses {
        flex-direction: column;
    }

    .woocommerce-account .woocommerce-address-fields .form-row-first,
    .woocommerce-account .woocommerce-address-fields .form-row-last {
        width: 100%;
        float: none;
    }
}

/* ==========================================================================
   17. Order Received (Thank You)
   ========================================================================== */

/* Page background */
body.woocommerce-order-received {
    background: #f9fafb;
}

/* Override Astra containers to match cart/PDP 1376px grid */
body.woocommerce-order-received .ast-container,
body.woocommerce-order-received .ast-woocommerce-container {
    max-width: 1376px;
    padding-left: 0;
    padding-right: 0;
}

/* Astra constrains block-layout children to --wp--custom--ast-content-size (1200px).
   Lift that constraint so our 1376px .woocommerce-order can fill the container. */
body.woocommerce-order-received .entry-content[data-ast-blocks-layout] > * {
    max-width: 1376px !important;
}

body.woocommerce-order-received #primary {
    padding-top: 48px;
    padding-bottom: 80px;
}

body.woocommerce-order-received .entry-content {
    font-family: var(--stv-font);
    color: var(--stv-text-dark);
}

/* Outer wrapper — stack sections with 32px gap */
body.woocommerce-order-received .woocommerce-order {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1376px;
    margin: 0 auto;
}

/* ---- Success notice (thank-you card) ---- */

body.woocommerce-order-received .woocommerce-notice,
body.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: #ffffff;
    border: 1px solid var(--stv-border-gray, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    padding: 32px 32px 32px 96px;
    position: relative;
    margin: 0;
    font-family: var(--stv-font);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--stv-text-dark);
}

/* Green check icon on the left */
body.woocommerce-order-received .woocommerce-notice::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: rgba(139, 197, 63, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238bc53f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
}

/* Error variant for failed orders */
body.woocommerce-order-received .woocommerce-notice--error {
    color: var(--stv-red);
}

body.woocommerce-order-received .woocommerce-notice--error::before {
    background-color: rgba(227, 30, 36, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e31e24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* ---- Order overview list (summary row) ---- */

body.woocommerce-order-received ul.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--stv-border-gray, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

body.woocommerce-order-received ul.woocommerce-order-overview li {
    flex: 1 1 0;
    min-width: 0;
    padding: 20px 24px;
    border-right: 1px solid var(--stv-border-gray, #e5e7eb);
    font-family: var(--stv-font);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6a7282;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

body.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
    border-right: none;
}

body.woocommerce-order-received ul.woocommerce-order-overview li strong {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--stv-text-dark);
}

/* ---- Order details section heading ---- */

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
    margin: 0;
}

/* WooCommerce ships a boxed/bordered style for these titles via a 3-class
   selector with grey bg, 1em padding, and top/left/right borders. Override
   with !important so STV typography wins and the nested-box look is gone. */
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
    font-family: var(--stv-font) !important;
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 600 !important;
    color: var(--stv-text-dark) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
}

/* ---- Order details table (line items + totals) ---- */

body.woocommerce-order-received .woocommerce-order-details table.shop_table,
body.woocommerce-order-received table.woocommerce-table--order-details {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--stv-border-gray, #e5e7eb);
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    font-family: var(--stv-font);
    margin: 0;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table thead th {
    background: #f9fafb;
    border-bottom: 1px solid var(--stv-border-gray, #e5e7eb);
    padding: 16px 24px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--stv-text-dark);
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table thead th.woocommerce-table__product-total,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody td.woocommerce-table__product-total {
    text-align: right;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody td {
    padding: 20px 24px;
    border-top: 1px solid var(--stv-border-gray, #e5e7eb);
    font-size: 16px;
    line-height: 24px;
    color: var(--stv-text-dark);
    vertical-align: top;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody tr:first-child td {
    border-top: none;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody td.woocommerce-table__product-name a {
    color: var(--stv-navy);
    font-weight: 500;
    text-decoration: none;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody td.woocommerce-table__product-name a:hover {
    text-decoration: underline;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody td.woocommerce-table__product-name .product-quantity {
    color: #4a5565;
    font-weight: 400;
    margin-left: 4px;
}

/* Totals rows */
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot td {
    padding: 16px 24px;
    border-top: 1px solid var(--stv-border-gray, #e5e7eb);
    font-size: 16px;
    line-height: 24px;
    text-align: right;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot th {
    font-size: 14px;
    font-weight: 500;
    color: #4a5565;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot td {
    font-weight: 600;
    color: var(--stv-text-dark);
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:first-child th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:first-child td {
    border-top: 2px solid var(--stv-border-gray, #e5e7eb);
}

/* Order total row — emphasized */
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr.order-total th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr.order-total td {
    background: #f9fafb;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: var(--stv-navy);
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr.order-total th {
    color: var(--stv-text-dark);
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr.order-total td small.includes_tax {
    display: block;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #6a7282;
    margin-top: 4px;
}

/* Downloads / order again blocks (if present) */
body.woocommerce-order-received .woocommerce-order-downloads {
    background: #ffffff;
    border: 1px solid var(--stv-border-gray, #e5e7eb);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

/* ---- Customer details (billing + shipping) ---- */

/* Force 2-col grid layout, overriding Astra/WC .col2-set floats */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,
body.woocommerce-order-received .woocommerce-customer-details .col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0;
    width: 100%;
    max-width: none;
    float: none;
}

/* Clear Astra/WC clearfix pseudo-elements that break grid flow */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses::after,
body.woocommerce-order-received .woocommerce-customer-details .col2-set::before,
body.woocommerce-order-received .woocommerce-customer-details .col2-set::after {
    content: none;
    display: none;
}

/* Card columns — kill Astra's float/width on .col-1 / .col-2 */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column,
body.woocommerce-order-received .woocommerce-customer-details .col-1,
body.woocommerce-order-received .woocommerce-customer-details .col-2 {
    background: #ffffff;
    border: 1px solid var(--stv-border-gray, #e5e7eb);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column h2,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
    font-family: var(--stv-font);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--stv-text-dark);
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 16px;
    max-width: none;
}

/* Override WC default border/padding on <address> (WC's selector has 3
   classes, so we need !important here to win the cascade). */
body.woocommerce-order-received .woocommerce-customer-details address {
    font-family: var(--stv-font);
    font-size: 14px;
    line-height: 22px;
    color: #4a5565;
    font-style: normal;
    margin: 10px 30px;
    display: block;
}

/* Visual breathing room between address lines */
body.woocommerce-order-received .woocommerce-customer-details address br {
    display: block;
    content: "";
    margin-top: 4px;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email {
    font-size: 14px;
    line-height: 22px;
    color: #4a5565;
    margin: 8px 0 0;
    padding-left: 22px;
    position: relative;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5565' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5565' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    body.woocommerce-order-received .ast-container,
    body.woocommerce-order-received .ast-woocommerce-container {
        padding-left: var(--stv-container-padding);
        padding-right: var(--stv-container-padding);
    }

    body.woocommerce-order-received #primary {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    body.woocommerce-order-received .woocommerce-order {
        gap: 24px;
    }

    body.woocommerce-order-received .woocommerce-notice {
        padding: 24px 24px 24px 80px;
        font-size: 16px;
        line-height: 24px;
    }

    body.woocommerce-order-received .woocommerce-notice::before {
        left: 20px;
        width: 40px;
        height: 40px;
        background-size: 24px 24px;
    }

    body.woocommerce-order-received ul.woocommerce-order-overview {
        flex-direction: column;
    }

    body.woocommerce-order-received ul.woocommerce-order-overview li {
        border-right: none;
        border-bottom: 1px solid var(--stv-border-gray, #e5e7eb);
    }

    body.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
        border-bottom: none;
    }

    body.woocommerce-order-received .woocommerce-order-details table.shop_table thead th,
    body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody td,
    body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot th,
    body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot td {
        padding: 12px 16px;
    }

    body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body.woocommerce-order-received .woocommerce-notice {
        padding: 20px 20px 20px 68px;
    }

    body.woocommerce-order-received .woocommerce-notice::before {
        left: 16px;
        width: 36px;
        height: 36px;
        background-size: 22px 22px;
    }

    body.woocommerce-order-received .woocommerce-order-details__title,
    body.woocommerce-order-received .woocommerce-column__title {
        font-size: 20px;
        line-height: 28px;
    }

    body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column {
        padding: 20px;
    }
}