/* ==========================================================================
   WOOCOMMERCE CUSTOM STYLES
   ========================================================================== */

/* ==========================================================================
   GENERAL
   ========================================================================== */

.woocommerce-container {
    padding: 4rem 0;
}

/* ==========================================================================
   PRODUCTS GRID
   ========================================================================== */

/* Products Toolbar */
.woocommerce-products-header,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 2rem;
}

.woocommerce::before,
.woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

.woocommerce .woocommerce-result-count {
    float: left;
    margin: 0;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.5;
}

.woocommerce .woocommerce-ordering {
    float: right;
    margin: 0;
    padding: 0;
}

.woocommerce .woocommerce-ordering select {
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 0.125rem solid rgba(0, 0, 0, 0.2);
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-size: 0.9375rem;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.75rem;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.woocommerce .woocommerce-ordering select:hover,
.woocommerce .woocommerce-ordering select:focus {
    border-color: var(--color-primary, #E53A1E);
    outline: none;
}

.woocommerce ul.products {
}

.woocommerce ul.products li.product {
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    margin-block: 2rem;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border: 2px solid var(--color-red);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.woocommerce ul.products li.product .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #E63946;
    margin-bottom: 1rem;
    display: block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link){
    background-color: #000;
    color: #fff;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    border: none;
    transition: all 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:not(.is-link):hover{
    background-color: var(--color-red);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #E53A1E;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: #000;
}

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */

/* Product Detail Section */
.single-product-wrapper {
    width: 100%;
}

.product-detail-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    margin-bottom: 4rem;
}

.product-detail-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* min-height: 100%; */
    z-index: 0;
    pointer-events: none;
}

.product-detail-bg .bg-svg {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
}

.product-detail-section .container {
    position: relative;
    z-index: 1;
}

/* Product Gallery */
.product-gallery-wrapper {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    width: 5rem;
}

.product-badge img {
    width: 100%;
    height: auto;
}

.product-gallery-main {
    background: #fff;
    border: 0.125rem solid #E53A1E;
    margin-bottom: 1.5rem;
}

.main-product-image {
    width: 100%;
    height: auto;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
}

.thumbnail-item {
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    background-color: #ffffff;
}

.thumbnail-item.active,
.thumbnail-item:hover {
    border-color: #E53A1E;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Card */
.product-info-card {
    background: #fff;
    padding: 2rem;
    border: 2px solid #E53A1E;
}

.product-logo {
    text-align: right;
    margin-bottom: 2rem;
    order: 2;
    text-align: right;
    min-width: 9rem;
}

.product-logo img {
    max-width: 8rem;
    height: auto;
    display: inline-flex;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #E53A1E;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.1;
    font-weight: 300;
    width: 100%;
}

.product-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-price {
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: #000;
}

.product-edition {
    font-size: 0.875rem;
    color: #666;
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #333;
}

/* Ingredients */
.product-ingredients {
    margin-bottom: 2rem;
}

.ingredients-title {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: #E53A1E;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.ingredients-content {
    font-size: 1rem;
    line-height: 1.6;
}

.ingredients-content p {
    margin: 0;
}

/* Flavors */
.product-flavors {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flavors-title {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 0.825rem;
    color: #E53A1E;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

.flavors-list {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.flavor-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a.flavor-item:hover {
    opacity: 0.7;
}

.flavor-item.active .flavor-color {
    box-shadow: 0 0 0 0.1875rem rgba(0, 0, 0, 0.2);
}

.flavor-item.active .flavor-name {
    font-weight: 700;
}

.flavor-color {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: block;
    transition: box-shadow 0.3s ease;
}

.flavor-name {
    font-size: 0.875rem;
    color: #333;
    transition: font-weight 0.3s ease;
}

/* Quantity & Add to Cart */
.product-info-card form.cart {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 0.125rem solid #E53A1E;
    overflow: hidden;
}

.quantity-minus,
.quantity-plus {
    background: transparent;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    color: #E53A1E;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px){
        
    .quantity-minus,
    .quantity-plus,
    .quantity-input {
        min-height: 50px;
        width: 100%;
        min-width: 70px;
    }

}

.quantity-minus:hover,
.quantity-plus:hover {
    background: rgba(229, 58, 30, 0.1);
}

.quantity-input {
    width: 3rem;
    height: 2.5rem;
    border: none;
    border-left: 0.125rem solid #E53A1E;
    border-right: 0.125rem solid #E53A1E;
    background: transparent;
    text-align: center;
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    color: #000;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.single_add_to_cart_button {
    background: #F4C8DF;
    color: #E53A1E;
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 0.125rem solid #E53A1E;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.single_add_to_cart_button:hover {
    background: #E53A1E;
    color: #fff;
}

/* Out of Stock Message */
.product-out-of-stock {
    grid-column: 1 / -1;
    padding: 1.5rem;
    background: #f5f5f5;
    border: 2px solid #999;
    border-radius: 0.5rem;
    text-align: center;
}

.product-out-of-stock .out-of-stock-message {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Preorder Note */
.product-preorder-note {
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
    color: #2d7d2d;
    margin-bottom: 2rem;
}

.product-preorder-note p {
    margin: 0;
}

/* Payment Methods */
.product-payment-methods {
    margin-bottom: 1.5rem;
}

.product-payment-methods img {
    max-width: 100%;
    height: auto;
}

/* Product Links */
.product-links {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    flex-direction: column;
}

.product-links a {
    font-size: 0.875rem;
    color: #000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.product-links a:hover {
    color: #E53A1E;
}

/* Hero Section */
.product-hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-family: 'Monigue', cursive;
    font-size: 6rem;
    color: #F4C8DF;
    margin-bottom: 1rem;
    line-height: 1;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: 'Monigue', cursive;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.hero-logo {
    max-width: 20rem;
    margin: 0 auto;
}

.hero-logo img {
    width: 100%;
    height: auto;
}

/* Video Section */
.product-video-section {
    background: #2d2d2d;
    padding: 4rem 0;
}

.video-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Video Section Fullscreen */
.product-video-section-fullscreen {
    width: 100%;
    max-height: 75rem;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.product-video-section-fullscreen video {
    width: 100%;
    height: auto;
    max-height: 75rem;
    display: block;
    object-fit: cover;
}

/* Related Products Section */
.product-related-section {
    background: #fff;
    padding: 4rem 0;
}

.related-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.related-title .title-red {
    color: #E53A1E;
}

.related-subtitle {
    font-family: 'Monigue', cursive;
    font-size: 1.5rem;
    color: #000;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.related-product-item {
    background: #fff;
    transition: transform 0.3s ease;
}

.related-product-item:hover {
    transform: translateY(-0.5rem);
}

.related-product-item img {
    width: 100%;
    height: auto;
}

.related-cta {
    text-align: center;
}

.button-red {
    background: #E53A1E;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 1rem 3rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-red:hover {
    background: #000;
}

.cursor-icon {
    width: 1.5rem;
    height: auto;
}

/* ==========================================================================
   CART
   ========================================================================== */

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 0.0625rem solid #ddd;
}

.woocommerce table.shop_table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.woocommerce table.cart img {
    width: 5rem;
    height: auto;
}

.woocommerce .cart-collaterals {
    margin-top: 2rem;
}

.woocommerce .cart-collaterals .cart_totals {
    background-color: #f5f5f5;
    padding: 2rem;
}

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

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.woocommerce form .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce form .form-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 0.0625rem solid #ddd;
    font-family: inherit;
}


/* ==========================================================================
   MESSAGES
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #f5f5f5;
    border-left: 0.25rem solid #000;
}

.woocommerce-message {
    border-left-color: #4BB543;
}

.woocommerce-error {
    border-left-color: #E63946;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .woocommerce div.product {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
    }
    
    /* Single Product Responsive */
    .product-info-card {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .related-products-grid,
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-title {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    /* Products Toolbar Mobile */
    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .woocommerce .woocommerce-ordering select {
        width: 100%;
        max-width: 100%;
    }
    
    /* Single Product Mobile */
    .product-info-card {
        padding: 1.5rem;
    }
    
    .product-info-card form.cart {
        grid-template-columns: 1fr;
    }
    
    .product-title {
        font-size: 2.5rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-thumbnails {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .thumbnail-item {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .video-title {
        font-size: 1.75rem;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .related-title {
        font-size: 1.5rem;
    }
    
    .instagram-handle {
        font-size: 1.75rem;
    }
    
    .flavors-list {
        flex-wrap: wrap;
    }
}

.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar{
    background-color: #fff;
    padding: 1rem !important;
    border: 2px solid #E53A1E;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title{
    border: none !important;
    padding: 0 !important;
}

body .editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header th, 
body table.wc-block-cart-items .wc-block-cart-items__header th,
body .wc-block-cart .wc-block-cart__totals-title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text{
    font-size: 1.2rem;
    font-weight: bold !important;
}

body .wc-block-components-product-name{
    font-size: 1.2rem;
}

body .wp-block-woocommerce-checkout-order-summary-block{
    border: none;
    padding: 0;
}

@media (min-width: 992px){
    body .wc-block-components-sidebar-layout{
        gap: 2rem;
        flex-wrap: nowrap;
    }
   body  .wc-block-components-sidebar-layout .wc-block-components-main,
    body .wc-block-components-sidebar{
        padding: 2rem !important;
    }   
}

/* ==========================================================================
   MY ACCOUNT - NAVIGATION
   ========================================================================== */

.woocommerce-MyAccount-navigation {
    background: #fff;
    border: 0.125rem solid var(--color-primary, #f70000);
    padding: 0;
    margin-bottom: 2rem;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 0.0625rem solid rgba(247, 0, 0, 0.1);
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.8rem 1.4rem;
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-black, #000);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all var(--transition-normal, 0.3s ease);
    position: relative;
}

.woocommerce-MyAccount-navigation ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--color-primary, #f70000);
    transition: width var(--transition-normal, 0.3s ease);
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--color-primary, #f70000);
    background: rgba(247, 0, 0, 0.05);
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
    width: 0.25rem;
}

/* ==========================================================================
   WOOCOMMERCE NOTIFICATIONS & MESSAGES
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
    padding: 1.25rem 1.5rem 1.25rem 3.5rem;
    margin-bottom: 2rem;
    background-color: #fff;
    border: 0.125rem solid var(--color-primary, #f70000);
    border-left-width: 0.375rem;
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    box-shadow: var(--shadow-sm, 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1));
    list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Success Message */
.woocommerce-message {
    border-color: #4BB543;
    border-left-color: #4BB543;
    background: rgba(75, 181, 67, 0.05);
}

.woocommerce-message::before {
    content: '✓';
    background: #4BB543;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

/* Info Message */
.woocommerce-info {
    border-color: #2196F3;
    border-left-color: #2196F3;
    background: rgba(33, 150, 243, 0.05);
}

.woocommerce-info::before {
    content: 'i';
    background: #2196F3;
    color: #fff;
    font-weight: bold;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

/* Error Message */
.woocommerce-error {
    border-color: var(--color-primary, #f70000);
    border-left-color: var(--color-primary, #f70000);
    background: rgba(247, 0, 0, 0.05);
}

.woocommerce-error::before {
    content: '!';
    background: var(--color-primary, #f70000);
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover {
    color: var(--color-primary, #f70000);
}

/* Remove list markers for notification lists */
.woocommerce-error ul,
.woocommerce-message ul,
.woocommerce-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-error ul li,
.woocommerce-message ul li,
.woocommerce-info ul li {
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.woocommerce-error ul li:last-child,
.woocommerce-message ul li:last-child,
.woocommerce-info ul li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   MY ACCOUNT - CONTENT
   ========================================================================== */

.woocommerce-MyAccount-content {
    background: #fff;
    padding: 2rem;
    border: 0.125rem solid var(--color-primary, #f70000);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    color: var(--color-primary, #f70000);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.woocommerce-MyAccount-content h2 {
    font-size: 1.35rem;
}

.woocommerce-MyAccount-content h3 {
    font-size: 1.25rem;
}

.woocommerce-MyAccount-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* My Account Address Edit Buttons */
.woocommerce-Address-title .edit,
.woocommerce-MyAccount-content .edit {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background-color: var(--color-primary, #f70000);
    color: #fff;
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.02em;
    border: 0.125rem solid var(--color-primary, #f70000);
    transition: all var(--transition-normal, 0.3s ease);
    cursor: pointer;
}

.woocommerce-Address-title .edit:hover,
.woocommerce-MyAccount-content .edit:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

/* My Account Tables */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.woocommerce-MyAccount-content table th,
.woocommerce-MyAccount-content table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.1);
}

.woocommerce-MyAccount-content table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    background: rgba(247, 0, 0, 0.05);
    color: var(--color-primary, #f70000);
}

.woocommerce-MyAccount-content table td {
    font-size: 0.9375rem;
}

/* My Account Forms */
.woocommerce-MyAccount-content form .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--color-black, #000);
}

.woocommerce-MyAccount-content form input[type="text"],
.woocommerce-MyAccount-content form input[type="email"],
.woocommerce-MyAccount-content form input[type="password"],
.woocommerce-MyAccount-content form input[type="tel"],
.woocommerce-MyAccount-content form textarea,
.woocommerce-MyAccount-content form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 0.125rem solid rgba(0, 0, 0, 0.2);
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-size: 1rem;
    transition: border-color var(--transition-normal, 0.3s ease);
}

.woocommerce-MyAccount-content form input:focus,
.woocommerce-MyAccount-content form textarea:focus,
.woocommerce-MyAccount-content form select:focus {
    outline: none;
    border-color: var(--color-primary, #f70000);
}

/* ==========================================================================
   MY ACCOUNT - RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
    .woocommerce-MyAccount-navigation {
        margin-bottom: 1.5rem;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }

    .woocommerce-MyAccount-content {
        padding: 1.5rem;
    }

    .woocommerce-MyAccount-content h2 {
        font-size: 1.5rem;
    }

    .woocommerce-MyAccount-content h3 {
        font-size: 1.125rem;
    }

    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .woocommerce-message::before,
    .woocommerce-info::before,
    .woocommerce-error::before {
        left: 0.75rem;
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.875rem;
    }

    .woocommerce-MyAccount-content table th,
    .woocommerce-MyAccount-content table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   ORDER RECEIVED / THANK YOU PAGE
   ========================================================================== */

.order-received-wrapper {
    padding: 4rem 0;
}

.order-received-content {
    max-width: 75rem;
    margin: 0 auto;
}

/* Order Received Header */
.order-received-header {
    text-align: center;
    margin-bottom: 3rem;
}

.order-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.order-status-icon svg {
    width: 5rem;
    height: 5rem;
}

.order-received-title {
    font-family: var(--font-heading, 'Monigue', cursive);
    font-size: 2.5rem;
    color: var(--color-primary, #E63A1E);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 400;
}

.order-received-title.order-failed-title {
    color: var(--color-primary, #E63A1E);
}

.order-received-message {
    font-size: 1.125rem;
    color: var(--color-gray-dark, #333);
    line-height: 1.6;
    max-width: 40rem;
    margin: 0 auto;
}

/* Order Overview Box */
.order-overview-box {
    background: #fff;
    border: 0.125rem solid var(--color-primary, #E63A1E);
    padding: 2rem;
    margin-bottom: 3rem;
}

.order-overview {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
}

.order-overview-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-overview-label {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-primary, #E63A1E);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.order-overview-value {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-size: 1rem;
    color: var(--color-black, #000);
    word-break: break-word;
}

/* Order Details */
.order-details-wrapper {
    margin-bottom: 3rem;
}

.order-details-title {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--color-primary, #E63A1E);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.order-details-table-wrapper {
    background: #fff;
    border: 0.125rem solid var(--color-primary, #E63A1E);
    padding: 2rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.order-details-table {
    width: 100%;
    border-collapse: collapse;
}

.order-details-table thead th {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-primary, #E63A1E);
    text-transform: uppercase;
    text-align: left;
    padding: 1rem 0.5rem;
    border-bottom: 0.125rem solid rgba(230, 58, 30, 0.2);
    letter-spacing: 0.02em;
}

.order-details-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.order-details-table tbody tr:last-child {
    border-bottom: none;
}

.order-details-table tbody td {
    padding: 1.5rem 0.5rem;
    vertical-align: middle;
}

.order-details-table .product-name {
    width: 50%;
}

.order-details-table .product-quantity {
    width: 25%;
    text-align: center;
}

.order-details-table .product-total {
    width: 25%;
    text-align: right;
}

.order-details-table .product-name {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-details-table .product-image {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.order-details-table .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-details-table .product-info {
    flex: 1;
}

.order-details-table .product-info strong {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-black, #000);
    display: block;
    margin-bottom: 0.25rem;
}

.order-details-table .product-meta {
    font-size: 0.875rem;
    color: var(--color-gray-medium, #666);
    margin-top: 0.25rem;
}

.order-details-table .product-quantity {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-black, #000);
}

.order-details-table .product-total {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-black, #000);
}

/* Order Totals in Footer */
.order-details-table tfoot th,
.order-details-table tfoot td {
    padding: 0.75rem 0.5rem;
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
    border-top: 0.125rem solid rgba(230, 58, 30, 0.2);
}

.order-details-table tfoot .order-total th,
.order-details-table tfoot .order-total td {
    font-size: 1.25rem;
    color: var(--color-primary, #E63A1E);
    padding-top: 1rem;
    border-top: 0.125rem solid var(--color-primary, #E63A1E);
}

/* Order Address Box */
.order-address-box {
    background: #fff;
    border: 0.125rem solid var(--color-primary, #E63A1E);
    padding: 2rem;
    margin-bottom: 2rem;
    min-height: 15rem;
}

.order-address-title {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-primary, #E63A1E);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.order-address {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-black, #000);
    font-style: normal;
}

.order-address p {
    margin-bottom: 0.5rem;
}

.order-phone,
.order-email,
.order-nif {
    margin-top: 1rem;
}

/* Customer Note */
.order-customer-note {
    background: rgba(252, 198, 224, 0.2);
    border: 0.125rem solid var(--color-pink, #FDC6E0);
    padding: 2rem;
    margin-bottom: 2rem;
}

.customer-note-title {
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-primary, #E63A1E);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.order-customer-note p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-dark, #333);
    margin: 0;
}

/* Order Actions */
.order-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.order-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all var(--transition-normal, 0.3s ease);
    cursor: pointer;
    border: 0.125rem solid var(--color-primary, #E63A1E);
}

.order-actions .button-primary {
    background: var(--color-primary, #E63A1E);
    color: #fff;
}

.order-actions .button-primary:hover {
    background: #000;
    border-color: #000;
}

.order-actions .button-secondary {
    background: #fff;
    color: var(--color-primary, #E63A1E);
}

.order-actions .button-secondary:hover {
    background: var(--color-primary, #E63A1E);
    color: #fff;
}

/* ==========================================================================
   ORDER RECEIVED - RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
    .order-received-wrapper {
        padding: 3rem 0;
    }

    .order-received-title {
        font-size: 2rem;
    }

    .order-received-message {
        font-size: 1rem;
    }

    .order-overview-box {
        padding: 1.5rem;
    }

    .order-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .order-details-table-wrapper,
    .order-address-box {
        padding: 1.5rem;
    }

    .order-details-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .order-received-wrapper {
        padding: 2rem 0;
    }

    .order-status-icon svg {
        width: 4rem;
        height: 4rem;
    }

    .order-received-title {
        font-size: 1.75rem;
    }

    .order-received-message {
        font-size: 0.9375rem;
    }

    .order-overview-box {
        padding: 1rem;
    }

    .order-details-table-wrapper,
    .order-address-box,
    .order-customer-note {
        padding: 1rem;
    }

    .order-details-title {
        font-size: 1.25rem;
    }

    /* Simplify table on mobile */
    .order-details-table thead {
        display: none;
    }

    .order-details-table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 0.125rem solid rgba(230, 58, 30, 0.2);
    }

    .order-details-table tbody tr:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .order-details-table tbody td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.5rem 0;
    }

    .order-details-table .product-name {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .order-details-table .product-image {
        width: 100%;
        max-width: 10rem;
        height: auto;
        aspect-ratio: 1;
    }

    .order-details-table .product-quantity::before {
        content: 'Cantidad: ';
        font-weight: 700;
        color: var(--color-primary, #E63A1E);
        text-transform: uppercase;
        font-size: 0.875rem;
    }

    .order-details-table .product-total::before {
        content: 'Total: ';
        font-weight: 700;
        color: var(--color-primary, #E63A1E);
        text-transform: uppercase;
        font-size: 0.875rem;
    }

    .order-details-table tfoot th,
    .order-details-table tfoot td {
        padding: 0.5rem 0;
        font-size: 0.9375rem;
    }

    .order-details-table tfoot .order-total th,
    .order-details-table tfoot .order-total td {
        font-size: 1.125rem;
    }

    .order-actions {
        flex-direction: column;
        margin-top: 2rem;
    }

    .order-actions .button {
        width: 100%;
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .order-address-box {
        min-height: auto;
    }
}

/* ==========================================================================
   CHECKOUT - PICKUP DATE FIELD
   ========================================================================== */

.wc-block-checkout__shipping-method-option-title {
    font-weight: bold !important;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Pickup date section */
#xurubita-pickup-date-section {
    margin-bottom: 2rem;
    padding: 2rem 2rem 0rem;
    border-bottom: 0;
    margin-bottom: 0;
    border-radius: .5rem .5rem 0 0;
    background-color: #fff6f4;
    margin: 0 !important;
}
#pickup-options{
    padding: 1rem 2rem 2rem;
    border-top: 0;
    margin-bottom: 2rem;
    border-radius: 0 0 .5rem .5rem;
    background-color: rgb(230 59 30 / 5%);
}
#xurubita-pickup-date-section .wc-block-components-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-text, #000);
}

.wc-block-components-radio-control__label-group .wc-block-components-radio-control__label {
    font-size: 1.3rem;
    line-height: 1.3rem;
    margin-bottom: .8rem;
    font-weight: bold;
}

/* Field wrapper */
#xurubita-pickup-date-wrapper {
    position: relative;
    padding-top: 4rem;
}
#xurubita-pickup-date-wrapper label{
    transform: none;
    left: 0;
    border: 0;
    border-radius: 0;
    font-size: var(--wp--preset--font-size--medium, 22px);
    font-weight: 500;
    line-height: 27px;
    margin: 0 0 1rem;
    padding: 0;
    vertical-align: baseline;
    word-break: break-word;
}

#xurubita-pickup-date-wrapper .wc-block-components-combobox__label {border: 0;border-radius: 0;font-size: var(--wp--preset--font-size--medium, 22px);font-weight: 500;line-height: 27px;margin: 0;padding: 0;vertical-align: baseline;word-break: break-word;margin-bottom: 1rem;display: block;}

/* Select field */
#xurubita-pickup-date {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    font-family: var(--font-primary, 'Gilroy', sans-serif);
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s ease;
    cursor: pointer;
    margin: 0;
}

#xurubita-pickup-date:focus {
    outline: none;
    border-color: var(--color-primary, #E63A1E);
}

#xurubita-pickup-date option {
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    #xurubita-pickup-date-section .wc-block-components-title {
        font-size: 1.25rem;
    }
    
    #xurubita-pickup-date {
        font-size: 0.9375rem;
        padding: 0.75rem 0.875rem;
    }
}

/* ==========================================================================
   PICKUP INFO - THANK YOU PAGE
   ========================================================================== */

.order-pickup-box {
    background-color: #fff6f4;
    border-left: 4px solid #e63a1e;
}

.order-pickup-info {
    padding: 0;
}

.order-pickup-info p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-pickup-info p:last-child {
    margin-bottom: 0;
}

.order-pickup-info strong {
    color: #333;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.order-pickup-info span {
    color: #e63a1e;
    font-weight: 600;
    font-size: 1rem;
}

.pickup-date span {
    font-size: 1.125rem;
}

@media (max-width: 991.98px) {
    .order-pickup-box {
        margin-top: 1.5rem;
    }
}

