/* Product profile container font */
.product-profile {
    font-family: 'Noto Sans JP', sans-serif;
}

/* EVERNEW logo sizing */
.product-logo-img {
    width: 166px !important;
    height: 17px !important;
    max-width: none !important;
    flex: 0 0 auto;
}
@media (max-width: 900px) {
    .product-logo-img {
        width: 120px !important;
        height: 13px !important;
        max-width: none !important;
    }
}

/* Product code text */
.product-code {
    color: #23272B;
    font-size: 14px;
    margin-bottom: 4px;
}

/* Product title */
.product-title {
    font-size: 34px;
    font-weight: bold;
    color: #23272B;
    margin-bottom: 16px;
}
@media (max-width: 900px) {
    .product-title {
        font-size: 24px;
    }
}

/* Price blocks */
.product-regular-price {
    color: #23272B;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.discount-badge {
    background: #E86C6C;
    color: #fff;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.95rem;
    margin-left: 8px;
}

@media (max-width: 900px) {
    .product-right-inner {
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
        width: 100%;
    }
    .ec-sliderItemRole {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .select-wrapper { width: 100%; }
    .product-option-row { gap: 6px; flex-direction: column; align-items: stretch; }
    .quantity-row { gap: 6px !important; flex-direction: column !important; align-items: stretch !important; }
    .label-col { width: auto; min-width: 0 !important; font-size: 14px; text-align: left !important; margin-bottom: 6px; }
    .item_nav { display: flex !important; margin-top: 8px; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
    .item_nav .slideThumb { display: inline-block !important; flex: 0 0 auto; }
    .slick-dots { display: none !important; }
    .item_nav .slideThumb img, .ec-sliderItemRole .slideThumb img { width: 70px !important; height: 70px !important; }
    .item_nav .slideThumb { margin-right: 6px !important; }
}

.product-price-display {
    font-size: 2rem;
    color: #E6002D;
    font-weight: bold;
    margin-bottom: 4px;
}

.product-price-fallback {
    font-size: 2rem;
    color: #E6002D;
    font-weight: bold;
    margin-bottom: 16px;
}

.price-tax-label {
    font-size: 1rem;
    color: #23272B;
    font-weight: normal;
}
@media (max-width: 900px) {
    .price-tax-label {
        font-size: 14px;
    }
}

.product-option-row {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.select-wrapper {
    width: 235px;
    position: relative;
}

.product-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 45px;
    font-size: 16px;
    border-radius: 4px;
    border: 1.2px solid #888;
    padding: 0 40px 0 16px;
    font-weight: normal;
    background: #fff;
    box-sizing: border-box;
}

.select-caret {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.ec-productRole {
    margin-top: 60px;
    background-color: #fff;
}

.slick-slider {
    margin-bottom: 30px;
}

.slick-dots {
    position: absolute;
    bottom: -45px;
    display: block;
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}

.slick-dots li button:before {
    content: " ";
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    text-align: center;
    opacity: .25;
    background-color: black;
    border-radius: 50%;

}

.slick-dots li.slick-active button:before {
    opacity: .75;
    background-color: black;
}

.slick-dots li button.thumbnail img {
    width: 0;
    height: 0;
}

.color-selection, .number-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.color-swatch, .number-swatch {
    border: 2px solid #eee;
    border-radius: 6px;
    padding: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-swatch {
    width: 72px;
    font-size: 16px;
}

.number-swatch {
    width: 48px;
    height: 48px;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
}

.color-swatch:hover, .number-swatch:hover {
    border-color: #ccc;
    transform: translateY(-2px);
}

.color-swatch.active, .number-swatch.active {
    border-color: #E6002D;
    box-shadow: 0 2px 4px rgba(230, 0, 45, 0.2);
}

.color-swatch img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    margin-bottom: 4px;
    border-radius: 4px;
}

.no-numbers {
    color: #999;
    font-style: italic;
}

#classcategory_id2 {
    appearance: none;
    -webkit-appearance: none;
    width: 235px;
    height: 45px;
    font-size: 16px;
    border-radius: 4px;
    border: 1.2px solid #888;
    padding: 0 48px 0 16px;
    font-weight: normal;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="black" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 16px center/18px 18px;
    box-sizing: border-box;
    position: relative;
}
#classcategory_id2:focus {
    border-color: #E6002D;
}
#classcategory_id2::-ms-expand {
    display: none;
}
#classcategory_id2 option {
    font-weight: normal;
}
#classcategory_id2 {
    background-clip: padding-box;
}
#classcategory_id2:after {
    content: '';
    position: absolute;
    top: 8px;
    right: 40px;
    width: 1px;
    height: 29px;
    background: #888;
    z-index: 2;
}

.quantity-box {
    display: flex;
    width: 235px;
    height: 45px;
    border: 1.2px solid #888;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}
#quantity-minus, #quantity-plus {
    width: 45px;
    height: 100%;
    font-size: 20px;
    border: none;
    background: none;
    font-weight: normal;
    cursor: pointer;
    transition: background 0.2s;
    color: #23272B;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 45px;
    text-align: center;
    flex: none;
    align-items: center;
    justify-content: center;
    display: flex;
}
#quantity-minus {
    border-right: 1px solid #888;
}
#quantity-plus{
    border-left: 1px solid #888;
}
#quantity {
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: normal;
    width: 100px;
    text-align: center;
    height: 100%;
    background: none;
    color: #23272B;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 45px;
    flex: 1;
}
#quantity-minus:hover, #quantity-plus:hover {
    background: #f5f5f5;
}

.label-col {
    width: 60px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.2em;
    color: #555666;
    line-height: 1.1;
    text-align: left;
    display: flex;
    align-items: center;
}

.quantity-row {
    margin-bottom: 16px;
    display: flex !important;
    align-items: center !important;
    gap: 32px;
    flex-direction: row !important;
}

.quantity-row .label-col {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: auto !important;
    min-width: 60px !important;
}



.slide-item img {
    border: 1.5px solid #CCCCCC;
}

.item_nav .slideThumb {
    width: auto !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 8px !important;
    flex-shrink: 0;
}

.item_nav .slideThumb:last-child {
    margin-right: 0 !important;
}

.item_nav .slideThumb img {
    border: 1.5px solid #CCCCCC;
    border-radius: 4px;
    transition: border 0.2s;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.item_nav .slideThumb.active img {
    border: 2px solid #E6002D;
}


.ec-sliderItemRole .slideThumb {
    width: auto !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 8px !important;
}

.ec-sliderItemRole .slideThumb:last-child {
    margin-right: 0 !important;
}

.ec-sliderItemRole .slideThumb img {
    width: 100px !important;
    height: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Image navigation buttons */
.item_visual-container {
    position: relative;
}

.item_visual-container .item_visual {
    position: relative;
    width: 100%;
    height: auto;
}

.item_visual-container .item_visual .slick-slider {
    width: 100%;
}

.item_visual-container .item_visual .slick-track {
    width: 100%;
}

.item_visual-container .item_visual .slick-slide {
    width: 100%;
}

.product-image-nav-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    margin: 0;
}

.product-image-nav-btn:hover {
    background: #333;
}

.product-image-nav-btn img {
    width: 16px;
    height: 16px;
}

.product-image-nav-left {
    left: 10px;
}

.product-image-nav-left img {
    transform: rotate(180deg);
}

.product-image-nav-right {
    right: 10px;
}

.product-image-nav-btn[style*="display: none"] {
    display: none !important;
}

#quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-actions-container {
    width: 100%;
    box-sizing: border-box;
    margin-top: 24px;
}

.product-action-buttons {
    display: flex;
    width: 100%;
    gap: 16px;
    margin-bottom: 24px;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
    flex: 1 1 0;
    min-width: 0;
}

.action-button-content {
    display: flex;
    align-items: center;
    gap: 8px;
}


.add-cart:disabled {
    padding: 4px !important;
    min-height: 56px;
}

.add-cart:disabled .action-button-content {
    font-size: 14px;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 4px;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.add-cart:disabled .action-button-content span {
    font-size: inherit;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: block;
    width: 100%;
}

.action-button:hover {
    opacity: 0.85;
}

.action-button svg {
    width: 24px;
    height: 24px;
}

.add-to-cart-btn {
    background-color: #E6002D;
    color: #fff;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1000 !important;
}


.add-to-cart-btn:hover {
    background-color: #cc0026 !important;
    transform: scale(1.02) !important;
}


.add-to-favorite-btn {
    background-color: #555666;
    color: #fff;
}

.add-to-favorite-btn.is-favorite {
    background-color: #555666;
}

.add-to-favorite-btn.is-favorite svg {
    fill: #E6002D;
}

.add-to-favorite-btn.is-favorite svg path {
    stroke: #E6002D;
    fill: #E6002D;
}

.gift-wrap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    background-color: #EAEAEA;
    height: 60px;
    border-radius: 4px;
}

.gift-wrap-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.gift-wrap-title img {
    width: 24px;
    height: 24px;
}

.gift-wrap-toggle {
    font-size: 28px;
    font-weight: 300;
    color: #333;
}

.gift-wrap-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #ddd;
    display: none; /* Hidden by default */
}

.gift-wrap-content h3 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 12px;
}

.gift-wrap-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gift-wrap-option {
    display: flex;
    align-items: center;
}

.gift-wrap-option input {
    margin-right: 10px;
}

.gift-wrapping-accordion {
    background-color: #EAEAEA;
    border-radius: 8px;
    margin-top: 16px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    cursor: pointer;
    height: 60px;
    transition: background-color 0.3s;
}


.product-tag-pill {
    display: inline-block;
    padding: 0 12px;
    color: #fff;

}

.gift-wrap-content .gift-wrap-option label {
    margin-left: 8px;
    cursor: pointer;
}

.gift-wrap-message {
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.product-intro-text {
    font-size: 13px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
    padding-left: 16px;
    margin-top: 36px;
}

.product-intro-text p:last-child {
    margin-top: 1em;
}

.product-extended-info {
    background-color: #f5f5f5;
    padding: 32px;
    margin-top: 40px;
    margin-left: 16px;
}


.product-specs-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #23272B;
    margin-top: 16px;
    line-height: 1.6;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dddddd;
}

.product-specs-table th,
.product-specs-table td {
    border: 1px solid #dddddd;
    padding: 16px;
    font-size: 13px;
    vertical-align: middle;
}

.product-specs-table th {
    background-color: #EAEAEA;
    font-weight: bold;
    text-align: left;
    width: 25%;
}

.product-specs-table td {
    background-color: #fff;
}

.specs-disclaimer {
    font-size: 14px;
    color: #555;
    margin-top: 16px;
    line-height: 1.6;
}

.usage-guide-button-container {
    margin-top: 32px;
    margin-bottom: 120px;
    padding-left: 16px;
}

.usage-guide-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #4C4A5E;
    color: #fff;
    text-align: center;
    padding: 18px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.usage-guide-button:hover {
    opacity: 0.85;
    color: #fff;
}

.usage-guide-button::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    position: absolute;
    right: 24px;
}

.ec-productRole__profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-logo-container {
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-start;
    text-align: left;
}

.related-products-section {
    margin-top: 60px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: url('../icon/side-icon.svg');
    display: inline-block;
    width: 10px;
    height: 20px;
    margin-right: 12px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.related-product-item a {
    text-decoration: none;
    color: inherit;
}

.related-product-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 1px solid #eee;
    margin-bottom: 16px;
}

.related-product-item .product-code {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.related-product-item .product-name {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
}

.related-product-item .product-price {
    font-size: 15px;
    font-weight: bold;
}

.related-product-item .product-price span {
    font-size: 12px;
    font-weight: normal;
    color: #888;
    margin-left: 4px;
}

.promo-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 100px;
    max-width: 100%;
}

.promo-banners > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Center single banner on desktop */
.promo-banners > a:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 50%;
}

@media (max-width: 900px) {
    .promo-banners {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .promo-banners > a:only-child {
        max-width: 100%;
    }
    .promo-banners > a {
        min-height: 200px;
    }
    .product-price-display {
        margin-bottom: 40px;
    }
}

.promo-banners img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

#form1 {
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.ec-grid2__cell {
    width: 100%;
    box-sizing: border-box;
}

/* Modal Styles */
.ec-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ec-modal.show {
    display: block;
}

.ec-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ec-modal-wrap {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    padding: 32px 48px;
    width: 1200px;
    height: 266px;
    max-width: 1200px;
    min-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
    overflow: hidden;
    box-sizing: border-box;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ec-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background-color: transparent;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ec-modal-close .ec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.ec-modal-close svg {
    width: 16px;
    height: 16px;
}

#ec-modal-header {
    font-size: 18px;
    font-weight: normal;
    color: #23272B;
    text-align: center;
    padding-right: 40px;
    padding-top: 20px;
}

.ec-modal-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.ec-role {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 0 24px; 
    align-items: center;
    padding-bottom: 73px;
}

.ec-inlineBtn--cancel,
.ec-inlineBtn--action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px; 
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 320px;
    height: 60px;
    white-space: nowrap;
    flex: none;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
}

.ec-inlineBtn--cancel {
    background-color: #555666;
    color: #fff;
}

.ec-inlineBtn--cancel:hover {
    background-color: #444555;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.ec-inlineBtn--action {
    background-color: #E6002D;
    color: #fff;
}

.ec-inlineBtn--action:hover {
    background-color: #cc0026;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(230, 0, 45, 0.3);
    color: #fff;
}

.ec-inlineBtn--cancel svg,
.ec-inlineBtn--action svg {
    width: 16px;
    height: 16px;
}

/* Image Zoom Modal Styles */
.image-zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-out;
}

.image-zoom-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    transform: translate(var(--pan-x, 0px), var(--pan-y, 0px));
}

.zoom-modal-image.zoomed {
    cursor: zoom-out;
    transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(2);
    cursor: grab;
    transition: transform 0.05s linear;
}

.zoom-modal-image.zoomed:active {
    cursor: grabbing;
}

.zoom-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.zoom-modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.zoom-modal-nav-icon {
    width: 22px;
    height: 22px;
}

.zoom-modal-prev {
    left: 16px;
}

.zoom-modal-next {
    right: 16px;
}

.zoom-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s ease;
}

.zoom-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.zoom-modal-close::before {
    content: '×';
    font-size: 28px;
    line-height: 1;
}

.zoom-instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10001;
}


.slide-item img {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.slide-item img:hover {
    opacity: 0.9;
}

/* Responsive design for mobile */
@media (max-width: 900px) {
    .product-extended-info {
        margin-left: 0px;
    }
    .product-intro-text {
        padding-left: 0px;
    }
    .usage-guide-button-container {
        padding-left: 0px;
    }
    .ec-modal-wrap {
        width: calc(100vw - 40px);
        height: auto;
        min-height: 200px;
        padding: 24px;
        margin: 20px;
    }
    
    .ec-role {
        flex-direction: column;
        gap: 12px;
    }
    
    .ec-inlineBtn--cancel,
    .ec-inlineBtn--action {
        width: 100%;
        height: 50px;
        padding: 0 20px;
        font-size: 16px;
    }
    
    #ec-modal-header {
        font-size: 18px;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .ec-modal-close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
    }
    
    .zoom-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .zoom-instructions {
        bottom: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
}



/* Product Tag Pills */
.product-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    overflow: visible;
}

.product-tag-pill {
    display: inline-block;
    padding: 0 12px;
    height: 32px;
    line-height: 32px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

/* Tag-specific styles */
.product-tag-pill.tag-new {
    background: #E6002D;
}

.product-tag-pill.tag-sale {
    background: #fff;
    border: 2px solid #E6002D;
    color: #E6002D;
}

.product-tag-pill.tag-outlet {
    background: #E6B600;
}

.product-tag-pill.tag-waiting,
.product-tag-pill.tag-online-unavailable {
    background: #23272B;
}

.product-tag-pill.tag-default {
    background: #23272B;
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .product-tags-container { 
        gap: 6px; 
        flex-wrap: wrap;
        overflow: visible;
    }
    .product-tag-pill { 
        height: 22px; 
        line-height: 22px; 
        padding: 0 10px;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }
}

/* Product Action Buttons */
.product-action-buttons {
    width: 100%;
    display: flex;
    gap: 16px;
}


@media (max-width: 900px) {
    .product-action-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-action-buttons .action-button,
    .product-action-buttons .add-to-cart-btn,
    .product-action-buttons .add-to-favorite-btn,
    .product-action-buttons #favorite-button {
        flex: none !important;
        width: 100% !important;
        height: 60px !important; /* Mobile button height */
        min-height: 60px !important;
        max-height: 60px !important;
        line-height: 60px !important;
    }
    

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

/* Gift Wrap Styles */
.gift-wrap-content {
    display: none;
    padding: 16px;
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.gift-wrap-header {
    cursor: pointer;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 0;
    background-color: #fff;
    transition: background-color 0.2s;
}

.gift-wrap-header:hover {
    background-color: #f5f5f5;
}

.gift-wrap-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gift-wrap-toggle {
    font-size: 18px;
    font-weight: bold;
    color: #666;
}

.gift-wrap-options {
    margin-top: 16px;
}

.gift-wrap-option {
    margin-bottom: 8px;
}

.gift-wrap-option input[type="radio"] {
    margin-right: 8px;
}

.gift-wrap-message {
    margin: 4px;
    padding: 16px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    line-height: 1.6;
    color: #333;
}


@media (max-width: 900px) {
    .select-wrapper { width: 100% !important; }
    .product-option-row { gap: 6px !important; flex-direction: column !important; align-items: stretch !important; }
    .quantity-row { gap: 6px !important; flex-direction: column !important; align-items: stretch !important; }
    .quantity-box { width: 100% !important; }
    #quantity { width: 100% !important; }
    .label-col { width: auto !important; min-width: 0 !important; font-size: 14px !important; text-align: left !important; margin-bottom: 6px !important; }
    .ec-productRole__profile { align-items: flex-start !important; }
    .product-logo-container { justify-content: flex-start !important; text-align: left !important; }
}