/**
 * WooCommerce Consolidated Styles - Clean & Optimized
 * All WooCommerce styling consolidated in this file
 */

/* ==========================================================================
   Shop Page Header & Layout
   ========================================================================== */

.woocommerce-page .site-content,
.post-type-archive-product .site-content {
    padding: 3rem 0;
}

.woocommerce-page .container,
.post-type-archive-product .container {
    max-width: 1400px;
}

.woocommerce-products-header,
.woocommerce .page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.woocommerce-products-header__title,
.woocommerce .page-header .page-title {
    font-size: 2.5rem;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.woocommerce .page-header .page-description {
    font-family: 'eskorte-latin', Georgia, serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.woocommerce-breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-family: 'azo-sans-web', Arial, sans-serif;
}

.woocommerce-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-breadcrumb a:hover {
    color: #c53030;
}

.single-product .woocommerce-breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Shop Toolbar
   ========================================================================== */

.woocommerce .woocommerce-ordering {
    float: right;
    margin-bottom: 2rem;
    font-family: 'azo-sans-web', Arial, sans-serif;
}

.woocommerce .woocommerce-result-count {
    float: left;
    margin-bottom: 2rem;
    color: #666;
    font-family: 'azo-sans-web', Arial, sans-serif;
}

.woocommerce .woocommerce-ordering select {
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-size: 14px;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: border-color 0.3s ease;
}

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

/* ==========================================================================
   Product Grid - Clean, Proportional Layout
   ========================================================================== */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    clear: both;
}

.woocommerce ul.products li.product {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    height: 100%;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

.woocommerce ul.products li.product a,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0;
    margin: 0;
    height: 100%;
}

/* ==========================================================================
   Product Image
   ========================================================================== */

/* Image wrapper for grey background */
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product .wp-post-image {
    background: rgb(229,229,229);
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin: 0;
    padding: 20px;
    border: none;
    background: #f3f4f6;
    border-radius: 15px 15px 0 0;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Product Content Area
   ========================================================================== */

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    padding: 1.25rem 1.5rem 0.75rem 1.5rem;
    color: #2d3748;
    font-family: 'azo-sans-web', Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    background: white;
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-height: 4rem;
    border-top: 1px solid #e5e7eb;
}

.woocommerce ul.products li.product .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #c53030;
    margin: 0;
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
    font-family: 'azo-sans-web', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 0 0 15px 15px;
    margin-top: auto;
}

.woocommerce ul.products li.product .price::after {
    content: '→';
    font-size: 1.5rem;
    color: #9ca3af;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateX(0);
}

.woocommerce ul.products li.product:hover .price::after {
    color: #c53030;
    transform: translateX(4px);
}

.woocommerce ul.products li.product .price del {
    color: #9ca3af;
    font-weight: 400;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #c53030;
    font-weight: 700;
}

/* Hide unnecessary elements from product grid */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .star-rating {
    display: none;
}

/* ==========================================================================
   Product Badges & Labels
   ========================================================================== */

.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c53030;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.woocommerce ul.products li.product .out-of-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #666;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

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

.woocommerce nav.woocommerce-pagination {
    margin: 3rem 0;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
    color: white;
    background: #c53030;
    border-color: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.2);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    color: white;
    background: #c53030;
    border-color: #c53030;
    cursor: default;
}

.woocommerce nav.woocommerce-pagination ul li .prev,
.woocommerce nav.woocommerce-pagination ul li .next {
    font-weight: 700;
    padding: 0.5rem 1rem;
}

/* Dots */
.woocommerce nav.woocommerce-pagination ul li span.dots {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: default;
    padding: 0.5rem;
}

/* Remove default WooCommerce pagination borders */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

/* ==========================================================================
   WooCommerce Block Grid - Minor Styling
   ========================================================================== */

.wc-block-grid__product-image img {
    border-radius: 8px;
}

/* ==========================================================================
   Single Product Page
   ========================================================================== */

.single-product-wrapper {
    max-width: 100%;
    margin: 2rem 0;
}

.single-product-wrapper .single-product {
    display: grid;
    grid-template-columns: minmax(300px, 45%) 1fr;
    gap: 3rem;
    align-items: start;
}

.product-images-column {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-width: 600px;
}

/* Ensure product images don't overflow */
.product-images-column img {
    max-width: 100%;
    height: auto;
}

.product-images-column .woocommerce-product-gallery {
    max-width: 100%;
}

.product-images-column .woocommerce-product-gallery__wrapper {
    max-width: 100%;
}

.product-summary-column {
    padding: 1rem 0;
}

.product-summary-column .product_title,
.single-product .product_title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-summary-column .price,
.single-product .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'azo-sans-web', Arial, sans-serif;
}

.product-summary-column .woocommerce-product-details__short-description,
.single-product .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
    font-family: 'eskorte-latin', Georgia, serif;
}

/* ==========================================================================
   Product Form and Add to Cart
   ========================================================================== */

.single-product .cart {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.single-product .cart .quantity {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    overflow: hidden;
}

.single-product .cart .quantity label {
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    margin-right: 0.5rem;
    color: #333;
}

.single-product .cart .quantity .qty {
    border: none;
    padding: 0.75rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    width: 80px;
    background: white;
    color: #333;
    -moz-appearance: textfield; /* Firefox */
}

/* Hide number input spinners for Chrome, Safari, Edge */
.single-product .cart .quantity .qty::-webkit-outer-spin-button,
.single-product .cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single-product .cart .quantity .qty:focus {
    outline: none;
    background: #f8f9fa;
}

.single-product .cart .single_add_to_cart_button {
    background: #c53030;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'azo-sans-web', Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.2);
}

.single-product .cart .single_add_to_cart_button:hover {
    background: #9b2c2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3);
}

.single-product .cart .single_add_to_cart_button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================================================
   Quantity Buttons - Enhanced Styling
   ========================================================================== */

.quantity.styled {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    overflow: hidden;
}

.quantity.styled .qty-btn {
    background: #f8f9fa;
    border: none;
    color: #333;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    user-select: none;
}

.quantity.styled .qty-btn:hover {
    background: #e9ecef;
    color: #c53030;
}

.quantity.styled .qty-btn:active {
    background: #c53030;
    color: white;
}

.quantity.styled .qty {
    border: none;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    width: 70px;
    background: white;
    color: #333;
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    -moz-appearance: textfield; /* Firefox */
}

/* Hide number input spinners for styled quantity inputs */
.quantity.styled .qty::-webkit-outer-spin-button,
.quantity.styled .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ==========================================================================
   Product Meta Information
   ========================================================================== */

.product_meta {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.product_meta > span {
    display: block;
    margin-bottom: 0.75rem;
    font-family: 'azo-sans-web', Arial, sans-serif;
    color: #666;
    font-size: 0.9rem;
}

.product_meta > span:last-child {
    margin-bottom: 0;
}

.product_meta a {
    color: #c53030;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product_meta a:hover {
    color: #9b2c2c;
    text-decoration: underline;
}

.product_meta .sku {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* ==========================================================================
   Product Tabs
   ========================================================================== */

.woocommerce-tabs {
    margin: 3rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-tabs .wc-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-tabs .wc-tabs li {
    flex: 1;
}

.woocommerce-tabs .wc-tabs li a {
    display: block;
    padding: 1.25rem 1.5rem;
    text-align: center;
    color: #666;
    text-decoration: none;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.woocommerce-tabs .wc-tabs li a:hover {
    color: #c53030;
    background: rgba(197, 48, 48, 0.05);
}

.woocommerce-tabs .wc-tabs li.active a {
    color: #c53030;
    background: white;
    border-bottom-color: #c53030;
}

.woocommerce-tabs .wc-tab {
    padding: 2rem;
    display: none;
}

.woocommerce-tabs .wc-tab.active {
    display: block;
}

.woocommerce-tabs .wc-tab h2 {
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-tabs .wc-tab p {
    font-family: 'eskorte-latin', Georgia, serif;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Product Reviews
   ========================================================================== */

.woocommerce-Reviews .commentlist {
    list-style: none;
    padding: 0;
}

.woocommerce-Reviews .comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #c53030;
}

.woocommerce-Reviews .comment .meta {
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.woocommerce-Reviews .comment .star-rating {
    margin-bottom: 0.5rem;
}

.woocommerce-Reviews .comment .description p {
    font-family: 'eskorte-latin', Georgia, serif;
    margin-bottom: 0;
}

/* Review Form */
#review_form_wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

#review_form_wrapper h3 {
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    color: #333;
    margin-bottom: 1rem;
}

#review_form_wrapper .comment-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

#review_form_wrapper .comment-form textarea,
#review_form_wrapper .comment-form input[type="text"],
#review_form_wrapper .comment-form input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'eskorte-latin', Georgia, serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#review_form_wrapper .comment-form textarea:focus,
#review_form_wrapper .comment-form input[type="text"]:focus,
#review_form_wrapper .comment-form input[type="email"]:focus {
    outline: none;
    border-color: #c53030;
}

#review_form_wrapper .comment-form .form-submit input {
    background: #c53030;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#review_form_wrapper .comment-form .form-submit input:hover {
    background: #9b2c2c;
}

/* Review Form Rating Stars */
.comment-form-rating {
    margin-bottom: 1rem;
}

.comment-form-rating label {
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

/* Hide original WooCommerce stars */
.comment-form-rating .stars {
    display: none !important;
}

/* Style our custom stars */
.comment-form-rating .ndn-custom-stars {
    display: inline-block;
    position: relative;
}

.comment-form-rating .ndn-custom-stars a {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    text-decoration: none;
    color: #e5e7eb;
    font-size: 1.2rem;
    line-height: 1.5em;
    transition: color 0.3s ease;
    margin-right: 0.1em;
}

/* No ::before content needed since stars are in HTML */

.comment-form-rating .ndn-custom-stars a:hover,
.comment-form-rating .ndn-custom-stars a.active,
.comment-form-rating .ndn-custom-stars a.hover {
    color: #fbbf24;
}

.comment-form-rating .ndn-custom-stars a:hover ~ a,
.comment-form-rating.rating-selected .ndn-custom-stars a:not(.active) {
    color: #e5e7eb;
}

/* Hide the default rating text */
.comment-form-rating .stars span {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Enhanced star rating display - hide text, show only stars */
.woocommerce .star-rating {
    font-size: 1rem;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.woocommerce .star-rating::before {
    content: "★★★★★";
    color: #e5e7eb;
    letter-spacing: 1px;
}

.woocommerce .star-rating span::before {
    content: "★★★★★";
    letter-spacing: 1px;
}

/* Hide any text-based rating descriptions */
.woocommerce .woocommerce-product-rating .star-rating + a {
    font-size: 0;
}

.woocommerce .woocommerce-product-rating .star-rating + a::after {
    content: attr(href);
    font-size: 0.9rem;
    color: #666;
    font-family: 'azo-sans-web', Arial, sans-serif;
}

/* Hide WooCommerce rating text in forms */
.comment-form-rating p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form-rating select {
    display: none;
}

/* Hide the "1 of 5 stars" text completely */
.comment-form-rating .stars span,
.comment-form-rating p > span,
.comment-form-rating label span,
.comment-form-rating .star-rating,
.comment-form-rating span[class*="star"] {
    display: none !important;
}

/* Also hide any rating text that might appear */
.comment-form-rating p {
    font-size: 0;
}

.comment-form-rating p label {
    font-size: 1rem;
}

/* Clean up rating form layout */
.comment-form-rating label {
    display: block;
    margin-bottom: 0.5rem;
}

.comment-form-rating label .required {
    color: #c53030;
}

/* ==========================================================================
   Product Gallery
   ========================================================================== */

.woocommerce-product-gallery {
    margin-bottom: 2rem;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    background: white;
    border-radius: 12px;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
    display: block;
    position: relative;
    overflow: hidden;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.woocommerce-product-gallery__image:hover .woocommerce-product-gallery__trigger {
    opacity: 1;
    transform: scale(1);
}

.woocommerce-product-gallery__trigger:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image:hover img {
    transform: scale(1.05);
}

.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    list-style: none;
    flex: 0 0 80px;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    border-color: #c53030;
}

/* Fix FlexSlider gallery display issues - natural dimensions approach */
.woocommerce-product-gallery .flex-viewport {
    overflow: hidden !important;
    height: auto !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    display: flex !important;
    height: auto !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;
    object-fit: contain !important;
}

/* Responsive gallery scaling */
@media (max-width: 1024px) {
    .woocommerce-product-gallery .woocommerce-product-gallery__image img {
        max-height: 60vh !important;
    }
}

@media (max-width: 767px) {
    .woocommerce-product-gallery .woocommerce-product-gallery__image img {
        max-height: 50vh !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   Product Variations
   ========================================================================== */

.variations {
    margin: 1.5rem 0;
    width: 100%;
    border-collapse: collapse;
}

.variations tbody {
    display: table-row-group;
}

.variations tr {
    border-bottom: 1px solid #e9ecef;
    display: table-row;
}

.variations tr:last-child {
    border-bottom: none;
}

.variations th,
.variations td {
    padding: 1rem 0;
    vertical-align: middle;
    text-align: left;
}

.variations th.label {
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    color: #333;
    width: 100px;
    padding-right: 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.variations td.value {
    position: relative;
}

.variations select {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'azo-sans-web', Arial, sans-serif;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    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 1rem center;
    padding-right: 2.5rem;
}

.variations select:hover {
    border-color: #c53030;
}

.variations select:focus {
    outline: none;
    border-color: #c53030;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

.reset_variations {
    color: #c53030;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    font-family: 'azo-sans-web', Arial, sans-serif;
    margin-left: 1rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
    display: inline-block;
}

.reset_variations:hover {
    color: #9b2c2c;
    border-bottom-color: #9b2c2c;
}

/* ==========================================================================
   Stock Status & Product Rating
   ========================================================================== */

.stock {
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    margin: 1rem 0;
}

.stock.in-stock {
    color: #059669;
}

.stock.out-of-stock {
    color: #dc2626;
}

.single-product .out-of-stock {
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    margin: 1rem 0;
    border: 2px solid #fecaca;
}

.single-product .onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #c53030;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'azo-sans-web', Arial, sans-serif;
}

.single-product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.single-product .woocommerce-review-link {
    color: #666;
    text-decoration: none;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.single-product .woocommerce-review-link:hover {
    color: #c53030;
}

.woocommerce .star-rating {
    color: #fbbf24;
    position: relative;
    display: inline-block;
    margin: 0.5rem 0;
}

.woocommerce .star-rating::before {
    content: "★★★★★";
    color: #e5e7eb;
    display: block;
}

.woocommerce .star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    color: #fbbf24;
    overflow: hidden;
}

.woocommerce .star-rating span::before {
    content: "★★★★★";
    display: block;
}

/* ==========================================================================
   Related Products & Cross-sells
   ========================================================================== */

.single-product .related.products,
.cross-sells,
.up-sells {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.single-product .related.products h2,
.cross-sells h2,
.up-sells h2 {
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-product .related.products .products,
.cross-sells .products,
.up-sells .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* ==========================================================================
   Product Attributes
   ========================================================================== */

.woocommerce-product-attributes {
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.woocommerce-product-attributes-item {
    display: flex;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-product-attributes-item:last-child {
    border-bottom: none;
}

.woocommerce-product-attributes-item__label {
    flex: 0 0 150px;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #e9ecef;
}

.woocommerce-product-attributes-item__value {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: 'eskorte-latin', Georgia, serif;
    color: #666;
}

.woocommerce-product-attributes-item__value p {
    margin: 0;
}

/* ==========================================================================
   WooCommerce Messages and Notices
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-forward {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce-message::before {
    content: "✓";
    font-weight: bold;
    font-size: 1.2rem;
}

.woocommerce-info::before {
    content: "ℹ";
    font-weight: bold;
    font-size: 1.2rem;
}

.woocommerce-error::before {
    content: "⚠";
    font-weight: bold;
    font-size: 1.2rem;
}

.woocommerce-message {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #059669;
}

.woocommerce-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.woocommerce-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    margin-left: auto;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    background: currentColor;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-left: auto;
}

/* ==========================================================================
   Product Search
   ========================================================================== */

.woocommerce-product-search {
    position: relative;
    max-width: 300px;
}

.woocommerce-product-search input[type="search"] {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-family: 'eskorte-latin', Georgia, serif;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.woocommerce-product-search input[type="search"]:focus {
    outline: none;
    border-color: #c53030;
}

.woocommerce-product-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #c53030;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.woocommerce-product-search button:hover {
    background: #9b2c2c;
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */

.woocommerce ul.products li.product:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.woocommerce ul.products li.product .button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) and (orientation: portrait) {
    .woocommerce ul.products li.product img {
        height: 200px;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .single-product-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images-column {
        position: static;
    }
    
    .product-summary-column {
        order: 2;
    }
    
    .single-product .cart {
        padding: 1rem;
    }
    
    .single-product .cart .quantity {
        margin-bottom: 1rem;
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
    
    .single-product .cart .single_add_to_cart_button {
        width: 100%;
        padding: 1.25rem;
        font-size: 1.1rem;
    }
    
    .single-product .product_title {
        font-size: 2rem;
        text-align: center;
    }
    
    .single-product .price {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .woocommerce-tabs .wc-tabs {
        flex-direction: column;
    }
    
    .woocommerce-tabs .wc-tabs li a {
        padding: 1rem;
        text-align: left;
    }
    
    .woocommerce-tabs .wc-tab {
        padding: 1.5rem;
    }
    
    .woocommerce-product-attributes-item {
        flex-direction: column;
    }
    
    .woocommerce-product-attributes-item__label {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs li {
        flex: 0 0 60px;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs li img {
        height: 60px;
    }
    
    .variations .label {
        width: 100%;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .variations select {
        max-width: 100%;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .woocommerce ul.products li.product img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .woocommerce ul.products li.product img {
        height: 200px;
    }
}

/* ==========================================================================
   WooCommerce My Account Page
   ========================================================================== */

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin: 2rem 0;
    align-items: start;
}

/* ==========================================================================
   My Account Navigation
   ========================================================================== */

.woocommerce-MyAccount-navigation {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    overflow: hidden;
    position: sticky;
    top: 120px;
    height: fit-content;
}

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

.woocommerce-MyAccount-navigation-link {
    border-bottom: 1px solid #e9ecef;
}

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

.woocommerce-MyAccount-navigation-link a {
    display: block;
    padding: 1.25rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: capitalize;
}

.woocommerce-MyAccount-navigation-link a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #c53030;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.woocommerce-MyAccount-navigation-link a:hover {
    background: #f8f9fa;
    color: #2d3748;
    padding-left: 2rem;
}

.woocommerce-MyAccount-navigation-link a:hover::before {
    transform: scaleY(1);
}

.woocommerce-MyAccount-navigation-link.is-active a {
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    color: white;
    font-weight: 600;
    padding-left: 2rem;
}

.woocommerce-MyAccount-navigation-link.is-active a::before {
    transform: scaleY(1);
    background: rgba(255, 255, 255, 0.3);
}

/* Special styling for logout link */
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #dc2626;
    font-weight: 600;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fee2e2;
    color: #991b1b;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    background: #dc2626;
}

/* ==========================================================================
   My Account Content Area
   ========================================================================== */

.woocommerce-MyAccount-content {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    min-height: 400px;
}

.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > h3 {
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.woocommerce-MyAccount-content p {
    font-family: 'eskorte-latin', Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content p strong {
    color: #2d3748;
    font-weight: 600;
}

.woocommerce-MyAccount-content a {
    color: #c53030;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.woocommerce-MyAccount-content a:hover {
    color: #9b2c2c;
    text-decoration: underline;
}

/* ==========================================================================
   Dashboard Welcome Section
   ========================================================================== */

.woocommerce-MyAccount-content .woocommerce-message {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0ea5e9;
    border-left: 4px solid #0ea5e9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.woocommerce-MyAccount-content .woocommerce-message::before {
    content: "👋";
    margin-right: 0.5rem;
}

/* Dashboard user greeting styling */
.woocommerce-MyAccount-content > p:first-of-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.woocommerce-MyAccount-content > p:first-of-type::before {
    content: "👤";
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

/* Dashboard quick links section */
.woocommerce-MyAccount-content > p:last-of-type {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.woocommerce-MyAccount-content > p:last-of-type::before {
    content: "Quick Links";
    display: block;
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* ==========================================================================
   Orders Table
   ========================================================================== */

.woocommerce-orders-table,
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.woocommerce-orders-table thead,
.woocommerce-MyAccount-content table thead {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.woocommerce-orders-table th,
.woocommerce-MyAccount-content table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.woocommerce-orders-table td,
.woocommerce-MyAccount-content table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    font-family: 'eskorte-latin', Georgia, serif;
    color: #4a5568;
    vertical-align: middle;
}

.woocommerce-orders-table tr:last-child td,
.woocommerce-MyAccount-content table tr:last-child td {
    border-bottom: none;
}

.woocommerce-orders-table tr:hover,
.woocommerce-MyAccount-content table tr:hover {
    background: #f8f9fa;
}

/* Order status badges */
.woocommerce-orders-table .order-status,
.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'azo-sans-web', Arial, sans-serif;
}

.order-status.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.order-status.status-processing {
    background: #fef3c7;
    color: #92400e;
}

.order-status.status-pending {
    background: #fee2e2;
    color: #991b1b;
}

.order-status.status-cancelled {
    background: #f3f4f6;
    color: #374151;
}

/* Order action buttons */
.woocommerce-orders-table .button,
.woocommerce-MyAccount-content .button {
    background: #c53030;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.woocommerce-orders-table .button:hover,
.woocommerce-MyAccount-content .button:hover {
    background: #9b2c2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3);
}

.woocommerce-orders-table .button.view,
.woocommerce-MyAccount-content .button.view {
    background: #3b82f6;
}

.woocommerce-orders-table .button.view:hover,
.woocommerce-MyAccount-content .button.view:hover {
    background: #2563eb;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   Account Forms (Edit Account, Addresses)
   ========================================================================== */

.woocommerce-MyAccount-content form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin: 2rem 0;
}

.woocommerce-MyAccount-content form h3 {
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

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

.woocommerce-MyAccount-content label {
    display: block;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'eskorte-latin', Georgia, serif;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    outline: none;
    border-color: #c53030;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

.woocommerce-MyAccount-content .form-row-wide {
    width: 100%;
}

.woocommerce-MyAccount-content .form-row-first,
.woocommerce-MyAccount-content .form-row-last {
    width: calc(50% - 0.75rem);
    display: inline-block;
}

.woocommerce-MyAccount-content .form-row-first {
    margin-right: 1.5rem;
}

.woocommerce-MyAccount-content .required {
    color: #c53030;
}

/* ==========================================================================
   Address Book
   ========================================================================== */

.woocommerce-Address {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.woocommerce-Address-title h3 {
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.woocommerce-Address-title .edit {
    font-size: 0.9rem;
    color: #c53030;
    text-decoration: none;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 500;
}

.woocommerce-Address-title .edit:hover {
    text-decoration: underline;
}

.woocommerce-Address address {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-family: 'eskorte-latin', Georgia, serif;
    line-height: 1.6;
    color: #4a5568;
    font-style: normal;
}

/* ==========================================================================
   Downloads Page
   ========================================================================== */

.woocommerce-MyAccount-downloads {
    margin: 2rem 0;
}

.woocommerce-MyAccount-downloads .download-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-downloads .download-file:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.woocommerce-MyAccount-downloads .download-file::before {
    content: "📄";
    font-size: 2rem;
}

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

@media (max-width: 1024px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 240px 1fr;
        gap: 2rem;
    }
    
    .woocommerce-MyAccount-navigation {
        top: 100px;
    }
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .woocommerce-MyAccount-navigation {
        position: static;
        margin-bottom: 2rem;
    }
    
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .woocommerce-MyAccount-navigation-link {
        border-bottom: none;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .woocommerce-MyAccount-navigation-link a {
        white-space: nowrap;
        padding: 1rem 1.25rem;
        border-radius: 8px;
    }
    
    .woocommerce-MyAccount-navigation-link a::before {
        display: none;
    }
    
    .woocommerce-MyAccount-content {
        padding: 1.5rem;
    }
    
    .woocommerce-MyAccount-content > h2,
    .woocommerce-MyAccount-content > h3 {
        font-size: 1.5rem;
    }
    
    .woocommerce-Address {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .woocommerce-MyAccount-content .form-row-first,
    .woocommerce-MyAccount-content .form-row-last {
        width: 100%;
        display: block;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .woocommerce-orders-table,
    .woocommerce-MyAccount-content table {
        font-size: 0.9rem;
    }
    
    .woocommerce-orders-table th,
    .woocommerce-orders-table td,
    .woocommerce-MyAccount-content table th,
    .woocommerce-MyAccount-content table td {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .woocommerce-MyAccount-content {
        padding: 1rem;
    }
    
    .woocommerce-MyAccount-content form {
        padding: 1.5rem;
    }
    
    .woocommerce-orders-table,
    .woocommerce-MyAccount-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .woocommerce-MyAccount-navigation ul {
        padding: 0.25rem;
    }
    
    .woocommerce-MyAccount-navigation-link a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.woocommerce-MyAccount-content .loading {
    opacity: 0.6;
    pointer-events: none;
}

.woocommerce-MyAccount-content .loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #c53030;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Password Change Fieldset
   ========================================================================== */

.woocommerce-MyAccount-content fieldset {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.woocommerce-MyAccount-content fieldset legend {
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-left: 1rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Password Input Container */
.woocommerce-MyAccount-content .password-input {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.woocommerce-MyAccount-content .password-input:focus-within {
    border-color: #c53030;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

.woocommerce-MyAccount-content .password-input input[type="password"] {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.woocommerce-MyAccount-content .password-input input[type="password"]:focus {
    border: none;
    box-shadow: none;
    transform: none;
}

.woocommerce-MyAccount-content .show-password-input {
    background: #f8f9fa;
    border: none;
    color: #4a5568;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-left: 1px solid #e9ecef;
    position: relative;
}

.woocommerce-MyAccount-content .show-password-input::before {
    content: "👁";
    font-size: 1.1rem;
}

.woocommerce-MyAccount-content .show-password-input:hover {
    background: #e9ecef;
    color: #2d3748;
}

.woocommerce-MyAccount-content .show-password-input:active {
    background: #c53030;
    color: white;
}

/* When password is visible */
.woocommerce-MyAccount-content .password-input.show-password .show-password-input::before {
    content: "🙈";
}

/* Enhanced form styling for password fields */
.woocommerce-MyAccount-content fieldset .woocommerce-form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content fieldset .woocommerce-form-row:last-child {
    margin-bottom: 0;
}

.woocommerce-MyAccount-content fieldset label {
    display: block;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* Password strength indicator */
.woocommerce-password-strength {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce-password-strength.short {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.woocommerce-password-strength.bad {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.woocommerce-password-strength.good {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.woocommerce-password-strength.strong {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Password hints/requirements */
.woocommerce-MyAccount-content .password-requirements {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.woocommerce-MyAccount-content .password-requirements h4 {
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-size: 0.9rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.woocommerce-MyAccount-content .password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-content .password-requirements li {
    font-family: 'eskorte-latin', Georgia, serif;
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
    padding-left: 1.5rem;
    position: relative;
}

.woocommerce-MyAccount-content .password-requirements li::before {
    content: "•";
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* Form validation styling */
.woocommerce-MyAccount-content .password-input.invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.woocommerce-MyAccount-content .password-input.valid {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.woocommerce-MyAccount-content .password-input.invalid .show-password-input {
    border-left-color: #dc2626;
    background: #fee2e2;
    color: #991b1b;
}

.woocommerce-MyAccount-content .password-input.valid .show-password-input {
    border-left-color: #059669;
    background: #d1fae5;
    color: #065f46;
}

/* Password match indicator */
.woocommerce-MyAccount-content .password-match-indicator {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
}

.woocommerce-MyAccount-content .password-match-indicator.show {
    display: block;
}

.woocommerce-MyAccount-content .password-match-indicator.match {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.woocommerce-MyAccount-content .password-match-indicator.no-match {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.woocommerce-MyAccount-content .password-match-indicator::before {
    margin-right: 0.5rem;
    font-weight: bold;
}

.woocommerce-MyAccount-content .password-match-indicator.match::before {
    content: "✓";
}

.woocommerce-MyAccount-content .password-match-indicator.no-match::before {
    content: "⚠";
}

/* Responsive adjustments for password fields */
@media (max-width: 768px) {
    .woocommerce-MyAccount-content fieldset {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .woocommerce-MyAccount-content fieldset legend {
        font-size: 1.1rem;
        padding: 0.5rem 0.75rem;
        margin-left: 0.5rem;
    }
    
    .woocommerce-MyAccount-content .password-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-MyAccount-content .show-password-input {
        width: 100%;
        height: 40px;
        border-left: none;
        border-top: 1px solid #e9ecef;
        border-radius: 0 0 6px 6px;
    }
    
    .woocommerce-MyAccount-content .password-input input[type="password"] {
        border-radius: 6px 6px 0 0;
    }
}

@media (max-width: 480px) {
    .woocommerce-MyAccount-content fieldset {
        padding: 1rem;
    }
    
    .woocommerce-MyAccount-content fieldset legend {
        font-size: 1rem;
        padding: 0.4rem 0.6rem;
    }
    
    .woocommerce-MyAccount-content .password-requirements {
        padding: 0.75rem;
    }
    
    .woocommerce-MyAccount-content .password-requirements li {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   WooCommerce Login & Registration Forms
   ========================================================================== */

.woocommerce-form-login,
.woocommerce-form-register {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    max-width: 100%;
    width: 100%;
    margin: 0;
    position: relative;
}

.woocommerce-form-login::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 50%, #c53030 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woocommerce-form-login:hover::before {
    opacity: 1;
}

/* Login Form Header */
.woocommerce-form-login h2,
.woocommerce-form-register h2 {
    font-family: 'alternate-gothic-no-1-d', Arial, sans-serif;
    font-size: 2.5rem;
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.woocommerce-form-login h2::after,
.woocommerce-form-register h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    border-radius: 2px;
}

/* Form Row Styling */
.woocommerce-form-login .woocommerce-form-row,
.woocommerce-form-register .woocommerce-form-row {
    margin-bottom: 2rem;
}

.woocommerce-form-login .woocommerce-form-row:last-of-type,
.woocommerce-form-register .woocommerce-form-row:last-of-type {
    margin-bottom: 1.5rem;
}

/* Label Styling */
.woocommerce-form-login label,
.woocommerce-form-register label {
    display: block;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.woocommerce-form-login .required,
.woocommerce-form-register .required {
    color: #c53030;
    font-weight: 700;
}

.woocommerce-form-login .screen-reader-text,
.woocommerce-form-register .screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Input Field Styling */
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: 'eskorte-latin', Georgia, serif;
    font-size: 1rem;
    background: #f8f9fa;
    color: #2d3748;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.woocommerce-form-login input[type="text"]:focus,
.woocommerce-form-login input[type="email"]:focus,
.woocommerce-form-login input[type="password"]:focus,
.woocommerce-form-register input[type="text"]:focus,
.woocommerce-form-register input[type="email"]:focus,
.woocommerce-form-register input[type="password"]:focus {
    outline: none;
    border-color: #c53030;
    background: white;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

/* Password Input Container for Login Form */
.woocommerce-form-login .password-input,
.woocommerce-form-register .password-input {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.woocommerce-form-login .password-input:focus-within,
.woocommerce-form-register .password-input:focus-within {
    border-color: #c53030;
    background: white;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.woocommerce-form-login .password-input input[type="password"],
.woocommerce-form-register .password-input input[type="password"] {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.woocommerce-form-login .password-input input[type="password"]:focus,
.woocommerce-form-register .password-input input[type="password"]:focus {
    border: none;
    box-shadow: none;
    transform: none;
}

.woocommerce-form-login .show-password-input,
.woocommerce-form-register .show-password-input {
    background: transparent;
    border: none;
    color: #4a5568;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border-left: 1px solid #e9ecef;
}

.woocommerce-form-login .show-password-input::before,
.woocommerce-form-register .show-password-input::before {
    content: "👁";
    font-size: 1.2rem;
}

.woocommerce-form-login .show-password-input:hover,
.woocommerce-form-register .show-password-input:hover {
    background: rgba(197, 48, 48, 0.1);
    color: #c53030;
}

/* Checkbox Styling */
.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem !important;
    font-size: 0.95rem;
    cursor: pointer;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c53030;
    cursor: pointer;
    margin: 0;
}

.woocommerce-form-login__rememberme span {
    font-family: 'azo-sans-web', Arial, sans-serif;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

/* Submit Button */
.woocommerce-form-login__submit,
.woocommerce-form-register .button {
    width: 100%;
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: 'azo-sans-web', Arial, sans-serif;
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3);
    position: relative;
    overflow: hidden;
}

.woocommerce-form-login__submit::before,
.woocommerce-form-register .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;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register .button:hover {
    background: linear-gradient(135deg, #9b2c2c 0%, #7a1f1f 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(197, 48, 48, 0.4);
}

.woocommerce-form-login__submit:hover::before,
.woocommerce-form-register .button:hover::before {
    left: 100%;
}

.woocommerce-form-login__submit:active,
.woocommerce-form-register .button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(197, 48, 48, 0.3);
}

/* Lost Password Link */
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.woocommerce-LostPassword a {
    color: #4a5568;
    text-decoration: none;
    font-family: 'azo-sans-web', Arial, sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.woocommerce-LostPassword a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c53030;
    transition: width 0.3s ease;
}

.woocommerce-LostPassword a:hover {
    color: #c53030;
}

.woocommerce-LostPassword a:hover::after {
    width: 100%;
}

/* Form Row Actions (Remember me + Submit button container) */
.woocommerce-form-login .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Loading State */
.woocommerce-form-login.loading,
.woocommerce-form-register.loading {
    pointer-events: none;
    opacity: 0.7;
}

.woocommerce-form-login.loading .woocommerce-form-login__submit::after,
.woocommerce-form-register.loading .button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Registration Form Specific Styles */
.woocommerce-form-register {
    max-width: 600px;
}

.woocommerce-form-register .form-row-first,
.woocommerce-form-register .form-row-last {
    width: calc(50% - 0.75rem);
    display: inline-block;
}

.woocommerce-form-register .form-row-first {
    margin-right: 1.5rem;
}

/* Social Login Integration (if using plugins) */
.woocommerce-social-login {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.woocommerce-social-login h3 {
    font-family: 'azo-sans-web', Arial, sans-serif;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Error Styling for Form Fields */
.woocommerce-form-login .woocommerce-invalid input,
.woocommerce-form-register .woocommerce-invalid input {
    border-color: #dc2626;
    background: #fef2f2;
}

.woocommerce-form-login .woocommerce-invalid .password-input,
.woocommerce-form-register .woocommerce-invalid .password-input {
    border-color: #dc2626;
    background: #fef2f2;
}

.woocommerce-form-login .woocommerce-invalid input:focus,
.woocommerce-form-register .woocommerce-invalid input:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Success State */
.woocommerce-form-login .woocommerce-validated input,
.woocommerce-form-register .woocommerce-validated input {
    border-color: #059669;
    background: #f0fdf4;
}

.woocommerce-form-login .woocommerce-validated .password-input,
.woocommerce-form-register .woocommerce-validated .password-input {
    border-color: #059669;
    background: #f0fdf4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-form-login,
    .woocommerce-form-register {
        padding: 2rem;
        margin: 1rem;
        max-width: none;
    }
    
    .woocommerce-form-login h2,
    .woocommerce-form-register h2 {
        font-size: 2rem;
    }
    
    .woocommerce-form-register .form-row-first,
    .woocommerce-form-register .form-row-last {
        width: 100%;
        display: block;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .woocommerce-form-login .form-row {
        flex-direction: column;
    }
    
    .woocommerce-form-login__rememberme {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-form-login,
    .woocommerce-form-register {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .woocommerce-form-login h2,
    .woocommerce-form-register h2 {
        font-size: 1.75rem;
    }
    
    .woocommerce-form-login input[type="text"],
    .woocommerce-form-login input[type="email"],
    .woocommerce-form-login input[type="password"],
    .woocommerce-form-register input[type="text"],
    .woocommerce-form-register input[type="email"],
    .woocommerce-form-register input[type="password"] {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .woocommerce-form-login__submit,
    .woocommerce-form-register .button {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Login Page Container */
.woocommerce-account:not(.logged-in) .woocommerce {
    display: block;
    grid-template-columns: none;
    gap: 0;
}

/* Center the login form when not logged in */
.woocommerce-account:not(.logged-in) .woocommerce-form-login {
    max-width: 600px;
    margin: 2rem auto;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .woocommerce-form-login,
    .woocommerce-form-register {
        border: 3px solid #000;
    }
    
    .woocommerce-form-login input,
    .woocommerce-form-register input {
        border: 2px solid #000;
    }
    
    .woocommerce-form-login__submit,
    .woocommerce-form-register .button {
        background: #000;
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .woocommerce-form-login *,
    .woocommerce-form-register * {
        transition: none;
        animation: none;
    }
    
    .woocommerce-form-login::before {
        display: none;
    }
}

/* ==========================================================================
   Single Product Responsive Styles
   ========================================================================== */

/* Large tablets and small desktops (1025px - 1200px) */
@media (max-width: 1200px) {
    .single-product-wrapper .single-product {
        grid-template-columns: minmax(280px, 40%) 1fr;
        gap: 2.5rem;
    }
}

/* Tablet styles (768px - 1024px) */
@media (max-width: 1024px) {
    .single-product-wrapper .single-product {
        grid-template-columns: minmax(250px, 35%) 1fr;
        gap: 2rem;
    }
    
    .product-images-column {
        position: sticky;
        top: 80px;
        max-width: 400px;
    }
    
    .product-summary-column .product_title,
    .single-product .product_title {
        font-size: 1.75rem;
    }
    
    .product-summary-column .price,
    .single-product .price {
        font-size: 1.35rem;
    }
}

/* Mobile styles (below 768px) */
@media (max-width: 767px) {
    .single-product-wrapper {
        margin: 1rem 0;
    }
    
    /* Allow images to extend to screen edges on mobile */
    .single-product-wrapper .product-images-column {
        padding-left: 0;
        padding-right: 0;
    }
    
    .single-product-wrapper .single-product {
        display: block; /* Stack vertically on mobile */
        gap: 0;
    }
    
    .product-images-column {
        position: relative; /* Remove sticky on mobile */
        top: auto;
        margin-bottom: 2rem;
        max-width: 100%; /* Full width on mobile */
        width: 100%;
    }
    
    /* Make product gallery full width on mobile */
    .product-images-column .woocommerce-product-gallery,
    .product-images-column .woocommerce-product-gallery__wrapper,
    .product-images-column .woocommerce-product-gallery__image {
        max-width: 100%;
        width: 100%;
    }
    
    .product-summary-column {
        padding: 0;
    }
    
    .product-summary-column .product_title,
    .single-product .product_title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .product-summary-column .price,
    .single-product .price {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .product-summary-column .woocommerce-product-details__short-description,
    .single-product .woocommerce-product-details__short-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Adjust cart form on mobile */
    .single-product .cart {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .single-product .cart .quantity {
        margin-bottom: 1rem;
        display: inline-flex;
        width: auto;
        max-width: 100%;
    }
    
    .single-product .cart .quantity .qty {
        width: 80px;
        max-width: none;
    }
    
    /* Ensure styled quantity stays inline on mobile */
    .quantity.styled {
        display: inline-flex !important;
        width: auto !important;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .quantity.styled .qty-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .quantity.styled .qty {
        width: 60px;
        min-width: 60px;
        text-align: center;
    }
    
    .single-product .cart .single_add_to_cart_button {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* Small mobile styles (below 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .product-summary-column .product_title,
    .single-product .product_title {
        font-size: 1.35rem;
    }
    
    .product-summary-column .price,
    .single-product .price {
        font-size: 1.15rem;
    }
    
    .single-product .cart {
        padding: 0.75rem;
    }
    
    /* Even smaller quantity controls for very small screens */
    .quantity.styled .qty-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .quantity.styled .qty {
        width: 50px;
        min-width: 50px;
        font-size: 14px;
        padding: 0.5rem 0.25rem;
    }
}

/* ==========================================================================
   Variations Table Responsive Styles
   ========================================================================== */

/* Tablet styles */
@media (max-width: 1024px) {
    .variations th.label {
        width: 80px;
        font-size: 0.8125rem;
    }
    
    .variations select {
        max-width: 240px;
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .variations {
        margin: 1rem 0;
        display: block;
    }
    
    .variations tbody,
    .variations tr {
        display: block;
    }
    
    .variations tr {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .variations tr:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .variations th,
    .variations td {
        display: block;
        padding: 0;
        width: 100%;
    }
    
    .variations th.label {
        width: 100%;
        padding-right: 0;
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
    }
    
    .variations td.value {
        width: 100%;
    }
    
    .variations select {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 1rem;
        padding-right: 2.5rem;
        font-size: 1rem;
    }
    
    .reset_variations {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
        font-size: 0.8125rem;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .variations select {
        padding: 0.75rem 1rem;
        padding-right: 2.5rem;
    }
}

/* ==========================================================================
   Shop Pagination Responsive Styles
   ========================================================================== */

/* Mobile styles */
@media (max-width: 767px) {
    .woocommerce nav.woocommerce-pagination {
        margin: 2rem 0;
    }
    
    .woocommerce nav.woocommerce-pagination ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        min-width: 36px;
        height: 36px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8125rem;
    }
    
    .woocommerce nav.woocommerce-pagination ul li .prev,
    .woocommerce nav.woocommerce-pagination ul li .next {
        padding: 0.4rem 0.75rem;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        min-width: 32px;
        height: 32px;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        border-width: 1px;
    }
    
    /* Show limited page numbers on very small screens */
    .woocommerce nav.woocommerce-pagination ul li {
        display: block;
    }
    
    /* Ensure current page is always visible */
    .woocommerce nav.woocommerce-pagination ul li span.current {
        display: flex !important;
    }
    
    /* Keep prev/next buttons visible */
    .woocommerce nav.woocommerce-pagination ul li.prev,
    .woocommerce nav.woocommerce-pagination ul li.next {
        display: block !important;
    }
    
    /* Hide dots on mobile for more space */
    .woocommerce nav.woocommerce-pagination ul li span.dots {
        display: none;
    }
}