/**
 * WooCommerce Custom Styles - Luxe Design
 * Updated with modern utility classes and comprehensive styling
 * 
 * @package AYLORA
 * @since 1.0.0
 */

/* ===========================================
   CSS VARIABLES & UTILITY CLASSES
   =========================================== */

/* Utility Classes for Modern Design */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-24 {
    margin-top: 6rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.overflow-hidden {
    overflow: hidden;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-20 {
    width: 5rem;
}

.h-20 {
    height: 5rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.object-center {
    object-position: center;
}

.bg-muted {
    background-color: #f8f9fa;
}

.text-muted-foreground {
    color: #6c757d;
}

.text-foreground {
    color: #212529;
}

.text-accent {
    color: #d4af37;
}

.hover\:text-accent:hover {
    color: #d4af37;
}

.text-primary-foreground {
    color: #ffffff;
}

.text-destructive-foreground {
    color: #ffffff;
}

.bg-primary {
    background-color: #1a1a1a;
}

.bg-destructive {
    background-color: #dc3545;
}

.border {
    border: 1px solid #dee2e6;
}

.border-2 {
    border-width: 2px;
}

.border-transparent {
    border-color: transparent;
}

.border-border {
    border-color: #dee2e6;
}

.hover\:border-border:hover {
    border-color: #dee2e6;
}

.border-t {
    border-top: 1px solid #dee2e6;
}

.pt-6 {
    padding-top: 1.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.font-semibold {
    font-weight: 600;
}

.uppercase {
    text-transform: uppercase;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-duration: 0.3s;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

/* Responsive Grid */
@media (min-width: 768px) {
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:gap-6 {
        gap: 1.5rem;
    }
    
    .md\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .md\:mt-24 {
        margin-top: 6rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:gap-12 {
        gap: 3rem;
    }
}

/* Product Thumb Active State */
.product-thumb.active,
.product-thumb:first-child {
    border-color: #d4af37 !important;
}

/* ===========================================
   GLOBAL STYLES
   =========================================== */
.woocommerce-content {
    padding: 40px 0;
}

/* Buttons Override */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce a.button {
    background: linear-gradient(135deg, #00a8e8 0%, #0095d4 100%) !important;
    color: #fff !important;
    border: none;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.25);
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background: linear-gradient(135deg, #0095d4 0%, #0084be 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.35);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   MY ACCOUNT PAGE
   =========================================== */

.woocommerce-account {
    padding: 60px 0;
}

.woocommerce-account .woocommerce {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Navigation */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    width: 280px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li a:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation-link--dashboard a:before {
    content: "\f3fd";
}

.woocommerce-MyAccount-navigation-link--orders a:before {
    content: "\f291";
}

.woocommerce-MyAccount-navigation-link--downloads a:before {
    content: "\f019";
}

.woocommerce-MyAccount-navigation-link--edit-address a:before {
    content: "\f3c5";
}

.woocommerce-MyAccount-navigation-link--edit-account a:before {
    content: "\f007";
}

.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    content: "\f2f5";
}

.woocommerce-MyAccount-navigation ul li:hover a,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #00a8e8 0%, #0095d4 100%);
    color: #fff;
}

.woocommerce-MyAccount-navigation ul li:hover a:before,
.woocommerce-MyAccount-navigation ul li.is-active a:before {
    color: #fff;
}

/* Content */
.woocommerce-MyAccount-content {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    min-height: 400px;
}

/* ===========================================
   SINGLE PRODUCT PAGE - PREMIUM DESIGN
   =========================================== */

.single-product-wrapper {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 30px 0 60px;
    min-height: 100vh;
}

/* Breadcrumb */
.product-breadcrumb {
    margin-bottom: 25px;
    padding: 0 5px;
}

.woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.woocommerce-breadcrumb a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.woocommerce-breadcrumb a:hover {
    color: #00a8e8;
}

.breadcrumb-separator {
    color: #adb5bd;
    margin: 0 5px;
}

/* Override WooCommerce defaults */
.product-gallery-wrapper .woocommerce-product-gallery,
.product-gallery-wrapper .summary,
.product-summary-wrapper .woocommerce-product-gallery,
.product-summary-wrapper .summary {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Main Product Card */
.product-main-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

/* ========== Product Gallery Section ========== */
.product-gallery-wrapper {
    padding: 50px;
    background: #fafbfc;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-left: none;
    position: relative;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.woocommerce-product-gallery {
    opacity: 1 !important;
    width: 100%;
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
    position: relative;
}

/* FlexSlider Core Styles - CRITICAL FIX */
.flex-viewport {
    max-height: none !important;
    min-height: 400px;
    transition: all 0.3s ease;
}

.woocommerce-product-gallery .flex-viewport {
    height: auto !important;
}

/* FlexSlider Container */
.flexslider {
    margin: 0;
    padding: 0;
    position: relative;
    zoom: 1;
}

.flexslider .slides {
    zoom: 1;
}

.flexslider .slides img {
    height: auto;
    display: block;
    width: 100%;
}

.flexslider .slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.flex-pauseplay span {
    text-transform: capitalize;
}

/* FlexSlider Direction Nav */
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-direction-nav a {
    display: block;
    width: 40px;
    height: 40px;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.flexslider:hover .flex-direction-nav a {
    opacity: 0.7;
}

.flexslider:hover .flex-direction-nav a:hover {
    opacity: 1;
}

.flex-direction-nav .flex-prev {
    left: 10px;
    right: auto;
}

.flex-direction-nav .flex-next {
    right: 10px;
    left: auto;
}

.flex-direction-nav .flex-disabled {
    opacity: 0 !important;
    filter: alpha(opacity=0);
    cursor: default;
}

/* Main Product Image */
.woocommerce-product-gallery__image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease;
    min-height: 400px;
    display: block;
}

.woocommerce-product-gallery__image:first-child {
    min-height: 450px;
}

.woocommerce-product-gallery__image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
    display: block !important;
    border-radius: 12px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.woocommerce-product-gallery__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.woocommerce-product-gallery__image:hover img {
    transform: scale(1.03);
}

/* Thumbnails Grid */
.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.flex-control-thumbs li img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.flex-control-thumbs li img:hover {
    opacity: 0.9;
    border-color: #00a8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.2);
}

.flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: #00a8e8;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.35);
}

/* Sale Badge */
.onsale {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== Product Summary Section ========== */
.product-summary-wrapper {
    padding: 50px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-summary-inner {
    width: 100%;
}

/* Product Title */
.product_title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Rating */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.star-rating {
    color: #ffc107;
    font-size: 16px;
    line-height: 1;
    position: relative;
    display: inline-flex;
}

.woocommerce-review-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.woocommerce-review-link:hover {
    color: #00a8e8;
}

/* Price */
.price {
    font-size: 34px;
    font-weight: 800;
    color: #00a8e8;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.price del {
    color: #adb5bd;
    font-size: 22px;
    font-weight: 500;
    opacity: 0.7;
}

.price ins {
    text-decoration: none;
    background: transparent;
}

/* Short Description */
.woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-product-details__short-description p {
    margin-bottom: 12px;
}

.woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

/* Stock Status */
.stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.stock.in-stock {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.stock.out-of-stock {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.stock:before {
    content: "✓";
    font-weight: bold;
    font-size: 14px;
}

.stock.out-of-stock:before {
    content: "✕";
}

/* Variations */
.variations {
    margin-bottom: 25px;
    width: 100%;
}

.variations tr {
    display: block;
    margin-bottom: 18px;
}

.variations td {
    display: block;
    padding: 0;
}

.variations label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #212529;
    font-size: 14px;
}

.variations select,
.variations input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    color: #495057;
    transition: all 0.3s;
}

.variations select:focus,
.variations input:focus {
    border-color: #00a8e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

.reset_variations {
    display: inline-block;
    margin-top: 10px;
    color: #6c757d;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.reset_variations:hover {
    color: #00a8e8;
}

/* Add to Cart Form */
form.cart {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.cart .quantity {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cart .quantity .qty {
    width: 70px;
    height: 50px;
    border: none;
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    background: #fff;
    padding: 0;
}

.cart .quantity input[type="button"],
.cart .quantity button {
    width: 42px;
    height: 50px;
    border: none;
    background: #f8f9fa;
    color: #495057;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cart .quantity input[type="button"]:hover,
.cart .quantity button:hover {
    background: #00a8e8;
    color: #fff;
}

.single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #00a8e8 0%, #0095d4 100%);
    color: #fff;
    border: none;
    height: 50px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #0095d4 0%, #0084be 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 168, 232, 0.4);
}

.single_add_to_cart_button:active {
    transform: translateY(-1px);
}

/* Product Meta */
.product_meta {
    font-size: 14px;
    color: #6c757d;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
}

.product_meta>span {
    display: block;
    margin-bottom: 10px;
    line-height: 1.6;
}

.product_meta>span:last-child {
    margin-bottom: 0;
}

.product_meta span span,
.product_meta span a {
    color: #212529;
    font-weight: 600;
    margin-right: 5px;
}

.product_meta a {
    color: #00a8e8;
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: none;
}

.product_meta a:hover {
    color: #0095d4;
    text-decoration: underline;
}

/* Gallery Lightbox Trigger */
.woocommerce-product-gallery__trigger {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
}

.woocommerce-product-gallery__trigger:hover {
    background: rgba(0, 168, 232, 0.9);
}

/* Grouped Products */
.group_table {
    width: 100%;
    margin-bottom: 25px;
}

.group_table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.group_table td.label {
    font-weight: 600;
    color: #212529;
}

/* Messages */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid;
    border-right: none;
    font-size: 14px;
}

.woocommerce-info {
    background: #d1ecf1;
    border-color: #00a8e8;
    color: #0c5460;
}

.woocommerce-message {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.woocommerce-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* ========== Additional Information Section ========== */
.product-additional-info {
    background: #fff;
    border-radius: 16px;
    padding: 45px 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Tabs */
.woocommerce-tabs {
    width: 100%;
}

.woocommerce-tabs .tabs {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
    border-bottom: 2px solid #e9ecef;
}

.woocommerce-tabs .tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.woocommerce-tabs .tabs li a {
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    display: block;
    transition: all 0.3s;
    position: relative;
    top: 2px;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
    color: #00a8e8;
    border-bottom-color: #00a8e8;
    background: rgba(0, 168, 232, 0.05);
}

.woocommerce-Tabs-panel {
    color: #495057;
    line-height: 1.8;
    font-size: 15px;
    padding: 15px 0;
}

.woocommerce-Tabs-panel h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: none;
}

.woocommerce-Tabs-panel p {
    margin-bottom: 12px;
}

.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol {
    margin-right: 20px;
    margin-bottom: 15px;
}

.woocommerce-Tabs-panel li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.woocommerce-Tabs-panel table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.woocommerce-Tabs-panel table th,
.woocommerce-Tabs-panel table td {
    padding: 12px;
    border: 1px solid #e9ecef;
    text-align: right;
}

.woocommerce-Tabs-panel table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #212529;
}

/* ========== Related & Upsell Products ========== */
.related.products,
.upsells.products {
    margin-top: 50px;
    padding: 0;
}

.related.products>h2,
.upsells.products>h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.related.products ul.products,
.upsells.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery-wrapper {
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 40px;
    }

    .product-summary-wrapper {
        padding: 40px;
    }

    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .single-product-wrapper {
        padding: 25px 0 50px;
    }

    .product-main-card,
    .product-additional-info {
        border-radius: 12px;
    }

    .product-gallery-wrapper,
    .product-summary-wrapper {
        padding: 35px;
    }

    .product-additional-info {
        padding: 35px 40px;
    }

    .product_title {
        font-size: 30px;
    }

    .price {
        font-size: 30px;
    }

    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .related.products>h2,
    .upsells.products>h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .single-product-wrapper {
        padding: 20px 0 40px;
    }

    .product-main-card,
    .product-additional-info {
        border-radius: 10px;
        margin-bottom: 30px;
    }

    .product-gallery-wrapper {
        padding: 25px 20px;
    }

    .flex-control-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .flex-control-thumbs li img {
        height: 70px;
    }

    .onsale {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .product-summary-wrapper {
        padding: 30px 20px;
    }

    .product_title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .price {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .price del {
        font-size: 18px;
    }

    .woocommerce-product-details__short-description {
        font-size: 15px;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    form.cart {
        flex-direction: column;
        gap: 10px;
    }

    .cart .quantity {
        width: 100%;
        justify-content: center;
    }

    .single_add_to_cart_button {
        width: 100%;
        min-width: 100%;
    }

    .product-additional-info {
        padding: 30px 20px;
    }

    .woocommerce-tabs .tabs {
        flex-direction: column;
        border: none;
        border-bottom: 2px solid #e9ecef;
    }

    .woocommerce-tabs .tabs li {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
    }

    .woocommerce-tabs .tabs li:last-child {
        border-bottom: none;
    }

    .woocommerce-tabs .tabs li a {
        padding: 14px 20px;
        border: none;
        border-right: 3px solid transparent;
        top: 0;
    }

    .woocommerce-tabs .tabs li.active a,
    .woocommerce-tabs .tabs li a:hover {
        border-right-color: #00a8e8;
        border-bottom-color: transparent;
    }

    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related.products>h2,
    .upsells.products>h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .product-gallery-wrapper {
        padding: 20px 15px;
    }

    .flex-control-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-summary-wrapper {
        padding: 25px 15px;
    }

    .product_title {
        font-size: 20px;
    }

    .price {
        font-size: 22px;
    }

    .single_add_to_cart_button {
        font-size: 15px;
        height: 48px;
    }

    .product-additional-info {
        padding: 25px 15px;
    }
}