.product {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.product__inner {
    display: grid;
    grid-template-columns: 11fr 9fr;
    gap: 40px;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.product__media {
    position: sticky;
    top: 20px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    align-items: start;
}

.product__media-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 4px;
    overflow: hidden;
}

.product__media-thumbnails::-webkit-scrollbar {
    width: 4px;
}

.product__media-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.product__media-thumbnails::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.product__media-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.product__media-thumbnail {
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    padding: 0;
}

.product__media-thumbnail:hover {
    border-color: #333;
}

.product__media-thumbnail.active {
    border-color: #333;
}

.product__media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product__media-thumbnail--video {
    position: relative;
    overflow: hidden;
}

.video-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s ease;
}

.product__media-thumbnail--video:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.product__media-main {
    position: relative;
}

.product__media-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.product__media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product__media-image:hover {
    transform: scale(1.05);
}

.product__media-enlarge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product__media-enlarge:hover {
    background: rgba(0, 0, 0, 0.9);
}

.product__info {
    padding-left: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.product-form {
    width: 100%;
    box-sizing: border-box;
}

.product__header {
    margin-bottom: 24px;
}

.product__title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.product__price {
    margin-bottom: 16px;
}

.price__current {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.price__original {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-decoration: line-through;
    margin-left: 12px;
}

.price__discount {
    font-size: 14px;
    font-weight: 600;
    color: #dc3545;
    background: #fff5f5;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 12px;
}

.product__rating {
    margin-bottom: 24px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating__stars {
    font-size: 16px;
    color: #ffc107;
}

.rating__text {
    font-size: 14px;
    color: #333;
}

.product__description {
    margin-bottom: 32px;
}

.product__description p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.product-form__section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.color-display {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #ccc;
    display: inline-block;
    background: #f0f0f0;
    flex-shrink: 0;
}

.color-swatch.white {
    border: 1px solid #ddd;
    box-shadow: inset 0 0 0 1px #f0f0f0;
}

.color-name {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.product__guarantee {
    margin-bottom: 16px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.guarantee-link {
    color: #007bff;
    text-decoration: underline;
    font-size: 14px;
}

.width-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.width-option {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.width-option:hover {
    border-color: #333;
}

.width-option--selected {
    border-color: #333;
    background: #333;
    color: #fff;
}

.color-categories {
    margin-bottom: 24px;
}

.color-category {
    margin-bottom: 16px;
}


.color-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-option {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.color-option:hover {
    border-color: #333;
}


.color-option:active {
    outline: none;
}

.color-option--selected {
    border-color: #333;
}

.color-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.size-option {
    width: 100%;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-option:hover {
    border-color: #333;
}


.size-option:active {
    outline: none;
}

.size-option--selected {
    border-color: #333;
    background: #333;
    color: #fff;
}

.size-guide-text {
    font-size: 14px;
    color: #333;
    margin: 0 0 12px 0;
}

.size-guide-links {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.size-guide-link {
    font-size: 14px;
    color: #333;
    text-decoration: underline;
    font-weight: 500;
}

.size-guide-link:hover {
    color: #333;
}

.payment-option {
    margin-top: 16px;
    text-align: center;
}

.payment-text {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
}

.afterpay-logo {
    display: inline-block;
}

.afterpay-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: lowercase;
}

.size-selector {
    position: relative;
    width: 100%;
}

.size-selector__button {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    transition: all 0.2s ease;
}

.size-selector__button:hover {
    border-color: #333;
}


.size-selector__button:active {
    outline: none;
}

.size-selector__text {
    color: #333;
    font-weight: 500;
}

.size-selector__arrow {
    color: #333;
    transition: transform 0.2s ease;
}

.size-selector__dropdown {
    position: fixed !important;
    top: 0 !important;
    right: -100%;
    width: 50%;
    max-width: 600px;
    min-width: 400px;
    height: 100vh !important;
    background: #fff;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
}

@media (min-width: 769px) {
    .size-selector__dropdown {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        max-width: 600px;
        min-width: 400px;
        height: 100vh;
        background: #fff;
        z-index: 1001;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
    }
}

.size-selector__dropdown--open {
    right: 0;
}

.size-selector__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.size-selector__overlay--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.size-selector__header {
    padding: 24px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fff !important;
    /* position: sticky !important; */
    top: 0 !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
    order: 1 !important;
}

.size-selector__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.size-selector__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #333;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.size-selector__close:hover {
    background: #f5f5f5;
    color: #333;
}

.size-selector__tips {
    padding: 20px !important;
    background: #f8f8f8 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
    order: 2 !important;
}

.size-tip {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.size-tip__title {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-tip__text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.size-tip__subtext {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.size-tip__button {
    background: none;
    border: 1px solid #333;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.size-tip__button:hover {
    background: #333;
    color: #fff;
}



.size-selector__options {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 0 !important;
    min-height: 0 !important;
    order: 4 !important;
}

.size-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    min-height: 60px;
}

.size-option:last-child {
    border-bottom: none;
}

.size-option:hover:not(.size-option--disabled) {
    background: #f8f8f8;
}

.size-option--selected {
    background: #f5f5f5;
    border-left: 3px solid #333;
}

.size-option--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.size-option__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}

.size-option__size {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    margin-bottom: 2px;
}

.size-option__status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.size-option__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.size-option__dot--in {
    background: #28a745;
}

.size-option__dot--low {
    background: #ffc107;
}

.size-option__dot--out {
    background: #dc3545;
}

.size-option__text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.size-option__arrow {
    color: #666;
    flex-shrink: 0;
    font-size: 16px;
    margin-left: 8px;
}

.size-option--selected .size-option__arrow {
    color: #333;
}

.size-option--disabled .size-option__arrow {
    display: none;
}

.product-form__group {
    margin-bottom: 24px;
}

.product-form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.product-form__fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.product-form__legend {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding: 0;
}

.product-form__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-form__option {
    position: relative;
    cursor: pointer;
}

.product-form__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-form__label {
    display: block;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-form__input:checked + .product-form__label {
    border-color: #333;
    background: #333;
    color: #fff;
}

.product-form__option--disabled .product-form__label {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.quantity-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.quantity-selector__button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f8f8;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector__button:hover:not(:disabled) {
    background: #e0e0e0;
}


.quantity-selector__button:active {
    outline: none;
}

.quantity-selector__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-selector__input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #fff;
}

/* Hide number input spinners */
.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-selector__input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}


.quantity-info {
    margin-top: 8px;
}

.quantity-info__text {
    font-size: 14px;
    color: #333;
}

.stock-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.stock-text {
    color: #6c757d;
}

.stock-count {
    color: #28a745;
    font-weight: 600;
}

.stock-display.low-stock {
    background: #fff3cd;
    border-color: #ffeaa7;
    padding: 0 10px;
}

.stock-display.low-stock .stock-text {
    color: #856404;
}

.stock-display.low-stock .stock-count {
    color: #f39c12;
}

.stock-display.out-of-stock {
    background: #f8d7da;
    border-color: #f5c6cb;
}

.stock-display.out-of-stock .stock-text {
    color: #721c24;
}

.stock-display.out-of-stock .stock-count {
    color: #dc3545;
}


.product-form__stock {
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.product-form__stock.out-of-stock {
    color: #dc3545;
}

.product-form__stock.low-stock {
    color: #ffc107;
}

.demo-controls {
    margin-top: 32px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.demo-controls h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.demo-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-btn {
    padding: 8px 16px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-btn:hover {
    background: #333;
    color: #fff;
}

/* Hide mobile thumbnails on desktop */
.product__media-thumbnails-mobile {
    display: none;
}

@media (max-width: 1200px) {
    .product__inner {
        max-width: 1400px;
        gap: 30px;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
}

@media (max-width: 1024px) {
    .product__inner {
        max-width: 1200px;
        gap: 30px;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .product__media {
        grid-template-columns: 90px 1fr;
        gap: 16px;
    }
    
    .product__media-thumbnails {
        max-height: 400px;
    }
    
    .product__media-thumbnail {
        width: 90px;
        height: 90px;
    }
}

/* iPad specific optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .product__inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 16px;
    }
    
    .product__media {
        grid-template-columns: 100px 1fr;
        gap: 20px;
        margin-bottom: 30px;
        align-items: start;
    }
    
    .product__media-thumbnails {
        max-height: 500px;
    }
    
    .product__media-thumbnail {
        width: 100px;
        height: 100px;
    }
    
    .product__media-container {
        max-height: 500px;
        aspect-ratio: 1;
    }
    
    .product__media-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product__info {
        padding: 0;
        max-width: 100%;
    }
    
    .product__title {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .product__price {
        margin-bottom: 16px;
    }
    
    .price__current {
        font-size: 24px;
    }
    
    .product-form__group {
        margin-bottom: 24px;
    }
    
    .size-selector__button {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .quantity-selector__button {
        width: 40px;
        height: 40px;
    }
    
    .quantity-selector__input {
        width: 60px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .product__inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .product__media {
        position: static;
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    
    .product__media-thumbnails {
        display: none;
    }
    
    .product__media-main {
        position: relative;
        width: 100%;
    }
    
    .product__media-container {
        aspect-ratio: 4/3;
        border-radius: 0;
        position: relative;
    }
    
    .product__media-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product__media-enlarge {
        position: absolute;
        bottom: 16px;
        right: 16px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        z-index: 10;
    }
    
    .product__media-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.9);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.2s ease;
    }
    
    .product__media-nav--prev {
        left: 16px;
    }
    
    .product__media-nav--next {
        right: 16px;
    }
    
    .product__media-nav:hover {
        background: rgba(255, 255, 255, 1);
    }
    
    .product__media-thumbnails-mobile {
        display: flex;
        gap: 8px;
        padding: 16px;
        overflow-x: auto;
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
        min-height: 100px;
        align-items: center;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .product__media-thumbnails-mobile::-webkit-scrollbar {
        height: 4px;
    }
    
    .product__media-thumbnails-mobile::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .product__media-thumbnails-mobile::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 2px;
    }
    
    .product__media-thumbnails-mobile::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
    
    .product__media-thumbnail-mobile {
        width: 60px;
        height: 60px;
        border: 2px solid transparent;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.2s ease;
        background: #fff;
        flex-shrink: 0;
        flex-grow: 0;
        flex-basis: 60px;
    }
    
    .product__media-thumbnail-mobile:hover {
        border-color: #333;
    }
    
    .product__media-thumbnail-mobile.active {
        border-color: #333;
    }
    
    .product__media-thumbnail-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product__media-thumbnail-mobile--video {
        position: relative;
        overflow: hidden;
    }
    
    .product__media-thumbnail-mobile .video-thumbnail-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product__media-thumbnail-mobile .video-play-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: background 0.2s ease;
    }
    
    .product__media-thumbnail-mobile--video:hover .video-play-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .product__info {
        padding: 20px 16px;
        max-width: none;
        background: #fff;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .product__title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .product__price {
        margin-bottom: 12px;
    }
    
    .price__current {
        font-size: 20px;
    }
    
    .product__guarantee {
        margin-bottom: 12px;
    }
    
    .guarantee-item {
        font-size: 13px;
    }
    
    .product__rating {
        margin-bottom: 16px;
    }
    
    .rating__stars {
        font-size: 14px;
    }
    
    .rating__text {
        font-size: 13px;
    }
    
    .product-form__group {
        margin-bottom: 20px;
    }
    
    .product-form__section-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .width-selector {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .width-option {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .color-categories {
        margin-bottom: 16px;
    }
    
    .color-category__title {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .color-option {
        width: 50px;
        height: 50px;
    }
    
    .size-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        margin-top: 12px;
    }
    
    .size-option {
        height: 36px;
        font-size: 13px;
    }
    
    .size-guide-text {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .size-guide-links {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .size-guide-link {
        font-size: 13px;
    }
    
    .size-selector__dropdown {
        position: fixed !important;
        top: 100vh !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100vh - 80px) !important;
        border-radius: 16px 16px 0 0 !important;
        z-index: 1001 !important;
        transition: top 0.3s ease !important;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15) !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .size-selector__dropdown--open {
        top: 80px !important;
    }
    
    .size-selector__tips {
        flex-shrink: 0 !important;
        order: 2 !important;
    }
    
    
    .size-selector__options {
        max-height: calc(100vh - 200px) !important;
        flex: 1 !important;
        overflow-y: auto !important;
        min-height: 0 !important;
        order: 4 !important;
    }
    
    .size-selector__header {
        border-radius: 16px 16px 0 0 !important;
        flex-shrink: 0 !important;
        order: 1 !important;
    }
    
    .size-selector__overlay {
        z-index: 1000 !important;
        background: rgba(0, 0, 0, 0.5) !important;
    }
    
    .demo-buttons {
        flex-direction: column;
    }
    
    .demo-btn {
        width: 100%;
    }
    
    .color-selector {
        flex-wrap: wrap;
    }
    
    .floating-actions {
        position: fixed;
        right: 16px;
        bottom: 100px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 1000;
    }
    
    .floating-action-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .floating-action-btn--purple {
        background: #8B5CF6;
        color: white;
    }
    
    .floating-action-btn--blue {
        background: #3B82F6;
        color: white;
    }
    
    .floating-action-btn:hover {
        transform: scale(1.1);
    }
    
    .size-selector__dropdown {
        max-width: 100%;
    }
    
    .size-option {
        padding: 14px 16px;
        min-height: 56px;
    }
    
    .size-option__content {
        margin-right: 8px;
    }
    
    .size-option__text {
        max-width: 150px;
        font-size: 13px;
    }
    
    
    
    .quantity-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .stock-display {
        font-size: 13px;
    }
    
    .quantity-selector {
        max-width: 100%;
        width: fit-content;
    }
    
    .quantity-selector__button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .quantity-selector__input {
        width: 50px;
        height: 36px;
        font-size: 14px;
    }
}

/* Video in Main Area */
.product__media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product__media-video:hover {
    transform: scale(1.02);
}

.product__media-video:focus {
    outline: none;
}

/* Video Close Button */
.video-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.video-close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.video-close-btn:focus {
    outline: none;
}

/* Product Details Section */
.product-details {
    margin-top: 60px;
    padding: 0 var(--spacing-md);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-details__inner {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (min-width: 768px) {
    .product-details {
        padding: 0 var(--spacing-xl);
    }
}

.product-features__title,
.shipping-info__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.product-features__divider,
.shipping-info__divider {
    width: 100%;
    height: 1px;
    background: #e9ecef;
    margin-bottom: 20px;
}

.product-features__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.product-features__column {
    flex: 1;
}

.product-features__list,
.shipping-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features__item,
.shipping-info__item {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-left: 0;
    position: relative;
}

.product-features__item::before,
.shipping-info__item::before {
    content: '•';
    color: #333;
    font-weight: bold;
    position: absolute;
    left: -16px;
}

.product-features__notes {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

.shipping-info__link {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
}

.shipping-info__link:hover {
    color: #333;
}

.shipping-info__item--specific {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 3px solid #007bff;
    font-weight: 500;
    margin-top: 8px;
}

/* Responsive Design for Product Details */
@media (max-width: 1024px) {
    .product-details__inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-details {
        margin-top: 40px;
        padding: 0 var(--spacing-lg);
    }
    
    .product-details__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-features__content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-features__title,
    .shipping-info__title {
        font-size: 16px;
    }
    
    .product-features__item,
    .shipping-info__item {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

/* Product Information Section */
.product-info-section {
    margin: 60px 0;
}

.product-info__container {
    position: relative;
    max-width: 100vw;
    margin: 0 auto;
    overflow: hidden;
    background: #f8f9fa;
}

.product-info__image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.product-info__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-info__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.product-info__text-box {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.product-info__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.product-info__description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}



/* Product Info Section Responsive */
@media (max-width: 1024px) {
    .product-info__content {
        padding: 30px;
    }
    
    .product-info__text-box {
        max-width: 500px;
        padding: 25px;
    }
    
    .product-info__title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .product-info-section {
        margin: 40px 0;
    }

    .product-info__image {
        height: auto;
        min-height: 300px;
    }

    .product-info__content {
        position: relative;
        padding: 20px;
        align-items: flex-start;
        padding-top: 20px;
        min-height: auto;
        height: auto;
        display: block;
        background: none;
    }

    .product-info__text-box {
        max-width: 100%;
        padding: 20px;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: none;
    }

    .product-info__title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .product-info__description {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Pricing Philosophy Section */
.pricing-philosophy-section {
    margin: 80px 0;
    padding: 0 8px;
    background: #f8f9fa;
}

.pricing-philosophy__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 40px;
}

.pricing-philosophy__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 60px 0;
    line-height: 1.2;
}

.pricing-philosophy__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.pricing-philosophy__left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pricing-philosophy__product-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.pricing-philosophy__img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


/* Right Column */
.pricing-philosophy__right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pricing-philosophy__description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.pricing-philosophy__description p {
    margin: 0;
}

.selling-points__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.selling-points__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #1a1a1a;
}

.selling-points__item::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.selling-points__item::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-left: -20px;
}

.pricing-philosophy__read-more {
    margin-top: 10px;
}

.pricing-philosophy__link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.pricing-philosophy__link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Pricing Philosophy Responsive */
@media (max-width: 1024px) {
    .pricing-philosophy__container {
        padding: 40px 30px;
    }
    
    .pricing-philosophy__content {
        gap: 60px;
    }
    
    .pricing-philosophy__title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .pricing-philosophy-section {
        margin: 60px 0;
    }
    
    .pricing-philosophy__container {
        padding: 30px 20px;
    }
    
    .pricing-philosophy__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-philosophy__title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .pricing-philosophy__left {
        gap: 30px;
    }
    
    .pricing-philosophy__product-image {
        height: auto;
        min-height: 200px;
    }
    
    .price-comparison__marker::after {
        font-size: 11px;
    }
    
    .pricing-philosophy__description {
        font-size: 15px;
    }
    
    .selling-points__item {
        font-size: 13px;
    }
}


.product__features-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.size-features-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.size-features-list .product__feature-item {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.size-features-list .product__feature-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.size-stock-info {
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.size-stock-info:not(:empty) {
    padding: 8px 12px;
    background: #e3f2fd;
    border-radius: 4px;
    border-left: 3px solid #2196f3;
}

/* Size-specific Features Responsive */
@media (max-width: 768px) {
    .size-specific-features {
        margin-top: 15px;
        padding: 15px;
    }
    
    .product__features-subtitle {
        font-size: 15px;
    }
    
    .size-features-list .product__feature-item {
        font-size: 13px;
    }
}

/* Responsive Design for Size Selector */
@media (max-width: 1024px) {
    .size-selector__dropdown {
        width: 60%;
        max-width: 500px;
        min-width: 350px;
    }
}