/**
 * Single Product Page
 * @package Eshanarya
 */

/* =============================================
   MOBILE STICKY ADD-TO-CART BAR
============================================= */

.ea-sticky-atc {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border-top: 1px solid #e8ddd0;
    box-shadow: 0 -6px 28px rgba(0,0,0,0.13);
    transform: translateY(110%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    /* Only show on mobile/tablet — hide on large screens */
    display: none;
}

/* Show only on ≤991px */
@media (max-width: 991.98px) {
    .ea-sticky-atc { display: block; }
}

/* Slide in when JS adds the class */
.ea-sticky-atc--visible {
    transform: translateY(0);
}

.ea-sticky-atc-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    min-height: 70px;
}

/* Left — thumbnail + info */
.ea-sticky-atc-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ea-sticky-atc-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ea-sticky-atc-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.ea-sticky-atc-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.ea-sticky-price-current {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
}
.ea-sticky-price-current .woocommerce-Price-amount { font-size: inherit; }

.ea-sticky-price-regular {
    font-size: 0.72rem;
    color: #999;
}
.ea-sticky-price-regular .woocommerce-Price-amount { font-size: inherit; }

.ea-sticky-save {
    display: inline-flex;
    align-items: center;
    background: #f5f0e4;
    color: #7a5c00;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Right — CTA button */
.ea-sticky-atc-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
}
.ea-sticky-atc-btn:hover,
.ea-sticky-atc-btn:focus {
    background: #086b60;
    outline: none;
}
.ea-sticky-atc-btn:active { transform: scale(0.97); }
.ea-sticky-atc-btn i { font-size: 1rem; }

/* Safe area padding for iOS home indicator */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .ea-sticky-atc {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Sticky thumbnail — always eager-loaded */
.ea-sticky-atc-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #efe6d8;
    display: block;
    background: #f5f0e8;
}

/* Sticky rating row — Bootstrap Icons stars */
.ea-sticky-atc-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 3px 0 2px;
    line-height: 1;
}
.ea-sticky-atc-rating i {
    font-size: 0.68rem;
    line-height: 1;
}
.ea-sr-full,
.ea-sr-half  { color: #e4a700; }
.ea-sr-empty { color: #d0c9be; }
.ea-sticky-rating-count {
    font-size: 0.68rem;
    color: #888;
    margin-left: 3px;
    line-height: 1;
}

/* Extra small phones — tighten up */
@media (max-width: 480px) {
    .ea-sticky-atc-thumb { width: 44px; height: 44px; }
    .ea-sticky-atc-btn { padding: 11px 14px; font-size: 0.73rem; }
    .ea-sticky-atc-btn span { display: none; }
    .ea-sticky-atc-btn i { font-size: 1.1rem; }
}

/* =============================================
   PRODUCT REVIEWS — Custom UI
============================================= */

/* Review list wrapper */
#reviews { margin-top: 10px; }
#reviews h2 {
    font-family: var(--ea-font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: var(--ea-dark);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ea-border);
}
.woocommerce-Reviews-title { display: none; } /* hidden — shown via #reviews h2 fallback */

/* Review list — remove default bullets */
#comments ol.commentlist,
.woocommerce-Reviews ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Each review card */
.ea-review-item { margin: 0 !important; padding: 0 !important; }

.ea-review-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(26,26,26,0.05);
    transition: box-shadow 0.25s ease;
}
.ea-review-card:hover {
    box-shadow: 0 8px 28px rgba(26,26,26,0.10);
}

/* Letter avatar */
.ea-review-avatar {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ea-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
    user-select: none;
}

/* Review body */
.ea-review-body { flex: 1; min-width: 0; }

/* Header row */
.ea-review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ea-review-author-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ea-review-author {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ea-dark);
    font-family: var(--ea-font-heading);
}

.ea-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #086b60;
    background: #e7f2f0;
    border: 1px solid #9accc7;
    border-radius: 20px;
    padding: 2px 8px;
}
.ea-review-verified i { font-size: 0.72rem; }

.ea-review-date {
    font-size: 0.74rem;
    color: #9a8f84;
    font-weight: 400;
}

/* Stars — right aligned in header */
.ea-review-stars .star-rating {
    font-size: 0.8rem;
}

/* Pending notice */
.ea-review-pending {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #7a5c00;
    background: #fef9e7;
    border: 1px solid #f0d880;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 8px;
}

/* Review text */
.ea-review-text {
    font-size: 0.88rem;
    color: #4e4639;
    line-height: 1.65;
    margin: 0;
}
.ea-review-text p { margin: 0; }

/* =============================================
   REVIEW FORM — Add a Review
============================================= */

#review_form_wrapper {
    background: #fafaf8;
    border: 1px solid #efe6d8;
    border-radius: 12px;
    padding: 28px;
    margin-top: 32px;
}

#review_form_wrapper h3,
#review_form_wrapper #reply-title {
    font-family: var(--ea-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ea-dark);
    margin: 0 0 6px;
}

#review_form .comment-notes {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 20px;
}

/* Star rating picker */
#review_form .comment-form-rating {
    margin-bottom: 18px;
}
#review_form .comment-form-rating label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4e4639;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
#review_form .stars span a {
    font-size: 1.3rem;
    color: #ddd;
    transition: color 0.15s;
}
#review_form .stars span a:hover,
#review_form .stars span a.active,
#review_form .stars.selected span a { color: #e4a700; }

/* Fields: textarea, name, email */
#review_form .comment-form-comment label,
#review_form .comment-form-author label,
#review_form .comment-form-email label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4e4639;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

#review_form textarea#comment,
#review_form input#author,
#review_form input#email {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d9cfbf;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #252525;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    line-height: 1.6;
}
#review_form textarea#comment {
    min-height: 110px;
    resize: vertical;
}
#review_form textarea#comment:focus,
#review_form input#author:focus,
#review_form input#email:focus {
    border-color: #086b60;
    box-shadow: 0 0 0 3px rgba(8,107,96,0.12);
    outline: none;
}

/* Name + email 2-col layout on wider screens */
@media (min-width: 600px) {
    #review_form .comment-form-author,
    #review_form .comment-form-email {
        display: inline-block;
        width: calc(50% - 8px);
    }
    #review_form .comment-form-author { margin-right: 16px; }
}

/* Submit button */
#review_form #submit {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-top: 8px;
}
#review_form #submit:hover { background: #086b60; }
#review_form #submit:active { transform: scale(0.97); }

@media (max-width: 575.98px) {
    .ea-review-card { flex-direction: column; gap: 12px; padding: 16px; }
    .ea-review-avatar { width: 40px; height: 40px; font-size: 1rem; }
    .ea-review-header { flex-direction: column; gap: 6px; }
    #review_form_wrapper { padding: 18px 16px; }
}

.single-product .ea-wc-main-wrapper {
    background: linear-gradient(180deg, var(--ea-cream) 0, #fff 240px);
    padding: 14px 0 96px;
}

.ea-single-product-layout {
    position: relative;
}

.ea-single-product-layout .ea-breadcrumb {
    margin-bottom: 22px;
}

/* =============================================
   PRODUCT PAGE — OFFER BAR
============================================= */

.ea-offer-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

/* Individual ticket card */
.ea-offer-ticket {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 10px;
    padding: 16px 20px 16px 18px;
    min-height: 76px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ea-offer-ticket:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}

/* Perforated stub strip on left edge */
.ea-offer-stub {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 14px;
    background:
        radial-gradient(circle at 0 50%, transparent 6px, rgba(255,255,255,0.10) 6px);
    background-size: 14px 20px;
    border-right: 1px dashed rgba(255,255,255,0.18);
    flex-shrink: 0;
}

/* Tag icon */
.ea-offer-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-left: 8px;
    border: 1px solid rgba(255,255,255,0.18);
}

/* Text block */
.ea-offer-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.ea-offer-heading {
    font-family: var(--ea-font-heading);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.1;
    display: block;
}

.ea-offer-subheading {
    font-size: clamp(0.68rem, 1vw, 0.8rem);
    opacity: 0.82;
    font-weight: 400;
    line-height: 1.35;
    display: block;
    letter-spacing: 0.02em;
}

/* Shimmer sweep on hover */
.ea-offer-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255,255,255,0.12) 50%,
        transparent 80%
    );
    pointer-events: none;
    transition: left 0.6s ease;
}
.ea-offer-ticket:hover .ea-offer-shimmer {
    left: 140%;
}

/* Responsive — always 3 columns */
@media (max-width: 991.98px) {
    .ea-offer-bar { gap: 8px; margin-bottom: 18px; }
    .ea-offer-heading { font-size: 0.9rem; }
    .ea-offer-subheading { font-size: 0.68rem; }
}

@media (max-width: 767.98px) {
    .ea-offer-bar { gap: 6px; margin-bottom: 14px; }
    .ea-offer-ticket { min-height: 54px; padding: 10px 8px 10px 10px; gap: 8px; border-radius: 8px; }
    .ea-offer-stub { width: 10px; }
    .ea-offer-icon { width: 26px; height: 26px; font-size: 0.72rem; margin-left: 4px; }
    .ea-offer-heading { font-size: 0.75rem; letter-spacing: 0; }
    .ea-offer-subheading { font-size: 0.6rem; }
}

@media (max-width: 480px) {
    .ea-offer-ticket { padding: 8px 6px 8px 8px; gap: 6px; min-height: 48px; }
    .ea-offer-icon { display: none; }
    .ea-offer-heading { font-size: 0.72rem; }
    .ea-offer-subheading { font-size: 0.58rem; }
}

.ea-single-product-hero {
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 16px 45px rgba(26, 26, 26, 0.08);
}

.ea-single-gallery {
    position: sticky;
    top: 110px;
}

@media (min-width: 992px) {
    .ea-single-product-hero,
    .ea-single-product-hero > .row {
        overflow: visible;
    }

    .ea-single-product-hero > .row > .col-lg-6:first-child {
        align-self: stretch;
    }
}

/* Gallery: main image on top, thumbnails as horizontal strip below */
.ea-single-gallery-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ea-single-gallery-main {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #fbf7f0;
    border: 1px solid #efe6d8;
    border-radius: 8px;
    overflow: hidden;
}

.ea-single-gallery-main .ea-sale-badge {
    top: 12px;
    left: 12px;
    z-index: 4;
}

.ea-single-gallery-main-img,
.ea-single-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Horizontal thumbnail strip */
.ea-single-gallery-thumbs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--ea-gold) #f1eadf;
}

.ea-single-gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.ea-single-gallery-thumbs::-webkit-scrollbar-track {
    background: #f1eadf;
    border-radius: 99px;
}

.ea-single-gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--ea-gold);
    border-radius: 99px;
}

.ea-single-gallery-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 1.5px solid #eadfcc;
    border-radius: 8px;
    background: #fffaf1;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.72;
    transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.ea-single-gallery-thumb.is-active,
.ea-single-gallery-thumb:hover {
    border-color: var(--ea-gold);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.28);
}

.ea-single-summary {
    float: none !important;
    width: 100% !important;
    padding: 6px 4px;
}

/* ---- Save Pill (below price) ---- */
.ea-price-meta {
    margin: -12px 0 18px;
}
.ea-save-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #086b60;
    background: #e0f2ef;
    border: 1px solid #9accc7;
    border-radius: 20px;
    padding: 4px 12px;
}
.ea-save-pill .woocommerce-Price-amount { font-size: inherit; color: inherit; }

/* ---- Product Title ---- */
.ea-single-summary .product_title {
    font-family: var(--ea-font-heading);
    font-size: clamp(1.25rem, 2.7vw, 2.75rem);
    line-height: 1.15;
    color: #1a1a1a;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    font-weight: 700;
}

/* ---- Star Rating Row ---- */
.ea-single-summary .woocommerce-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    background: #f7f3ec;
    border: 1px solid #e8dfcf;
    border-radius: 30px;
    padding: 5px 14px 5px 10px;
}

.ea-single-summary .star-rating {
    font-size: 0.85rem;
    color: #e4a700;
}
.ea-single-summary .star-rating::before { color: #ddd; }
.ea-single-summary .star-rating span::before { color: #e4a700; }

.ea-single-summary .woocommerce-review-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #7a7166;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.ea-single-summary .woocommerce-review-link:hover { color: #086b60; }

/* ---- Price Block ---- */
.ea-single-summary .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0 0 20px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

/* Sale price (current) */
.ea-single-summary .price ins,
.ea-single-summary .price > .woocommerce-Price-amount {
    text-decoration: none;
    font-family: var(--ea-font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Strikethrough regular price */
.ea-single-summary .price del {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 400;
    color: #aaa;
    text-decoration: line-through;
    order: -1;     /* puts ₹649 before ₹349 */
}
.ea-single-summary .price del .woocommerce-Price-amount { color: inherit; }

/* Save badge — appended via pseudo, or use existing WC structure */
.ea-single-summary .price .ea-save-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #086b60;
    background: #e0f2ef;
    border: 1px solid #9accc7;
    border-radius: 20px;
    padding: 3px 10px;
}

.ea-single-summary .woocommerce-product-details__short-description {
    color: #635b51;
    font-size: 0.98rem;
    line-height: 1.8;
    margin: 0 0 22px;
}

.ea-single-cart-form {
    margin: 0 0 18px;
}

.ea-single-purchase-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.ea-single-buy-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex: 1 1 auto;   /* grow to fill remaining space in the flex purchase-row */
    min-width: 0;
}

/* Stepper on product page */
.ea-single-summary .ea-qty-stepper {
    height: 40px;
    flex-shrink: 0;
    min-width: 110px;
}

.ea-single-add-to-cart,
.ea-single-summary .single_add_to_cart_button,
.ea-single-buy-now {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 16px !important;
    white-space: nowrap;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--ea-black) !important;
    color: #fff !important;
    font-family: var(--ea-font-body);
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ea-single-add-to-cart:hover,
.ea-single-summary .single_add_to_cart_button:hover,
.ea-single-buy-now:hover {
    background: var(--ea-gold) !important;
    transform: translateY(-1px);
}

.ea-single-buy-now {
    background: var(--ea-gold) !important;
}

.ea-single-buy-now:hover {
    background: var(--ea-gold-dark) !important;
}

.ea-product-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    border: 1.5px solid #1f9d55;
    border-radius: 8px;
    color: #137c3d;
    background: #f2fbf5;
    text-decoration: none;
    font-weight: 800;
    margin-bottom: 14px;
}

.ea-product-whatsapp:hover {
    background: #1f9d55;
    color: #fff;
}

.ea-product-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
}

.ea-product-trust-item {
    min-height: 58px;
    border: 1px solid #efe6d8;
    border-radius: 8px;
    background: #fffaf1;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
    color: #5f564b;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.2;
    min-width: 0;
}

.ea-product-trust-item i {
    color: var(--ea-gold);
    font-size: 0.95rem;
}

.ea-product-trust-item span {
    overflow-wrap: anywhere;
}

/* =============================================
   COUPON BLOCK
============================================= */
.ea-coupon-block {
    margin-top: 14px;
    border: 1px solid #e8dfcf;
    border-radius: 10px;
    overflow: hidden;
}

.ea-coupon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    padding: 9px 14px;
}
.ea-coupon-header-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ea-coupon-header-title i { color: #e4a700; font-size: 1rem; }
.ea-coupon-header-sub {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
}

.ea-coupon-list { background: #fff; }

.ea-coupon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px dashed #ede5d8;
}
.ea-coupon-item:last-child { border-bottom: none; }

.ea-coupon-badge {
    flex-shrink: 0;
    background: #1a1a1a;
    color: #e4a700;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ea-coupon-info {
    flex: 1;
    min-width: 0;
}
.ea-coupon-desc {
    font-size: 0.76rem;
    color: #4e4639;
    line-height: 1.35;
    display: block;
}

.ea-coupon-code {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f8f7;
    border: 1.5px dashed #086b60;
    border-radius: 6px;
    color: #086b60;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.ea-coupon-code:hover { background: #086b60; color: #fff; }
.ea-coupon-code.ea-coupon-copied { background: #086b60; color: #fff; border-style: solid; }

/* =============================================
   SHIPPING TIMELINE
============================================= */
.ea-ship-timeline {
    margin-top: 12px;
    border: 1px solid #e8dfcf;
    border-radius: 10px;
    overflow: hidden;
}

.ea-ship-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f1ea;
    padding: 9px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #3a3530;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ea-ship-header i { color: #086b60; font-size: 1rem; }

.ea-ship-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    gap: 4px;
}

.ea-ship-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    text-align: center;
}

.ea-ship-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f5f1ea;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #9a8f84;
}

.ea-ship-step-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #3a3530;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ea-ship-step-date {
    font-size: 0.68rem;
    color: #888;
    font-weight: 500;
}

.ea-ship-arrow {
    color: #ccc;
    font-size: 0.75rem;
    flex-shrink: 0;
    padding-bottom: 14px;
}

.ea-single-summary .product_meta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #efe6d8;
    color: #7c7469;
    font-size: 0.86rem;
}

.ea-single-summary .product_meta > span {
    display: block;
    margin-bottom: 7px;
}

.ea-single-summary .product_meta a {
    color: var(--ea-gold-dark);
    text-decoration: none;
}

.ea-single-summary table.variations {
    width: 100%;
    margin: 0 0 14px;
}

.ea-single-summary table.variations th,
.ea-single-summary table.variations td {
    display: block;
    padding: 0 0 8px;
}

.ea-single-summary table.variations label {
    color: var(--ea-black);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ea-single-summary table.variations select {
    width: 100%;
    border: 1.5px solid #e1d7c7;
    border-radius: 8px;
    min-height: 44px;
    padding: 0 12px;
}

.ea-product-tabs,
.ea-single-product-details .upsells,
.ea-single-product-details .related {
    margin-top: 64px;
}

.ea-product-tabs-title {
    text-align: center;
    margin-bottom: 24px;
}

.ea-product-tabs .container,
.ea-single-product-details .related {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.ea-product-tabs .container {
    padding-left: 24px;
    padding-right: 24px;
}

.ea-single-product-details .related {
    padding-left: 0;
    padding-right: 0;
}

.ea-product-tabs-nav {
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid #eadfcc;
    margin-bottom: 28px;
}

.ea-product-tab-btn {
    border: 1px solid #eadfcc;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #fffaf1;
    color: var(--ea-black);
    padding: 12px 24px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.ea-product-tab-btn.active {
    background: var(--ea-gold);
    color: #fff;
    border-color: var(--ea-gold);
}

.ea-product-tabs-content {
    max-width: 1080px;
    margin: 0 auto;
    color: #5f564b;
    line-height: 1.8;
    font-size: 0.96rem;
}

.ea-product-tabs-content > .tab-pane.active,
.ea-product-tabs-content > .tab-pane.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ea-product-tabs-content h2,
.ea-product-tabs-content h3 {
    font-family: var(--ea-font-heading);
    color: var(--ea-black);
}

.ea-product-tabs-content .woocommerce-Reviews {
    max-width: 100%;
}

.ea-product-reviews-section {
    max-width: 1080px;
    margin: 42px auto 0;
    padding-top: 34px;
    border-top: 1px solid #eadfcc;
}

.ea-product-reviews-title {
    text-align: center;
    margin-bottom: 24px;
}

.ea-product-reviews-content {
    color: #5f564b;
    line-height: 1.8;
}

.ea-product-faq-section {
    max-width: 1080px;
    margin: 48px auto 0;
    padding-top: 34px;
    border-top: 1px solid #eadfcc;
}

.ea-product-faq-title {
    text-align: center;
    margin-bottom: 24px;
}

.ea-product-faq-accordion .accordion-item {
    border: 1px solid #eadfcc;
    border-radius: 8px !important;
    overflow: hidden;
    margin-bottom: 10px;
    background: #fff;
}

.ea-product-faq-accordion .accordion-button {
    padding: 14px 16px;
    font-family: var(--ea-font-body);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ea-black);
    background: #fffaf1;
    box-shadow: none;
}

.ea-product-faq-accordion .accordion-button:not(.collapsed) {
    background: #fff4cf;
    color: var(--ea-gold-dark);
}

.ea-product-faq-accordion .accordion-body {
    color: #5f564b;
    font-size: 0.94rem;
    line-height: 1.75;
    padding: 16px;
}

.ea-product-tabs-content .shop_attributes {
    margin: 0;
    width: 100%;
}

.ea-product-tabs-content .shop_attributes th,
.ea-product-tabs-content .shop_attributes td {
    border-bottom: 1px solid #f0e7d8;
    padding: 10px 12px;
}

.ea-product-detail-accordion {
    margin-top: 22px;
}

.ea-product-detail-accordion .accordion-item {
    border: 1px solid #eadfcc;
    border-radius: 8px !important;
    overflow: hidden;
    margin-bottom: 10px;
}

.ea-product-detail-accordion .accordion-button {
    padding: 13px 16px;
    font-family: var(--ea-font-body);
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--ea-black);
    background: #fffaf1;
    box-shadow: none;
}

.ea-product-detail-accordion .accordion-button:not(.collapsed) {
    background: #fff4cf;
    color: var(--ea-gold-dark);
}

.ea-product-detail-accordion .accordion-body {
    color: #5f564b;
    font-size: 0.92rem;
    line-height: 1.75;
    padding: 16px;
}

.ea-single-product-details .related > h2,
.ea-single-product-details .upsells > h2,
.ea-recently-viewed-products > h2 {
    font-family: var(--ea-font-heading);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    text-align: center;
    margin-bottom: 28px;
    color: var(--ea-black);
}

.single-product .related ul.products.ea-shop-grid,
.single-product .upsells ul.products.ea-shop-grid,
.single-product .ea-recently-viewed-products ul.products.ea-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
}

.ea-recently-viewed-products {
    margin-top: 64px;
}



@media (max-width: 991.98px) {
    .ea-single-gallery {
        position: static;
    }

    .ea-single-product-hero {
        padding: 18px;
    }

    .ea-single-gallery .woocommerce-product-gallery {
        display: block;
    }

    /* Thumbs already horizontal — just shrink them a little on tablet */
    .ea-single-gallery-thumb {
        flex: 0 0 62px;
        width: 62px;
        height: 62px;
    }

    .single-product .related ul.products.ea-shop-grid,
    .single-product .upsells ul.products.ea-shop-grid,
    .single-product .ea-recently-viewed-products ul.products.ea-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }
}

@media (max-width: 575.98px) {
    .woocommerce .quantity .qty { width: 2em; }
    .ea-qty-btn { flex: 0 0 28px; width: 28px; }

    .single-product .ea-wc-main-wrapper {
        padding: 10px 0 64px;
    }

    .ea-single-product-hero {
        padding: 12px;
    }

    .ea-product-trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
    }

    .ea-product-trust-item {
        min-height: 54px;
        padding: 6px 3px;
        font-size: 0.54rem;
        border-radius: 6px;
    }

    .ea-product-trust-item i {
        font-size: 0.78rem;
    }

    /* Purchase row stays one line on mobile */
    .ea-single-purchase-row { flex-wrap: nowrap; gap: 6px; }
    .ea-single-summary .ea-qty-stepper { height: 38px; min-width: 90px; }
    .ea-single-buy-actions { flex: 1; min-width: 0; gap: 6px; }
    .ea-single-add-to-cart,
    .ea-single-summary .single_add_to_cart_button,
    .ea-single-buy-now { padding: 0 12px !important; font-size: 0.7rem !important; }

    .ea-product-tabs-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .ea-product-tab-btn {
        white-space: nowrap;
        padding: 10px 16px;
    }

    .ea-sticky-atc-inner {
        min-height: 66px;
    }
}

/* =============================================
   WHY CHOOSE US SECTION
============================================= */

.ea-wcu-section {
    margin-top: 56px;
    padding: 56px 0 60px;
    background: #f5f0e8;
}

.ea-wcu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ea-wcu-header {
    text-align: center;
    margin-bottom: 40px;
}

.ea-wcu-heading {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.03em;
    margin: 0 0 10px;
    font-family: var(--ea-font-heading, inherit);
}

.ea-wcu-subtext {
    font-size: 0.97rem;
    color: #6b5e4e;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

.ea-wcu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ea-wcu-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px 22px 28px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid rgba(168,142,102,0.12);
}

.ea-wcu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.1);
}

.ea-wcu-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7ede3 0%, #e8d9c4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 2px solid rgba(168,142,102,0.22);
}

.ea-wcu-icon i {
    font-size: 1.55rem;
    color: #a88e66;
    line-height: 1;
}

.ea-wcu-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.ea-wcu-card-desc {
    font-size: 0.84rem;
    color: #6b5e4e;
    line-height: 1.6;
    margin: 0;
}

/* 2-col on tablet */
@media (max-width: 991.98px) {
    .ea-wcu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1-col on small mobile */
@media (max-width: 479.98px) {
    .ea-wcu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .ea-wcu-card {
        padding: 22px 16px 20px;
    }
    .ea-wcu-icon {
        width: 50px;
        height: 50px;
    }
    .ea-wcu-icon i {
        font-size: 1.25rem;
    }
    .ea-wcu-section {
        margin-top: 36px;
        padding: 40px 0 44px;
    }
}
