/* ==========================================================================
   6. HERO SLIDER 3D
   ========================================================================== */
.wpshare247-hero-slider-wrap { position: relative; width: 100%; height: 80vh; min-height: 600px; background: #000;}
.wpshare247-slider-container { position: relative; width: 100%; height: 100%; overflow: hidden; }
.wpshare247-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; justify-content: center; text-align: center;}
.wpshare247-slide.active { opacity: 1; z-index: 2; }
.wpshare247-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 6s linear;}
.wpshare247-slide.active .wpshare247-slide-bg { transform: scale(1); }
.wpshare247-slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(3, 105, 161, 0.7), rgba(15, 23, 42, 0.6)); z-index: 1;}
.wpshare247-slide-content { position: relative; z-index: 3; max-width: 900px; padding: 0 20px; }

.wpshare247-anim-title { color: #ffffff; font-family: var(--wpshare247-font-heading); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9); margin-bottom: 25px; opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.wpshare247-anim-desc { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; transition-delay: 0.3s; }
.wpshare247-anim-btn { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; transition-delay: 0.6s; }
.wpshare247-slide.active .wpshare247-anim-title, .wpshare247-slide.active .wpshare247-anim-desc, .wpshare247-slide.active .wpshare247-anim-btn { opacity: 1; transform: translateY(0); }

.wpshare247-slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; z-index: 10; backdrop-filter: blur(5px); transition: 0.3s;}
.wpshare247-slider-nav:hover { background: var(--wpshare247-color-accent); }
.wpshare247-slider-nav.prev { left: 20px; }
.wpshare247-slider-nav.next { right: 20px; }

.wpshare247-trust-bar-wrap { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 15; transform: translateY(50%); }
.wpshare247-trust-bar { display: flex; justify-content: space-around; background: #ffffff; padding: 25px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-bottom: 3px solid var(--wpshare247-color-primary); }
.wpshare247-trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--wpshare247-color-primary-dark); font-size: 1.05rem;}
.wpshare247-trust-icon { font-size: 1.5rem; }

/* ==========================================================================
   7. WOOCOMMERCE PRODUCT GRID (REDESIGN)
   ========================================================================== */
.wpshare247-product-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; position: relative; z-index: 2;}
.wpshare247-filter-btn { background: var(--wpshare247-bg-card); border: 1px solid var(--wpshare247-border-color); padding: 10px 25px; font-family: var(--wpshare247-font-heading); text-transform: uppercase; font-weight: bold; cursor: pointer; transition: 0.3s; color: var(--wpshare247-text-main); border-radius: 4px; }
.wpshare247-filter-btn:hover, .wpshare247-filter-btn.wpshare247-active { background: var(--wpshare247-color-primary); color: white; border-color: var(--wpshare247-color-primary); box-shadow: 0 4px 10px rgba(2,132,199,0.2);}

.wpshare247-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; padding: 0; margin: 0; list-style: none; }
.wpshare247-product { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #f1f5f9; border-radius: 8px; position: relative; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.wpshare247-product.hide { display: none; }
.wpshare247-product:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--wpshare247-border-color); z-index: 2;}

.wpshare247-product-img-wrap { position: relative; overflow: hidden; background: #ffffff; padding: 20px; display: flex; align-items: center; justify-content: center; }
.wpshare247-ribbon { position: absolute; top: 15px; left: 15px; background: #ef4444; color: white; padding: 4px 12px; font-size: 0.8rem; font-weight: 800; z-index: 6; border-radius: 4px; letter-spacing: 0.5px;}
.wpshare247-product-img-wrap img { width: 100%; aspect-ratio: 1/1; object-fit: contain; transition: transform 0.5s ease; mix-blend-mode: multiply;}
.wpshare247-product:hover .wpshare247-product-img-wrap img { transform: scale(1.08); }

.wpshare247-product-overlay-slideup { position: absolute; bottom: 20px; left: 50%; transform: translate(-50%, 20px); opacity: 0; transition: all 0.3s ease; z-index: 5; width: 80%; text-align: center;}
.wpshare247-product:hover .wpshare247-product-overlay-slideup { transform: translate(-50%, 0); opacity: 1; }
.wpshare247-btn-slideup { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 0; background: var(--wpshare247-color-primary-dark); color: #ffffff; font-size: 0.9rem; font-weight: bold; border: none; border-radius: 30px; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.15);}
.wpshare247-btn-slideup:hover { background: var(--wpshare247-color-accent); transform: scale(1.05);}

.wpshare247-product-info { padding: 0 20px 25px; display: flex; flex-direction: column; flex: 1; text-align: center;}
.wpshare247-product-rating { font-size: 0.85rem; color: #f59e0b; margin-bottom: 8px; }
.wpshare247-sold-count { color: #94a3b8; font-size: 0.8rem; margin-left: 5px; font-weight: 500;}
.woocommerce-loop-product__title { font-size: 1.05rem; margin-bottom: 5px; line-height: 1.4;}
.woocommerce-loop-product__title a { color: var(--wpshare247-text-main); font-weight: 700; transition: 0.3s;}
.woocommerce-loop-product__title a:hover { color: var(--wpshare247-color-primary); }
.wpshare247-product-sku { font-size: 0.8rem; color: #94a3b8; margin-bottom: 12px; }

.wpshare247-price-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin-bottom: 20px;}
.wpshare247-price-old { color: #cbd5e1; font-size: 0.9rem; text-decoration: line-through; }
.wpshare247-price-new { font-weight: 900; font-size: 1.35rem; color: #dc2626; text-decoration: none !important; font-family: var(--wpshare247-font-heading);}

.wpshare247-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto;}
.wpshare247-btn-action { padding: 10px 5px; font-size: 0.85rem; font-weight: 700; border-radius: 4px; cursor: pointer; transition: 0.3s; display: inline-flex; justify-content: center; align-items: center; gap: 5px; text-decoration: none;}
.wpshare247-btn-cart { background: var(--wpshare247-color-primary); color: white; border: none; }
.wpshare247-btn-cart:hover { background: var(--wpshare247-color-primary-dark); }
.wpshare247-btn-detail { background: #ffffff; color: var(--wpshare247-text-main); border: 1px solid #cbd5e1; }
.wpshare247-btn-detail:hover { border-color: var(--wpshare247-color-primary); color: var(--wpshare247-color-primary); }

/* ==========================================================================
   8. CÁC SECTIONS (CHỨNG NHẬN, THỐNG KÊ, BLOG...)
   ========================================================================== */
.wpshare247-section { padding: var(--wpshare247-section-padding); position: relative; overflow: hidden; }
.wpshare247-section-header { text-align: center; margin-bottom: 50px; position: relative; z-index: 2;}
.wpshare247-section-header h1, .wpshare247-section-header h2 { font-size: 2.8rem; color: var(--wpshare247-color-primary-dark); margin-bottom: 0;}

.wpshare247-cert-card { background: var(--wpshare247-bg-card); padding: 30px; border: 1px solid var(--wpshare247-border-color); border-radius: 20px; transition: 0.3s; }
.wpshare247-cert-card:hover { transform: translateY(-5px); box-shadow: var(--wpshare247-shadow-hover); border-color: var(--wpshare247-color-primary); }

.wpshare247-process-timeline { display: flex; justify-content: space-between; position: relative; text-align: center; padding-top: 40px;}
.wpshare247-process-timeline::before { content: ''; position: absolute; top: 70px; left: 10%; right: 10%; height: 2px; background: var(--wpshare247-border-color); z-index: 1;}
.wpshare247-process-step { flex: 1; position: relative; z-index: 2; padding: 0 15px;}
.wpshare247-process-dot { width: 60px; height: 60px; margin: 0 auto 20px; background: white; border: 3px solid var(--wpshare247-color-primary); color: var(--wpshare247-color-primary); font-family: var(--wpshare247-font-heading); font-size: 1.5rem; font-weight: bold; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; box-shadow: 0 0 0 10px var(--wpshare247-bg-section-alt);}
.wpshare247-process-step:hover .wpshare247-process-dot { background: var(--wpshare247-color-primary); color: white; transform: scale(1.1); }
.wpshare247-process-step h3 { font-size: 1.1rem; color: var(--wpshare247-color-primary-dark); }

.wpshare247-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px;}
.wpshare247-stat-item { background: #fff; padding: 30px; border: 1px solid var(--wpshare247-border-color); }
.wpshare247-stat-num { font-family: var(--wpshare247-font-heading); font-size: 3.5rem; color: var(--wpshare247-color-primary); font-weight: 900; line-height: 1; margin-bottom: 10px; }
.wpshare247-stat-text { font-size: 1.1rem; font-weight: 500; color: var(--wpshare247-text-main); text-transform: uppercase;}

.wpshare247-marquee-wrapper { width: 100%; overflow: hidden; padding: 20px 0; }
.wpshare247-marquee-track { display: flex !important; flex-direction: row !important; gap: 30px; width: max-content; animation: scroll-left 40s linear infinite; }
.wpshare247-marquee-wrapper:hover .wpshare247-marquee-track { animation-play-state: paused; } 
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 15px)); } }
.wpshare247-testi-card { width: 450px; flex-shrink: 0 !important; background: var(--wpshare247-bg-card); padding: 40px; border-top: 4px solid var(--wpshare247-color-primary); box-shadow: var(--wpshare247-shadow-card); border-radius: var(--wpshare247-radius-base); position: relative; }
.wpshare247-quote-icon { position: absolute; top: 20px; right: 30px; font-size: 5rem; color: rgba(2, 132, 199, 0.1); font-family: Georgia, serif; line-height: 1;}
.wpshare247-testi-text { color: var(--wpshare247-text-main) !important; font-size: 1.05rem; display: block; margin-bottom: 20px; font-style: italic;}
.wpshare247-testi-author-header { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--wpshare247-border-color); padding-bottom: 15px;}
.wpshare247-testi-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--wpshare247-color-primary); }
.wpshare247-testi-author-header h4 { margin: 0; font-size: 1.1rem; color: var(--wpshare247-color-primary-dark); }
.wpshare247-testi-author-header span { font-size: 0.85rem; color: var(--wpshare247-text-muted); }

.wpshare247-banner-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 50px 60px; background: var(--wpshare247-color-accent); border-radius: 0; gap: 20px; }
.wpshare247-banner-content h2 { color: white; font-size: 2.5rem; margin-bottom: 0; }
.wpshare247-banner-action .wpshare247-btn { background: white; color: var(--wpshare247-color-accent); margin-top: 0; white-space: nowrap; border: 2px solid white;}

.wpshare247-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;}
.wpshare247-post-img { aspect-ratio: 16/9; width: 100%; object-fit: cover; border-bottom: 1px solid var(--wpshare247-border-color);}
.wpshare247-post-content { padding: 30px; }
.wpshare247-post-title { font-size: 1.3rem; margin-bottom: 0; line-height: 1.4;}

.wpshare247-faq-list { max-width: 800px; margin: 0 auto; }
.wpshare247-faq-item { margin-bottom: 15px; cursor: pointer; border: 1px solid var(--wpshare247-border-color); background: var(--wpshare247-bg-card); transition: 0.3s; border-radius: 0;}
.wpshare247-faq-question { padding: 25px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; font-family: var(--wpshare247-font-heading); text-transform: uppercase; color: var(--wpshare247-text-main); font-size: 1.1rem;}
.wpshare247-faq-question::after { content: '+'; font-size: 1.8rem; color: var(--wpshare247-text-muted); transition: 0.3s;}
.wpshare247-faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--wpshare247-text-muted); font-size: 1.05rem;}
.wpshare247-faq-item.wpshare247-active { border-color: var(--wpshare247-color-primary); box-shadow: var(--wpshare247-shadow-hover); }
.wpshare247-faq-item.wpshare247-active .wpshare247-faq-question::after { content: '−'; transform: rotate(180deg); color: var(--wpshare247-color-primary);}
.wpshare247-faq-item.wpshare247-active .wpshare247-faq-answer { padding: 0 25px 25px; max-height: 500px; display: block; }

/* ==========================================================================
   LIÊN HỆ & BENTO GIỚI THIỆU
   ========================================================================== */
.wpshare247-contact-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 40px !important; align-items: stretch !important; }
.wpshare247-contact-grid > .wpshare247-card-modern { display: flex; flex-direction: column; height: 100%; }
.wpshare247-contact-grid .wpshare247-contact-form { display: flex; flex-direction: column; height: 100%; }
.wpshare247-contact-grid textarea[name="message"] { flex: 1; }

/* Contact Form 7 Theme Styling */
.tbay-contact-form-card .wpcf7-form { display: flex; flex-direction: column; gap: 15px; }
.tbay-contact-form-card .wpcf7-form-control-wrap { display: block; width: 100%; }
.tbay-contact-form-card .wpcf7 input[type="text"],
.tbay-contact-form-card .wpcf7 input[type="email"],
.tbay-contact-form-card .wpcf7 input[type="tel"],
.tbay-contact-form-card .wpcf7 select,
.tbay-contact-form-card .wpcf7 textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.tbay-contact-form-card .wpcf7 input:focus,
.tbay-contact-form-card .wpcf7 select:focus,
.tbay-contact-form-card .wpcf7 textarea:focus {
    border-color: var(--wpshare247-color-primary, #0284c7) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}
.tbay-contact-form-card .wpcf7-submit {
    width: 100% !important;
    padding: 13px 25px !important;
    background: var(--wpshare247-color-primary, #0284c7) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: background-color 0.25s, transform 0.2s !important;
}
.tbay-contact-form-card .wpcf7-submit:hover {
    background: var(--wpshare247-color-primary-dark, #0369a1) !important;
    transform: translateY(-2px) !important;
}
.tbay-contact-form-card .wpcf7-response-output {
    margin: 15px 0 0 0 !important;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
}

.wpshare247-core-bento-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.wpshare247-core-bento-right { display: flex; flex-direction: column; gap: 24px; }
.wpshare247-core-card-item { position: relative; background: #ffffff; border: 1px solid var(--wpshare247-border-color); padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; min-height: 250px; border-radius: 0; }
.wpshare247-core-card-item:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(2, 132, 199, 0.15); }
.wpshare247-core-large { min-height: 524px; }
.wpshare247-core-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.5s ease; }
.wpshare247-core-card-item:hover .wpshare247-core-bg { transform: scale(1.05); }
.wpshare247-core-overlay { display: none !important; }
.wpshare247-core-content { position: relative; z-index: 2; }
.wpshare247-core-content h3 { font-size: 1.6rem; margin-bottom: 8px; font-family: var(--wpshare247-font-heading); font-weight: 700; }
.wpshare247-core-content p { font-size: 1rem; margin-bottom: 0; }
.wpshare247-core-blue { background: var(--wpshare247-color-primary-dark); justify-content: center; }
.wpshare247-core-blue h3, .wpshare247-core-blue p { color: #ffffff !important; text-shadow: none; }
.wpshare247-stat-massive { font-family: var(--wpshare247-font-heading); font-size: 4rem; color: #ffffff; font-weight: 900; line-height: 1; margin-bottom: 15px; opacity: 0.9; }
.wpshare247-core-light { background: var(--wpshare247-bg-section-alt); justify-content: center; }
.wpshare247-core-light h3 { color: var(--wpshare247-color-primary-dark) !important; }
.wpshare247-core-image-box { position: relative; }
.wpshare247-core-image-box h3,
.tbay-core-floating-content h3 {
    color: var(--wpshare247-color-primary-dark, #0369a1) !important;
    text-shadow: none !important;
    filter: none !important;
}
.wpshare247-core-image-box p,
.tbay-core-floating-content p {
    color: #475569 !important;
    text-shadow: none !important;
    filter: none !important;
}

/* ==========================================================================
   CHÍNH SÁCH TABS & LƯỚI NỔI 3D
   ========================================================================== */
.wpshare247-policy-layout { display: flex; flex-direction: column; gap: 30px; }
.wpshare247-policy-nav { display: flex; gap: 10px; border-bottom: 2px solid var(--wpshare247-border-color); padding-bottom: 10px; flex-wrap: wrap; }
.wpshare247-policy-tab-btn { background: transparent; border: none; padding: 10px 20px; font-family: var(--wpshare247-font-heading); font-size: 1.05rem; font-weight: bold; color: var(--wpshare247-text-muted); cursor: pointer; transition: 0.3s; position: relative; text-transform: uppercase; }
.wpshare247-policy-tab-btn::after { content: ''; position: absolute; bottom: -12px; left: 0; width: 0; height: 3px; background: var(--wpshare247-color-primary); transition: 0.3s; }
.wpshare247-policy-tab-btn:hover, .wpshare247-policy-tab-btn.active { color: var(--wpshare247-color-primary); }
.wpshare247-policy-tab-btn.active::after { width: 100%; }
.wpshare247-policy-content-area { background: var(--wpshare247-bg-card); padding: 40px; border: 1px solid var(--wpshare247-border-color); border-radius: var(--wpshare247-radius-base); box-shadow: var(--wpshare247-shadow-card); }
.wpshare247-policy-pane { display: none; animation: fadeIn 0.5s ease; }
.wpshare247-policy-pane.active { display: block; }

.wpshare247-lively-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; padding: 20px 0; }
.wpshare247-lively-card { background: #fff; border-radius: 16px; padding: 35px 28px; position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04); transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1); border: 1px solid #f1f5f9; z-index: 1; }
.wpshare247-lively-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08); border-color: #e2e8f0; }
.wpshare247-lively-bg-icon { position: absolute; right: -20px; bottom: -20px; font-size: 150px; opacity: 0.03; z-index: -1; transition: transform 0.4s ease, opacity 0.4s ease; }
.wpshare247-lively-card:hover .wpshare247-lively-bg-icon { transform: scale(1.05); opacity: 0.08; }
.wpshare247-lively-icon-box { width: 70px; height: 70px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin-bottom: 25px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.wpshare247-bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); }
.wpshare247-bg-green { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); }
.wpshare247-bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3); }
.wpshare247-bg-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3); }
.wpshare247-bg-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3); }
.wpshare247-bg-rose { background: linear-gradient(135deg, #f43f5e, #be123c); box-shadow: 0 10px 20px rgba(244, 63, 94, 0.3); }
.wpshare247-lively-card h3 { font-size: 1.5rem; color: var(--wpshare247-text-main); margin-bottom: 15px; font-weight: 800; }
.wpshare247-lively-card ul { list-style: none; padding: 0; margin: 0; }
.wpshare247-lively-card ul li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--wpshare247-text-muted); font-size: 1.05rem; line-height: 1.5; }
.wpshare247-lively-card ul li i { position: absolute; left: 0; top: 4px; font-size: 1.1rem; }
.wpshare247-lively-note { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #e2e8f0; font-size: 0.9rem; color: #ef4444; font-style: italic; }

/* ==========================================================================
   TRANG GIỎ HÀNG
   ========================================================================== */
.wpshare247-cart-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; border-bottom: 2px solid var(--wpshare247-border-color); padding-bottom: 15px; }
.wpshare247-cart-page-title { font-size: 2.2rem; color: var(--wpshare247-color-primary-dark); margin-bottom: 0; }
.wpshare247-btn-clear-cart { padding: 8px 15px; font-size: 0.8rem; border-color: #ef4444; color: #ef4444; }
.wpshare247-btn-clear-cart:hover { background: #ef4444; color: #ffffff; }

.wpshare247-cart-layout-modern { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
.wpshare247-cart-list-container { display: flex; flex-direction: column; gap: 15px; }

.wpshare247-cart-item-row { display: flex; align-items: center; gap: 20px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; transition: box-shadow 0.3s ease; }
.wpshare247-cart-item-row:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-color: #cbd5e1; }
.wpshare247-cart-item-img { width: 90px; height: 90px; flex-shrink: 0; background: #f8fafc; border-radius: 8px; padding: 5px; }
.wpshare247-cart-item-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wpshare247-cart-item-details { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.wpshare247-cart-item-name { font-family: var(--wpshare247-font-heading); font-weight: 700; font-size: 1.05rem; color: var(--wpshare247-text-main); line-height: 1.4; }
.wpshare247-cart-item-price { color: #dc2626; font-weight: 800; font-size: 1.15rem; }
.wpshare247-cart-item-actions { display: flex; align-items: center; gap: 20px; }
.wpshare247-cart-remove-btn { background: #fee2e2; color: #ef4444; border: none; width: 35px; height: 35px; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.wpshare247-cart-remove-btn:hover { background: #ef4444; color: #ffffff; }

.wpshare247-cart-item-modern { display: flex; align-items: center; gap: 25px; padding: 20px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); transition: all 0.3s ease; position: relative; }
.wpshare247-cart-item-modern:hover { border-color: var(--wpshare247-color-primary); box-shadow: 0 5px 15px rgba(2, 132, 199, 0.08); }
.wpshare247-cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.wpshare247-cart-item-title { font-family: var(--wpshare247-font-heading); font-weight: 700; font-size: 1.1rem; color: var(--wpshare247-text-main); text-decoration: none; line-height: 1.4; }
.wpshare247-cart-item-title:hover { color: var(--wpshare247-color-primary); }
.wpshare247-cart-item-remove { background: none; border: none; color: #94a3b8; cursor: pointer; padding: 10px; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.wpshare247-cart-item-remove:hover { color: #ef4444; transform: scale(1.15) translateY(-2px); }

.wpshare247-cart-summary-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.wpshare247-cart-summary-box h3 { margin-bottom: 20px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 15px; color: var(--wpshare247-color-primary-dark); font-size: 1.15rem; }
.wpshare247-summary-line { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1.05rem; }
.wpshare247-summary-price { color: var(--wpshare247-color-primary); font-size: 1.2rem; }
.wpshare247-btn-checkout { width: 100%; border-radius: 8px; padding: 14px; }

/* ==========================================================================
   8. TRANG TẤT CẢ SẢN PHẨM & ELEMENTOR ALL PRODUCTS WIDGET
   ========================================================================== */
.tbay-all-products-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-radius: 16px;
    margin-bottom: 35px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 20px;
}
.tbay-all-products-banner h1 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}
.tbay-all-products-banner p {
    color: #f0f9ff;
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pagination Styling */
.tbay-pagination-wrap {
    margin-top: 50px;
    text-align: center;
}
.wpshare247-pagination ul.page-numbers {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.wpshare247-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.wpshare247-pagination .page-numbers:hover,
.wpshare247-pagination .page-numbers.current {
    background-color: var(--wpshare247-color-primary, #0284c7);
    color: #ffffff;
    border-color: var(--wpshare247-color-primary, #0284c7);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    transform: translateY(-2px);
}
.wpshare247-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    box-shadow: none;
    transform: none;
    color: #94a3b8;
}

/* Trust Bar / Cam kết */
.tbay-trust-bar-wrap {
    background: #ffffff;
    border-radius: 14px;
    padding: 35px 25px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-top: 60px;
}
.tbay-trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.tbay-trust-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.tbay-trust-text-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1e293b;
}
.tbay-trust-text-box p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
    color: #64748b;
}

/* Responsive Grid Columns */
@media (min-width: 1025px) {
    .wpshare247-products.col-desktop-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .wpshare247-products.col-desktop-3 { grid-template-columns: repeat(3, 1fr) !important; }
    .wpshare247-products.col-desktop-4 { grid-template-columns: repeat(4, 1fr) !important; }
    .wpshare247-products.col-desktop-5 { grid-template-columns: repeat(5, 1fr) !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .wpshare247-products.col-tablet-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .wpshare247-products.col-tablet-3 { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 767px) {
    .wpshare247-products.col-mobile-1 { grid-template-columns: 1fr !important; }
    .wpshare247-products.col-mobile-2 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ==========================================================================
   9. BỘ QUY TẮC ẨN THÔNG SỐ THẺ SẢN PHẨM (CHUẨN 100% ELEMENTOR)
   ========================================================================== */
.tbay-hide-sale-badge .wpshare247-ribbon,
.tbay-hide-sale-badge .onsale,
.tbay-hide-sale-badge span.onsale {
    display: none !important;
}
.tbay-hide-rating .wpshare247-product-rating,
.tbay-hide-rating .star-rating,
.tbay-hide-rating .woocommerce-product-rating,
.tbay-hide-rating .wpshare247-star-rating {
    display: none !important;
}
.tbay-hide-price .wpshare247-price-wrap,
.tbay-hide-price .price,
.tbay-hide-price span.price {
    display: none !important;
}
.tbay-hide-quickview .wpshare247-product-overlay-slideup,
.tbay-hide-quickview .wpshare247-btn-slideup,
.tbay-hide-quickview .wpshare247-quickview-trigger {
    display: none !important;
}
.tbay-hide-actions .wpshare247-product-actions {
    display: none !important;
}
.tbay-hide-cart .wpshare247-btn-cart,
.tbay-hide-cart .add_to_cart_button,
.tbay-hide-cart a.ajax_add_to_cart {
    display: none !important;
}
.tbay-hide-detail .wpshare247-btn-detail {
    display: none !important;
}

/* ==========================================================================
   10. STYLE CHO TRANG CHI TIẾT SẢN PHẨM & SINGLE PRODUCT BUILDER
   ========================================================================== */
.tbay-single-product-wrap {
    padding: 30px 0 60px 0;
}
.tbay-single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 45px;
    align-items: start;
}
@media (max-width: 900px) {
    .tbay-single-product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.tbay-product-gallery-main {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tbay-product-gallery-main img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.tbay-product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.tbay-product-thumb-item {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}
.tbay-product-thumb-item:hover,
.tbay-product-thumb-item.active {
    border-color: #0284c7;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
    transform: translateY(-2px);
}
.tbay-product-thumb-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    display: block;
}
