    /* product-page.css */
    /* Base Styles - Reset and Typography */

    /* * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
        line-height: 1.7;
        color: #2c3e50;
        background-color: #fafbfc;
        font-weight: 400;
        overflow-x: hidden;
    } */

    .product-page {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* Header Styles */
    .page-header {
        background: #ffffff;
        border-bottom: 1px solid #e8ecef;
        padding: 1rem 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(8px);
    }

    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .company-name {
        font-size: 1.5rem;
        font-weight: 500;
        color: #1a6d8d;
        letter-spacing: -0.5px;
    }

    .navigation {
        display: flex;
        gap: 2rem;
    }

    .navigation a {
        text-decoration: none;
        color: #4a5568;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.2s ease;
        padding: 0.5rem 0;
        position: relative;
    }

    .navigation a:hover {
        color: #1a6d8d;
    }

    .navigation a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #1a6d8d;
        transition: width 0.3s ease;
    }

    .navigation a:hover::after {
        width: 100%;
    }

    /* Breadcrumb */
    .breadcrumb {
        max-width: 1200px;
        margin: 0 auto 2rem;
        padding: 0 2rem;
        font-size: 0.85rem;
        color: #718096;
    }

    .breadcrumb a {
        color: #718096;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .breadcrumb a:hover {
        color: #1a6d8d;
    }

    .separator {
        margin: 0 0.5rem;
        color: #cbd5e0;
    }

    .current {
        color: #2c3e50;
        font-weight: 500;
    }

    /* Main Product Container */
    .product-container {
        flex: 1;
        max-width: 1800px;
        margin: 0 auto;
        padding: 0 2rem;
        width: 100%;
    }

    /* Cart Section Anchor */
    .cart-section-anchor {
        height: 1px;
        margin: 2rem 0;
    }

    /* New Vertical Product Details */
    .product-details-vertical {
        background: #ffffff;
        border-radius: 0px;
        box-shadow: 0 2px 16px rgba(26, 109, 141, 0.08);
        margin-bottom: 3rem;
        overflow: hidden;
        position: relative;
        border: 1px solid #e8ecef;
    }

    /* Sticky Navigation Menu */
    .details-menu {
        background: #ffffff;
        border-bottom: 1px solid #e8ecef;
        transition: all 0.3s ease;
        z-index: 999;
        position: relative;
    }

    .details-menu.sticky {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #e8ecef;
        box-shadow: 0 4px 20px rgba(26, 109, 141, 0.1);
        z-index: 998;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-8px);
            opacity: 0.9;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .menu-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2rem;
        max-width: 1200px;
        margin: 0 auto;
        height: 70px;
    }

    /* Doctor Trust Element */
    .doctor-trust {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.5rem 0;
    }

    .doctor-image-container {
        position: relative;
        width: 44px;
        height: 44px;
    }

    .doctor-image {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #1a6d8d;
        background: #f8fafc;
    }

    .verified-icon {
        position: absolute;
        bottom: -2px;
        right: -2px;
        background: #1a6d8d;
        color: white;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        border: 2px solid white;
    }

    .doctor-info {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    .proof-read-by {
        font-size: 0.75rem;
        color: #718096;
        font-weight: 400;
        letter-spacing: 0.5px;
        text-transform: lowercase;
    }

    .doctor-name {
        font-size: 0.95rem;
        font-weight: 600;
        color: #2c3e50;
        letter-spacing: -0.3px;
    }

    /* Menu Items Container */
    .menu-items-container {
        display: flex;
        align-items: center;
    }

    .menu-item {
        background: none;
        border: none;
        padding: 1.2rem 2rem;
        color: #4a5568;
        font-size: 0.95rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        border-bottom: 2px solid transparent;
    }

    .menu-item:hover {
        color: #1a6d8d;
        background: rgba(26, 109, 141, 0.04);
    }

    .menu-item.active {
        color: #1a6d8d;
        border-bottom-color: #1a6d8d;
        font-weight: 600;
    }

    .menu-item.active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #1a6d8d;
    }

    /* Related Products */
    .related-products {
        margin-bottom: 4rem;
    }

    .related-items {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .related-placeholder {
        background: #ffffff;
        border: 2px dashed #e8ecef;
        border-radius: 0px;
        padding: 4rem 2rem;
        text-align: center;
        color: #a0aec0;
        font-size: 1.1rem;
    }

    /* Footer */
    .page-footer {
        background: #1a2935;
        color: #ffffff;
        margin-top: auto;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 3rem 2rem;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
    }

    .footer-section h3 {
        color: #ffffff;
        margin-bottom: 1rem;
        font-weight: 600;
        font-size: 1.3rem;
    }

    .footer-section h4 {
        color: #e2e8f0;
        margin-bottom: 1.2rem;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .footer-section p {
        color: #cbd5e0;
        line-height: 1.7;
        margin-bottom: 0.5rem;
    }

    .footer-section a {
        color: #cbd5e0;
        text-decoration: none;
        display: block;
        margin-bottom: 0.7rem;
        transition: color 0.3s ease;
        font-size: 0.95rem;
    }

    .footer-section a:hover {
        color: #63b3ed;
    }

    .footer-bottom {
        border-top: 1px solid #2d3748;
        padding: 1.5rem 2rem;
        text-align: center;
        color: #a0aec0;
        font-size: 0.9rem;
    }

    /* Enhanced Responsive Design */
    @media (max-width: 1200px) {
        .header-content,
        .breadcrumb,
        .product-container,
        .menu-nav,
        .footer-content {
            max-width: 100%;
            padding: 0 1.5rem;
        }
        
        .menu-item {
            padding: 1.2rem 1.5rem;
        }
    }

    @media (max-width: 992px) {
        .header-content {
            padding: 0 1rem;
        }
        
        .company-name {
            font-size: 1.3rem;
        }
        
        .navigation {
            gap: 1.5rem;
        }
        
        .navigation a {
            font-size: 0.85rem;
        }
        
        .breadcrumb {
            padding: 0 1rem;
            margin-bottom: 1.5rem;
        }
        
        .product-container {
            padding: 0 1rem;
        }
        
        .menu-nav {
            padding: 1.5rem;
        }
        
        .menu-item {
            padding: 1rem 1.2rem;
            font-size: 0.9rem;
        }
        
        .related-items {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        
        .footer-content {
            padding: 2rem 1.5rem;
            gap: 2rem;
        }
    }

    @media (max-width: 768px) {
        .page-header {
            padding: 0.8rem 0;
        }
        
        .header-content {
            flex-direction: column;
            gap: 1rem;
            padding: 0 1rem;
        }

        .navigation {
            gap: 1.2rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .navigation a {
            font-size: 0.8rem;
            padding: 0.3rem 0;
        }

        .breadcrumb {
            font-size: 0.8rem;
            margin-bottom: 1rem;
            padding: 0 0.5rem;
        }

        .product-container {
            padding: 0 0.5rem;
        }

        .menu-nav {
            flex-direction: column;
            padding: 1rem;
            height: auto;
            gap: 1rem;
        }

        .doctor-trust {
            justify-content: center;
            text-align: center;
        }

        .menu-items-container {
            flex-direction: column;
            width: 100%;
        }

        .menu-item {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #e8ecef;
            border-right: none;
            width: 100%;
            text-align: left;
            justify-content: flex-start;
        }

        .menu-item.active::after {
            left: 1.5rem;
            transform: none;
        }

        .footer-content {
            grid-template-columns: 1fr;
            text-align: center;
            gap: 2rem;
            padding: 1.5rem 1rem;
        }

        /* Fix for sticky menu on mobile */
        .details-menu.sticky {
            top: 70px;
        }
        
        .related-items {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        .related-placeholder {
            padding: 3rem 1rem;
            font-size: 1rem;
        }
    }

    @media (max-width: 576px) {
        .page-header {
            padding: 0.6rem 0;
        }
        
        .header-content {
            padding: 0 0.5rem;
        }
        
        .company-name {
            font-size: 1.2rem;
        }
        
        .navigation {
            gap: 1rem;
        }
        
        .navigation a {
            font-size: 0.75rem;
        }
        
        .breadcrumb {
            font-size: 0.75rem;
            padding: 0 0.3rem;
        }
        
        .separator {
            margin: 0 0.3rem;
        }
        
        .product-container {
            padding: 0 0.3rem;
        }
        
        .doctor-trust {
            flex-direction: column;
            text-align: center;
            gap: 0.5rem;
        }
        
        .doctor-image-container {
            width: 40px;
            height: 40px;
        }
        
        .doctor-name {
            font-size: 0.9rem;
        }
        
        .proof-read-by {
            font-size: 0.7rem;
        }
        
        .menu-item {
            padding: 0.8rem 1rem;
            font-size: 0.85rem;
        }
        
        .related-products {
            margin-bottom: 2rem;
        }
        
        .related-placeholder {
            padding: 2rem 1rem;
            font-size: 0.9rem;
        }
        
        .footer-content {
            padding: 1rem 0.5rem;
            gap: 1.5rem;
        }
        
        .footer-section h3 {
            font-size: 1.1rem;
        }
        
        .footer-section h4 {
            font-size: 1rem;
        }
        
        .footer-section p,
        .footer-section a {
            font-size: 0.85rem;
        }
        
        .footer-bottom {
            padding: 1rem 0.5rem;
            font-size: 0.8rem;
        }
    }

    @media (max-width: 480px) {
        .navigation {
            gap: 0.8rem;
        }
        
        .navigation a {
            font-size: 0.7rem;
        }
        
        .company-name {
            font-size: 1.1rem;
        }
        
        .breadcrumb {
            font-size: 0.7rem;
        }
        
        .menu-nav {
            padding: 0.8rem;
        }
        
        .doctor-image-container {
            width: 36px;
            height: 36px;
        }
        
        .verified-icon {
            width: 14px;
            height: 14px;
            font-size: 0.6rem;
        }
        
        .menu-item {
            padding: 0.7rem 0.8rem;
            font-size: 0.8rem;
        }
        
        .related-placeholder {
            padding: 1.5rem 0.8rem;
            font-size: 0.85rem;
        }
    }

    @media (max-width: 320px) {
        .header-content {
            padding: 0 0.3rem;
        }
        
        .navigation {
            gap: 0.5rem;
        }
        
        .navigation a {
            font-size: 0.65rem;
        }
        
        .breadcrumb {
            padding: 0 0.2rem;
        }
        
        .product-container {
            padding: 0 0.2rem;
        }
        
        .menu-nav {
            padding: 0.5rem;
        }
        
        .menu-item {
            padding: 0.6rem 0.5rem;
        }
    }

    /* Japanese Design Refinements */
    .section-title {
        letter-spacing: -0.5px;
        font-weight: 600;
    }

    /* Enhanced focus states for accessibility */
    button:focus,
    a:focus {
        outline: 2px solid #1a6d8d;
        outline-offset: 2px;
        border-radius: 2px;
    }

    /* Smooth scroll behavior */
    html {
        scroll-behavior: smooth;
    }

    /* Placeholder styles for component sections */
    .review-section-placeholder,
    .product-description-placeholder {
        margin: 2rem 0;
    }

    /* Component placeholders visual styling */
    .product-main-placeholder > div,
    .review-section-placeholder > div,
    .product-description-placeholder > div {
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 500;
    }

    /* Touch device optimizations */
    @media (hover: none) and (pointer: coarse) {
        .navigation a:hover::after {
            width: 0;
        }
        
        .menu-item:hover {
            background: none;
            color: inherit;
        }
    }

    /* High DPI screen optimizations */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .doctor-image {
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
        }
    }

    /* Print styles */
    @media print {
        .page-header,
        .breadcrumb,
        .details-menu,
        .related-products,
        .page-footer {
            display: none;
        }
        
        .product-container {
            max-width: none;
            padding: 0;
        }
    }


/* ==================================================================================================================== */
/* ==================================================================================================================== */
/* ==================================================================================================================== */
/* ==================================================================================================================== */



/* --- styles for ProductMain --- */

    /* Product Main Section - Compact 3 Column Layout */
    .product-main {
        display: grid;
        grid-template-columns: 1fr 1.2fr 0.9fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
        background: #fff;
        padding: 1.2rem;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        min-height: 520px;
        align-items: start;
    }

    /* Icon System */
    .icon-img {
        width: 20px;
        height: 20px;
        vertical-align: middle;
        transition: transform 0.2s ease;
    }

    /* Icon Containers */
    .trust-icon,
    .shipping-icon,
    .safety-icon,
    .consult-icon,
    .category-tags-icon,
    .delivery-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .trust-icon {
        background: #f1f8e9;
    }

    .shipping-icon,
    .delivery-icon {
        background: #e3f2fd;
    }

    .safety-icon {
        background: #fff3e0;
    }

    .consult-icon {
        background: none;
    }

    .category-tags-icon {
        background: #fff8e1;
    }

    /* Icon Colors */
    .trust-icon .icon-img {
        filter: invert(56%) sepia(12%) saturate(1752%) hue-rotate(71deg) brightness(95%) contrast(87%);
    }

    .shipping-icon .icon-img,
    .delivery-icon .icon-img {
        filter: invert(39%) sepia(98%) saturate(846%) hue-rotate(169deg) brightness(96%) contrast(98%);
    }

    .safety-icon .icon-img {
        filter: invert(53%) sepia(49%) saturate(3530%) hue-rotate(1deg) brightness(102%) contrast(103%);
    }

    .consult-icon .icon-img {
        filter: invert(23%) sepia(31%) saturate(1926%) hue-rotate(195deg) brightness(94%) contrast(87%);
    }

    .category-tags-icon .icon-img {
        filter: invert(56%) sepia(96%) saturate(383%) hue-rotate(360deg) brightness(97%) contrast(94%);
    }

    /* Large Icon Variants */
    .consult-doctor-btn .icon-img,
    .safety-badge .icon-img {
        width: 28px;
        height: 28px;
    }

    /* Product Gallery */
    .product-gallery {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .main-image {
        width: 100%;
        border: 1px solid #f5f5f5;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
        cursor: zoom-in;
    }

    .product-image {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .product-image:hover {
        transform: scale(1.01);
    }

    .image-thumbnails {
        display: flex;
        gap: 0.4rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .thumbnail {
        border: 1px solid #f0f0f0;
        border-radius: 4px;
        padding: 1px;
        background: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .thumbnail:hover,
    .thumbnail.active {
        border-color: #4a90a4;
        transform: translateY(-1px);
    }

    .thumbnail img {
        width: 45px;
        height: 45px;
        object-fit: cover;
        border-radius: 3px;
    }

    /* Product Info - Center Column */
    .product-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .product-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .product-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #2c3e50;
        line-height: 1.3;
        margin: 0;
        letter-spacing: -0.2px;
        flex: 1;
    }

    .manufacturer-badge {
        background: #4a90a4;
        color: white;
        padding: 0.25rem 0.6rem;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 500;
        white-space: nowrap;
    }

    /* Product Meta Section */
    .product-meta-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.8rem;
        padding: 0.6rem 0;
        border-bottom: 1px solid #f8f9fa;
    }

    .rating-section {
        flex: 1;
    }

    .rating-display {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .star-rating {
        display: flex;
        gap: 1px;
    }

    .star {
        background: linear-gradient(135deg, #FFD700, #FFA000);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        display: inline-block;
    }

    .star.empty {
        background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .star.half {
        position: relative;
    }

    .star.half::before {
        content: '★';
        position: absolute;
        width: 50%;
        overflow: hidden;
        background: linear-gradient(135deg, #FFD700, #FFA000);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .rating-text {
        font-size: 0.8rem;
        color: #666;
        font-weight: 500;
    }

    .stock-info {
        font-size: 0.8rem;
    }

    .in-stock {
        color: #2e7d32;
        font-weight: 500;
        background: #f1f8e9;
        padding: 0.25rem 0.6rem;
        border-radius: 0px;
    }

    .out-of-stock {
        color: #d32f2f;
        font-weight: 500;
        background: #ffebee;
        padding: 0.25rem 0.6rem;
        border-radius: 8px;
    }

    /* Shipping Information */
    .shipping-info {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem;
        background: #fafafa;
        border-radius: 0px;
        border: 1px solid #f0f0f0;
        font-size: 0.8rem;
    }

    .shipping-text {
        color: #666;
        font-weight: 500;
        margin-left: 0.3rem;
    }

    .product-description {
        color: #666;
        line-height: 1.5;
        font-size: 0.85rem;
        margin: 0;
    }

    /* Category Tags Section */
    .category-tags-section {
        padding: 0.8rem;
        background: #fafafa;
        border: 1px solid #f0f0f0;
        border-radius: 0px;
    }

    .category-tags-header {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .category-tags-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
    }

    .category-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .category-tag {
        display: inline-flex;
        align-items: center;
        padding: 0.3rem 0.6rem;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 0px;
        color: #666;
        font-size: 0.75rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .category-tag:hover {
        border-color: #4a90a4;
        color: #4a90a4;
        transform: translateY(-1px);
    }

    /* Product Stats Section */
    .product-stats-section {
        background: #fafafa;
        border: 1px solid #f0f0f0;
        border-radius: 0px;
        padding: 0.8rem;
    }

    .stats-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0 0 0.8rem 0;
        padding-bottom: 0.4rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0;
        border-bottom: 1px solid #f8f9fa;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-label {
        font-size: 0.8rem;
        color: #666;
        font-weight: 500;
    }

    .stat-value {
        font-size: 0.8rem;
        color: #2c3e50;
        font-weight: 600;
    }

    /* Safety Info */
    .safety-info {
        background: #fff8e1;
        border: 1px solid #ffd54f;
        border-radius: 0px;
        padding: 0.8rem;
    }

    .safety-badge {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-weight: 600;
        color: #e65100;
        margin-bottom: 0.3rem;
        font-size: 0.85rem;
    }

    .safety-notice {
        font-size: 0.75rem;
        color: #666;
        line-height: 1.4;
        margin: 0;
    }

    /* COMPACT Pricing Column - Right Side */
    .pricing-column {
        position: sticky;
        top: 1rem;
        height: fit-content;
    }

    .pricing-section {
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .pricing-header {
        padding: 0.6rem 0.8rem;
        border-bottom: 1px solid #f8f9fa;
        background: #fafafa;
    }

    .pricing-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0 0 0.05rem 0;
    }

    .pricing-subtitle {
        color: #666;
        font-size: 0.7rem;
        margin: 0;
    }

    .pricing-table {
        display: flex;
        flex-direction: column;
    }

    .pricing-row {
        border-bottom: 1px solid #f8f9fa;
        transition: all 0.2s ease;
        position: relative;
        cursor: pointer;
        padding: 0.3rem 0;
    }

    .pricing-row:last-child {
        border-bottom: none;
    }

    .pricing-row:hover {
        background: #fafafa;
    }

    .pricing-row.selected-row {
        background: #f8f9fa;
        border-left: 2px solid #4a90a4;
    }

    .pricing-row.popular-row {
        background: #fff8e1;
        border-left: 2px solid #FF6F00;
    }

    /* Updated Pricing Row Layout */
    .row-content {
        display: grid;
        grid-template-columns: 0.9fr 1.4fr 1fr;
        gap: 0.8rem;
        padding: 0.8rem;
        align-items: center;
    }

    .quantity-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .tier-quantity {
        font-size: 12px;
        font-weight: 700;
        color: #2c3e50;
        line-height: 1.2;
    }

    .popular-tag {
        font-size: 0.65rem;
        color: #FF6F00;
        font-weight: 600;
        background: #fff8e1;
        padding: 0.15rem 0.4rem;
        border-radius: 8px;
        border: 1px solid #FFE082;
    }

    .price-section {
        display: flex;
        flex-direction: column;
        /* gap: 0.2rem; */
    }

    .main-price {
        display: flex;
        align-items: baseline;
        gap: 0.4rem;
    }

    .total-price {
        font-size: 1.3rem;
        font-weight: 800;
        color: #FF6F00;
        line-height: 1;
    }

    .tax {
        font-size: 0.7rem;
        color: #888;
        font-weight: 500;
    }

    .price-details {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    .per-box-price {
        font-size: 0.8rem;
        color: #666;
        font-weight: 500;
    }

    .right-section {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.6rem;
    }

    .discount-section {
        text-align: right;
    }

    .discount-badge-p {
        background: linear-gradient(135deg, #FF6F00, #FF8F00);
        color: white;
        padding: 0.15rem 0.4rem;
        border-radius: 8px;
        font-size: 0.65rem;
        font-weight: 700;
        display: inline-block;
        box-shadow: 0 1px 2px rgba(255, 111, 0, 0.2);
        line-height: 1;
        white-space: nowrap;
        align-self: flex-start;
    }

    .action-section {
        width: 100%;
        text-align: center;
    }

    .add-to-cart-row-btn {
        background: rgb(180, 1, 1);
        color: white;
        border: none;
        padding: 0.6rem 0.8rem;
        border-radius: 0px;
        font-size: 11px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        width: 100%;
        box-shadow: 0 2px 4px rgba(74, 144, 164, 0.2);
    }

    .add-to-cart-row-btn:hover:not(:disabled) {
        background: rgb(180, 1, 1);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(74, 144, 164, 0.3);
    }

    .add-to-cart-row-btn:disabled {
        background: #e0e0e0;
        color: #9e9e9e;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .pricing-row.popular-row .add-to-cart-row-btn {
        background: #FF6F00;
        box-shadow: 0 2px 4px rgba(255, 111, 0, 0.3);
    }

    .pricing-row.popular-row .add-to-cart-row-btn:hover:not(:disabled) {
        background: #E65A00;
        box-shadow: 0 4px 8px rgba(255, 111, 0, 0.4);
    }

    /* Ultra Compact Delivery Info */
    .compact-delivery-info {
        display: flex;
        justify-content: space-around;
        padding: 0.4rem 0.8rem;
        background: #fafafa;
        border-top: 1px solid #f0f0f0;
        gap: 0.5rem;
    }

    .delivery-meta {
        display: flex;
        align-items: center;
        gap: 0.2rem;
    }

    .delivery-icon {
        font-size: 0.7rem;
    }

    .delivery-text {
        font-size: 0.65rem;
        color: #666;
        font-weight: 500;
    }

    /* Product Trust Panel - Redesigned Horizontal Layout */
    .product-trust-panel {
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 0px;
        padding: 0.6rem;
        display: flex;
        gap: 0.5rem;
        justify-content: space-between;
        align-items: center;
        margin: 0.2rem 0;
    }

    .trust-item {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.3rem 0.5rem;
        background: #fafafa;
        border-radius: 4px;
        border: 1px solid #f0f0f0;
        flex: 1;
        min-height: 32px;
    }

    .trust-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .trust-text {
        font-size: 0.7rem;
        color: #666;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: -0.05px;
    }

    /* Premium Doctor Consultation CTA */
    .consult-doctor-cta {
        margin-top: 0.8rem;
        padding: 0;
        width: 100%;
    }

    .consult-doctor-btn {
        background: linear-gradient(135deg, #2a7f7f, #3a9f9f);
        color: white;
        border: none;
        border-radius: 0px;
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        box-shadow: 0 2px 8px rgba(42, 127, 127, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }

    .consult-doctor-btn:hover {
        background: linear-gradient(135deg, #236a6a, #2a7f7f);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(42, 127, 127, 0.3);
    }

    .line-consult-btn {
        background: #06C755;
        color: white;
        border: 2px solid #06C755;
        border-radius: 0px;
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        letter-spacing: 0.5px;
    }

    .line-consult-btn:hover {
        background: #1ad267;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
    }

    .consult-text {
        font-size: 1.2rem;
        font-weight: 700;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .consult-subtext {
        font-size: 0.75rem;
        color: #666;
        text-align: center;
        margin: 0.5rem 0 0 0;
        line-height: 1.4;
        font-weight: 500;
    }

    .line-consult-btn .icon-img {
        filter: brightness(0) invert(1);
        width: 32px;
        height: 32px;
    }

    .consult-doctor-btn .icon-img {
        filter: brightness(0) invert(1);
        width: 32px;
        height: 32px;
    }

    /* Image Viewer Popup Styles */
    .image-viewer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        animation: fadeIn 0.3s ease;
    }

    .image-viewer-modal {
        position: relative;
        width: 90vw;
        height: 90vh;
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        animation: scaleIn 0.3s ease;
        min-width: 300px;
        min-height: 400px;
    }

    .image-viewer-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: rgba(0, 0, 0, 0.7);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        z-index: 10;
        transition: all 0.2s ease;
        backdrop-filter: blur(4px);
    }

    .image-viewer-close:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }

    .image-viewer-main {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 20px 20px;
        position: relative;
        flex: 1;
        box-sizing: border-box;
        overflow: hidden;
    }

    .image-viewer-image-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .image-viewer-image {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 4px;
    }

    .image-viewer-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.6);
        border: none;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        transition: all 0.2s ease;
        backdrop-filter: blur(4px);
        z-index: 5;
    }

    .image-viewer-arrow:hover {
        background: rgba(0, 0, 0, 0.8);
        transform: translateY(-50%) scale(1.1);
    }

    .image-viewer-arrow-prev {
        left: 20px;
    }

    .image-viewer-arrow-next {
        right: 20px;
    }

    .image-viewer-thumbnails {
        display: flex;
        gap: 8px;
        padding: 16px;
        background: #f8f9fa;
        border-top: 1px solid #e9ecef;
        overflow-x: auto;
        justify-content: center;
    }

    .image-viewer-thumbnail {
        border: 2px solid transparent;
        border-radius: 4px;
        padding: 2px;
        background: none;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .image-viewer-thumbnail:hover {
        border-color: #4a90a4;
        transform: translateY(-2px);
    }

    .image-viewer-thumbnail.active {
        border-color: #FF6F00;
    }

    .image-viewer-thumbnail img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 2px;
    }

    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes scaleIn {
        from { 
            opacity: 0;
            transform: scale(0.9);
        }
        to { 
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Enhanced Responsive Design */
    @media (max-width: 1200px) {
        .product-main {
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem;
        }

        .pricing-column {
            grid-column: 1 / -1;
            position: static;
        }

        .row-content {
            grid-template-columns: 0.8fr 1.2fr 0.6fr;
            gap: 0.6rem;
            padding: 0.6rem 1rem;
        }

        .product-trust-panel {
            padding: 0.5rem;
            gap: 0.4rem;
        }

        .trust-item {
            padding: 0.25rem 0.4rem;
            gap: 0.3rem;
        }

        .trust-text {
            font-size: 0.68rem;
        }

        .consult-doctor-btn,
        .line-consult-btn {
            padding: 0.9rem 1.0rem;
            font-size: 0.95rem;
        }

        .consult-text {
            font-size: 0.95rem;
        }
    }

    @media (max-width: 992px) {
        .product-main {
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            padding: 1rem;
            min-height: auto;
        }

        .product-gallery {
            gap: 0.6rem;
        }

        .product-info {
            gap: 0.8rem;
        }

        .product-title {
            font-size: 1.2rem;
        }

        .row-content {
            grid-template-columns: 0.7fr 1.3fr 0.8fr;
            padding: 0.5rem 0.8rem;
        }

        .total-price {
            font-size: 1.1rem;
        }

        .add-to-cart-row-btn {
            padding: 0.5rem 0.6rem;
            font-size: 0.75rem;
        }
    }

    @media (max-width: 768px) {
        .product-main {
            grid-template-columns: 1fr;
            gap: 1.2rem;
            padding: 1rem;
        }

        .product-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.6rem;
        }

        .product-meta-section {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.6rem;
        }

        .pricing-column {
            grid-column: auto;
        }

        .row-content {
            grid-template-columns: 1fr;
            gap: 0.4rem;
            padding: 0.6rem;
            text-align: center;
        }

        .quantity-section {
            flex-direction: row;
            justify-content: center;
            gap: 0.4rem;
            align-items: center;
        }

        .price-details {
            flex-direction: row;
            justify-content: center;
            gap: 0.4rem;
            flex-wrap: wrap;
        }

        .compact-delivery-info {
            flex-direction: column;
            gap: 0.3rem;
            align-items: center;
        }

        .product-trust-panel {
            flex-wrap: wrap;
            gap: 0.4rem;
            margin: 0.5rem 0;
        }

        .trust-item {
            flex: 1 1 calc(50% - 0.4rem);
            min-width: 120px;
            justify-content: center;
            gap: 0.4rem;
        }

        .trust-text {
            font-size: 0.7rem;
        }

        .consult-doctor-cta {
            margin-top: 1rem;
        }

        .consult-doctor-btn,
        .line-consult-btn {
            padding: 1rem 1.5rem;
            font-size: 1rem;
        }

        .consult-text {
            font-size: 1rem;
        }

        .consult-subtext {
            font-size: 0.8rem;
        }

        .image-viewer-modal {
            width: 95vw;
            height: 95vh;
        }

        .image-viewer-main {
            padding: 50px 10px 15px;
        }

        .image-viewer-arrow {
            width: 40px;
            height: 40px;
        }

        .image-viewer-arrow-prev {
            left: 10px;
        }

        .image-viewer-arrow-next {
            right: 10px;
        }

        .image-viewer-thumbnails {
            padding: 12px;
            gap: 6px;
        }

        .image-viewer-thumbnail img {
            width: 50px;
            height: 50px;
        }

        .category-tags {
            justify-content: center;
        }

        .category-tag {
            font-size: 0.7rem;
            padding: 0.25rem 0.5rem;
        }
    }

    @media (max-width: 576px) {
        .product-main {
            padding: 0.8rem;
            gap: 1rem;
        }

        .product-title {
            font-size: 1.1rem;
        }

        .category-tags {
            justify-content: center;
        }

        .stats-grid {
            grid-template-columns: 1fr;
        }

        .pricing-header {
            padding: 0.5rem;
        }

        .pricing-title {
            font-size: 0.85rem;
        }

        .row-content {
            padding: 0.5rem;
        }

        .total-price {
            font-size: 1rem;
        }

        .add-to-cart-row-btn {
            padding: 0.5rem 0.6rem;
            font-size: 0.75rem;
        }

        .icon-img {
            width: 18px;
            height: 18px;
        }

        .trust-icon,
        .shipping-icon,
        .safety-icon,
        .consult-icon,
        .category-tags-icon,
        .delivery-icon {
            width: 24px;
            height: 24px;
        }

        .consult-doctor-btn .icon-img,
        .safety-badge .icon-img {
            width: 24px;
            height: 24px;
        }

        .product-trust-panel {
            padding: 0.4rem;
            gap: 0.3rem;
        }

        .trust-item {
            padding: 0.2rem 0.3rem;
            gap: 0.25rem;
            flex: 1 1 100%;
            min-height: 28px;
        }

        .trust-text {
            font-size: 0.65rem;
        }

        .consult-doctor-btn,
        .line-consult-btn {
            padding: 0.9rem 1.2rem;
            font-size: 0.9rem;
            gap: 0.5rem;
        }

        .consult-text {
            font-size: 0.9rem;
        }

        .consult-subtext {
            font-size: 0.75rem;
        }

        .image-viewer-modal {
            width: 100vw;
            height: 100vh;
            border-radius: 0;
        }

        .image-viewer-main {
            padding: 40px 5px 10px;
        }

        .image-viewer-arrow {
            width: 36px;
            height: 36px;
        }

        .image-viewer-close {
            top: 8px;
            right: 8px;
            width: 36px;
            height: 36px;
        }

        .image-viewer-thumbnails {
            padding: 8px;
            gap: 4px;
        }

        .image-viewer-thumbnail img {
            width: 40px;
            height: 40px;
        }

        .thumbnail img {
            width: 40px;
            height: 40px;
        }

        .product-description {
            font-size: 0.8rem;
        }

        .stat-label, .stat-value {
            font-size: 0.75rem;
        }

        .safety-badge {
            font-size: 0.8rem;
        }

        .safety-notice {
            font-size: 0.7rem;
        }
    }

    @media (max-width: 400px) {
        .product-main {
            padding: 0.6rem;
            gap: 0.8rem;
        }

        .product-title {
            font-size: 1rem;
        }

        .manufacturer-badge {
            font-size: 0.65rem;
            padding: 0.2rem 0.5rem;
        }

        .rating-text {
            font-size: 0.75rem;
        }

        .in-stock {
            font-size: 0.75rem;
        }

        .row-content {
            padding: 0.4rem;
        }

        .tier-quantity {
            font-size: 0.9rem;
        }

        .total-price {
            font-size: 0.9rem;
        }

        .per-box-price {
            font-size: 0.7rem;
        }

        .add-to-cart-row-btn {
            padding: 0.4rem 0.5rem;
            font-size: 0.7rem;
        }

        .discount-badge-p {
            font-size: 0.6rem;
            padding: 0.1rem 0.3rem;
        }

        .consult-doctor-btn,
        .line-consult-btn {
            padding: 0.8rem 1rem;
            font-size: 0.85rem;
        }

        .consult-text {
            font-size: 0.85rem;
        }

        .consult-subtext {
            font-size: 0.7rem;
        }

        .trust-item {
            flex: 1 1 100%;
            justify-content: flex-start;
        }

        .category-tags {
            gap: 0.3rem;
        }

        .category-tag {
            font-size: 0.65rem;
            padding: 0.2rem 0.4rem;
        }
    }

    @media (max-width: 320px) {
        .product-main {
            padding: 0.5rem;
        }

        .product-title {
            font-size: 0.95rem;
        }

        .consult-doctor-btn,
        .line-consult-btn {
            flex-direction: column;
            gap: 0.3rem;
            padding: 0.7rem 0.8rem;
        }

        .consult-text {
            font-size: 0.8rem;
        }

        .row-content {
            padding: 0.3rem;
        }

        .thumbnail img {
            width: 35px;
            height: 35px;
        }

        .image-viewer-thumbnail img {
            width: 35px;
            height: 35px;
        }
    }

    /* Touch device optimizations */
    @media (hover: none) and (pointer: coarse) {
        .thumbnail:hover,
        .category-tag:hover,
        .pricing-row:hover {
            transform: none;
        }

        .add-to-cart-row-btn:hover,
        .consult-doctor-btn:hover,
        .line-consult-btn:hover {
            transform: none;
        }

        .product-image:hover {
            transform: none;
        }
    }

    /* High DPI screen optimizations */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .product-image,
        .image-viewer-image {
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
        }
    }

    /* Print styles */
    @media print {
        .product-main {
            box-shadow: none;
            border: 1px solid #ddd;
        }

        .consult-doctor-cta,
        .add-to-cart-row-btn {
            display: none;
        }
    }

/* ==================================================================================================================== */
/* ==================================================================================================================== */
/* ==================================================================================================================== */
/* ==================================================================================================================== */


    /* --- styles for ReviewSection --- */

    /* Customer Reviews Section */
    .section-content {
        max-width: 1800px;
        margin: 0 auto;
        padding: 0rem 0rem;
    }

    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .section-title-r {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 0.5rem;
        font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', sans-serif;
    }

    .section-accent {
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #1a6d8d, #34b3b0);
        margin: 0 auto;
        border-radius: 2px;
    }

    .reviews-summary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
        align-items: center;
    }

    .recommendation-metric {
        background: #ffffff;
        border: 1px solid #e8ecef;
        border-radius: 0px;
        padding: 2rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .recommendation-display {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .circular-progress {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .progress-ring circle {
        transition: stroke-dashoffset 0.8s ease;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
    }

    .progress-ring-background {
        stroke: #f1f5f9;
    }

    .progress-ring-circle {
        stroke: #f6ad55;
    }

    .progress-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .progress-percentage {
        font-size: 1.5rem;
        font-weight: 700;
        color: #f6ad55;
        display: block;
    }

    .recommendation-text {
        flex: 1;
    }

    .recommendation-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .recommendation-subtitle {
        font-size: 0.9rem;
        color: #64748b;
        line-height: 1.5;
    }

    .overall-rating {
        background: #f8fafc;
        border: none;
        border-radius: 16px;
        padding: 1.5rem;
        display: flex;
        gap: 2rem;
        align-items: flex-start;
    }

    .rating-left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 120px;
    }

    .rating-score {
        font-size: 2.5rem;
        font-weight: 700;
        color: #dd6b20;
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .rating-details {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .total-reviews {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 500;
    }

    .rating-breakdown {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .rating-row {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .rating-stars {
        display: flex;
        gap: 1px;
        width: 60px;
        flex-shrink: 0;
    }

    .rating-label {
        color: #64748b;
        width: 20px;
        text-align: center;
        font-size: 0.75rem;
    }

    .rating-bar {
        flex: 1;
        height: 6px;
        background: #f1f5f9;
        border-radius: 0px;
        overflow: hidden;
        min-width: 100px;
    }

    .rating-fill {
        height: 100%;
        background: #f6ad55;
        border-radius: 0px;
        transition: width 0.3s ease;
    }

    .rating-percentage {
        color: #64748b;
        width: 30px;
        text-align: right;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .reviews-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .review-card {
        background: #ffffff;
        border: 1px solid #f1f5f9;
        border-radius: 0px;
        padding: 1.5rem;
        transition: all 0.3s ease;
        position: relative;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .review-card.high-rating {
        border-left: 4px solid #1a6d8d;
        background: linear-gradient(90deg, rgba(26, 109, 141, 0.02) 0%, rgba(255,255,255,1) 20%);
    }

    .review-card:hover {
        border-color: #e2e8f0;
        box-shadow: 0 4px 20px rgba(26, 109, 141, 0.08);
        transform: translateY(-2px);
    }

    .recommendation-badge {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        background: #1a6d8d;
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        z-index: 1;
    }

    .review-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .review-header {
        margin-bottom: 0;
    }

    .reviewer-info {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .reviewer-avatar {
        flex-shrink: 0;
    }

    .avatar-placeholder {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, #1a6d8d, #34b3b0);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .reviewer-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .reviewer-name {
        font-weight: 600;
        color: #2c3e50;
        font-size: 1rem;
    }

    .review-meta {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .review-date {
        font-size: 0.8rem;
        color: #94a3b8;
        white-space: nowrap;
    }

    .review-comment {
        color: #475569;
        line-height: 1.6;
        font-size: 0.9rem;
        margin: 0;
    }

    .review-image-container {
        flex-shrink: 0;
        width: 150px;
    }

    .review-image {
        width: 100%;
        height: 120px;
        border-radius: 8px;
        object-fit: cover;
        border: 1px solid #f1f5f9;
        display: block;
    }

    .reviews-actions {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

    .show-more-reviews-btn {
        background: #ffffff;
        color: #1a6d8d;
        border: 1.5px solid #1a6d8d;
        padding: 1rem 2.5rem;
        border-radius: 0px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: inherit;
    }

    .show-more-reviews-btn:hover {
        background: #1a6d8d;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(26, 109, 141, 0.15);
    }

    /* Star Rating Component */
    .star-rating {
        display: flex;
        gap: 2px;
        width: auto;
    }

    .star {
        color: #e2e8f0;
        transition: color 0.2s ease;
    }

    .star.full {
        color: #f6ad55;
    }

    .star.half {
        background: linear-gradient(90deg, #f6ad55 50%, #e2e8f0 50%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Hidden reviews for show more functionality */
    .hidden-review {
        display: none;
    }

    /* Enhanced Responsive Design */
    @media (max-width: 1200px) {
        .section-content {
            padding: 0 1rem;
        }
        
        .reviews-summary {
            gap: 1.2rem;
        }
        
        .recommendation-metric,
        .overall-rating {
            padding: 1.5rem;
        }
        
        .circular-progress {
            width: 100px;
            height: 100px;
        }
        
        .progress-ring {
            width: 100px;
            height: 100px;
        }
        
        .progress-ring circle {
            r: 46;
            cx: 50;
            cy: 50;
        }
        
        .progress-percentage {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 992px) {
        .section-title-r {
            font-size: 1.6rem;
        }
        
        .reviews-summary {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .recommendation-display {
            gap: 1.2rem;
        }
        
        .rating-score {
            font-size: 2.2rem;
        }
        
        .review-card {
            padding: 1.25rem;
            gap: 1.2rem;
        }
        
        .review-image-container {
            width: 130px;
        }
        
        .review-image {
            height: 110px;
        }
    }

    @media (max-width: 768px) {
        .section-header {
            margin-bottom: 2rem;
        }
        
        .section-title-r {
            font-size: 1.4rem;
        }
        
        .reviews-summary {
            gap: 1rem;
        }
        
        .recommendation-display {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        
        .overall-rating {
            flex-direction: column;
            padding: 1.5rem;
            gap: 1.5rem;
            text-align: center;
        }
        
        .rating-left {
            align-items: center;
            width: 100%;
        }
        
        .rating-details {
            align-items: center;
        }
        
        .rating-score {
            font-size: 2.5rem;
        }
        
        .rating-breakdown {
            width: 100%;
        }
        
        .reviews-grid {
            gap: 1rem;
        }
        
        .review-card {
            flex-direction: column;
            gap: 1rem;
            padding: 1.25rem;
        }
        
        .review-image-container {
            width: 100%;
            order: 3;
        }
        
        .review-image {
            height: 140px;
            width: 100%;
        }
        
        .reviewer-info {
            gap: 0.8rem;
        }
        
        .avatar-placeholder {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }
        
        .review-meta {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.3rem;
        }
        
        .recommendation-badge {
            position: static;
            align-self: flex-start;
            margin-bottom: 0.5rem;
        }
        
        .show-more-reviews-btn {
            padding: 0.9rem 2rem;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 576px) {
        .section-content {
            padding: 0 0.5rem;
        }
        
        .section-title-r {
            font-size: 1.3rem;
        }
        
        .section-header {
            margin-bottom: 1.5rem;
        }
        
        .reviews-summary {
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .recommendation-metric,
        .overall-rating {
            padding: 1.25rem 1rem;
        }
        
        .circular-progress {
            width: 80px;
            height: 80px;
        }
        
        .progress-ring {
            width: 80px;
            height: 80px;
        }
        
        .progress-ring circle {
            r: 36;
            cx: 40;
            cy: 40;
            stroke-width: 6;
        }
        
        .progress-percentage {
            font-size: 1rem;
        }
        
        .recommendation-title {
            font-size: 1rem;
        }
        
        .recommendation-subtitle {
            font-size: 0.85rem;
        }
        
        .rating-score {
            font-size: 2rem;
        }
        
        .rating-row {
            gap: 0.3rem;
        }
        
        .rating-bar {
            min-width: 80px;
        }
        
        .review-card {
            padding: 1rem;
            gap: 0.8rem;
        }
        
        .reviewer-info {
            gap: 0.6rem;
        }
        
        .avatar-placeholder {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }
        
        .reviewer-name {
            font-size: 0.95rem;
        }
        
        .review-comment {
            font-size: 0.85rem;
            line-height: 1.5;
        }
        
        .review-image {
            height: 120px;
        }
        
        .show-more-reviews-btn {
            padding: 0.8rem 1.5rem;
            font-size: 0.85rem;
            width: 100%;
            max-width: 280px;
        }
    }

    @media (max-width: 480px) {
        .section-content {
            padding: 0 0.5rem;
        }
        
        .reviews-summary {
            gap: 1rem;
        }
        
        .recommendation-metric,
        .overall-rating {
            padding: 1.5rem 1rem;
        }
        
        .review-image {
            height: 120px;
        }
        
        .review-card {
            padding: 1rem;
        }
        
        .rating-left {
            min-width: 100px;
        }
        
        .rating-score {
            font-size: 1.8rem;
        }
        
        .rating-stars {
            width: 50px;
        }
        
        .rating-bar {
            min-width: 60px;
        }
        
        .rating-percentage {
            width: 25px;
            font-size: 0.7rem;
        }
    }

    @media (max-width: 400px) {
        .section-title-r {
            font-size: 1.2rem;
        }
        
        .recommendation-metric,
        .overall-rating {
            padding: 1rem 0.8rem;
        }
        
        .circular-progress {
            width: 70px;
            height: 70px;
        }
        
        .progress-ring {
            width: 70px;
            height: 70px;
        }
        
        .progress-ring circle {
            r: 31;
            cx: 35;
            cy: 35;
        }
        
        .progress-percentage {
            font-size: 0.9rem;
        }
        
        .rating-breakdown {
            gap: 0.3rem;
        }
        
        .rating-row {
            font-size: 0.75rem;
        }
        
        .rating-label {
            width: 15px;
            font-size: 0.7rem;
        }
        
        .rating-percentage {
            width: 20px;
            font-size: 0.65rem;
        }
        
        .review-card {
            padding: 0.8rem;
        }
        
        .reviewer-info {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }
        
        .review-meta {
            flex-direction: row;
            align-items: center;
            gap: 0.8rem;
        }
        
        .show-more-reviews-btn {
            padding: 0.7rem 1.2rem;
            font-size: 0.8rem;
        }
    }

    @media (max-width: 320px) {
        .section-content {
            padding: 0 0.3rem;
        }
        
        .recommendation-metric,
        .overall-rating {
            padding: 0.8rem 0.6rem;
        }
        
        .review-card {
            padding: 0.6rem;
        }
        
        .review-image {
            height: 100px;
        }
        
        .rating-bar {
            min-width: 50px;
        }
        
        .rating-stars {
            width: 40px;
        }
    }

    /* Touch device optimizations */
    @media (hover: none) and (pointer: coarse) {
        .review-card:hover {
            transform: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        }
        
        .show-more-reviews-btn:hover {
            transform: none;
            box-shadow: none;
        }
    }

    /* High DPI screen optimizations */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .review-image {
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
        }
    }

    /* Print styles */
    @media print {
        .review-card {
            break-inside: avoid;
            box-shadow: none;
            border: 1px solid #ddd;
        }
        
        .show-more-reviews-btn {
            display: none;
        }
        
        .hidden-review {
            display: flex !important;
        }
    }

/* ==================================================================================================================== */
/* ==================================================================================================================== */
/* ==================================================================================================================== */
/* ==================================================================================================================== */


    /* --- styles for ProductDescription --- */

    /* Details Content */
    .details-content {
        padding: 0;
    }

    .detail-section {
        padding: 2rem;
        border-bottom: 1px solid #f1f5f9;
        scroll-margin-top: 100px;
        max-width: 1800px;
        animation: fadeInUp 0.6s ease-out;
    }

    .detail-section:last-child {
        border-bottom: none;
    }

    .section-header {
        margin-bottom: 3rem;
        text-align: center;
    }

    .section-title-p {
        font-size: 2rem;
        font-weight: 600;
        color: #1a2935;
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
        letter-spacing: -0.5px;
    }

    .section-accent {
        height: 3px;
        width: 60px;
        background: linear-gradient(135deg, #1a6d8d, #2b9bb6);
        margin: 0 auto;
        border-radius: 2px;
    }

    .section-content {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* 効果・特徴セクション */
    .feature-intro {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #4a5568;
        margin-bottom: 3rem;
        text-align: left;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .benefit-card {
        background: #f8fafc;
        border: 1px solid #e8ecef;
        border-radius: 0px;
        padding: 2rem;
        text-align: center;
        transition: all 0.3s ease;
    }

    .benefit-card:hover {
        border-color: #c6e6f3;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(26, 109, 141, 0.1);
    }

    .benefit-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .benefit-icon img {
        width: 28px;
        height: 28px;
    }

    .benefit-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1rem;
    }

    .benefit-desc {
        color: #4a5568;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    .mechanism-section {
        background: #f8fafc;
        border-radius: 0px;
        padding: 2.5rem;
        border: 1px solid #e8ecef;
    }

    .mechanism-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1.5rem;
    }

    .mechanism-content p {
        color: #4a5568;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .indication-list {
        margin-top: 1.5rem;
    }

    .indication-list h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1rem;
    }

    .indication-list ul {
        list-style: none;
        padding: 0;
    }

    .indication-list li {
        position: relative;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        color: #4a5568;
        line-height: 1.6;
    }

    .indication-list li::before {
        content: "•";
        color: #1a6d8d;
        font-weight: bold;
        position: absolute;
        left: 0.5rem;
    }

    /* 服用方法と効果持続時間 */
    .timeline-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .timeline-item {
        display: flex;
        align-items: flex-start;
        gap: 2rem;
        padding: 1.5rem;
        background: #f8fafc;
        border-radius: 0px;
        border: 1px solid #e8ecef;
    }

    .timeline-marker {
        background: linear-gradient(135deg, #1a6d8d, #2b9bb6);
        color: white;
        padding: 0.8rem 1.2rem;
        border-radius: 0px;
        font-weight: 600;
        font-size: 0.9rem;
        min-width: 80px;
        text-align: center;
        flex-shrink: 0;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .timeline-content p {
        color: #4a5568;
        line-height: 1.6;
    }

    .dosage-guidance {
        background: #ffffff;
        border-radius: 0px;
        padding: 2.5rem;
        border: 1px solid #e8ecef;
    }

    .guidance-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 2rem;
        text-align: center;
    }

    .guidance-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .guidance-card {
        background: #f8fafc;
        border-radius: 0px;
        padding: 2rem;
        text-align: center;
        border: 1px solid #e8ecef;
    }

    .guidance-card h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1rem;
    }

    .dosage-main {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1a6d8d;
        margin-bottom: 0.5rem;
    }

    .dosage-note {
        color: #718096;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* おすすめ商品 */
    .recommended-products {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .product-card {
        background: #ffffff;
        border: 1px solid #e8ecef;
        border-radius: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .product-card:hover {
        border-color: #c6e6f3;
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(26, 109, 141, 0.15);
    }

    .product-description-image {
        height: 200px;
        background: #f8fafc;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #e8ecef;
    }

    .product-image img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.8rem;
    }

    .product-desc {
        color: #4a5568;
        line-height: 1.6;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        min-height: 3rem;
    }

    .product-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .product-price {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1a6d8d;
    }

    .product-reviews {
        font-size: 0.85rem;
        color: #718096;
    }

    .product-cta {
        width: 100%;
        background: #1a6d8d;
        color: white;
        border: none;
        padding: 0.8rem 1.5rem;
        border-radius: 0px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .product-cta:hover {
        background: #155d79;
    }

    /* 比較表 */
    .comparison-table-container {
        overflow-x: auto;
        margin-bottom: 2rem;
        background: #ffffff;
        border: 1px solid #e8ecef;
        border-radius: 0px;
        padding: 1rem;
    }

    .comparison-table {
        width: 100%;
        border-collapse: collapse;
        min-width: 800px;
    }

    .comparison-table th {
        background: #f8fafc;
        padding: 1.2rem 1rem;
        text-align: left;
        font-weight: 600;
        color: #2c3e50;
        border-bottom: 1px solid #e8ecef;
        font-size: 0.95rem;
    }

    .comparison-table td {
        padding: 1.2rem 1rem;
        border-bottom: 1px solid #f1f5f9;
        color: #4a5568;
        font-size: 0.9rem;
    }

    .comparison-table tr:last-child td {
        border-bottom: none;
    }

    .comparison-table tr:hover {
        background: #f8fafc;
    }

    .old-price {
        text-decoration: line-through;
        color: #a0aec0 !important;
    }

    .current-price {
        color: #1a6d8d;
        font-weight: 600;
    }

    .comparison-notes {
        background: #f0fff4;
        border: 1px solid #9ae6b4;
        border-radius: 0px;
        padding: 1.5rem;
        font-size: 0.9rem;
        color: #276749;
        line-height: 1.6;
    }

    /* バリエーション比較 */
    .variants-comparison {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .variant-card {
        background: #ffffff;
        border: 1px solid #e8ecef;
        border-radius: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .variant-card.featured {
        border-color: #1a6d8d;
        box-shadow: 0 8px 25px rgba(26, 109, 141, 0.15);
        transform: scale(1.02);
    }

    .variant-card:hover {
        border-color: #c6e6f3;
        transform: translateY(-4px);
    }

    .variant-image {
        height: 180px;
        background: #f8fafc;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #e8ecef;
    }

    .variant-image img {
        max-width: 70%;
        max-height: 70%;
        object-fit: contain;
    }

    .variant-details {
        padding: 1.5rem;
    }

    .variant-strength {
        font-size: 1.2rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1rem;
        text-align: center;
    }

    .variant-specs {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .spec-item {
        font-size: 0.9rem;
        color: #718096;
    }

    .variant-desc {
        color: #4a5568;
        line-height: 1.6;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .variant-price {
        font-size: 1.3rem;
        font-weight: 600;
        color: #1a6d8d;
        text-align: center;
    }

    /* Enhanced Responsive Design */
    @media (max-width: 1200px) {
        .detail-section {
            padding: 2rem 1.5rem;
        }
        
        .section-title-p {
            font-size: 1.8rem;
        }
        
        .benefits-grid {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        
        .mechanism-section {
            padding: 2rem;
        }
        
        .dosage-guidance {
            padding: 2rem;
        }
        
        .recommended-products,
        .variants-comparison {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }
    }

    @media (max-width: 992px) {
        .section-title-p {
            font-size: 1.7rem;
        }
        
        .feature-intro {
            font-size: 1rem;
            margin-bottom: 2rem;
        }
        
        .benefits-grid {
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.2rem;
        }
        
        .benefit-card {
            padding: 1.5rem;
        }
        
        .benefit-title {
            font-size: 1.1rem;
        }
        
        .timeline-item {
            gap: 1.5rem;
            padding: 1.25rem;
        }
        
        .timeline-marker {
            min-width: 70px;
            padding: 0.7rem 1rem;
        }
        
        .guidance-grid {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
        }
        
        .guidance-card {
            padding: 1.5rem;
        }
        
        .comparison-table {
            min-width: 700px;
        }
    }

    @media (max-width: 768px) {
        .detail-section {
            padding: 2.5rem 1.5rem;
        }

        .section-title-p {
            font-size: 1.6rem;
        }

        .benefits-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .timeline-item {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }

        .timeline-marker {
            align-self: center;
        }

        .guidance-grid {
            grid-template-columns: 1fr;
        }

        .recommended-products {
            grid-template-columns: 1fr;
        }

        .variants-comparison {
            grid-template-columns: 1fr;
        }

        .variant-card.featured {
            transform: none;
        }
        
        .mechanism-section {
            padding: 1.5rem;
        }
        
        .mechanism-title {
            font-size: 1.2rem;
        }
        
        .dosage-guidance {
            padding: 1.5rem;
        }
        
        .guidance-title {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
        }
        
        .product-description-image {
            height: 180px;
        }
        
        .variant-image {
            height: 160px;
        }
        
        .comparison-table-container {
            padding: 0.5rem;
            margin-left: -0.5rem;
            margin-right: -0.5rem;
            border-left: none;
            border-right: none;
            border-radius: 0;
        }
    }

    @media (max-width: 576px) {
        .detail-section {
            padding: 2rem 1rem;
        }
        
        .section-header {
            margin-bottom: 2rem;
        }
        
        .section-title-p {
            font-size: 1.4rem;
        }
        
        .feature-intro {
            font-size: 0.95rem;
            line-height: 1.7;
            text-align: center;
        }
        
        .benefit-card {
            padding: 1.25rem;
        }
        
        .benefit-title {
            font-size: 1rem;
            margin-bottom: 0.8rem;
        }
        
        .benefit-desc {
            font-size: 0.9rem;
        }
        
        .mechanism-section {
            padding: 1.25rem;
        }
        
        .mechanism-title {
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }
        
        .mechanism-content p {
            font-size: 0.9rem;
            line-height: 1.6;
        }
        
        .indication-list h4 {
            font-size: 1rem;
        }
        
        .indication-list li {
            font-size: 0.9rem;
            padding-left: 1.25rem;
        }
        
        .timeline-container {
            gap: 1.5rem;
        }
        
        .timeline-item {
            padding: 1rem;
        }
        
        .timeline-marker {
            min-width: 60px;
            padding: 0.6rem 0.8rem;
            font-size: 0.8rem;
        }
        
        .timeline-content h4 {
            font-size: 1rem;
        }
        
        .timeline-content p {
            font-size: 0.9rem;
        }
        
        .dosage-guidance {
            padding: 1.25rem;
        }
        
        .guidance-title {
            font-size: 1.1rem;
        }
        
        .guidance-card {
            padding: 1.25rem;
        }
        
        .dosage-main {
            font-size: 1rem;
        }
        
        .dosage-note {
            font-size: 0.85rem;
        }
        
        .product-info {
            padding: 1.25rem;
        }
        
        .product-name {
            font-size: 1rem;
        }
        
        .product-desc {
            font-size: 0.85rem;
            min-height: auto;
            margin-bottom: 1rem;
        }
        
        .product-meta {
            flex-direction: column;
            gap: 0.5rem;
            align-items: flex-start;
            margin-bottom: 1rem;
        }
        
        .product-price {
            font-size: 1.1rem;
        }
        
        .product-cta {
            padding: 0.7rem 1.25rem;
            font-size: 0.9rem;
        }
        
        .variant-details {
            padding: 1.25rem;
        }
        
        .variant-strength {
            font-size: 1.1rem;
        }
        
        .variant-desc {
            font-size: 0.85rem;
        }
        
        .variant-price {
            font-size: 1.2rem;
        }
        
        .comparison-notes {
            padding: 1rem;
            font-size: 0.85rem;
        }
    }

    @media (max-width: 480px) {
        .detail-section {
            padding: 1.5rem 0.8rem;
        }
        
        .section-title-p {
            font-size: 1.3rem;
        }
        
        .section-accent {
            width: 50px;
            height: 2px;
        }
        
        .benefit-card {
            padding: 1rem;
        }
        
        .benefit-icon {
            font-size: 2rem;
            margin-bottom: 0.8rem;
        }
        
        .benefit-icon img {
            width: 24px;
            height: 24px;
        }
        
        .mechanism-section {
            padding: 1rem;
        }
        
        .timeline-item {
            padding: 0.8rem;
        }
        
        .timeline-marker {
            min-width: 55px;
            padding: 0.5rem 0.7rem;
            font-size: 0.75rem;
        }
        
        .dosage-guidance {
            padding: 1rem;
        }
        
        .guidance-card {
            padding: 1rem;
        }
        
        .product-description-image {
            height: 150px;
        }
        
        .product-info {
            padding: 1rem;
        }
        
        .variant-image {
            height: 140px;
        }
        
        .variant-details {
            padding: 1rem;
        }
        
        .comparison-table th,
        .comparison-table td {
            padding: 0.8rem 0.5rem;
            font-size: 0.8rem;
        }
        
        .comparison-table {
            min-width: 600px;
        }
    }

    @media (max-width: 400px) {
        .detail-section {
            padding: 1.25rem 0.5rem;
        }
        
        .section-title-p {
            font-size: 1.2rem;
        }
        
        .benefits-grid {
            gap: 1rem;
        }
        
        .benefit-card {
            padding: 0.8rem;
        }
        
        .benefit-title {
            font-size: 0.95rem;
        }
        
        .benefit-desc {
            font-size: 0.85rem;
        }
        
        .timeline-container {
            gap: 1rem;
        }
        
        .recommended-products,
        .variants-comparison {
            gap: 1rem;
        }
        
        .product-cta {
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
        }
        
        .comparison-table {
            min-width: 550px;
        }
        
        .comparison-table th,
        .comparison-table td {
            padding: 0.6rem 0.4rem;
            font-size: 0.75rem;
        }
    }

    @media (max-width: 320px) {
        .section-title-p {
            font-size: 1.1rem;
        }
        
        .feature-intro {
            font-size: 0.9rem;
        }
        
        .benefit-card {
            padding: 0.7rem;
        }
        
        .timeline-marker {
            min-width: 50px;
            padding: 0.4rem 0.6rem;
        }
        
        .product-description-image {
            height: 130px;
        }
        
        .variant-image {
            height: 120px;
        }
    }

    /* Touch device optimizations */
    @media (hover: none) and (pointer: coarse) {
        .benefit-card:hover,
        .product-card:hover,
        .variant-card:hover {
            transform: none;
            box-shadow: none;
        }
        
        .product-cta:hover {
            background: #1a6d8d;
        }
    }

    /* High DPI screen optimizations */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .product-image img,
        .variant-image img {
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
        }
    }

    /* Print styles */
    @media print {
        .detail-section {
            break-inside: avoid;
            border-bottom: 1px solid #ddd;
            box-shadow: none;
        }
        
        .product-cta,
        .section-accent {
            display: none;
        }
        
        .comparison-table-container {
            overflow: visible;
        }
        
        .comparison-table {
            min-width: auto;
        }
    }

    /* ローディングアニメーション */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }