/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Custom Product CSS */
:root {
    --primary-green: #57A597;
    --secondary-green: #588c4a;
    --light-green: #e8f3e5;
    --dark-green: #000;
    --gold: #f6b53b;
    --gray-bg: #fefaf5;
    --border-color: #e9e2d4;
    --white: #ffffff;
    --text-dark: #2c2b28;
    --text-muted: #6b5a4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.coverage-table th{
	font-size: 24px !important;
}
.add-to-cart-btn:hover:not(:disabled),
.add-to-cart-simple:hover:not(:disabled)
{
    background: #fff !important;
    box-shadow: none !important;
    border: 1px solid #589b77;
}
body .main-page-wrapper{
    background-color: #f8f9fb !important;
    background-image: none !important;
}
.product-gallery {
    display: flex;
    flex-direction: row-reverse;
    gap: 1rem;
}
.custom-breadcrumbs{
    margin-top: 10px;
}
.bloom-product-wrapper{
    background: #ff10 !important;
}
.quantity-wrapper input {
    background: #ff10 !important;
    border: none !important;
}
/*section.coverage-section {*/
/*    background: #f1f3f2;*/
/*    padding: 50px;*/
/*    border-radius: 20px;*/
/*}*/
.coverage-table td{
    border: none !important;
}
.coverage-table tr
 {
     border: 1px solid #e4e4e4;
}
.tab-btn {
    border-radius: 0 !important;
}
/* ========== BASE CONTAINER ========== */
.bloom-product-wrapper {
    max-width: 1280px;
    margin: 0 auto;
/*     background: var(--white); */
/*     border-radius: 32px; */
    overflow: hidden;
/*     padding: 2rem; */
/*     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
}
table.coverage-table th,
table.coverage-table td {
    text-align: center;
}
/* ========== PRODUCT HEADER SECTION ========== */
.product-header-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.pack-badge.maximum-savings {
    background: #7b2cbf; /* Purple */
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
/* Gallery */
.product-gallery {
    border-radius: 24px;
}

.product-image-main {
    background: #ff10;
    text-align: center;
}

.product-image-main img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.gallery-thumb {
    width: 90px;
flex-shrink: 0;
    height: 90px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.gallery-thumb.active {
    border-color: var(--primary-green);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* Rating Badge */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--light-green);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    width: fit-content;
}

.rating-stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.rating-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.rating-link:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-green);
    margin: 0;
    letter-spacing: -0.02em;
}

.product-tagline {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-top: -0.25rem;
font-weight: 600;
}

.product-description {
    color: #4a5a3a;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Pack Options */
.pack-options h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.pack-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pack-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.pack-option:hover {
    border-color: var(--primary-green);
    background: #f9fff7;
}

.pack-option.selected {
    border-color: var(--primary-green);
    background: #f9fff7;
    box-shadow: 0 4px 12px rgba(45, 106, 45, 0.1);
}

.pack-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.pack-option.selected .pack-radio {
    border-color: var(--primary-green);
    background: var(--primary-green);
    box-shadow: inset 0 0 0 4px white;
}

.pack-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pack-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.pack-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.pack-badge.best-seller {
    background: linear-gradient(135deg, #f6b53b, #f59e0b);
    color: white;
}

.pack-badge.best-value {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
}

.pack-price {
    text-align: right;
}

.pack-price .current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.pack-price .pack-saving {
    font-size: 0.7rem;
    color: #22c55e;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pack-price .original-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Quantity Section */
.quantity-section {
    margin: 0.5rem 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.quantity-section label {
    display: none;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #000;
    border-radius: 50px;
    width: fit-content;
    overflow: hidden;
}

.quantity-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 44px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-green);
    color: white;
}

.quantity-input {
    width: 44px !important;
    height: 44px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-dark);
}

.quantity-input:focus {
    outline: none;
}

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

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

/* Add to Cart Button */
.add-to-cart-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 45, 0.3);
}

.add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.add-to-cart-btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.add-to-cart-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    right: 20px;
    margin-top: -10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.delivery-info {
    font-size: 1rem;
    color: #888;
}

/* Badges Section */
.bloom-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    background: var(--primary-green);
    border-radius: 0;
}

.bloom-badges span {
    color: #fff;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    font-weight: 700;
    font-size: 1.3rem;
    color: #3a5e3a;
}
.comparison-grid li {
    font-size: 18px !important;
    color: #000 !important;
}
.addToCart-wrapper{
    min-width: 570PX;
/*     width: auto; */
}
.badge-item img {
    width: 40px;
    height: 40px;
}

/* ========== TABS SECTION ========== */
.bloom-story-tabs {
    overflow: hidden;
    width: 100%
    display: block;
/*     margin: auto; */
    padding: 50px 0;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e2d9ce;
    gap: 4px;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 32px 32px 0 0;
}

.tab-btn.active {
    background: #57A597;
    color: #fff;
    border-bottom: 2px solid var(--primary-green);
    margin-bottom: -1px;
}

.tabs-content {
    padding: 2rem;
    background: rgba(211, 211, 211, 0.2);
    border-radius: 0;
}

.tab-pane {
    display: none;
    animation: fade 0.25s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: #57A597;
    font-weight: 700;
}

.tab-pane p {
    font-size: 1rem;
    line-height: 1.6;
    color: #3a3a37;
    margin-bottom: 1rem;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== COVERAGE SECTION ========== */
.coverage-section {
    margin: 50px 0;
}

.coverage-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.coverage-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    margin: auto;
}

.coverage-table th {
    background: #57a597;
    padding: 1rem;
    font-weight: 700;
    text-align: left;
    color: #fff;
}

.coverage-table td {
    padding: 1rem;
    border: 1px solid #000;
    color: #42403b;
}

/* ========== COMPARISON SECTION ========== */
.comparison-section {
    padding: 50px 0;
}

.comparison-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.comparison-box {
    background: #fefbf7;
    padding: 1.5rem 1.8rem;
    border: 1px solid #57a597;
}

.comparison-box.positive {
    background: #bcd0c4;
    border-radius: 0;
}

.comparison-box.negative {
    background: #e4e6e5;
    border-radius: 0;
}

.comparison-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
}

.comparison-box ul {
    list-style: none;
    padding: 0;
}

.comparison-box li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
}

.comparison-box.positive li::before,
.comparison-box.negative li::before {
    content: "•";
    color: #000;
    font-weight: bold;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    margin: 2.5rem 0 0;
}

.testimonials-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.8rem;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid #efe5da;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.7rem;
}

.avatar {
    width: 48px;
    height: 48px;
    background: #d9e2cf;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #335d29;
    text-transform: uppercase;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin: 0.5rem 0;
}

/* ========== EXPERT RESOURCES SECTION ========== */
.expert-resources-section {
    position: relative;
    padding: 50px 0;
}

.expert-resources-header {
    text-align: center;
    margin-bottom: 3rem;
}
.expert-resources-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c2b28;
    position: relative;
    display: inline-block;
}
.expert-resources-header p {
    font-size: 1.1rem;
    color: #6b5a4a;
    margin-top: 1rem;
}
/* Section with Background Image */
.expert-resources-section.has-background-image .expert-resources-header h2,
.expert-resources-section.has-background-image .expert-resources-header p {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.expert-resources-section.has-background-image .expert-resources-header h2:after {
    background: var(--gold);
}
/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}
/* Resource Card */
.resource-card {
    position: relative;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.resource-card:nth-child(1) { animation-delay: 0.1s; }
.resource-card:nth-child(2) { animation-delay: 0.2s; }
.resource-card:nth-child(3) { animation-delay: 0.3s; }
.resource-card:nth-child(4) { animation-delay: 0.4s; }
.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
/* Cards with background image */
.resource-card.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Cards without background image */
.resource-card.no-bg-image {
    background: linear-gradient(135deg, #57A597 0%, #3d7a6e 100%);
}
.resource-card.no-bg-image .resource-icon {
    background: rgba(255, 255, 255, 0.25);
}
/* Overlay */
.resource-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}
.resource-card:hover .resource-card-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
}
/* Card Content */
.resource-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #ffffff;
    width: 100%;
}
.resource-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}
.resource-card:hover .resource-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}
.resource-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}
.resource-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
    line-height: 1.3;
}
.resource-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
}
.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
.resource-link:hover {
    gap: 0.8rem;
    border-bottom-color: #ffffff;
    color: #ffffff;
}
.resource-link .arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.resource-link:hover .arrow {
    transform: translateX(5px);
}
/* View All Button */
.view-all-guides {
    text-align: center;
    margin-top: 2rem;
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: none;
    color: var(--primary-green);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.view-all-btn:hover {
    background: var(--primary-green);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 165, 151, 0.3);
}
.expert-resources-section.has-background-image .view-all-btn {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.expert-resources-section.has-background-image .view-all-btn:hover {
    background: #ffffff;
    color: var(--primary-green);
}
/* ========== RELATED PRODUCTS SECTION ========== */
.related-products-section {
    margin: 3rem 0 2rem;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
}
.related-products-header {
    text-align: center;
    margin-bottom: 2rem;
}
.related-products-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}
.related-products-header p {
    color: var(--text-muted);
    font-size: 1rem;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.related-product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.product-image-link {
    display: block;
    text-decoration: none;
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #faf7f0;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 1.2rem;
    text-align: center;
}

.product-title-link {
    text-decoration: none;
}

.product-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

.product-price-wrapper {
    margin-bottom: 1rem;
}

.original-price {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.sale-price,
.regular-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
}

.add-to-cart-simple {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-simple:hover:not(:disabled) {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.add-to-cart-simple.out-of-stock {
    background: #ccc;
    cursor: not-allowed;
}

.add-to-cart-simple.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.add-to-cart-simple.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 15px;
    margin-top: -8px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ========== REVIEWS SECTION ========== */
.woocommerce-reviews-wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

#reviews {
    margin-top: 1rem;
}

#reviews .commentlist {
    list-style: none;
    padding: 0;
}

#reviews .commentlist li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

#reviews .commentlist .avatar {
    float: left;
    margin-right: 1rem;
    width: 50px;
    height: 50px;
}

#reviews .comment-text {
    overflow: hidden;
}

#reviews .star-rating {
    float: right;
    font-size: 0.85rem;
}

#reviews .description {
    margin-top: 0.5rem;
}

#review_form_wrapper {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--gray-bg);
    border-radius: 24px;
}

#review_form input,
#review_form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
}

#review_form .submit {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
}

/* ========== NOTIFICATION ========== */
.woocommerce-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-green);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE DESIGN - SINGLE MEDIA QUERIES ========== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .bloom-product-wrapper {
        padding: 1.5rem;
    }
    
    .product-header-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-box.positive {
        border-radius: 12px;
    }
    
    .comparison-box.negative {
        border-radius: 12px;
    }
    
    .tabs-header {
        justify-content: center;
		flex-wrap: unset !important;
		flex-direction: row !important;
    }
    
    .tab-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .tabs-content {
        padding: 1.5rem;
    }
    
    .expert-resources-section {
        padding: 60px 0;
    }
    
    .expert-resources-header h2 {
        font-size: 2rem;
    }
    
    .resources-grid {
        gap: 1.5rem;
    }
}

/* Mobile Landscape (up to 768px) */
@media (max-width: 768px) {
.pack-info {
    gap: .5rem !important;
    flex-wrap: unset !important;
}
	.pack-badge.best-seller,
	.pack-badge.best-value,
	.pack-badge.maximum-savings{
		font-size: 12px !important;
		margin-left: auto !important;
	}
	.pack-option>div {
    width: 100% !important;
}
	.gallery-thumbs{
		gap: 8px !important;
	}
.product-header-section
 {
    display: block !important;
}
	.product-image-main{
		background: #ff10 !important;
	}
	.product-image-main,
	.product-gallery,
	.product-header-section,
.bloom-product-wrapper,
.product {
		padding: 0 !important;
	}
	.gallery-thumbs{
		margin-bottom: 1rem;
	}
.addToCart-wrapper {
    min-width: auto;
    width: auto !important;
}
    .product-header-section {
        margin-bottom: 2rem;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
    
    .product-tagline {
        font-size: 0.9rem;
    }
    
    /* Pack Options */
    .pack-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: .8rem;
    }
	.pack-radio {
    width: 15px !important;
    height: 15px !important;
	}
    
    .pack-price {
        text-align: end;
        width: 100%;
        padding-left: 2rem;
    }
    
    .pack-info {
        width: 100%;
    }
    
    /* Badges */
    .bloom-badges {
        gap: 1rem;
    }
    
    .badge-item {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .badge-item img {
        width: 18px;
        height: 18px;
    }
    
    /* Tabs */
    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .tabs-content {
        padding: 1rem;
    }
    
    .tab-pane h2 {
        font-size: 1.3rem;
    }
    
    /* Section Headers */
    .coverage-section h2,
    .comparison-section h2,
    .testimonials-section h2,
    .expert-resources-header h2,
    .related-products-header h2 {
        font-size: 1.4rem;
    }
    
    /* Tables */
    .coverage-table th,
    .coverage-table td {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    /* Comparison */
    .comparison-box {
        padding: 1rem;
    }
    
    .comparison-box h3 {
        font-size: 1.2rem;
    }
    
    .comparison-box li {
        font-size: 0.85rem;
    }
    
    /* Grids */
    .testimonials-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Product Cards */
    .product-details h3 {
        font-size: 0.9rem;
        min-height: auto;
    }
    
    .sale-price,
    .regular-price {
        font-size: 0.9rem;
    }
    
    .original-price {
        font-size: 0.75rem;
    }
    
    .add-to-cart-simple {
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Expert Resources */
    .expert-resources-section {
        padding: 50px 0;
    }
    
    .expert-resources-section.has-background-image {
        background-attachment: scroll;
    }
    
    .expert-resources-header h2 {
        font-size: 1.75rem;
    }
    
    .expert-resources-header h2:after {
        width: 50px;
        bottom: -8px;
    }
    
    .expert-resources-header p {
        font-size: 1rem;
    }
    
    .resource-card {
        min-height: 280px;
        padding: 0;
    }
    
    .resource-card-content {
        padding: 1.5rem;
    }
    
    .resource-icon {
        width: 50px;
        height: 50px;
    }
    
    .resource-icon img {
        width: 25px;
        height: 25px;
    }
    
    .resource-card h3 {
        font-size: 1.2rem;
    }
    
    /* Gallery */
    .gallery-thumb {
        width: 55px;
        height: 55px;
    }
    
    /* Quantity */
    .quantity-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 1rem !important;
    }
	.add-to-cart-btn {
    	padding: .7rem 1rem !important;
    	font-size: .8rem !important;
	}
	.quantity-section {
    	justify-content: space-between !important;
	}
    
    .quantity-input {
        width: 50px;
        height: 40px;
    }
    
    /* Rating */
    .rating-badge {
/* 		margin-top: 10px; */
        padding: 0.3rem 0.8rem;
    }
    
    .rating-stars {
        font-size: 0.75rem;
    }
    
    .rating-text {
        font-size: 0.75rem;
    }
    
    /* Buttons */
    .view-all-btn {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
}

/* Mobile Small (up to 576px) */
@media (max-width: 576px) {
    .bloom-product-wrapper {
        padding: 0.75rem;
    }
    
    .product-title {
        font-size: 1.4rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-details h3 {
        font-size: 1rem;
    }
    
    .pack-name {
        font-size: 0.9rem;
    }
    
    .pack-price .current-price {
        font-size: 1rem;
    }
    
    /* Badges */
    .bloom-badges {
        flex-direction: column;
        align-items: stretch;
    }
    
    .badge-item {
        justify-content: center;
    }
    
    /* Tabs Mobile */
    .tabs-header {
        flex-direction: column;
        align-items: stretch;
        background: transparent;
        gap: 0;
    }
    
    .tab-btn {
        border-radius: 0;
        text-align: center;
        background: #ff10;
        border-bottom: 2px solid var(--primary-green) !important;
    }
    
    .tab-btn.active {
        border-bottom: 2px solid var(--primary-green) !important;
        background: #57A597 !important;
    }
    
    /* Tables */
    .coverage-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .coverage-table th,
    .coverage-table td {
        white-space: nowrap;
    }
    
    /* Comparison */
    .comparison-box li {
        font-size: 0.8rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1rem;
    }
    
    .avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonial-stars {
        font-size: 0.75rem;
    }
    
    /* Expert Resources */
    .expert-resources-section {
        padding: 40px 0;
    }
    
    .expert-resources-header h2 {
        font-size: 1.5rem;
    }
    
    .expert-resources-header p {
        font-size: 0.9rem;
    }
    
    .resource-card {
        min-height: 260px;
    }
    
    .resource-card-content {
        padding: 1.25rem;
    }
    
    .resource-card h3 {
        font-size: 1.1rem;
    }
    
    .resource-card p {
        font-size: 0.85rem;
    }
    
    /* Notification */
    .woocommerce-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
        font-size: 0.85rem;
        padding: 12px 20px;
    }
}

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .bloom-product-wrapper {
        max-width: 1400px;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-title {
        font-size: 2.8rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .bloom-product-wrapper {
        padding: 0;
        max-width: 100%;
    }
    
    .add-to-cart-btn,
    .add-to-cart-simple,
    .quantity-wrapper,
    .gallery-thumbs {
        display: none;
    }
    
    .pack-option {
        break-inside: avoid;
    }
    
    .expert-resources-section {
        padding: 20px 0;
        background: #f9f7f4 !important;
    }
    
    .expert-resources-section.has-background-image .expert-resources-header h2,
    .expert-resources-section.has-background-image .expert-resources-header p {
        color: #2c2b28 !important;
        text-shadow: none;
    }
    
    .expert-resources-overlay,
    .resource-card-overlay {
        display: none;
    }
    
    .resource-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
