/**
 * Artisan Commerce - Mobile Single Product Styles (Full Parity & WhatsApp Integration)
 * Location: /assets/css/sections-mobile/mobile-single-product.css
 */

/* ==========================================================================
   1. MOBILE CONTAINER & TOP ROW
   ========================================================================== */
.tech-luxury-mobile-layout {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: #ffffff;
    padding-bottom: 95px;
    font-family: 'Montserrat', sans-serif;
    color: #1e293b;
}

.tech-mobile-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tech-desktop-category-tag a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #573035;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.tech-stock-status {
    font-size: 11px;
}

/* ==========================================================================
   2. CAROUSEL & ZOOM HINT
   ========================================================================== */
.tech-media-carousel-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #fafafa;
    overflow: hidden;
    touch-action: pan-y;
}

.tech-media-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.tech-carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.tech-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-media-wrapper img,
.tech-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-mobile-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    border: none;
    border-radius: 15px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.tech-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 5;
}

.tech-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(87, 48, 53, 0.3);
    transition: all 0.25s ease;
}

.tech-dot.active {
    width: 18px;
    border-radius: 10px;
    background-color: #573035;
}

/* ==========================================================================
   3. DETAILS, URGENCY & WHATSAPP DIRECT BUTTON
   ========================================================================== */
.tech-product-meta-details-stack {
    padding: 16px 18px;
}

.tech-artisan-title {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #573035;
    margin: 0 0 6px 0;
}

.tech-price-display-wrapper {
    font-size: 20px;
    font-weight: 700;
    color: #FF4F00;
    margin-bottom: 12px;
}

.tech-urgency-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFF5F2;
    border: 1px solid rgba(255, 79, 0, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    color: #C23B00;
    font-weight: 600;
    margin-bottom: 14px;
}

.tech-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #FF4F00;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 79, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 79, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 79, 0, 0); }
}

.tech-mobile-short-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 14px;
}

.tech-visualizer-trigger-btn {
    width: 100%;
    background: #FAF8F6;
    border: 1px dashed #EBC1C0;
    color: #573035;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    cursor: pointer;
}

/* WHATSAPP DIRECT BUTTON */
.tech-mobile-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    background: #25D366;
    color: #ffffff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    margin-bottom: 14px;
}

.tech-bundle-card {
    background: #FAF8F6;
    border: 1px solid rgba(211, 133, 170, 0.25);
    border-radius: 10px;
    padding: 12px;
}

.tech-bundle-title {
    font-size: 12px;
    font-weight: 700;
    color: #573035;
    margin-bottom: 4px;
}

/* ==========================================================================
   4. TABS & SPECS ENGINE
   ========================================================================== */
.tech-mobile-tabs-wrapper {
    padding: 0 18px 20px 18px;
}

.tech-tabs-header-pill {
    display: flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 14px;
}

.tech-tab-link {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
}

.tech-tab-link.active {
    background: #ffffff;
    color: #573035;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.tech-tab-panel {
    display: none;
}

.tech-tab-panel.active {
    display: block;
}

.tech-artisan-badge-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FDF4F4;
    border: 1px solid #EBC1C0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    color: #573035;
    margin-bottom: 10px;
}

.tech-formatted-content {
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 14px;
}

.tech-artisan-meta-list {
    background: #fafafa;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 11px;
}

.tech-artisan-meta-list .meta-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.tech-artisan-meta-list .meta-item:last-child {
    border-bottom: none;
}

.tech-spec-table {
    background: #fafafa;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: #64748b;
}

.spec-value {
    font-weight: 600;
    color: #1e293b;
}

.tech-care-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.care-card {
    display: flex;
    gap: 10px;
    background: #fafafa;
    padding: 10px;
    border-radius: 8px;
    align-items: center;
}

.care-card h5 {
    margin: 0 0 2px 0;
    font-size: 12px;
    color: #1e293b;
}

.care-card p {
    margin: 0;
    font-size: 11px;
    color: #64748b;
}

/* ==========================================================================
   5. STICKY DUAL TRIGGER BAR & DRAWER
   ========================================================================== */
.tech-fixed-trigger-dock-bar {
    position: fixed;
    bottom: 90%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 10px 14px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    z-index: 99;
	border-radius: 20px;
}

.tech-mobile-action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-primary-trigger-btn {
    flex: 1;
    height: 46px;
    background: #573035;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.tech-sticky-wa-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #25D366;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.tech-drawer-backdrop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    z-index: 999;
}

.tech-drawer-backdrop-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tech-glass-slide-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-glass-slide-drawer.open {
    transform: translateY(0);
}

.tech-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.tech-drawer-mini-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-drawer-mini-meta .mini-thumb img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.tech-drawer-mini-meta .mini-details h4 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}

.tech-drawer-close-x {
    background: #f1f5f9;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.tech-drawer-body-form-scroller {
    padding: 18px;
    overflow-y: auto;
}

/* ==========================================================================
   6. FULLSCREEN PINCH & TAP ZOOM MODAL
   ========================================================================== */
.tech-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.tech-zoom-modal.open {
    opacity: 1;
    visibility: visible;
}

.tech-zoom-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    z-index: 10;
    cursor: pointer;
}

.tech-zoom-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

.tech-zoom-stage img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* ==========================================================================
   7. INLINE STAGE ZOOM & GLASSMORPHIC EXTENSIONS
   ========================================================================== */
.tech-inline-zoom-container {
    position: relative;
    overflow: hidden;
    touch-action: pan-x pan-y;
    cursor: zoom-in;
}

.tech-inline-zoom-container.zoomed {
    cursor: zoom-out;
}

.tech-inline-zoom-img {
    transition: transform 0.25s ease-out;
    transform-origin: center center;
    will-change: transform;
}

.tech-mobile-zoom-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(87, 48, 53, 0.75);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* DYNAMIC PAIRING CARDS (COMPLETE THE LOOK) */
.tech-bundle-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.tech-pairing-products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-pairing-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.tech-pairing-item img {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
}

.pairing-details {
    flex: 1;
}

.pairing-details h6 {
    margin: 0 0 2px 0;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.pairing-price {
    font-size: 12px;
    font-weight: 700;
    color: #FF4F00;
}

.tech-pairing-add-btn {
    background: #573035;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

/* CARE GUIDE PREMIUM UI */
.tech-care-section-title {
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    color: #573035;
    margin-bottom: 4px;
}

.tech-care-intro {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.4;
}

.care-icon {
    font-size: 20px;
}

/* SCALE MODAL UI */
.tech-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.tech-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.tech-modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tech-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tech-modal-header h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 16px;
    color: #573035;
}

.tech-close-btn {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

/* ==========================================================================
   8. WOOCOMMERCE DEEP REVIEW OVERHAUL (PREMIUM GLASSMORPHIC DEEP TREE)
   ========================================================================== */

/* Main Reviews Wrapper */
.tech-comments-form-wrap #reviews,
.tech-comments-form-wrap #comments {
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
}

/* Hide Unwanted Default WooCommerce Text Snippets */
.tech-comments-form-wrap .woocommerce-Reviews-title,
.tech-comments-form-wrap .comment-notes,
.tech-comments-form-wrap .must-log-in {
    display: none !important;
}

/* Noreviews Banner */
.tech-comments-form-wrap .woocommerce-noreviews {
    background: #FAF8F6;
    border: 1px dashed rgba(211, 133, 170, 0.35);
    color: #573035;
    font-size: 12px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    text-align: center;
}

/* Review Form Container Card */
.tech-comments-form-wrap #review_form_wrapper {
    background: #FAF8F6;
    border: 1px solid rgba(211, 133, 170, 0.25);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 4px 15px rgba(87, 48, 53, 0.03);
}

/* Form Reply Title */
.tech-comments-form-wrap #reply-title {
    font-family: Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #573035 !important;
    margin: 0 0 12px 0 !important;
    display: block !important;
    border-bottom: 1px dashed rgba(211, 133, 170, 0.3);
    padding-bottom: 8px;
}

/* Interactive Star Rating Selection */
.tech-comments-form-wrap .comment-form-rating {
    margin-bottom: 14px;
}

.tech-comments-form-wrap .comment-form-rating label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.tech-comments-form-wrap .comment-form-rating .stars {
    display: flex !important;
    gap: 4px;
}

.tech-comments-form-wrap .comment-form-rating .stars a {
    display: inline-block !important;
    font-size: 20px !important;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.tech-comments-form-wrap .comment-form-rating .stars a:hover,
.tech-comments-form-wrap .comment-form-rating .stars a.active {
    color: #FFB800 !important;
}

/* Input Fields & Textarea Styling */
.tech-comments-form-wrap .comment-form-comment,
.tech-comments-form-wrap .comment-form-author,
.tech-comments-form-wrap .comment-form-email {
    margin-bottom: 12px;
}

.tech-comments-form-wrap label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 4px;
}

.tech-comments-form-wrap input[type="text"],
.tech-comments-form-wrap input[type="email"],
.tech-comments-form-wrap textarea {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #1e293b !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.tech-comments-form-wrap input[type="text"]:focus,
.tech-comments-form-wrap input[type="email"]:focus,
.tech-comments-form-wrap textarea:focus {
    border-color: #573035 !important;
    box-shadow: 0 0 0 3px rgba(87, 48, 53, 0.1) !important;
}

.tech-comments-form-wrap textarea {
    min-height: 85px !important;
    resize: vertical !important;
}

/* Save Cookies Checkbox */
.tech-comments-form-wrap .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 14px;
}

.tech-comments-form-wrap .comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #573035;
}

/* Submit Button Overhaul */
.tech-comments-form-wrap input[type="submit"],
.tech-comments-form-wrap #submit {
    width: 100% !important;
    height: 46px !important;
    background: #573035 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(87, 48, 53, 0.2) !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
}

.tech-comments-form-wrap input[type="submit"]:active,
.tech-comments-form-wrap #submit:active {
    transform: scale(0.98) !important;
    background: #3e2226 !important;
}

/* Existing Comment List Items */
.tech-comments-form-wrap ol.commentlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-comments-form-wrap ol.commentlist li {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tech-comments-form-wrap ol.commentlist .comment_container {
    display: flex;
    gap: 12px;
}

.tech-comments-form-wrap ol.commentlist img.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.tech-comments-form-wrap .comment-text {
    flex: 1;
}

.tech-comments-form-wrap .comment-text .meta {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.tech-comments-form-wrap .comment-text .description {
    font-size: 12px;
    line-height: 1.5;
    color: #475569;
}