/**
 * DogCarrier WooCommerce Styles
 *
 * @package DogCarrier
 */

/* ==========================================================================
   Reset default WooCommerce layout (float columns fight our grid)
   ========================================================================== */

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: both !important;
}

@media (min-width: 640px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 1.5rem !important;
    }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-1 li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce ul.products.columns-6 li.product {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    float: none !important;
    margin: 0 !important;
}

/* ==========================================================================
   Shop hero + intro (size table area)
   ========================================================================== */

.dc-shop-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(var(--brand-charcoal-rgb), 0.65);
}

.dc-shop-breadcrumb .woocommerce-breadcrumb a {
    color: rgb(var(--brand-wisteria-rgb));
    text-decoration: none;
    font-weight: 600;
}

.dc-shop-breadcrumb .woocommerce-breadcrumb a:hover {
    color: rgb(var(--brand-red-rgb));
}

.dc-shop-intro,
.woocommerce-archive-description,
.term-description,
.woocommerce-page-description {
    color: rgb(var(--brand-wisteria-rgb));
    line-height: 1.75;
    font-size: 0.95rem;
}

.dc-shop-intro p,
.woocommerce-archive-description p,
.term-description p {
    margin-bottom: 0.85rem;
}

.dc-shop-intro em,
.dc-shop-intro i,
.woocommerce-archive-description em {
    font-style: italic;
}

.dc-shop-intro img,
.woocommerce-archive-description img,
.term-description img {
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
    margin: 0.5rem 0 1rem;
}

.dc-shop-intro a,
.woocommerce-archive-description a {
    color: rgb(var(--brand-red-rgb));
    font-weight: 600;
    text-decoration: underline;
}

.dc-shop-intro #dc_shop,
.dc-shop-intro #dc_shop_test_sieger_image {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.dc-shop-intro #dc_shop_test_sieger_image img {
    max-width: 180px;
    flex-shrink: 0;
}

/* ==========================================================================
   Toolbar (sort + result count + category filter)
   ========================================================================== */

.dc-shop-toolbar {
    background: linear-gradient(135deg, rgb(var(--brand-white-rgb)) 0%, rgb(var(--brand-beige-rgb)) 100%);
    border: 1px solid rgb(var(--brand-beige-dark-rgb) / 0.6);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(var(--brand-charcoal-rgb), 0.06);
}

.dc-shop-toolbar .woocommerce-result-count {
    color: rgb(var(--brand-wisteria-rgb));
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dc-shop-toolbar .woocommerce-ordering select {
    border: 2px solid rgb(var(--brand-beige-dark-rgb));
    border-radius: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgb(var(--brand-white-rgb));
    color: rgb(var(--brand-charcoal-rgb));
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dc-shop-toolbar .woocommerce-ordering select:hover {
    border-color: rgb(var(--brand-charcoal-rgb) / 0.4);
}

.dc-shop-toolbar .woocommerce-ordering select:focus {
    border-color: rgb(var(--brand-red-rgb));
    outline: none;
    box-shadow: 0 0 0 3px rgb(var(--brand-red-rgb) / 0.15);
}

/* ==========================================================================
   Product cards
   ========================================================================== */

.dc-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgb(var(--brand-white-rgb));
    border: 1px solid rgb(var(--brand-beige-dark-rgb) / 0.6);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(var(--brand-charcoal-rgb), 0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
    position: relative;
}

.dc-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(var(--brand-red-rgb)) 0%, rgb(var(--brand-charcoal-rgb)) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.dc-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(var(--brand-charcoal-rgb), 0.12),
                0 8px 16px rgba(var(--brand-red-rgb), 0.06);
    border-color: rgba(var(--brand-red-rgb), 0.3);
}

.dc-product-card:hover::before {
    opacity: 1;
}

/* Sale Badge */
.dc-product-card .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgb(var(--brand-red-rgb));
    color: rgb(var(--brand-white-rgb));
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(var(--brand-red-rgb), 0.3);
}

.dc-product-card__media {
    display: block;
    overflow: hidden;
    background: rgb(var(--brand-beige-rgb));
    aspect-ratio: 1 / 1;
}

.dc-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.dc-product-card:hover .dc-product-card__media:not(.dc-product-slider) img,
.dc-product-card:hover .dc-slider-image {
    transform: scale(1.04);
}

/* ==========================================================================
   Shop Category Filter
   ========================================================================== */

.dc-category-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2337736D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    min-width: 200px;
    border: 2px solid rgb(var(--brand-beige-dark-rgb));
    border-radius: 0.75rem;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    background-color: rgb(var(--brand-white-rgb));
    color: rgb(var(--brand-charcoal-rgb));
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dc-category-select:hover {
    border-color: rgb(var(--brand-charcoal-rgb) / 0.4);
    background-color: rgb(var(--brand-beige-rgb));
}

.dc-category-select:focus {
    border-color: rgb(var(--brand-red-rgb));
    box-shadow: 0 0 0 3px rgb(var(--brand-red-rgb) / 0.15);
    outline: none;
}

/* ==========================================================================
   Product image slider (starts on last image, advances toward first)
   ========================================================================== */

.dc-product-slider {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgb(var(--brand-beige-rgb));
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1 / 1) {
    .dc-product-slider::before {
        content: "";
        display: block;
        padding-top: 100%;
    }
}

.dc-slider-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.dc-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

/* Slider Controls */
.dc-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(var(--brand-charcoal-rgb), 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--brand-charcoal-rgb));
    font-size: 14px;
    opacity: 1;
    transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
    z-index: 100;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dc-slider-btn i {
    pointer-events: none;
}

.dc-product-slider:hover .dc-slider-btn {
    opacity: 1;
}

.dc-slider-btn:hover {
    background: rgb(var(--brand-red-rgb));
    color: rgb(var(--brand-white-rgb));
}

.dc-slider-prev {
    left: 10px;
}

.dc-slider-next {
    right: 10px;
}

/* Slider Dots */
.dc-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: calc(100% - 96px);
    overflow-x: auto;
    padding: 2px 4px;
    z-index: 20;
    pointer-events: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    scrollbar-width: none;
}

.dc-slider-dots::-webkit-scrollbar {
    display: none;
}

.dc-product-slider:hover .dc-slider-dots {
    opacity: 1;
}

.dc-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(var(--brand-charcoal-rgb), 0.35);
    border: 1px solid rgba(var(--brand-white-rgb), 0.9);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dc-slider-dot.active {
    background: rgb(var(--brand-red-rgb));
    transform: scale(1.2);
}

.dc-slider-dot:hover {
    background: rgb(var(--brand-white-rgb));
}

/* Mobile: smaller controls */
@media (max-width: 768px) {
    .dc-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

.dc-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.75rem;
    position: relative;
}

.dc-product-card__title {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.dc-product-card__title a {
    color: rgb(var(--brand-wisteria-rgb));
    text-decoration: none;
    transition: color 0.2s ease;
}

.dc-product-card__title a:hover {
    color: rgb(var(--brand-red-rgb));
}

.dc-product-card .price {
    color: rgb(var(--brand-red-rgb));
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dc-product-card .price del {
    color: rgba(var(--brand-charcoal-rgb), 0.45);
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 0.35rem;
}

.dc-product-card .price ins {
    text-decoration: none;
}

.dc-product-card__cta {
    margin-top: auto;
    padding-top: 0.25rem;
}

.dc-product-card__cta .button,
.dc-product-card .add_to_cart_button,
.dc-product-card a.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    background: linear-gradient(135deg, rgb(var(--brand-charcoal-rgb)) 0%, rgb(var(--brand-wisteria-rgb)) 100%) !important;
    color: rgb(var(--brand-white-rgb)) !important;
    border: none !important;
    border-radius: 0.75rem !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dc-product-card__cta .button::before,
.dc-product-card .add_to_cart_button::before,
.dc-product-card a.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.dc-product-card__cta .button:hover::before,
.dc-product-card .add_to_cart_button:hover::before,
.dc-product-card a.button:hover::before {
    left: 100%;
}

.dc-product-card__cta .button::after,
.dc-product-card .add_to_cart_button::after {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

.dc-product-card__cta .button:hover,
.dc-product-card .add_to_cart_button:hover,
.dc-product-card a.button:hover {
    background: rgb(var(--brand-red-rgb)) !important;
    color: rgb(var(--brand-white-rgb)) !important;
    transform: translateY(-1px);
}

.dc-product-card .added_to_cart {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgb(var(--brand-red-rgb));
    text-decoration: none;
}

/* ==========================================================================
   Global WooCommerce buttons + notices
   ========================================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: rgb(var(--brand-charcoal-rgb)) !important;
    color: rgb(var(--brand-white-rgb)) !important;
    border: none !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: rgb(var(--brand-red-rgb)) !important;
    color: rgb(var(--brand-white-rgb)) !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: rgb(var(--brand-red-rgb));
    border-radius: 1rem;
    background: rgb(var(--brand-white-rgb));
    border-left: 4px solid rgb(var(--brand-red-rgb));
    box-shadow: 0 8px 20px rgba(var(--brand-charcoal-rgb), 0.08);
}

.woocommerce-notices-wrapper {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.woocommerce nav.woocommerce-pagination {
    margin-top: 2.5rem;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgb(var(--brand-beige-dark-rgb));
    color: rgb(var(--brand-wisteria-rgb));
    text-decoration: none;
    font-weight: 700;
    background: rgb(var(--brand-white-rgb));
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: rgb(var(--brand-red-rgb));
    border-color: rgb(var(--brand-red-rgb));
    color: rgb(var(--brand-white-rgb));
}

/* ==========================================================================
   Single product
   ========================================================================== */

.dc-single-product .product_title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: rgb(var(--brand-charcoal-rgb));
    margin-bottom: 1rem;
}

.dc-single-product .price {
    color: rgb(var(--brand-red-rgb));
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.dc-single-product .woocommerce-product-details__short-description {
    color: rgb(var(--brand-wisteria-rgb));
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.dc-single-product .single_add_to_cart_button {
    width: 100%;
    max-width: 20rem;
}

.dc-single-product .quantity .qty {
    border: 1px solid rgb(var(--brand-beige-dark-rgb));
    border-radius: 0.75rem;
    padding: 0.5rem;
    min-width: 4rem;
}

.woocommerce-tabs .tabs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 0 0 1rem;
}

.woocommerce-tabs .tabs li a {
    display: inline-flex;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    background: rgb(var(--brand-beige-rgb));
    color: rgb(var(--brand-wisteria-rgb));
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-tabs .tabs li.active a {
    background: rgb(var(--brand-red-rgb));
    color: white;
}

.woocommerce .star-rating span::before {
    color: rgb(var(--brand-red-rgb));
}

.woocommerce img,
.woocommerce-page img {
    max-width: 100%;
    height: auto;
}

.woocommerce-page .site-main,
.woocommerce .site-main {
    background: transparent;
}

.woocommerce-page main,
.woocommerce main {
    background: rgb(var(--brand-beige-rgb));
}

.woocommerce-no-products-found {
    color: rgb(var(--brand-wisteria-rgb));
    font-weight: 600;
}

/* ==========================================================================
   Default WooCommerce archive markup (fallback when block templates are used)
   ========================================================================== */

.dc-shop-shell .woocommerce-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: rgba(var(--brand-charcoal-rgb), 0.65);
}

.dc-shop-shell .woocommerce-breadcrumb a {
    color: rgb(var(--brand-wisteria-rgb));
    text-decoration: none;
    font-weight: 600;
}

.dc-shop-shell .woocommerce-products-header {
    background: rgb(var(--brand-white-rgb));
    border: 1px solid rgb(var(--brand-beige-dark-rgb));
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px rgba(var(--brand-charcoal-rgb), 0.06);
}

.dc-shop-shell .woocommerce-products-header__title,
.dc-shop-shell .page-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: rgb(var(--brand-charcoal-rgb));
    margin: 0 0 1rem;
    line-height: 1.25;
}

.dc-shop-shell .term-description,
.dc-shop-shell .page-description,
.dc-shop-shell .woocommerce-products-header .woocommerce-archive-description {
    color: rgb(var(--brand-wisteria-rgb));
    line-height: 1.75;
}

.dc-shop-shell #primary,
.dc-shop-shell #main,
.dc-shop-shell .site-main {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

.dc-shop-shell .content-area {
    width: 100%;
    float: none;
}

/* ==========================================================================
   Modern Cart Page Styles (DogCarrier Design)
   ========================================================================== */

/* Main Cart Page Container */
.dc-cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Cart Header */
.dc-cart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dc-cart-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--brand-red-rgb), 0.1);
    color: rgb(var(--brand-red-rgb));
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.dc-cart-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: rgb(var(--brand-charcoal-rgb));
    margin: 0;
}

/* Cart Content Grid */
.dc-cart-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .dc-cart-content {
        grid-template-columns: 1fr 380px;
    }
}

/* Cart Items */
.dc-cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dc-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 1.5rem;
    background: rgb(var(--brand-white-rgb));
    border-radius: 1rem;
    border: 1px solid rgb(var(--brand-beige-dark-rgb));
    align-items: center;
}

@media (min-width: 768px) {
    .dc-cart-item {
        grid-template-columns: 100px 1fr 120px 150px;
        gap: 1.5rem;
    }
}

/* Product Image */
.dc-cart-item__image {
    width: 100px;
    height: 100px;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgb(var(--brand-beige-rgb));
}

.dc-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.dc-cart-item__info {
    min-width: 0;
}

.dc-cart-item__name {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: rgb(var(--brand-charcoal-rgb));
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.dc-cart-item__name a {
    color: inherit;
    text-decoration: none;
}

.dc-cart-item__name a:hover {
    color: rgb(var(--brand-red-rgb));
}

.dc-cart-item__price {
    font-size: 0.875rem;
    color: rgb(var(--brand-wisteria-rgb));
    margin: 0;
}

/* Quantity */
.dc-cart-item__quantity {
    grid-column: 2 / -1;
    justify-self: start;
}

@media (min-width: 768px) {
    .dc-cart-item__quantity {
        grid-column: auto;
        justify-self: center;
    }
}

.dc-cart-item__quantity .quantity {
    display: flex;
}

.dc-cart-item__quantity input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid rgb(var(--brand-beige-dark-rgb));
    border-radius: 0.5rem;
    font-weight: 600;
}

/* Totals */
.dc-cart-item__totals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.dc-cart-item__subtotal {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(var(--brand-charcoal-rgb));
}

.dc-remove-btn {
    color: rgb(var(--brand-wisteria-rgb));
    font-size: 1rem;
    transition: color 0.2s;
}

.dc-remove-btn:hover {
    color: rgb(var(--brand-red-rgb));
}

/* Cart Actions */
.dc-cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgb(var(--brand-beige-dark-rgb));
    justify-content: space-between;
    align-items: center;
}

.dc-coupon {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
}

.dc-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgb(var(--brand-beige-dark-rgb));
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* Buttons */
.dc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.dc-btn--outline {
    background: transparent;
    color: rgb(var(--brand-charcoal-rgb));
    border: 2px solid rgb(var(--brand-beige-dark-rgb));
}

.dc-btn--outline:hover {
    border-color: rgb(var(--brand-charcoal-rgb));
    background: rgb(var(--brand-beige-rgb));
}

.dc-summary-box .dc-btn--checkout {
    background: rgb(var(--brand-red-rgb));
    color: white;
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(var(--brand-red-rgb), 0.3);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.dc-summary-box .dc-btn--checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--brand-red-rgb), 0.4);
}

.dc-summary-box .dc-btn--continue {
    background: transparent;
    color: rgb(var(--brand-wisteria-rgb));
    justify-content: center;
    width: 100%;
    display: inline-flex;
}

.dc-summary-box .dc-btn--continue:hover {
    color: rgb(var(--brand-charcoal-rgb));
}

/* Ensure buttons are visible - OVERRIDE WooCommerce defaults */
.woocommerce-cart .dc-summary-box a.dc-btn,
.woocommerce-cart .dc-summary-box a.button.dc-btn--checkout,
.woocommerce-cart .dc-summary-box a.button.dc-btn--continue {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgb(var(--brand-red-rgb)) !important;
    color: white !important;
    padding: 1rem !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
    border: none !important;
}

.woocommerce-cart .dc-summary-box a.button.dc-btn--continue {
    background: transparent !important;
    color: rgb(var(--brand-wisteria-rgb)) !important;
    border: 2px solid rgb(var(--brand-beige-dark-rgb)) !important;
}

/* Standard WooCommerce Checkout Button - STYLED */
.woocommerce-cart .wc-proceed-to-checkout {
    margin: 1.5rem 0 0.75rem;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .dc-summary-box .checkout-button {
    display: flex !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: rgb(var(--brand-red-rgb)) !important;
    color: white !important;
    padding: 1rem !important;
    border-radius: 9999px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(var(--brand-red-rgb), 0.3) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--brand-red-rgb), 0.4) !important;
}

/* Continue Shopping Link */
.dc-continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgb(var(--brand-wisteria-rgb));
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem;
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.dc-continue-shopping:hover {
    color: rgb(var(--brand-charcoal-rgb));
}

/* Cart Sidebar */
.dc-cart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Summary Box */
.dc-summary-box {
    background: rgb(var(--brand-white-rgb));
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgb(var(--brand-beige-dark-rgb));
}

.dc-summary-box h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: rgb(var(--brand-charcoal-rgb));
}

.dc-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
}

.dc-row span:first-child {
    color: rgb(var(--brand-wisteria-rgb));
}

.dc-row span:last-child {
    font-weight: 600;
    color: rgb(var(--brand-charcoal-rgb));
}

.dc-row.dc-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid rgb(var(--brand-beige-dark-rgb));
    font-size: 1.125rem;
}

.dc-row.dc-total span:first-child {
    font-weight: 700;
    color: rgb(var(--brand-charcoal-rgb));
}

.dc-total-price {
    color: rgb(var(--brand-red-rgb)) !important;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Trust Badges */
.dc-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.dc-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgb(var(--brand-white-rgb));
    border-radius: 0.75rem;
    border: 1px solid rgb(var(--brand-beige-dark-rgb));
    font-size: 0.65rem;
    color: rgb(var(--brand-wisteria-rgb));
}

.dc-trust-item i {
    font-size: 1.25rem;
    color: rgb(var(--brand-charcoal-rgb));
}

/* Payment Box */
.dc-payment-box {
    background: rgb(var(--brand-white-rgb));
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgb(var(--brand-beige-dark-rgb));
    text-align: center;
    overflow: hidden;
}

.dc-payment-box p {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--brand-wisteria-rgb));
    margin: 0 0 0.75rem;
}

.dc-payment-icons,
.dc-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 2.5rem;
    color: rgb(var(--brand-charcoal-rgb));
}

/* Variations */
.dc-cart-item .variation {
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.75rem;
    color: rgb(var(--brand-wisteria-rgb));
}

.dc-cart-item .variation dt,
.dc-cart-item .variation dd {
    display: inline;
    margin: 0;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 3rem;
    background: rgb(var(--brand-beige-rgb));
    border-radius: 1rem;
}

.return-to-shop .button {
    background: rgb(var(--brand-red-rgb));
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
}

/* ==========================================================================
   AGGRESSIVE CART BUTTON FIXES - Including WooCommerce Blocks
   ========================================================================== */

/* WooCommerce Cart Block Buttons */
.wc-block-cart__submit-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    background: #E53838 !important;
    color: #ffffff !important;
    padding: 16px 24px !important;
    border-radius: 9999px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(229, 56, 56, 0.3) !important;
    margin: 16px 0 12px !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 1.5 !important;
    min-height: 56px !important;
    gap: 0.5rem !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:hover {
    background: #c92e2e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229, 56, 56, 0.4) !important;
}

/* Force checkout button to be visible as a button */
.woocommerce-cart .checkout-button,
.woocommerce-cart a.checkout-button,
.woocommerce-page.woocommerce-cart a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.button,
.woocommerce-cart .wc-proceed-to-checkout .button,
.dc-summary-box .checkout-button {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    background: #E53838 !important;
    color: #ffffff !important;
    padding: 16px 24px !important;
    border-radius: 9999px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(229, 56, 56, 0.3) !important;
    margin: 16px 0 12px !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 1.5 !important;
    min-height: 56px !important;
    gap: 0.5rem !important;
}

.woocommerce-cart .checkout-button:hover,
.woocommerce-cart a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.button:hover,
.dc-summary-box .checkout-button:hover {
    background: #c92e2e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229, 56, 56, 0.4) !important;
}

/* Continue shopping link as button */
.woocommerce-cart .dc-continue-shopping,
.woocommerce-cart a.dc-continue-shopping {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    color: #37736D !important;
    padding: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 2px solid #F3E2D3 !important;
    border-radius: 9999px !important;
    margin-top: 8px !important;
}

.woocommerce-cart .dc-continue-shopping:hover {
    background: #FFF6ED !important;
    color: #2d5c58 !important;
}

/* ==========================================================================
   WOOCOMMERCE CHECKOUT BLOCK STYLES - ULTRA AGGRESSIVE
   ========================================================================== */

/* FORCE SINGLE COLUMN - DESTROY ALL FLEX/GRID LAYOUTS - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-checkout * {
    flex-direction: column !important;
}

/* Target the specific field containers - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-form,
body.woocommerce-checkout .wc-block-checkout__fields,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout .wc-block-components-address-form,
body.woocommerce-checkout .wc-block-components-address-form__fields {
    display: block !important;
    width: 100% !important;
}

/* Force each field to be full width - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-select-input,
body.woocommerce-checkout .wc-block-components-country-input,
body.woocommerce-checkout .wc-block-components-state-input,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-checkout-fields .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-bottom: 1rem !important;
}

/* Kill all row layouts - CHECKOUT ONLY */
body.woocommerce-checkout [class*="row"],
body.woocommerce-checkout [class*="Row"],
body.woocommerce-checkout [class*="-row-"],
body.woocommerce-checkout [class*="-Row-"] {
    display: block !important;
    flex-direction: column !important;
}

/* Main content single column - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-checkout__main {
    display: block !important;
}

body.woocommerce-checkout .wc-block-checkout__main * {
    flex-direction: column !important;
}

/* Target specifically the form rows in main area - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-form,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-address-form,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__content {
    display: block !important;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-select-input,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-country-input,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-state-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
}

/* CHECKOUT inputs full width */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input select,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Container width */
.wc-block-checkout {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem 1rem !important;
}

/* CHECKOUT TWO COLUMN LAYOUT - Main left, Sidebar right */
.wc-block-checkout {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
}

.wc-block-checkout__main {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 600px !important;
    min-width: 0 !important;
    order: 1 !important;
}

.wc-block-checkout__sidebar {
    flex: 0 0 45% !important;
    width: 45% !important;
    min-width: 380px !important;
    max-width: 500px !important;
    order: 2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    transform: none !important;
    margin-left: auto !important;
}

/* CHECKOUT Form Fields - Single Column */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select {
    padding: 0.75rem 1rem !important;
    border: 2px solid #F3E2D3 !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    background: #FFF6ED !important;
    min-height: 48px !important;
}

/* Force single column layout for all form rows - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-form .wc-block-components-checkout-step__content > div,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input,
body.woocommerce-checkout [class*="row"] {
    display: block !important;
    width: 100% !important;
}

body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input {
    margin-bottom: 1rem !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
body.woocommerce-checkout .wc-block-components-state-input select:focus {
    outline: none !important;
    border-color: #37736D !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(55, 115, 109, 0.1) !important;
}

/* Section Headers - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-checkout-step__title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #37736D !important;
    border-bottom: 2px solid #F3E2D3 !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1.25rem !important;
}

/* Step Container - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-checkout-step {
    background: white !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(55, 115, 109, 0.08) !important;
    border: 1px solid #F3E2D3 !important;
    margin-bottom: 1.5rem !important;
}

/* Order Summary Table - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-order-summary {
    border: none !important;
    background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-order-summary__table {
    width: 100% !important;
}

body.woocommerce-checkout .wc-block-components-order-summary__table th {
    background: #37736D !important;
    color: white !important;
    padding: 0.75rem 1rem !important;
    font-weight: 600 !important;
    text-align: left !important;
}

/* Place Order Button - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    background: #E53838 !important;
    color: white !important;
    padding: 16px 24px !important;
    border-radius: 9999px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(229, 56, 56, 0.3) !important;
    margin-top: 1rem !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 1.5 !important;
    min-height: 56px !important;
}

body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover {
    background: #c92e2e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229, 56, 56, 0.4) !important;
}

/* Payment Methods in Block - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-payment-methods__payment-method {
    background: #FFF6ED !important;
    border: 2px solid #F3E2D3 !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    margin-bottom: 0.75rem !important;
}

/* Radio buttons - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-radio-control__option {
    padding-left: 2rem !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__input {
    accent-color: #E53838 !important;
    width: 20px !important;
    height: 20px !important;
}

/* Checkbox - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-checkbox__input {
    accent-color: #E53838 !important;
    width: 20px !important;
    height: 20px !important;
}

/* Cart line items - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-order-summary-item {
    border-bottom: 1px solid #F3E2D3 !important;
    padding: 0.875rem 0 !important;
}

/* Totals - CHECKOUT ONLY */
body.woocommerce-checkout .wc-block-components-totals-item {
    font-size: 0.9375rem !important;
    color: #37736D !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #37736D !important;
}

/* CART PAGE - Hide sidebar widgets on left */
body.woocommerce-cart .widget-area,
body.woocommerce-cart aside,
body.woocommerce-cart .sidebar,
body.woocommerce-cart .widget:not(.widget_shopping_cart) {
    display: none !important;
}

/* CHECKOUT PAGE - Hide ALL sidebar/widget content below form */
body.woocommerce-checkout .widget-area,
body.woocommerce-checkout aside,
body.woocommerce-checkout .sidebar,
body.woocommerce-checkout .widget,
body.woocommerce-checkout .widget_product_categories,
body.woocommerce-checkout .widget_woocommerce_widget_cart,
body.woocommerce-checkout .dc-checkout-sidebar-bottom,
.woocommerce-checkout .widget,
.woocommerce-checkout .widget-area,
.woocommerce-checkout aside.widget-area {
    display: none !important;
}

/* Also hide widgets that appear inside the checkout page outside the form */
.dc-checkout-page ~ .widget,
.dc-checkout-page ~ aside,
.dc-checkout-page ~ .widget-area {
    display: none !important;
}

/* ==========================================================================
   CHECKOUT PAGE STYLES - Modern DogCarrier Design (Template Fallback)
   ========================================================================== */

.dc-checkout-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Checkout Header */
.dc-checkout-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dc-checkout-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #37736D;
    margin: 0.5rem 0 0;
}

.dc-checkout-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #37736D 0%, #2d5c58 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Checkout Grid Layout - ENFORCED */
.dc-checkout-grid {
    display: grid !important;
    grid-template-columns: 55% 42% !important;
    gap: 3% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .dc-checkout-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Checkout Main Column */
.dc-checkout-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Checkout Section Cards */
.dc-checkout-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(55, 115, 109, 0.08);
    border: 1px solid #F3E2D3;
}

.dc-checkout-section h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #37736D;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #F3E2D3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dc-checkout-section h2 i {
    color: #E53838;
}

/* Form Fields */
.dc-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 576px) {
    .dc-form-row {
        grid-template-columns: 1fr;
    }
}

.dc-form-row .form-row {
    margin: 0;
    padding: 0;
}

.dc-form-row label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #37736D;
    margin-bottom: 0.375rem;
}

.dc-form-row .required {
    color: #E53838;
}

.dc-form-row input,
.dc-form-row select,
.dc-form-row textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #F3E2D3;
    border-radius: 10px;
    font-size: 0.9375rem;
    background: #FFF6ED;
    transition: all 0.2s ease;
}

.dc-form-row input:focus,
.dc-form-row select:focus,
.dc-form-row textarea:focus {
    outline: none;
    border-color: #37736D;
    background: white;
    box-shadow: 0 0 0 3px rgba(55, 115, 109, 0.1);
}

.dc-form-row input::placeholder {
    color: #999;
}

/* Shipping Address Toggle */
.dc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #37736D;
    cursor: pointer;
    margin-bottom: 1rem;
}

.dc-checkbox-label input {
    width: 20px;
    height: 20px;
    accent-color: #E53838;
}

.dc-shipping-section .shipping_address {
    margin-top: 1rem;
}

/* Order Review Sidebar */
.dc-checkout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dc-checkout-summary {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(55, 115, 109, 0.08);
    border: 1px solid #F3E2D3;
}

.dc-checkout-summary h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #37736D;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #F3E2D3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dc-checkout-summary h2 i {
    color: #E53838;
}

/* Order Review Table */
.dc-order-review table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.dc-order-review table thead th {
    background: #37736D;
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-align: left;
}

.dc-order-review table thead th:last-child {
    text-align: right;
}

.dc-order-review table tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #F3E2D3;
}

.dc-order-review table tbody td:last-child {
    text-align: right;
    font-weight: 600;
}

.dc-order-review table tfoot th,
.dc-order-review table tfoot td {
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.dc-order-review table tfoot tr.order-total th,
.dc-order-review table tfoot tr.order-total td {
    font-size: 1.125rem;
    font-weight: 700;
    color: #37736D;
    border-top: 2px solid #F3E2D3;
}

.dc-order-review table tfoot td {
    text-align: right;
}

/* Payment Methods */
#payment {
    margin-top: 1.5rem;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc_payment_method {
    background: #FFF6ED;
    border: 2px solid #F3E2D3;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.wc_payment_method > label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #37736D;
    cursor: pointer;
}

.wc_payment_method input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #E53838;
}

.payment_box {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #F3E2D3;
    font-size: 0.875rem;
    color: #666;
}

/* Place Order Button */
#place_order,
.woocommerce-checkout .button#place_order {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    background: #E53838 !important;
    color: white !important;
    padding: 16px 24px !important;
    border-radius: 9999px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(229, 56, 56, 0.3) !important;
    margin-top: 1rem !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 1.5 !important;
    min-height: 56px !important;
    transition: all 0.2s ease !important;
}

#place_order:hover,
.woocommerce-checkout .button#place_order:hover {
    background: #c92e2e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229, 56, 56, 0.4) !important;
}

/* Terms and Conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin: 1rem 0;
    padding: 1rem;
    background: #FFF6ED;
    border-radius: 10px;
    font-size: 0.875rem;
}

.woocommerce-terms-and-conditions-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #37736D;
}

.woocommerce-terms-and-conditions-wrapper input {
    margin-top: 0.25rem;
    accent-color: #E53838;
}

.woocommerce-terms-and-conditions-wrapper a {
    color: #E53838;
    text-decoration: underline;
}

/* Coupon on Checkout */
.woocommerce-form-coupon {
    background: #FFF6ED;
    border: 2px solid #F3E2D3;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.woocommerce-form-coupon p {
    margin: 0 0 1rem;
    color: #37736D;
}

.woocommerce-form-coupon input {
    padding: 0.75rem 1rem;
    border: 2px solid #F3E2D3;
    border-radius: 10px;
    font-size: 0.9375rem;
    margin-right: 0.5rem;
}

.woocommerce-form-coupon button {
    background: #37736D;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce-form-coupon button:hover {
    background: #2d5c58;
}

/* CHECKOUT SIDEBAR - Force visible on all screen sizes */
@media (max-width: 1200px) {
    .wc-block-checkout {
        flex-direction: column !important;
    }
    
    .wc-block-checkout__main {
        width: 100% !important;
        flex: none !important;
    }
    
    .wc-block-checkout__sidebar {
        width: 100% !important;
        flex: none !important;
        max-width: none !important;
        order: 3 !important;
    }
}

@media (min-width: 1201px) {
    .wc-block-checkout__sidebar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* FORCE SIDEBAR VISIBLE - Override any WooCommerce defaults */
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-order-summary-block,
aside.wc-block-checkout__sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    right: 0 !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 10 !important;
}
