/* Modern Product Detail Page Styles - Premium Refinement */
:root {
    --pd-primary: var(--tb-primary, #111827);
    --pd-accent: var(--tb-primary, #2563eb);
    --pd-accent-hover: var(--tb-primary-hover, #1d4ed8);
    --pd-success: #059669;
    --pd-error: #dc2626;
    --pd-gray-50: #f9fafb;
    --pd-gray-100: #f3f4f6;
    --pd-gray-200: #e5e7eb;
    --pd-gray-400: #9ca3af;
    --pd-gray-600: #4b5563;
    --pd-gray-900: #111827;
    --pd-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --pd-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --pd-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --pd-radius-sm: 6px;
    --pd-radius-md: 12px;
    --pd-radius-lg: 20px;
}

.product-detail-page {
    min-height: 100vh;
    background: #fff;
}

.product-page {

    margin: 10px auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: pdFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes pdFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

/* Three Column Layout Overrides */
.product-main-threecol {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 340px;
    gap: 32px;
}

/* Gallery Styles */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;

}

.main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid var(--pd-gray-100);
    border-radius: var(--pd-radius-md);
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image:hover {
    border-color: var(--pd-gray-200);
    box-shadow: var(--pd-shadow-lg);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.03);
}

.main-image-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: none;
    /* Mobile only */
}

.main-image-actions .btn-favorite {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--pd-shadow-md);
    border: 1px solid var(--pd-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-gray-400);
    cursor: pointer;
    font-size: 18px;
}

.main-image-actions .btn-favorite.active {
    color: #ef4444;
    background: #fff;
}

.thumbnail-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
}

.thumbnail-grid::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    flex: 0 0 80px;
    aspect-ratio: 1 / 1;
    border-radius: var(--pd-radius-sm);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
    padding: 2px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--pd-radius-sm) - 2px);
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pd-gray-400);
    margin-bottom: 24px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.breadcrumb-nav::-webkit-scrollbar {
    display: none;
}

.breadcrumb-nav a {
    color: var(--pd-gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--pd-accent);
}

.breadcrumb-nav .separator {
    color: var(--pd-gray-300);
    font-size: 10px;
    display: flex;
    align-items: center;
    margin-top: 1px;
}

.breadcrumb-nav .current {
    color: var(--pd-gray-400);
    font-weight: 500;
}

.thumbnail.active {
    border-color: var(--pd-accent);
    box-shadow: var(--pd-shadow-md);
}

.thumbnail:hover:not(.active) {
    border-color: var(--pd-gray-200);
}

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

.product-brand {
    font-size: 14px;
    font-weight: 600;
    color: var(--pd-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-info h1 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--pd-gray-900);
    line-height: 1.2;
    margin: 0;
}

.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.rating-score {
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-gray-900);
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 13px;
    line-height: 1;
}

.rating-count {
    font-size: 13px;
    color: var(--pd-gray-500);
    text-decoration: none;
    line-height: 1.4;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.rating-count:hover {
    color: var(--pd-accent);
    text-decoration: underline;
}

.rating-camera {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--pd-gray-200);
    background: #fff;
    color: var(--pd-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 4px;
}

.rating-camera:hover {
    border-color: var(--pd-accent);
    color: var(--pd-accent);
    background: #f8fafc;
}

.rating-camera i {
    font-size: 12px;
}

/* Price Box */
.price-section {
    background: var(--pd-gray-50);
    padding: 24px;
    border-radius: var(--pd-radius-md);
    border: 1px solid var(--pd-gray-200);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.final-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--pd-gray-900);
}

.old-price {
    font-size: 18px;
    color: var(--pd-gray-400);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--pd-error);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--pd-radius-sm);
    font-size: 14px;
    font-weight: 700;
}

.tax-label {
    font-size: 12px;
    color: var(--pd-gray-400);
    font-weight: 400;
}

/* Variant Selection */
.product-options-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--pd-gray-900);
}

.option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Button Options */
.option-button {
    min-width: 48px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-sm);
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--pd-gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.option-button:hover:not(:disabled) {
    border-color: var(--pd-gray-400);
}

.option-button.selected {
    border-color: var(--pd-accent);
    background: var(--pd-accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.option-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--pd-gray-100);
    position: relative;
    overflow: hidden;
}

.option-button:disabled::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 1px;
    background: var(--pd-gray-400);
    transform: rotate(-15deg);
}

/* Color Options */
.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--pd-gray-200);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.color-option:hover:not(:disabled) {
    transform: scale(1.1);
}

.color-option.selected {
    box-shadow: 0 0 0 2px var(--pd-accent);
}

/* Buy Container */
.buy-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-selector label {
    font-size: 14px;
    font-weight: 600;
    color: var(--pd-gray-700);
    min-width: 45px;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-sm);
    overflow: hidden;
    height: 52px;
}

.qty-btn {
    width: 40px;
    height: 100%;
    border: none;
    background: var(--pd-gray-100);
    color: var(--pd-gray-900);
    cursor: pointer;
}

.qty-input {
    width: 60px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

/* Action Buttons */
.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.btn-primary {
    height: 56px;
    background: var(--pd-primary);
    color: #fff;
    border: none;
    border-radius: var(--pd-radius-sm);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: var(--pd-shadow-lg);
}

/* Purchase Area Wrapper */
.product-purchase-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin: 32px 0;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 450px;
}

.action-buttons .btn-add-cart {
    flex: 1;
    height: 52px;
    background: var(--pd-primary);
    color: #fff;
    border: none;
    border-radius: var(--pd-radius-sm);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-favorite {
    width: 52px;
    height: 52px;
    border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-sm);
    background: #fff;
    color: var(--pd-gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-favorite.active {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
}

/* Delivery Box */
.estimated-delivery-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--pd-radius-sm);
    color: #166534;
    font-size: 14px;
}

.estimated-delivery-box i {
    font-size: 18px;
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--pd-gray-100);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--pd-gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-accent);
    font-size: 20px;
}

.feature-text strong {
    display: block;
    font-size: 13px;
    color: var(--pd-gray-900);
}

.feature-text span {
    font-size: 12px;
    color: var(--pd-gray-600);
}

/* BuyBox (Three Column Area) */
.buybox {
    position: sticky;
    top: 100px;
}

.buybox-inner {
    background: #fff;
    border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-md);
    padding: 24px;
    box-shadow: var(--pd-shadow-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.buybox-price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--pd-gray-900);
    display: block;
}

.buybox-add-cart {
    width: 100%;
    height: 52px;
    background: var(--pd-accent);
    color: #fff;
    border: none;
    border-radius: var(--pd-radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.buybox-buy-now {
    width: 100%;
    height: 52px;
    background: var(--pd-gray-900);
    color: #fff;
    border: none;
    border-radius: var(--pd-radius-sm);
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

/* Tabs Area */
.product-tabs-wrapper {
    margin-top: 64px;
}

.tabs-navigation {
    display: flex;
    border-bottom: 2px solid var(--pd-gray-100);
    gap: 32px;
}

.product-tab-btn {
    padding: 16px 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--pd-gray-600);
    cursor: pointer;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.product-tab-btn.active {
    color: var(--pd-accent);
    border-bottom-color: var(--pd-accent);
}

.tabs-content-area {
    padding: 32px 0;
}

.product-tab-pane {
    display: none;
}

.product-tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Better Description Styling */
.description-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--pd-gray-600);
    max-height: 400px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.description-content.expanded {
    max-height: none;
}

.description-content:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #fff);
}

.btn-read-more {
    margin-top: 16px;
    background: none;
    border: none;
    color: var(--pd-accent);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Premium Image Modal */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.product-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.product-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    display: grid;
    grid-template-columns: 1fr 300px;
    background: #fff;
    border-radius: var(--pd-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 10000;
}

.product-modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* Reduced padding for mobile by default, will override for desktop if needed */
    overflow: hidden;
    background: #fff;
    flex: 1;
}

.product-modal-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid var(--pd-gray-200);
    border-radius: 50%;
    display: none;
    /* Only visible on mobile */
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: var(--pd-shadow-md);
    cursor: pointer;
    color: var(--pd-gray-900);
}

.product-modal-image-wrapper {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.1s ease-out;
}

.product-modal-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    user-select: none;
}

.product-modal-sidebar {
    background: #fff;
    border-left: 1px solid var(--pd-gray-100);
    color: var(--pd-gray-900);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.product-modal-close {
    background: var(--pd-gray-100);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--pd-gray-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.product-modal-zoom-controls {
    display: flex;
    gap: 8px;
}

.product-modal-zoom-btn {
    flex: 1;
    height: 40px;
    background: #fff;
    border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-sm);
    color: var(--pd-gray-900);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.product-modal-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.product-modal-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    overflow-y: auto;
}

.product-modal-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--pd-radius-sm);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

.product-modal-thumb.active {
    border-color: var(--pd-accent);
}

.product-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: #fff;
    border: 1px solid var(--pd-gray-200);
    border-radius: 50%;
    color: var(--pd-gray-900);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: var(--pd-shadow-md);
}

.product-modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    z-index: 11;
}

.product-modal-nav:hover {
    background: var(--pd-gray-100);
    border-color: var(--pd-gray-300);
}

.product-modal-prev {
    left: 20px;
}

.product-modal-next {
    right: 20px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-main-threecol {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .product-page {
        margin: 10px auto;
        padding: 0 10px;
    }
}

@media (min-width: 769px) {
    .product-modal-body {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .product-modal-container {
        grid-template-columns: 1fr;
        height: 100vh;
        width: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }

    .product-modal-sidebar {
        display: none;
    }

    .product-modal-mobile-close {
        display: flex;
        top: 15px;
        right: 15px;
    }

    .product-modal-body {
        padding: 40px 10px;
        /* Space for top close button */
    }

    .product-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.8);
        /* Semi-transparent background */
    }

    .product-modal-prev {
        left: 5px;
    }

    .product-modal-next {
        right: 5px;
    }

    .product-modal-counter {
        bottom: 15px;
    }
}

/* Related Products Section */
.related-section {
    margin-top: 4px;
    padding-top: 48px;
    border-top: 1px solid var(--pd-gray-100);
}

.related-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

/* Specific grid for product detail page to avoid shop conflicts */
.product-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.product-page .product-card {
    background: #fff;
    border-radius: var(--pd-radius-md);
    border: 1px solid var(--pd-gray-100);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-page .product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--pd-shadow-lg);
    border-color: var(--pd-gray-200);
}

.product-page .product-card-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--pd-gray-50);
}

.product-page .product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-page .product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-page .product-infox {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-page .product-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--pd-gray-900);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
}

.product-page .product-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.product-page .product-card-price .current {
    font-size: 18px;
    font-weight: 800;
    color: var(--pd-accent);
}

.product-page .product-card-price .old {
    font-size: 13px;
    color: var(--pd-gray-400);
    text-decoration: line-through;
}

/* Animations & Micro-interactions */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.4s ease-in-out;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .product-info h1 {
        font-size: 24px;
    }

    .main-image {
        max-height: 420px !important;
        width: 100% !important;
    }

    .main-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .final-price {
        font-size: 28px;
    }

    /* Mobile Purchase Layout Fix */
    .product-purchase-area {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin: 20px 0 !important;
    }

    .quantity-selector {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    .quantity-selector label {
        display: none !important;
    }

    .qty-controls {
        height: 48px !important;
        width: 110px !important;
        display: flex !important;
    }

    .qty-btn {
        width: 36px !important;
        flex: 0 0 36px !important;
        font-size: 18px !important;
    }

    .qty-input {
        width: 38px !important;
        flex: 1 !important;
        min-width: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    .action-buttons {
        flex: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        align-items: center !important;
        max-width: none !important;
    }

    .action-buttons .btn-add-cart {
        height: 48px !important;
        padding: 0 16px !important;
        font-size: 14px !important;
        flex: 1 !important;
    }

    .action-buttons .btn-favorite,
    .buybox-favorite {
        display: none !important;
    }

    .main-image-actions {
        display: block !important;
    }
}