/* Toast Notification Styles */
.rg-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rg-toast.hide {
    animation: slideOut 0.3s ease-in forwards;
}

.rg-toast.success {
    background: #137F78;
    color: white;
    border-left: 5px solid #059669;
}

.rg-toast.error {
    background: #ef4444;
    color: white;
    border-left: 5px solid #dc2626;
}

.rg-toast.warning {
    background: #f59e0b;
    color: white;
    border-left: 5px solid #d97706;
}

.rg-toast.info {
    background: #3b82f6;
    color: white;
    border-left: 5px solid #1d4ed8;
}

.toast-content {
    flex: 1;
    margin-right: 15px;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.toast-message {
    font-size: 13px;
    opacity: 0.9;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Stock Status Styles */
.stock-status {
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stock-status.in-stock {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #137F78;
}

.stock-status.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.stock-status.low-stock {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.stock-icon {
    font-size: 14px;
}

/* Quote Button Styles */
.btn-quote-main {
    background: #137F78 !important;
    color: white !important;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    margin-top: 10px;
}

.btn-quote-main:hover {
    background: #F28526 !important;
    transform: translateY(-2px);
    color: white !important;
}

.quote-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    font-size: 13px;
    color: #92400e;
}


:root {
    --bg: #f6f8fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --accent: #0ea5a4;
    --accent-2: #0369a1;
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --border: #e5e7eb;
    --danger: #ef4444;
}


.container-product-page {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 16px;
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .container-product-page {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container-product-page {
        padding: 0 15px;
        margin: 10px auto;
    }

    .product-layout {
        gap: 10px;
    }

    .gallery-container {
        padding: 10px;
    }

    .thumbnails-column {
        gap: 8px;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .main-image-container {
        min-height: 300px;
    }

    .main-image {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .container-product-page {
        padding: 0 10px;
    }
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}


.gallery-container {
    display: flex;
    gap: 0px;
    height: auto;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    align-items: center;
}



.thumbnails-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
    overflow-y: auto;
    max-height: 500px;
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .thumbnails-column {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        padding-bottom: 10px;
        order: 2;
    }

    .thumbnails-column::-webkit-scrollbar {
        height: 4px;
    }

    .thumbnails-column::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 2px;
    }

    .gallery-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
}


.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}


.thumbnail:hover {
    border-color: #137F78;
}

.thumbnail.active {
    border-color: #137F78;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-container {
    flex: 1;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f8fafc;
    min-height: 400px;
}

@media (max-width: 992px) {
    .main-image-container {
        min-height: 350px;
        width: 100%;
        order: 1;
    }
}



@media (max-width: 480px) {
    .main-image-container {
        min-height: 250px;
    }
}

.main-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

@media (max-width: 768px) {}

@media (max-width: 480px) {
    .main-image {
        min-height: 250px;
    }
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 500px;
}

@media (max-width: 992px) {
    .main-image img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .main-image img {
        max-height: 350px;
    }
}

.gallery-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;
    font-size: 18px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 10;
}

@media (max-width: 768px) {
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

.gallery-nav:hover {
    background: #137F78;
    color: white;
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.short-description {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .short-description {
        padding: 15px;
    }
}

.short-description h4 {
    margin: 0 0 12px 0;
    font-size: 30px;
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 992px) {
    .short-description h4 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .short-description h4 {
        font-size: 20px;
    }
}

.short-description ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.short-description li {
    margin-bottom: 8px;
}

.info-box {
    background: var(--card);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .info-box {
        padding: 12px;
        gap: 8px;
    }
}

.title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 18px;
        margin-bottom: 6px;
    }
}

.badges-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    align-items: center;
}

.sku,
.category,
.type,
.size {
    font-size: 12px;
    background: #F28526;
    color: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 500;
}

@media (max-width: 768px) {

    .sku,
    .category,
    .type,
    .size {
        font-size: 11px;
        padding: 4px 8px;
    }
}

.price-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #137F78 !important;
}

@media (max-width: 992px) {
    .price {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .price {
        font-size: 22px;
    }
}

.regular-price {
    font-size: 16px;
    text-decoration: line-through;
    text-decoration-color: red;
    color: var(--muted);
}


@media (max-width: 768px) {
    .regular-price {
        font-size: 18px;
    }
}

.sale-badge {
    background: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Stock Status Styles */

.stock-status {
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .stock-status {
        padding: 6px 12px;
        font-size: 11px;
    }
}

.stock-icon {
    font-size: 14px;
}

.start-date-section {
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin: 0px 0;
}

@media (max-width: 768px) {
    .start-date-section {
        padding: 8px;
    }
}

.start-date-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

@media (max-width: 768px) {
    .start-date-section label {
        font-size: 13px;
        margin-bottom: 6px;
    }
}

.start-date-section input,
.start-date-section select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

@media (max-width: 768px) {

    .start-date-section input,
    .start-date-section select {
        padding: 10px;
        font-size: 13px;
    }
}

.start-date-section input:focus,
.start-date-section select:focus {
    border-color: #137F78;
    box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.1);
    outline: none;
}

/* Week Selection Styles */
.week-selection {
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .week-selection {
        padding: 8px;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}

.week-selection label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

@media (max-width: 768px) {
    .week-selection label {
        margin-bottom: 6px;
        font-size: 13px;
    }
}

.week-max-notice {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
    font-style: italic;
}

@media (max-width: 768px) {
    .week-max-notice {
        font-size: 11px;
        margin-bottom: 8px;
    }
}

.week-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px;
    width: 30%;
}

@media (max-width: 768px) {
    .week-selector {
        width: 100%;
        justify-content: center;
    }
}

.week-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #137F78;
    color: white;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .week-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

.week-btn:hover {
    background: #0f625c;
}

.week-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.week-input {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    min-width: 60px;
}

@media (max-width: 768px) {
    .week-input {
        min-width: 50px;
        font-size: 15px;
    }
}

.week-input:focus {
    outline: none;
}

.week-label {
    font-size: 14px;
    color: var(--muted);
    padding: 0 5px;
    min-width: 50px;
}

/* Quantity Section Styles */
.quantity-section {
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .quantity-section {
        padding: 8px;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}

.quantity-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

@media (max-width: 768px) {
    .quantity-section label {
        margin-bottom: 6px;
        font-size: 13px;
    }
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px;
    width: 150px;
}

@media (max-width: 768px) {
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #137F78;
    color: white;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

.quantity-btn:hover {
    background: #0f625c;
}

.quantity-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.quantity-input {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 768px) {
    .quantity-input {
        font-size: 15px;
    }
}

.quantity-input:focus {
    outline: none;
}

.quantity-max-notice {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
    font-style: italic;
}

@media (max-width: 768px) {
    .quantity-max-notice {
        font-size: 11px;
        margin-bottom: 8px;
    }
}

.services-section,
.accessories-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin: 15px 0;
}

@media (max-width: 768px) {

    .services-section,
    .accessories-section {
        padding: 15px;
        margin: 10px 0;
    }
}

.services-header,
.accessories-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {

    .services-header,
    .accessories-header {
        margin-bottom: 12px;
    }
}

.services-header h2,
.accessories-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 768px) {

    .services-header h2,
    .accessories-header h2 {
        font-size: 18px;
    }
}

.services-grid,
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

@media (max-width: 768px) {

    .services-grid,
    .accessories-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.service-card,
.accessory-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

@media (max-width: 768px) {

    .service-card,
    .accessory-card {
        padding: 12px;
        gap: 10px;
    }
}

.service-card:hover,
.accessory-card:hover {
    border-color: #137F78;
    background: #f8fafc;
    transform: translateY(-2px);
}

.service-card.selected,
.accessory-card.selected {
    border-color: #137F78;
    background: #f0fdfa;
}

.service-icon,
.accessory-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

@media (max-width: 768px) {

    .service-icon,
    .accessory-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

.accessory-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .accessory-image {
        width: 50px;
        height: 50px;
    }
}

.accessory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info,
.accessory-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.service-content,
.accessory-content {
    flex: 1;
    min-width: 0;
}

.service-name,
.accessory-name {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

@media (max-width: 768px) {

    .service-name,
    .accessory-name {
        font-size: 13px;
    }
}

.service-price,
.accessory-price {
    color: #137F78;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

@media (max-width: 768px) {

    .service-price,
    .accessory-price {
        font-size: 13px;
    }
}

.service-checkbox,
.accessory-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-card.selected .service-checkbox,
.accessory-card.selected .accessory-checkbox {
    background: #137F78;
    border-color: #137F78;
    color: white;
}

.service-rate-type,
.accessory-rate-type {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {

    .service-rate-type,
    .accessory-rate-type {
        font-size: 11px;
    }
}

.service-rate-type span,
.accessory-rate-type span {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* Accessory Quantity Selector */
.accessory-quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .accessory-quantity-selector {
        gap: 6px;
    }
}

.accessory-quantity-label {
    font-size: 12px;
    color: var(--muted);
}

.accessory-quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.accessory-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .accessory-qty-btn {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }
}

.accessory-qty-btn:hover {
    background: #137F78;
    color: white;
    border-color: #137F78;
}

.accessory-qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.accessory-qty-input {
    width: 40px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .accessory-qty-input {
        width: 35px;
        font-size: 13px;
    }
}

.accessory-qty-input:focus {
    outline: none;
    border-color: #137F78;
}

.btn {
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 16px;
        font-size: 15px;
    }
}

.btn-primary {
    background: #137F78;
    color: white;
    width: 100% !important;
}

.btn-primary:hover {
    background: #F28526;
    transform: translateY(-2px);
}

.btn-checkout {
    background: #F28526 !important;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

@media (max-width: 768px) {
    .btn-checkout {
        padding: 12px 16px;
        font-size: 15px;
    }
}

.btn-checkout:hover {
    background: #137F78 !important;
    transform: translateY(-2px);
}

.btn-quote {
    background: #137F78 !important;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
}

@media (max-width: 768px) {
    .btn-quote {
        padding: 12px 16px;
        font-size: 15px;
    }
}

.btn-quote:hover {
    background: #F28526 !important;
    transform: translateY(-2px);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    color: #fff !important;
}

@media (max-width: 768px) {
    .button-group {
        gap: 8px;
        margin-bottom: 12px;
    }
}

.button-group a {
    color: #fff !important;
}

.product-layout-second {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

@media (max-width: 992px) {
    .product-layout-second {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 15px 0;
    }
}

@media (max-width: 768px) {
    .product-layout-second {
        gap: 12px;
        margin: 12px 0;
    }
}

.caution {
    border: .063em dashed #666;
    padding: .75em;
    width: auto;
    margin: 10px 0px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .caution {
        padding: .5em;
        font-size: 13px;
        margin: 8px 0;
    }
}

.Calculator-and-Cart {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .Calculator-and-Cart {
        padding: 15px;
    }
}

.calculator-result h4 {
    margin: 0px 0px 10px 0px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .calculator-result h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

@media (max-width: 768px) {
    .summary-item {
        font-size: 13px;
        padding: 6px 0;
    }
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 700;
    font-size: 18px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .summary-total {
        font-size: 16px;
        padding: 10px 0;
    }
}

.details {
    background: var(--card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .details {
        padding: 25px;
        margin-bottom: 30px;
    }
}


.details h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 768px) {
    .details h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .description {
        font-size: 14px;
        line-height: 1.5;
    }

    .details {
        padding: 20px;
        margin-bottom: 25px;
    }
}

.description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}



.woocommerce div.product form.cart {
    margin-bottom: 0em;
}

/* Hide elements for buy products */
.buy-product-hide {
    display: none !important;
}

/* Delivery Options Styles */
.delivery-option-section {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .delivery-option-section {
        padding: 12px;
    }
}

.delivery-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: top 10px;
}

@media (max-width: 768px) {
    .delivery-options {
        flex-direction: column;
        gap: 8px;
        margin: top 10px;
    }
}

.delivery-option {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    min-width: 200px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .delivery-option {
        min-width: 100%;
        padding: 8px;
    }
}

.delivery-option:hover {
    border-color: #137F78;
    background: #f0fdfa;
}

.delivery-option.selected {
    border-color: #137F78;
    background: #f0fdfa;
}

.delivery-option h4 {
    margin: 0 0 8px 0;
    color: var(--text);
    font-size: 16px;
}

@media (max-width: 768px) {
    .delivery-option h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }
}

.delivery-option p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .delivery-option p {
        font-size: 13px;
    }
}

.port-selection {
    display: none;
    margin-top: 15px;
}

.port-selection.active {
    display: block;
    margin: 0px 0;
}

.delivery-location {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .delivery-location {
        padding: 10px;
        font-size: 13px;
    }
}

.warehouse-fixed-rate {
    padding: 10px;
    background: #f0fdfa;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #137F78;
}

.warehouse-fixed-rate p {
    margin: 0;
    font-weight: 600;
    color: #137F78;
}

.delivery-option-checkbox {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.delivery-option.selected .delivery-option-checkbox {
    background: #137F78;
    border-color: #137F78;
    color: white;
}

.delivery-option.selected .delivery-option-checkbox:after {
    content: '✓';
    font-size: 12px;
    color: white;
}

.selection-content {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .selection-content {
        padding: 12px;
        margin-top: 12px;
    }
}

.selection-content.active {
    display: block;
}

.delivery-selection {
    width: 100%;
}

/* Toast Notification Styles - Mobile Optimized */
@media (max-width: 768px) {
    .rg-toast {
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        padding: 12px 16px;
        top: 10px;
        right: 10px;
        left: 10px;
        margin: 0 auto;
    }

    .toast-content {
        margin-right: 10px;
    }

    .toast-title {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .toast-message {
        font-size: 12px;
    }

    .toast-close {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
}

/* Quote Button Styles - Mobile */
.btn-quote-main {
    background: #137F78 !important;
    color: white !important;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .btn-quote-main {
        padding: 12px 16px;
        font-size: 15px;
        margin-top: 8px;
    }
}

.btn-quote-main:hover {
    background: #F28526 !important;
    transform: translateY(-2px);
    color: white !important;
}

.quote-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    font-size: 13px;
    color: #92400e;
}

@media (max-width: 768px) {
    .quote-notice {
        padding: 10px;
        font-size: 12px;
        margin: 8px 0;
    }
}

/* Utility Classes for Responsive */
@media (max-width: 768px) {
    .mobile-full-width {
        width: 100% !important;
    }

    .mobile-stack {
        flex-direction: column !important;
    }

    .mobile-text-center {
        text-align: center !important;
    }

    .mobile-hide {
        display: none !important;
    }

    .mobile-show {
        display: block !important;
    }

    .mobile-p-1 {
        padding: 1rem !important;
    }

    .mobile-m-0 {
        margin: 0 !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .gallery-nav,
    .week-btn,
    .quantity-btn,
    .accessory-qty-btn,
    .btn,
    .delivery-option,
    .service-card,
    .accessory-card {
        cursor: default;
    }

    .gallery-nav:active,
    .week-btn:active,
    .quantity-btn:active,
    .accessory-qty-btn:active,
    .btn:active,
    .delivery-option:active,
    .service-card:active,
    .accessory-card:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }

    .btn:hover,
    .delivery-option:hover,
    .service-card:hover,
    .accessory-card:hover {
        transform: none;
    }

    .btn:active {
        transform: translateY(0px) scale(0.95);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text: #000000;
        --muted: #333333;
    }

    .btn-primary,
    .btn-checkout,
    .btn-quote {
        border: 2px solid #000000;
    }

    .stock-status {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .btn:hover,
    .btn:active,
    .gallery-nav:hover,
    .service-card:hover,
    .accessory-card:hover,
    .delivery-option:hover {
        transform: none !important;
    }
}

/* CSS for readonly/disabled looking inputs */
.week-input:read-only,
.quantity-input:read-only,
.accessory-qty-input:read-only {
    background-color: #f8f9fa;
    color: #495057;
    cursor: not-allowed;
    border-color: #ced4da;
}

/* Optionally make them look like they're not editable */
.week-input,
.quantity-input,
.accessory-qty-input {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Style for readonly state */
input[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}