
:root {
    --gpd-primary: #174982;
    --gpd-primary-hover: #1a5aa0;
    --gpd-secondary: #fafbfc;
    --gpd-success: #27ae60;
    --gpd-warning: #e67e22;
    --gpd-danger: #e74c3c;
    --gpd-dark: #2c3e50;
    --gpd-light: #f7f8fa;
    --gpd-white: #ffffff;
    --gpd-border: rgba(0, 0, 0, 0.06);
    --gpd-shadow: rgba(0, 0, 0, 0.04);
    --gpd-shadow-soft: rgba(0, 0, 0, 0.02);
    --gpd-shadow-hover: rgba(0, 0, 0, 0.08);
    --gpd-radius: 20px;
    --gpd-radius-small: 10px;
    --gpd-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gpd-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gpd-font-family-mixed: 'Manrope', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    
    --gpa-primary-color: #174982;
    --gpa-primary-light: #2b5d9b;
    --gpa-primary-dark: #0f3566;
    --gpa-accent-color: #ff6b35;
    --gpa-text-color: #174982;
    --gpa-text-light: #6c7481;
    --gpa-border-color: #e1e5e9;
    --gpa-bg-light: #f8f9fa;
    --gpa-white: #ffffff;
    --gpa-shadow: 0 4px 20px rgba(23, 73, 130, 0.08);
    --gpa-shadow-hover: 0 8px 30px rgba(23, 73, 130, 0.15);
    --gpa-border-radius: 12px;
    --gpa-border-radius-small: 8px;
    --gpa-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gpa-font-family: 'Poppins', 'Arial', 'Helvetica', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --gpa-font-family-mixed: 'Manrope', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.gpd-container a {
    color: var(--gpd-primary);
    transition: color 0.3s ease;
}

.gpd-container a:visited {
    color: var(--gpd-primary);
}

.gpd-container a:hover,
.gpd-container a:focus {
    color: var(--gpd-primary-hover);
}

.gpd-container a:active {
    color: var(--gpa-primary-dark);
}

.elementor-kit-6 .gpd-container a,
.elementor-kit-6 .gpd-container a:visited {
    color: var(--gpd-primary);
}

.elementor-kit-6 .gpd-container a:hover,
.elementor-kit-6 .gpd-container a:focus {
    color: var(--gpd-primary-hover);
}

.elementor-kit-6 .gpd-container a:active {
    color: var(--gpa-primary-dark);
}

.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn,
.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn:visited {
    background: linear-gradient(135deg, var(--gpd-primary), var(--gpd-primary-hover)) !important;
    color: var(--gpd-white) !important;
    border: 1px solid var(--gpd-primary) !important;
    box-shadow: 0 4px 15px rgba(23, 73, 130, 0.3);
}

.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn:hover,
.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn:focus {
    background: linear-gradient(135deg, var(--gpd-primary-hover), #2c6eb8) !important;
    color: var(--gpd-white) !important;
    border-color: var(--gpd-primary-hover) !important;
    box-shadow: 0 6px 20px rgba(23, 73, 130, 0.4);
}

.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn:active {
    background: linear-gradient(135deg, var(--gpa-primary-dark), var(--gpd-primary-hover)) !important;
    color: var(--gpd-white) !important;
    border-color: var(--gpa-primary-dark) !important;
    box-shadow: 0 3px 12px rgba(23, 73, 130, 0.35);
}


.gpd-container:lang(ru),
.gpd-container[lang="ru"],
.gpd-container *:lang(ru),
.gpd-container *[lang="ru"],

html[lang*="ru"] .gpd-product-title,
html[lang*="ru"] .gpd-product-description,
html[lang*="ru"] .gpd-shortcode-title,
html[lang*="ru"] .gpd-related-title,
body.translatepress-ru_RU .gpd-product-title,
body.translatepress-ru_RU .gpd-product-description,
body.translatepress-ru_RU .gpd-shortcode-title,
body.translatepress-ru_RU .gpd-related-title,
.gpd-product-title[data-trp-translate-lang="ru_RU"],
.gpd-product-description[data-trp-translate-lang="ru_RU"],
.gpd-shortcode-title[data-trp-translate-lang="ru_RU"],
.gpd-related-title[data-trp-translate-lang="ru_RU"] {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}


@media (min-width: 769px) {
    .gpd-product-gallery {
        order: unset !important;
    }
    
    .gpd-product-info {
        order: unset !important;
    }
    
    .gpd-product-description {
        order: unset !important;
    }
    
    .gpd-related-products {
        order: unset !important;
    }
}


.gpd-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    font-family: var(--gpd-font-family);
    color: var(--gpd-dark);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden; 
    box-sizing: border-box;
}


.gpd-container * {
    box-sizing: border-box;
    max-width: 100%;
}


.gpd-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    row-gap: 0;
    margin-bottom: 24px;
    background: transparent;
    padding: 24px;
    transition: var(--gpd-transition);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    align-items: start; 
}


.gpd-product-gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: auto;
    align-self: flex-start;
    
    contain: layout style;
}

.gpd-main-image {
    position: relative;
    border-radius: var(--gpd-radius);
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    height: auto;
    flex: 0 0 auto;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gpd-main-image-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    cursor: zoom-in;
    background: var(--gpd-white);
    max-width: 100%;
    display: block;
    border-radius: var(--gpa-border-radius) !important;
}


.gpd-container .gpd-main-image .gpd-main-image-img,
.gpd-product-main .gpd-main-image .gpd-main-image-img {
    border-radius: var(--gpa-border-radius) !important;
}

.gpd-main-image .gpd-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gpd-light);
    color: #999;
    font-size: 16px;
    font-family: var(--gpd-font-family);
    font-weight: 400;
}


.gpd-sale-badge,
.gpd-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px; 
    padding: 4px 8px; 
    border-radius: var(--gpd-radius-small);
    font-size: 12px;
    font-weight: 500; 
    color: var(--gpd-white);
    z-index: 2;
}

.gpd-sale-badge {
    background: #e74c3c; 
}

.gpd-stock-badge {
    background: #95a5a6; 
}


.gpd-product-image,
.gpd-related-image,
.gpd-main-image {
    position: relative !important;
    overflow: visible !important;
}



.gpd-product-image .gpd-mechanical-badges,
.gpd-mechanical-badges,
.gpd-products-slider .gpd-product-image .gpd-mechanical-badges,
.gpd-products-slider .gpd-mechanical-badges {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    z-index: 3 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    pointer-events: none !important;
    align-items: flex-end !important;
    min-height: 20px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.gpd-mechanical-badge {
    background: var(--gpd-primary, #174982) !important;
    color: var(--gpd-white, #ffffff) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: var(--gpd-transition) !important;
    white-space: nowrap !important;
    width: auto !important;
    display: inline-block !important;
    min-height: 16px !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.gpd-ect-badge {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%) !important;
}

.gpd-mullen-badge {
    background: linear-gradient(135deg, #1565C0 0%, #2196F3 100%) !important;
}


.gpd-product-card:hover .gpd-mechanical-badge,
.gpd-related-card:hover .gpd-mechanical-badge,
.gpd-products-slider .gpd-product-card:hover .gpd-mechanical-badge {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}


.gpd-main-image .gpd-main-mechanical-badges,
.gpd-main-mechanical-badges {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    z-index: 4 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    pointer-events: none !important;
}

.gpd-main-mechanical-badges .gpd-mechanical-badge {
    font-size: 13px !important;
    padding: 5px 8px !important;
    border-radius: 5px !important;
    min-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}


.gpd-related-image .gpd-related-mechanical-badges,
.gpd-related-mechanical-badges {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
    gap: 4px !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    z-index: 3 !important;
}

.gpd-related-mechanical-badges .gpd-mechanical-badge {
    font-size: 9px;
    padding: 1px 4px;
    letter-spacing: 0.2px;
}





@media (max-width: 1024px) {
    .gpd-mechanical-badges,
    .gpd-products-slider .gpd-mechanical-badges,
    .gpd-main-mechanical-badges,
    .gpd-related-mechanical-badges {
        bottom: 14px !important;
        right: 14px !important;
        gap: 6px !important;
    }

    .gpd-main-mechanical-badges .gpd-mechanical-badge {
        font-size: 12px !important;
        padding: 4px 7px !important;
    }
}


@media (max-width: 768px) {
    .gpd-mechanical-badges,
    .gpd-products-slider .gpd-mechanical-badges,
    .gpd-main-mechanical-badges,
    .gpd-related-mechanical-badges {
        bottom: 12px !important;
        right: 12px !important;
        gap: 5px !important;
    }

    .gpd-mechanical-badge {
        font-size: 10px !important;
        padding: 3px 5px !important;
        letter-spacing: 0.2px !important;
    }

    .gpd-main-mechanical-badges .gpd-mechanical-badge {
        font-size: 11px !important;
        padding: 4px 6px !important;
        min-height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }
}


@media (max-width: 576px) {
    .gpd-mechanical-badges,
    .gpd-products-slider .gpd-mechanical-badges,
    .gpd-main-mechanical-badges,
    .gpd-related-mechanical-badges {
        bottom: 10px !important;
        right: 10px !important;
        gap: 4px !important;
    }

    .gpd-mechanical-badge {
        font-size: 9px !important;
        padding: 2px 4px !important;
        letter-spacing: 0.1px !important;
    }

    .gpd-main-mechanical-badges .gpd-mechanical-badge {
        font-size: 10px !important;
        padding: 3px 5px !important;
        min-height: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    
    .gpd-product-card:hover .gpd-mechanical-badge,
    .gpd-related-card:hover .gpd-mechanical-badge,
    .gpd-products-slider .gpd-product-card:hover .gpd-mechanical-badge {
        transform: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
}


.gpd-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.gpd-nav-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    font-size: 18px;
    cursor: pointer;
    pointer-events: all;
    transition: var(--gpd-transition);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--gpd-dark);
    box-shadow: 0 2px 10px var(--gpd-shadow);
    line-height: 1;
    
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.gpd-nav-btn:hover {
    background: var(--gpd-white) !important;
    color: var(--gpd-primary) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--gpd-shadow-hover);
    border: 2px solid var(--gpd-primary) !important;
}


.gpd-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, max-content));
    gap: 8px;
    max-width: 400px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: auto; 
    justify-content: flex-start;
    align-content: flex-start;
    justify-items: center;
    
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}


.gpd-thumbnails::-webkit-scrollbar {
    display: none;
}

.gpd-thumbnail {
    aspect-ratio: 1;
    border-radius: var(--gpd-radius-small);
    overflow: hidden;
    cursor: pointer;
    transition: var(--gpd-transition);
    background: var(--gpd-white);
    min-width: 60px;
    flex-shrink: 0;
}

.gpd-thumbnail:hover,
.gpd-thumbnail.active {
    transform: scale(1.05);
    opacity: 0.8;
    
    overflow: hidden;
}

.gpd-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--gpd-white);
    display: block;
    max-width: 100%;
}


.gpd-product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%; 
    min-height: 0; 
}

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

.gpd-category-tag {
    background: linear-gradient(135deg, var(--gpd-primary), var(--gpd-primary-hover));
    color: var(--gpd-white);
    padding: 6px 12px;
    border-radius: var(--gpd-radius-small);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gpd-product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--gpd-dark);
    line-height: 1.2;
}

.gpd-product-sku {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.gpd-sku-label {
    font-weight: 500;
}

.gpd-sku-value {
    font-family: 'Courier New', monospace;
    background: var(--gpd-secondary);
    padding: 2px 6px;
    border-radius: 4px;
}

.gpd-product-short-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.gpd-product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gpd-primary);
}

.gpd-product-price del {
    color: var(--gpd-text-light);
    opacity: 0.7;
    font-size: 1.5rem;
    margin-right: 10px;
}


.gpd-product-attributes {
    background: var(--gpd-secondary);
    padding: 20px;
    border-radius: var(--gpd-radius);
}

.gpd-attributes-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: var(--gpd-dark);
}

.gpd-attributes-list {
    display: grid;
    gap: 12px;
}

.gpd-attribute-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    padding: 12px;
    background: var(--gpd-white);
    border-radius: var(--gpd-radius-small);
    border-left: 4px solid var(--gpd-primary);
}

.gpd-attribute-name {
    font-weight: 600;
    color: var(--gpd-dark);
}

.gpd-attribute-value {
    color: #666;
}


.gpd-add-to-cart-form {
    background: var(--gpd-light);
    padding: 30px;
    border-radius: var(--gpd-radius);
    border: 1px solid var(--gpd-border);
    margin-top: auto; 
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gpd-quantity-wrapper {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gpd-quantity-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--gpd-dark);
}

.gpd-quantity-controls {
    display: flex;
    align-items: center;
    background: var(--gpd-white);
    border-radius: var(--gpd-radius-small);
    border: 1px solid var(--gpd-border);
    overflow: visible;
    width: auto;
    min-width: 120px;
    box-sizing: border-box;
}

.gpd-quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: var(--gpd-white);
    color: var(--gpd-dark);
    box-sizing: border-box;
}

.gpd-quantity-input:focus {
    outline: none;
}


.gpd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--gpd-radius-small);
    font-family: var(--gpd-font-family);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--gpd-transition);
    min-height: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gpd-btn-primary {
    background: linear-gradient(135deg, var(--gpd-primary), var(--gpd-primary-hover));
    color: var(--gpd-white);
    box-shadow: 0 4px 15px rgba(23, 73, 130, 0.3);
}

.gpd-btn-primary:hover {
    background: linear-gradient(135deg, var(--gpd-primary-hover), #2c6eb8);
    box-shadow: 0 6px 20px rgba(23, 73, 130, 0.4);
}

.gpd-btn-secondary {
    background: var(--gpd-light);
    color: var(--gpd-dark);
    border: 2px solid var(--gpd-border);
    opacity: 0.6;
    cursor: not-allowed;
    
    padding: 14px 28px;
    min-height: 50px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.gpd-btn-secondary:hover {
    background: var(--gpd-border);
    border-color: var(--gpd-border);
    color: var(--gpd-dark);
    transform: none; 
}

.gpd-btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    min-height: 40px;
}

.gpd-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gpd-btn-disabled:hover {
    transform: none;
}

.gpd-add-to-cart-btn {
    width: 100%;
    min-width: 0;
    margin-bottom: 15px;
    box-sizing: border-box;
    flex-shrink: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.gpd-quantity-and-tiers .gpd-add-to-cart-btn {
    width: auto !important;
    min-width: 120px;
    margin-bottom: 0;
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 10px;
}


.gpd-add-to-cart-btn .gpd-btn-text,
.gpd-add-to-cart-btn.loading .gpd-btn-text,
.gpd-add-to-cart-btn.success .gpd-btn-text,
.gpd-add-to-cart-btn.error .gpd-btn-text {
    color: var(--gpd-white) !important;
}

.gpd-btn.loading {
    position: relative !important;
    color: transparent !important;
    pointer-events: none !important;
    
    min-height: 44px !important;
    max-height: 44px !important;
    height: 44px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.gpd-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid var(--gpd-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: gpd-spin 1s linear infinite;
}

.gpd-btn.success {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    color: var(--gpd-white) !important;
    
    min-height: 44px !important;
    max-height: 44px !important;
    height: 44px !important;
    box-sizing: border-box !important;
}

.gpd-add-to-cart-btn.success,
.gpd-add-to-cart-btn.success:hover,
.gpd-add-to-cart-btn.success:focus {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    color: var(--gpd-white) !important;
}

.gpd-add-to-cart-btn.error,
.gpd-add-to-cart-btn.error:hover,
.gpd-add-to-cart-btn.error:focus {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: var(--gpd-white) !important;
}

.gpd-container .gpd-add-to-cart-btn.success,
.gpd-container .gpd-add-to-cart-btn.success:hover,
.gpd-container .gpd-add-to-cart-btn.success:focus,
.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn.success,
.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn.success:hover,
.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn.success:focus {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    color: var(--gpd-white) !important;
}

.gpd-container .gpd-add-to-cart-btn.error,
.gpd-container .gpd-add-to-cart-btn.error:hover,
.gpd-container .gpd-add-to-cart-btn.error:focus,
.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn.error,
.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn.error:hover,
.elementor-kit-6 .gpd-container .gpd-add-to-cart-btn.error:focus {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: var(--gpd-white) !important;
}

.gpd-btn.error {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: var(--gpd-white) !important;
    
    min-height: 44px !important;
    max-height: 44px !important;
    height: 44px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.gpd-stock-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gpd-success);
    font-weight: 500;
}

.gpd-stock-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gpd-success);
    color: var(--gpd-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}


.gpd-product-description {
    background: var(--gpd-secondary);
    padding: 30px;
    border-radius: var(--gpd-radius);
    margin-top: 30px;
    grid-column: 1 / -1; 
    border: 2px solid var(--gpd-border);
}

.gpd-description-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--gpd-dark);
    border-bottom: 3px solid var(--gpd-primary);
    padding-bottom: 10px;
}

.gpd-description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.gpd-description-content h2,
.gpd-description-content h3,
.gpd-description-content h4 {
    color: var(--gpd-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.gpd-description-content p {
    margin-bottom: 15px;
}

.gpd-description-content ul,
.gpd-description-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.gpd-description-content li {
    margin-bottom: 8px;
}


.gpd-related-products {
    margin-top: 40px;
    padding: 0;
    background: transparent;
    grid-column: 1 / -1;
    width: 100%;
    order: 10; 
}

.gpd-related-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
    position: relative;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.gpd-related-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: var(--gpd-dark);
    border-bottom: 3px solid var(--gpd-primary);
    padding-bottom: 10px;
    text-align: center;
}

.gpd-related-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    padding: 0 10px; 
}

.gpd-related-prev,
.gpd-related-next {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    font-size: 20px;
    cursor: pointer;
    transition: var(--gpd-transition);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--gpd-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--gpd-border) !important;
    pointer-events: all;
    z-index: 10;
    line-height: 1;
    font-family: Arial, sans-serif; 
    font-weight: bold; 
    text-align: center; 
    vertical-align: middle; 
    
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.gpd-related-prev:hover,
.gpd-related-next:hover {
    background: var(--gpd-white) !important;
    color: var(--gpd-primary) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(23, 73, 130, 0.3);
    border: 2px solid var(--gpd-primary) !important;
}

.gpd-related-prev:focus,
.gpd-related-next:focus,
.gpd-related-prev:active,
.gpd-related-next:active {
    outline: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--gpd-primary) !important;
    border: 2px solid var(--gpd-border) !important;
    transform: scale(0.95);
}

.gpd-related-prev:focus:hover,
.gpd-related-next:focus:hover {
    background: var(--gpd-white) !important;
    color: var(--gpd-primary) !important;
    border: 2px solid var(--gpd-primary) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(23, 73, 130, 0.3) !important;
}

.gpd-related-prev:disabled,
.gpd-related-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}


.gpd-related-prev,
.gpd-related-next,
.gpd-nav-prev,
.gpd-nav-next {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease !important;
}


.gpd-related-prev:focus,
.gpd-related-next:focus,
.gpd-nav-prev:focus,
.gpd-nav-next:focus,
.gpd-related-prev:focus-visible,
.gpd-related-next:focus-visible,
.gpd-nav-prev:focus-visible,
.gpd-nav-next:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 2px solid var(--gpd-border) !important;
    color: var(--gpd-primary) !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.gpd-related-prev:active,
.gpd-related-next:active,
.gpd-nav-prev:active,
.gpd-nav-next:active {
    outline: none !important;
    box-shadow: none !important;
    border: 2px solid var(--gpd-border) !important;
    color: var(--gpd-primary) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(0.95) !important;
}


.gpd-related-prev,
.gpd-related-next,
.gpd-nav-prev,
.gpd-nav-next {
    border: 2px solid var(--gpd-border) !important;
    outline: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--gpd-primary) !important;
}


.gpd-related-prev:hover,
.gpd-related-next:hover,
.gpd-nav-prev:hover,
.gpd-nav-next:hover {
    background: var(--gpd-white) !important;
    color: var(--gpd-primary) !important;
    transform: scale(1.1) !important;
    border: 2px solid var(--gpd-primary) !important;
    box-shadow: 0 4px 15px rgba(23, 73, 130, 0.3) !important;
}

.gpd-related-products,
.gpd-products-slider {
    --gpd-slider-gap: 8px;
    --gpd-slider-columns: 5;
}

.gpd-related-slider-container {
    overflow: hidden;
    border-radius: var(--gpd-radius);
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0; 
}


.gpd-related-slider-wrapper {
    padding: 25px 5px 15px 5px; 
    overflow: visible; 
}

.gpd-related-slider {
    display: flex;
    gap: var(--gpd-slider-gap);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gpd-related-slide {
    flex: 0 0 calc((100% - (var(--gpd-slider-columns) - 1) * var(--gpd-slider-gap)) / var(--gpd-slider-columns));
    min-width: clamp(180px, calc((100% - (var(--gpd-slider-columns) - 1) * var(--gpd-slider-gap)) / var(--gpd-slider-columns)), 320px);
    max-width: 100%;
}


.gpd-related-products .gpd-product-card {
    background: var(--gpd-white);
    border-radius: var(--gpd-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gpd-border);
    overflow: hidden;
    transition: var(--gpd-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    will-change: transform;
    min-height: 300px;
    max-width: 100%;
    box-sizing: border-box;
}


@media (hover: hover) and (pointer: fine) {
    .gpd-related-products .gpd-product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border-color: var(--gpd-primary);
        z-index: 10;
    }

    .gpd-related-products .gpd-product-card:hover .gpd-product-image img {
        transform: scale(1.05);
    }
}


@media (hover: none) and (pointer: coarse) {
    .gpd-related-products .gpd-product-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

.gpd-related-products .gpd-product-image {
    position: relative;
    overflow: hidden;
    background: var(--gpd-light);
    aspect-ratio: 1;
    flex-shrink: 0;
}

.gpd-related-products .gpd-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--gpd-transition);
    display: block;
}

.gpd-related-products .gpd-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gpd-light);
    color: #999;
    font-size: 14px;
}

.gpd-related-products .gpd-product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: var(--gpd-radius-small);
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
    color: var(--gpd-white);
    max-width: 80px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gpd-related-products .gpd-sale-badge {
    background: #e74c3c;
}

.gpd-related-products .gpd-stock-badge {
    background: #95a5a6;
}

.gpd-related-products .gpd-product-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gpd-related-products .gpd-product-category {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    line-height: 1.2;
    min-height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gpd-related-products .gpd-product-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--gpd-dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.gpd-related-products .gpd-product-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--gpd-transition);
}

.gpd-related-products .gpd-product-title a:hover {
    color: var(--gpd-primary);
}

.gpd-related-products .gpd-product-rating {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gpd-related-products .gpd-stars {
    display: flex;
    gap: 2px;
}

.gpd-related-products .gpd-star {
    color: #ddd;
    font-size: 12px;
}

.gpd-related-products .gpd-star.filled {
    color: #ffd700;
}

.gpd-related-products .gpd-rating-count {
    font-size: 12px;
    color: #999;
}

.gpd-related-products .gpd-product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--gpd-primary);
    margin-bottom: 12px;
}

.gpd-related-products .gpd-product-price del {
    color: var(--gpd-text-light);
    opacity: 0.7;
    font-size: 14px;
    margin-right: 8px;
}

.gpd-related-products .gpd-product-price ins {
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.gpd-related-products .gpd-product-actions {
    margin-top: auto;
}

.gpd-related-products .gpd-add-to-cart,
.gpd-related-products .gpd-view-product,
.gpd-related-products .gpd-btn-secondary {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    min-height: 38px;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    line-height: 1.2;
}

.gpd-related-products .gpd-cart-icon {
    width: 14px;
    height: 14px;
}

.gpd-related-products .gpd-button-text {
    font-weight: 500;
}


@media (max-width: 1400px) {
    .gpd-related-products,
    .gpd-products-slider {
        --gpd-slider-columns: 4;
    }
}

@media (max-width: 1200px) {
    .gpd-related-products,
    .gpd-products-slider {
        --gpd-slider-columns: 3;
    }
    
    .gpd-related-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .gpd-related-products,
    .gpd-products-slider {
        --gpd-slider-columns: 3;
        --gpd-slider-gap: 12px;
    }
    
    .gpd-related-header {
        flex-direction: row; 
        justify-content: center;
        align-items: center;
        position: relative; 
        margin-bottom: 15px;
    }
    
    .gpd-related-title {
        font-size: 1.4rem;
        text-align: center;
        margin: 0;
    }
    
    .gpd-related-nav {
        position: absolute; 
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        justify-content: space-between; 
        align-items: center;
        pointer-events: none;
        padding: 0 15px; 
        z-index: 10;
    }
    
    .gpd-related-prev,
    .gpd-related-next {
        pointer-events: all; 
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        font-size: 18px;
        aspect-ratio: 1 / 1 !important;
    }
    
    .gpd-related-products {
        margin-top: 20px;
    }
    
    .gpd-related-slider-container {
        padding: 0;
    }
    
    .gpd-related-slider-wrapper {
        padding: 15px 8px 10px 8px;
    }
}

@media (max-width: 480px) {
    .gpd-related-products,
    .gpd-products-slider {
        --gpd-slider-columns: 2;
        --gpd-slider-gap: 8px;
    }
    
    .gpd-related-header {
        margin-bottom: 10px;
        position: relative; 
    }
    
    .gpd-related-title {
        font-size: 1.2rem;
    }
    
    .gpd-related-nav {
        padding: 0 10px; 
    }
    
    .gpd-related-prev,
    .gpd-related-next {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        min-height: 35px !important;
        max-width: 35px !important;
        max-height: 35px !important;
        font-size: 16px;
        display: flex !important; 
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        aspect-ratio: 1 / 1 !important;
        pointer-events: all !important; 
    }
    
    .gpd-related-products .gpd-product-content {
        padding: 8px; 
    }
    
    .gpd-related-products .gpd-product-title {
        font-size: 13px; 
        line-height: 1.2; 
    }
    
    .gpd-related-products .gpd-product-price {
        font-size: 15px; 
    }
    
    .gpd-related-products .gpd-add-to-cart,
    .gpd-related-products .gpd-view-product,
    .gpd-related-products .gpd-btn-secondary {
        font-size: 12px; 
        min-height: 36px; 
        padding: 8px 10px; 
    }
    
    .gpd-related-products {
        margin-top: 20px;
    }
    
    .gpd-related-slider-container {
        padding: 0;
    }
    
    .gpd-related-slider-wrapper {
        padding: 10px 5px 8px 5px;
    }
}


.gpd-related-products .gpd-btn.loading,
.gpd-related-products .gpd-add-to-cart.loading {
    position: relative !important;
    color: transparent !important;
    pointer-events: none !important;
    
    min-height: 36px !important;
    max-height: 36px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.gpd-related-products .gpd-btn.loading::after,
.gpd-related-products .gpd-add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid var(--gpd-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: gpd-spin 1s linear infinite;
}

.gpd-related-products .gpd-btn.success,
.gpd-related-products .gpd-add-to-cart.success {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    color: var(--gpd-white) !important;
    
    min-height: 36px !important;
    max-height: 36px !important;
    height: 36px !important;
    box-sizing: border-box !important;
}

.gpd-related-products .gpd-btn.error,
.gpd-related-products .gpd-add-to-cart.error {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: var(--gpd-white) !important;
    
    min-height: 36px !important;
    max-height: 36px !important;
    height: 36px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}


.gpd-related-products .gpd-btn-text,
.gpd-related-products .gpd-button-text {
    flex: 1 !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    transition: none !important; 
}


.gpd-btn-primary .gpd-btn-text,
.gpd-btn-primary .gpd-button-text {
    color: white !important;
}

.gpd-btn-secondary .gpd-btn-text,
.gpd-btn-secondary .gpd-button-text {
    color: inherit !important;
}


.gpd-related-products .gpd-add-to-cart,
.gpd-related-products .gpd-add-to-cart.loading,
.gpd-related-products .gpd-add-to-cart.success,
.gpd-related-products .gpd-add-to-cart.error {
    min-height: 36px !important;
    max-height: 36px !important;
    height: 36px !important;
    min-width: 80px !important;
    width: 100% !important;
    max-width: 100% !important;
    
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


@keyframes gpd-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




@media (max-width: 1024px) {
    .gpd-container {
        padding: 0 10px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .gpd-product-main {
        gap: 24px;
        padding: 16px;
        max-width: 100%;
        align-items: stretch; 
    }
    
    .gpd-product-gallery {
        max-width: 100%;
        height: 100%; 
    }
    
    .gpd-product-info {
        height: 100%; 
    }
    
    .gpd-main-image {
        max-height: 400px;
        height: auto;
    }
    
    .gpd-product-title {
        font-size: 2rem;
    }
    
    .gpd-product-price {
        font-size: 1.8rem;
    }
}


@media (max-width: 768px) {
    .gpd-container {
        padding: 0 8px;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .gpd-product-main {
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 12px;
        max-width: 100%;
        overflow: hidden;
        display: flex; 
        flex-direction: column;
        align-items: stretch;
    }
    
    .gpd-product-gallery {
        width: 100%;
        max-width: 100%;
        order: 1; 
        height: auto; 
        flex-shrink: 0;
    }
    
    .gpd-product-info {
        width: 100%;
        max-width: 100%;
        order: 2; 
        height: auto; 
        flex-shrink: 0;
    }
    
    .gpd-main-image {
        max-height: 350px;
        height: auto;
        width: 100%;
        margin-bottom: 12px;
        aspect-ratio: unset !important; 
    }
    
    .gpd-main-image-img {
        max-height: 350px;
        width: 100%;
        height: auto;
        object-fit: contain;
        aspect-ratio: unset !important; 
    }
    
    .gpd-product-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .gpd-product-price {
        font-size: 1.5rem;
    }
    
    .gpd-product-description {
        padding: 16px;
        margin-top: 16px;
        order: 3; 
        width: 100%;
        grid-column: 1; 
    }
    
    .gpd-description-title {
        font-size: 1.4rem;
    }
    
    .gpd-description-content {
        font-size: 14px;
        line-height: 1.6;
    }
    
    
    .gpd-nav-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        font-size: 14px;
        aspect-ratio: 1 / 1 !important;
    }
    
    
    .gpd-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(60px, max-content));
        gap: 6px;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        margin-top: 12px; 
        justify-content: flex-start;
        align-content: flex-start;
        justify-items: center;
        
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }
    
    
    .gpd-thumbnails::-webkit-scrollbar {
        display: none;
    }
    
    .gpd-thumbnail {
        min-width: 60px;
        max-width: 80px; 
        aspect-ratio: 1; 
    }
    
    
    .gpd-product-attributes {
        padding: 14px;
    }
    
    .gpd-attribute-item {
        grid-template-columns: 1fr; 
        gap: 4px;
        padding: 10px;
    }
    
    
    .gpd-add-to-cart-form {
        padding: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .gpd-quantity-controls {
        width: auto;
        min-width: 120px;
        justify-content: center;
    }

    
    .gpd-quantity-and-tiers .gpd-add-to-cart-btn {
        min-width: 100px;
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .gpd-quantity-input {
        width: 70px;
    }
    
    
    .gpd-related-products {
        order: 4; 
        margin-top: 30px;
        width: 100%;
        grid-column: 1; 
    }
}


@media (max-width: 480px) {
    .gpd-container {
        padding: 0 5px;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .gpd-product-main {
        gap: 16px;
        padding: 8px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .gpd-product-gallery {
        width: 100%;
        max-width: 100%;
    }
    
    .gpd-main-image {
        max-height: 250px;
        height: auto;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .gpd-main-image-img {
        max-height: 250px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .gpd-product-title {
        font-size: 1.25rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .gpd-product-price {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .gpd-product-description {
        padding: 12px;
        margin-top: 12px;
    }
    
    .gpd-description-title {
        font-size: 1.2rem;
    }
    
    .gpd-description-content {
        font-size: 13px;
    }
    
    
    .gpd-nav-btn {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        font-size: 12px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        aspect-ratio: 1 / 1 !important;
    }
    
    .gpd-gallery-nav {
        padding: 0 6px;
    }
    
    
    .gpd-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(40px, max-content));
        gap: 4px;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        justify-content: flex-start;
        align-content: flex-start;
        justify-items: center;
        
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }
    
    
    .gpd-thumbnails::-webkit-scrollbar {
        display: none;
    }
    
    .gpd-thumbnail {
        min-width: 40px;
    }
    
    
    .gpd-product-attributes {
        padding: 10px;
    }
    
    .gpd-attributes-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .gpd-attribute-item {
        padding: 8px;
        margin-bottom: 6px;
    }
    
    .gpd-attribute-name,
    .gpd-attribute-value {
        font-size: 13px;
    }
    
    
    .gpd-add-to-cart-form {
        padding: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .gpd-quantity-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .gpd-quantity-controls {
        width: auto;
        min-width: 120px;
        margin: 0 auto 12px auto;
    }

    
    .gpd-quantity-and-tiers .gpd-add-to-cart-btn {
        min-width: 90px;
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .gpd-quantity-input {
        width: 60px;
    }
    
    .gpd-btn {
        font-size: 14px;
        padding: 12px 16px;
        min-height: 44px; 
        width: 100%;
    }
    
    .gpd-btn-text {
        font-size: 14px;
    }
    
    
    .gpd-product-info,
    .gpd-product-description,
    .gpd-product-attributes {
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
        box-sizing: border-box;
    }
    
    
    .gpd-product-title,
    .gpd-description-content,
    .gpd-attribute-value {
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
    
    
    .gpd-thumbnail {
        touch-action: manipulation;
    }
    
    .gpd-nav-btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    
    .gpd-product-categories {
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .gpd-category-tag {
        font-size: 11px;
        padding: 4px 8px;
    }
}


@media (max-width: 360px) {
    .gpd-container {
        min-width: 0;
        overflow-x: hidden;
    }
    
    .gpd-product-main {
        padding: 5px;
        min-width: 0;
    }
    
    .gpd-product-title {
        font-size: 1.1rem;
        word-break: break-word;
    }
    
    .gpd-product-price {
        font-size: 1.2rem;
    }
    
    .gpd-product-description {
        padding: 10px;
    }
    
    .gpd-description-title {
        font-size: 1.1rem;
    }
    
    .gpd-description-content {
        font-size: 12px;
    }
    
    
    .gpd-nav-btn {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;
        font-size: 11px;
        aspect-ratio: 1 / 1 !important;
    }
    
    .gpd-gallery-nav {
        padding: 0 5px;
    }
    
    
    .gpd-related-slide {
        max-width: 250px;
    }
    
    .gpd-related-title {
        font-size: 1.1rem;
    }
    
    .gpd-related-products .gpd-product-title {
        font-size: 12px; 
    }
    
    .gpd-related-products .gpd-product-price {
        font-size: 14px; 
    }
    
    .gpd-related-products .gpd-add-to-cart,
    .gpd-related-products .gpd-view-product,
    .gpd-related-products .gpd-btn-secondary {
        font-size: 11px; 
        min-height: 34px; 
        padding: 6px 8px; 
    }
}


@media (max-width: 768px) {
    .gpd-related-products .gpd-product-card:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        border-color: var(--gpd-border) !important;
    }
    
    .gpd-related-products .gpd-product-card:hover .gpd-product-image img {
        transform: none !important;
    }
}


@media (max-width: 768px) {
    .gpd-related-slider-container {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y; 
        user-select: none; 
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        overflow: hidden; 
    }
    
    .gpd-related-slider {
        scroll-behavior: smooth;
        cursor: grab; 
        touch-action: pan-x; 
        will-change: transform; 
    }
    
    .gpd-related-slider:active {
        cursor: grabbing; 
    }
    
    
    .gpd-related-products .gpd-product-card,
    .gpd-products-slider .gpd-product-card {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        touch-action: manipulation; 
    }
    
    
    .gpd-related-products .gpd-product-card input,
    .gpd-products-slider .gpd-product-card input,
    .gpd-related-products .gpd-product-card input[type="number"],
    .gpd-products-slider .gpd-product-card input[type="number"],
    .gpd-related-products .gpd-quantity-input,
    .gpd-products-slider .gpd-quantity-input {
        -webkit-touch-callout: auto !important;
        -webkit-user-select: auto !important;
        -khtml-user-select: auto !important;
        -moz-user-select: auto !important;
        -ms-user-select: auto !important;
        user-select: auto !important;
        touch-action: auto !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
    }
    
    
    .gpd-related-products .gpd-add-to-cart,
    .gpd-related-products .gpd-view-product,
    .gpd-products-slider .gpd-add-to-cart,
    .gpd-products-slider .gpd-view-product {
        touch-action: manipulation; 
        -webkit-tap-highlight-color: transparent; 
    }
    
    
    .gpd-related-products .gpd-product-card,
    .gpd-products-slider .gpd-product-card {
        max-width: 100%;
        overflow: hidden;
        transform: translateZ(0); 
    }
    
    
    .gpd-related-slider-wrapper {
        touch-action: pan-x; 
        overflow: hidden;
    }
}




@media (max-width: 768px) {
    .gpd-main-image {
        aspect-ratio: unset !important; 
        height: auto !important;
        max-height: 350px !important;
        min-height: 200px !important;
    }
    
    .gpd-main-image-img {
        aspect-ratio: unset !important;
        height: auto !important;
        max-height: 350px !important;
        width: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }
    
    
    .gpd-gallery-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        padding: 0 10px;
        z-index: 10;
    }
    
    
    .gpd-product-main {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
    
    .gpd-product-gallery {
        order: 1 !important;
    }
    
    .gpd-product-info {
        order: 2 !important;
    }
    
    .gpd-product-description {
        order: 3 !important;
        grid-column: unset !important;
    }
    
    .gpd-related-products {
        order: 4 !important;
        grid-column: unset !important;
    }
}

@media (max-width: 480px) {
    .gpd-main-image {
        aspect-ratio: unset !important;
        height: auto !important;
        max-height: 280px !important;
        min-height: 180px !important;
    }
    
    .gpd-main-image-img {
        aspect-ratio: unset !important;
        height: auto !important;
        max-height: 280px !important;
    }
    
    .gpd-gallery-nav {
        padding: 0 8px;
    }
}

@media (max-width: 360px) {
    .gpd-container {
        min-width: 0;
        overflow-x: hidden;
        padding: 0 3px;
    }
    
    .gpd-product-main {
        padding: 5px;
        min-width: 0;
        gap: 12px;
    }
    
    .gpd-main-image {
        aspect-ratio: unset !important;
        height: auto !important;
        max-height: 240px !important;
        min-height: 150px !important;
    }
    
    .gpd-main-image-img {
        aspect-ratio: unset !important;
        height: auto !important;
        max-height: 240px !important;
    }
    
    .gpd-product-title {
        font-size: 1.1rem;
        word-break: break-word;
    }
    
    .gpd-product-price {
        font-size: 1.2rem;
    }
    
    .gpd-product-description {
        padding: 8px;
    }
    
    .gpd-description-title {
        font-size: 1.1rem;
    }
    
    .gpd-description-content {
        font-size: 12px;
    }
    
    
    .gpd-nav-btn {
        width: 26px;
        height: 26px;
        font-size: 11px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }
    
    .gpd-gallery-nav {
        padding: 0 4px;
    }
    
    
    .gpd-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(35px, max-content));
        gap: 3px;
        justify-content: flex-start;
        align-content: flex-start;
        justify-items: center;
    }
    
    .gpd-thumbnail {
        min-width: 35px;
    }
    
    
    .gpd-add-to-cart-form {
        padding: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .gpd-quantity-controls {
        width: auto;
        min-width: 110px;
    }

    
    .gpd-quantity-and-tiers .gpd-add-to-cart-btn {
        min-width: 80px;
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .gpd-quantity-input {
        width: 50px;
    }
    
    .gpd-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}


@media (max-width: 360px) {
    .gpd-related-products {
        margin-top: 15px;
    }
    
    .gpd-related-slider-container {
        padding: 0;
    }
    
    .gpd-related-slider-wrapper {
        padding: 8px 3px 6px 3px;
    }
    
    .gpd-related-slide {
        flex: 0 0 calc((100% - 12px) / 2); 
        max-width: 160px; 
        min-width: 140px; 
        margin: 0 3px; 
    }
    
    .gpd-related-slider {
        gap: 0;
        justify-content: flex-start;
    }
    
    .gpd-related-title {
        font-size: 1.1rem;
    }
    
    .gpd-related-products .gpd-product-price {
        font-size: 1.1em
    }
    
    .gpd-related-products .gpd-add-to-cart,
    .gpd-related-products .gpd-view-product {
        font-size: 11px;
        min-height: 36px;
        padding: 8px 8px;
    }
}




.gpd-products-slider .gpd-shortcode-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 3.0rem !important;
    font-weight: 700 !important; 
    margin: 0 auto 0px auto !important;
    color: #ffffff !important; 
    text-align: center !important;
    letter-spacing: -0.02em !important; 
    line-height: 1.1 !important;
    text-transform: none !important;
    border: none !important;
    padding: 10px 40px !important; 
    background: #174982 !important; 
    border-radius: 20px !important; 
    display: block !important; 
    width: 100% !important;
    max-width: 1600px !important; 
    box-shadow: 0 4px 15px rgba(23, 73, 130, 0.3) !important; 
    position: relative !important;
}


.gpd-products-slider .gpd-shortcode-title::after {
    display: none !important;
}


@media (max-width: 1200px) {
    .gpd-products-slider .gpd-shortcode-title {
        font-size: 3rem !important;
        padding: 18px 35px !important;
        max-width: 1400px !important;
    }
}

@media (max-width: 768px) {
    .gpd-products-slider .gpd-shortcode-title {
        font-size: 2.5rem !important;
        margin: 0 auto 0px auto !important;
        letter-spacing: -0.01em !important;
        padding: 16px 30px !important;
        border-radius: 16px !important;
        max-width: 100% !important;
        position: relative;
    }
    
    .gpd-products-slider .gpd-related-header {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .gpd-products-slider .gpd-related-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        pointer-events: none;
        padding: 0 15px;
        z-index: 10;
    }
    
    .gpd-products-slider .gpd-related-prev,
    .gpd-products-slider .gpd-related-next {
        pointer-events: all;
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
        font-size: 18px;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 480px) {
    .gpd-products-slider .gpd-shortcode-title {
        font-size: 2rem !important;
        margin: 0 auto 0px auto !important;
        padding: 14px 25px !important;
        border-radius: 14px !important;
        position: relative;
    }
    
    .gpd-products-slider .gpd-related-nav {
        padding: 0 10px;
    }
    
    .gpd-products-slider .gpd-related-prev,
    .gpd-products-slider .gpd-related-next {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        font-size: 16px;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 400px) {
    
    .gpd-related-prev,
    .gpd-related-next {
        width: 25px !important;
        height: 25px !important;
        min-width: 25px !important;
        min-height: 25px !important;
        max-width: 25px !important;
        max-height: 25px !important;
        font-size: 12px !important;
        aspect-ratio: 1 / 1 !important;
        pointer-events: all !important; 
    }
    
    .gpd-related-nav {
        padding: 0 5px !important;
        position: absolute !important; 
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important; 
        align-items: center !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }
    
    .gpd-related-header {
        position: relative !important; 
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    
    .gpd-products-slider .gpd-shortcode-title {
        font-size: 1.4rem !important;
        padding: 8px 15px !important;
        margin: 0 auto !important;
    }
    
    .gpd-products-slider .gpd-related-header {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        margin-bottom: 15px !important;
    }
    
    .gpd-products-slider .gpd-related-nav {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        padding: 0 10px !important;
        pointer-events: none !important;
    }
    
    .gpd-products-slider .gpd-related-prev,
    .gpd-products-slider .gpd-related-next {
        width: 25px !important;
        height: 25px !important;
        min-width: 25px !important;
        min-height: 25px !important;
        max-width: 25px !important;
        max-height: 25px !important;
        font-size: 12px !important;
        pointer-events: all !important;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 360px) {
    .gpd-products-slider .gpd-shortcode-title {
        font-size: 1.2rem !important;
        margin: 0 auto !important;
        padding: 6px 12px !important;
        border-radius: 12px !important;
        position: relative;
    }
    
    .gpd-products-slider .gpd-related-nav {
        padding: 0 8px !important;
    }
    
    .gpd-products-slider .gpd-related-prev,
    .gpd-products-slider .gpd-related-next {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        font-size: 10px !important;
        aspect-ratio: 1 / 1 !important;
    }
    
    
    .gpd-related-prev,
    .gpd-related-next {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        font-size: 10px !important;
        aspect-ratio: 1 / 1 !important;
        pointer-events: all !important; 
    }
    
    .gpd-related-nav {
        padding: 0 8px !important;
        position: absolute !important; 
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important; 
        align-items: center !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }
    
    .gpd-related-header {
        position: relative !important; 
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
    }
}


.gpd-products-slider {
    margin: 0px 0 !important;
    padding: 0 !important;
    font-family: var(--gpd-font-family); 
}

.gpd-products-slider .gpd-related-header {
    margin-bottom: 0px !important;
}


.gpd-products-slider .gpd-related-products {
    margin-top: 0 !important;
}


.gpd-no-products {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #666;
    font-size: 16px;
}


.gpd-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    color: #e74c3c;
    font-size: 16px;
    font-weight: 500;
    background: #fdf2f2;
    border: 1px solid #f5c6c7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}


.gpd-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 2px;
    line-height: 1.2;
    min-height: 2.4em; 
    position: relative;
}

.gpd-price-old {
    font-size: 0.75em;
    color: #999;
    text-decoration: line-through;
    opacity: 0.8;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.gpd-price-new {
    font-size: 1em;
    font-weight: 600;
    color: var(--gpd-primary-color, #174982);
    margin: 0;
    padding: 0;
    display: block;
    line-height: 1.2;
    margin-top: auto; 
}

.gpd-price-new .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.gpd-price-old .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: normal;
    color: inherit;
}


@media (max-width: 576px) {
    .gpd-price-container {
        align-items: center;
        text-align: center;
    }
    
    .gpd-price-old {
        font-size: 0.7em;
    }
    
    .gpd-price-new {
        font-size: 1.1em;
    }
}




.gpd-quantity-and-tiers {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}


.gpd-price-tiers-inline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    min-width: 0;
}


.gpd-price-tier {
    background: var(--gpd-white);
    border: 2px solid var(--gpd-border);
    border-radius: var(--gpd-radius-small);
    padding: 8px 16px;
    text-align: center;
    transition: var(--gpd-transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--gpd-shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 85px;
    min-height: 50px;
    flex: 0 0 auto;
}

.gpd-price-tier.active {
    border-color: var(--gpd-primary);
    background: rgba(23, 73, 130, 0.05);
    box-shadow: 0 4px 12px var(--gpd-shadow-hover);
}

.gpd-tier-quantity {
    font-size: 13px;
    font-weight: 600;
    color: var(--gpd-primary);
    margin-bottom: 2px;
    line-height: 1.2;
}

.gpd-tier-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--gpd-dark);
    line-height: 1.2;
}


@media (max-width: 768px) {
    .gpd-quantity-and-tiers {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .gpd-price-tiers-inline {
        justify-content: flex-start;
        gap: 6px;
    }
    
    .gpd-price-tier {
        padding: 6px 12px;
        min-width: 75px;
        min-height: 44px;
    }
    
    .gpd-tier-quantity {
        font-size: 12px;
    }
    
    .gpd-tier-price {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gpd-quantity-and-tiers {
        flex-direction: row;
        gap: 6px;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .gpd-quantity-wrapper .gpd-quantity-controls {
        justify-content: center;
        gap: 0;
        flex-wrap: nowrap;
        min-width: 0;
    }
    
    .gpd-quantity-wrapper .gpd-quantity-input {
        min-width: 60px;
    }
    
    .gpd-price-tiers-inline {
        gap: 6px;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: space-between;
        overflow: hidden;
    }
    
    .gpd-price-tier {
        padding: 5px 10px;
        min-width: 0;
        min-height: 38px;
        border-radius: 6px;
        flex: 1 1 0%;
        white-space: normal;
    }
    
    .gpd-tier-quantity {
        font-size: 11px;
        margin-bottom: 1px;
    }
    
    .gpd-tier-price {
        font-size: 12px;
    }
}




.gpd-price-tiers-compact {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: stretch;
    margin: 8px 0;
    padding: 0;
    width: 100%;
}


.gpd-price-tier-compact {
    background: var(--gpd-white);
    border: 1px solid var(--gpd-border);
    border-radius: 4px;
    padding: 4px 6px;
    text-align: center;
    transition: var(--gpd-transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 28px;
    cursor: pointer;
}

.gpd-price-tier-compact:hover {
    border-color: var(--gpd-primary);
    box-shadow: 0 2px 4px rgba(23, 73, 130, 0.15);
}

.gpd-price-tier-compact.active {
    border-color: var(--gpd-primary);
    background: rgba(23, 73, 130, 0.05);
    box-shadow: 0 2px 6px rgba(23, 73, 130, 0.2);
}


.gpd-tier-quantity-compact {
    font-size: 12px;
    font-weight: 600;
    color: var(--gpd-primary);
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 1px;
}


.gpd-tier-price-compact {
    font-size: 12px;
    font-weight: 700;
    color: var(--gpd-dark);
    line-height: 1;
    white-space: nowrap;
}


.gpd-price-tier-more {
    background: var(--gpd-secondary);
    border: 1px solid var(--gpd-border);
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-align: center;
    min-width: 30px;
    max-width: 40px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--gpd-transition);
    flex: 0 0 auto;
}

.gpd-price-tier-more:hover {
    background: var(--gpd-primary);
    color: var(--gpd-white);
}


.gpd-related-price-tiers {
    margin: 6px 0;
    justify-content: flex-start;
    gap: 3px;
}

.gpd-related-price-tiers .gpd-price-tier-compact {
    max-width: 70px;
    min-height: 26px;
    padding: 3px 5px;
}

.gpd-related-price-tiers .gpd-tier-quantity-compact,
.gpd-related-price-tiers .gpd-tier-price-compact {
    font-size: 11px;
}

.gpd-related-price-tiers .gpd-price-tier-more {
    font-size: 10px;
    min-width: 26px;
    max-width: 32px;
    min-height: 26px;
}


@media (max-width: 768px) {
    .gpd-price-tiers-compact {
        gap: 3px;
        margin: 6px 0;
    }
    
    .gpd-price-tier-compact {
        padding: 3px 5px;
        min-height: 26px;
        flex: 1 1 0;
    }
    
    .gpd-tier-quantity-compact,
    .gpd-tier-price-compact {
        font-size: 11px;
    }
    
    .gpd-price-tier-more {
        padding: 3px 5px;
        font-size: 10px;
        min-width: 26px;
        max-width: 32px;
        min-height: 26px;
    }
}

@media (max-width: 480px) {
    .gpd-price-tiers-compact {
        gap: 2px;
        margin: 4px 0;
    }
    
    .gpd-price-tier-compact {
        padding: 2px 4px;
        min-height: 24px;
        border-radius: 3px;
        flex: 1 1 0;
    }
    
    .gpd-tier-quantity-compact,
    .gpd-tier-price-compact {
        font-size: 10px;
    }
    
    .gpd-price-tier-more {
        padding: 2px 4px;
        font-size: 9px;
        min-width: 22px;
        max-width: 28px;
        min-height: 24px;
        border-radius: 3px;
    }
}

@media (max-width: 400px) {
    .gpd-related-products,
    .gpd-products-slider {
        --gpd-slider-columns: 1;
        --gpd-slider-gap: 12px;
    }

    .gpd-products-slider .gpd-related-slider-wrapper {
        padding: 16px 0 10px 0;
    }

    .gpd-products-slider .gpd-related-slide {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .gpd-products-slider .gpd-product-card {
        min-width: 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .gpd-products-slider .gpd-product-content {
        padding: 12px;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    .gpd-products-slider .gpd-product-category {
        font-size: 10px;
        margin-bottom: 4px;
        letter-spacing: 0.4px;
    }

    .gpd-products-slider .gpd-product-title {
        font-size: 13px;
        line-height: 1.3;
        min-height: 0;
    }

    .gpd-products-slider .gpd-product-price,
    .gpd-products-slider .gpd-product-price ins {
        font-size: 15px;
    }

    .gpd-products-slider .gpd-product-price del {
        font-size: 11px;
    }

    .gpd-products-slider .gpd-price-tiers-compact {
        gap: 2px;
        margin: 4px 0;
    }

    .gpd-products-slider .gpd-price-tier-compact {
        padding: 2px 4px;
        min-height: 22px;
    }

    .gpd-products-slider .gpd-tier-quantity-compact,
    .gpd-products-slider .gpd-tier-price-compact {
        font-size: 10px;
    }

    .gpd-products-slider .gpd-price-tier-more {
        min-height: 22px;
        font-size: 9px;
    }

    .gpd-products-slider .gpd-product-actions .gpd-add-to-cart,
    .gpd-products-slider .gpd-product-actions .gpd-view-product,
    .gpd-products-slider .gpd-product-actions .gpd-btn-secondary {
        font-size: 12px;
        padding: 6px 10px;
        min-height: 36px;
    }

    .gpd-products-slider .gpd-product-actions {
        margin-top: auto;
        width: 100%;
    }

    .gpd-products-slider .gpd-add-to-cart.gpd-btn-icon {
        width: auto;
        min-width: 44px;
        height: 44px;
        border-radius: 10px;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gpd-products-slider .gpd-cart-icon {
        width: 18px;
        height: 18px;
    }

    .gpd-products-slider .gpd-quantity-and-cart-section {
        flex-direction: row;
        align-items: stretch;
        gap: 6px;
        margin-bottom: 12px;
        overflow: visible;
        margin-top: auto;
        flex-wrap: nowrap;
        width: 100%;
    }

    .gpd-products-slider .gpd-quantity-row {
        flex-wrap: nowrap;
        gap: 6px;
        height: 44px;
        flex: 1 1 auto;
        justify-content: flex-start;
    }

    .gpd-products-slider .gpd-quantity-input-container {
        height: 44px;
        flex: 1 1 0;
        min-width: 0;
    }

    .gpd-products-slider .gpd-quantity-input {
        font-size: 14px;
        padding: 0 6px;
        height: 100%;
        width: 100%;
        flex: 1 1 auto;
    }

    .gpd-products-slider .gpd-quantity-controls {
        height: 44px;
        flex: 0 0 70px;
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: flex-end;
    }

    .gpd-products-slider .gpd-qty-minus,
    .gpd-products-slider .gpd-qty-plus {
        width: 34px;
        height: 100%;
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .gpd-price-tiers-compact {
        gap: 1px;
        margin: 3px 0;
    }
    
    .gpd-price-tier-compact {
        padding: 4px 6px;
        min-height: 26px;
        flex: 1 1 0;
    }
    
    .gpd-tier-quantity-compact,
    .gpd-tier-price-compact {
        font-size: 11px;
    }
    
    .gpd-price-tier-more {
        padding: 4px 6px;
        font-size: 10px;
        min-width: 22px;
        max-width: 28px;
        min-height: 26px;
    }
    
    .gpd-related-price-tiers .gpd-price-tier-compact {
        max-width: 45px;
        min-height: 20px;
        padding: 1px 2px;
    }
    
    .gpd-related-price-tiers .gpd-tier-quantity-compact,
    .gpd-related-price-tiers .gpd-tier-price-compact {
        font-size: 8px;
    }
}


@media (max-width: 280px) {
    .gpd-price-tiers-compact {
        gap: 1px;
        margin: 2px 0;
    }
    
    .gpd-price-tier-compact {
        padding: 1px 2px;
        max-width: 40px;
        min-height: 20px;
        flex: 1 1 25%;
    }
    
    .gpd-tier-quantity-compact,
    .gpd-tier-price-compact {
        font-size: 8px;
    }
    
    .gpd-price-tier-more {
        padding: 1px 2px;
        font-size: 7px;
        min-width: 16px;
        max-width: 20px;
        min-height: 20px;
    }
}


html[lang*="ru"] .gpd-container,
html[lang*="ru"] .gpd-container *,
body.translatepress-ru_RU .gpd-container,
body.translatepress-ru_RU .gpd-container *,
.gpd-container [data-trp-translate-lang="ru_RU"],
.gpd-container [data-trp-translate-lang="ru_RU"] * {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}



.gpd-quantity-and-cart-section {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
}

.gpd-quantity-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.gpd-quantity-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    height: 48px;
    justify-content: space-between;
}

.gpd-quantity-input-container {
    display: flex;
    align-items: center;
    border: 2px solid var(--gpd-border);
    border-radius: 6px;
    background: var(--gpd-white);
    overflow: hidden;
    transition: var(--gpd-transition);
    height: 48px;
    flex: 1;
}

.gpd-quantity-input-container:focus-within {
    border-color: var(--gpd-primary);
    box-shadow: 0 0 0 3px rgba(23, 73, 130, 0.1);
}


.gpd-quantity-input,
input.gpd-quantity-input,
input[type="number"].gpd-quantity-input {
    
    flex: 1 !important;
    padding: 8px 4px !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: var(--gpd-font), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: var(--gpd-dark) !important;
    background: transparent !important;
    transition: var(--gpd-transition) !important;
    text-align: center !important;
    min-width: 70px !important;
    height: 48px !important;
    box-sizing: border-box !important;
    
    
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    
    
    line-height: 1.4 !important;
    vertical-align: middle !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}


.gpd-quantity-input:focus,
input.gpd-quantity-input:focus,
input[type="number"].gpd-quantity-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    color: var(--gpd-dark) !important;
    background: transparent !important;
}

.gpd-quantity-input:hover,
input.gpd-quantity-input:hover,
input[type="number"].gpd-quantity-input:hover {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--gpd-dark) !important;
}

.gpd-quantity-input:disabled,
input.gpd-quantity-input:disabled,
input[type="number"].gpd-quantity-input:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: transparent !important;
    color: var(--gpd-dark) !important;
}


.gpd-quantity-input::-webkit-outer-spin-button,
.gpd-quantity-input::-webkit-inner-spin-button,
input.gpd-quantity-input::-webkit-outer-spin-button,
input.gpd-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}


.gpd-quantity-input[type="number"],
input.gpd-quantity-input[type="number"] {
    -moz-appearance: textfield !important;
}



.elementor-widget-container .gpd-quantity-input,
.elementor-element .gpd-quantity-input,
.elementor .gpd-quantity-input,
div .gpd-quantity-input,
form .gpd-quantity-input,
.gpd-quantity-input-container .gpd-quantity-input {
    
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 10px 4px !important;
    font-size: 14px !important;
    height: 48px !important;
    text-align: center !important;
    color: var(--gpd-dark) !important;
    font-family: var(--gpd-font), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    
    
    transform: none !important;
    filter: none !important;
    position: relative !important;
    z-index: auto !important;
    width: auto !important;
    max-width: none !important;
}


.elementor-widget-container .gpd-quantity-input:focus,
.elementor-element .gpd-quantity-input:focus,
.elementor .gpd-quantity-input:focus,
div .gpd-quantity-input:focus,
form .gpd-quantity-input:focus,
.gpd-quantity-input-container .gpd-quantity-input:focus {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--gpd-dark) !important;
}



.gpd-qty-plus,
.gpd-qty-minus {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: none;
    background: var(--gpd-white);
    color: var(--gpd-primary);
    border-radius: var(--gpd-radius-small);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: var(--gpd-transition);
}

.gpd-qty-plus:hover,
.gpd-qty-minus:hover {
    background: var(--gpd-primary);
    color: var(--gpd-white);
}



.gpd-qty-plus:disabled,
.gpd-qty-minus:disabled,
button.gpd-qty-plus:disabled,
button.gpd-qty-minus:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: var(--gpd-primary) !important;
    border-color: var(--gpa-primary-color) !important;
    color: var(--gpd-white) !important;
}


.gpd-quantity-feedback {
    font-size: 11px;
    font-weight: 500;
    min-height: 14px;
    transition: var(--gpd-transition);
    text-align: center;
}

.gpd-quantity-feedback.error {
    color: #e74c3c;
}

.gpd-quantity-feedback.success {
    color: #27ae60;
}



.gpd-quantity-and-cart-section .gpd-quantity-controls,
.gpd-quantity-row .gpd-quantity-controls {
    display: flex !important;
    flex-direction: row !important;
    gap: 2px !important;
    align-items: stretch !important;
    flex-shrink: 0 !important;
    height: 48px !important;
    width: auto !important;
    min-width: auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    justify-content: flex-start !important;
    margin-left: 5px !important;
    padding: 0 !important;
}


.elementor-widget-container .gpd-qty-plus,
.elementor-widget-container .gpd-qty-minus,
.elementor-element .gpd-qty-plus,
.elementor-element .gpd-qty-minus,
.elementor .gpd-qty-plus,
.elementor .gpd-qty-minus,
div .gpd-qty-plus,
div .gpd-qty-minus,
.gpd-quantity-controls .gpd-qty-plus,
.gpd-quantity-controls .gpd-qty-minus {
    
    border: 2px solid var(--gpa-primary-color) !important;
    background: var(--gpa-primary-color) !important;
    color: var(--gpa-white) !important;
    border-radius: var(--gpa-border-radius-small) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: var(--gpa-transition) !important;
    
    
    width: 40px !important;
    height: 48px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    
    
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transform: none !important;
    position: relative !important;
    z-index: auto !important;
}


.elementor-widget-container .gpd-qty-plus:hover,
.elementor-widget-container .gpd-qty-minus:hover,
.elementor-element .gpd-qty-plus:hover,
.elementor-element .gpd-qty-minus:hover,
.elementor .gpd-qty-plus:hover,
.elementor .gpd-qty-minus:hover,
div .gpd-qty-plus:hover,
div .gpd-qty-minus:hover,
.gpd-quantity-controls .gpd-qty-plus:hover,
.gpd-quantity-controls .gpd-qty-minus:hover {
    background: var(--gpa-primary-dark) !important;
    border-color: var(--gpa-primary-dark) !important;
    color: var(--gpa-white) !important;
}



.gpd-btn-icon,
.gpd-add-to-cart.gpd-btn-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    border: 2px solid var(--gpa-primary-color) !important;
    background: var(--gpa-primary-color) !important;
    color: var(--gpa-white) !important;
    border-radius: var(--gpa-border-radius-small) !important;
    cursor: pointer !important;
    transition: var(--gpa-transition) !important;
    
    
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    flex: none !important;
}

.gpd-btn-icon:hover,
.gpd-add-to-cart.gpd-btn-icon:hover {
    background: var(--gpa-primary-color) !important;
    border-color: var(--gpa-primary-color) !important;
    transform: none !important;
}

.gpd-btn-icon:active {
    transform: none;
}

.gpd-btn-icon .gpd-cart-icon,
.gpd-add-to-cart.gpd-btn-icon .gpd-cart-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    display: block !important;
    transition: var(--gpa-transition);
}


.gpd-btn-icon.loading,
.gpd-add-to-cart.gpd-btn-icon.loading {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    position: relative !important;
    color: transparent !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}


.gpd-btn-icon.loading .gpd-cart-icon,
.gpd-add-to-cart.gpd-btn-icon.loading .gpd-cart-icon {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.gpd-btn-icon.loading::after,
.gpd-add-to-cart.gpd-btn-icon.loading::after {
    content: '';
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 20px !important;
    height: 20px !important;
    margin: auto !important;
    padding: 0 !important;
    border: 2px solid transparent !important;
    border-top: 2px solid var(--gpa-white) !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    animation: gpd-spin 1s linear infinite !important;
    z-index: 10 !important;
}

.gpd-btn-icon.success,
.gpd-add-to-cart.gpd-btn-icon.success {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    color: var(--gpa-white) !important;
}

.gpd-btn-icon.error,
.gpd-add-to-cart.gpd-btn-icon.error {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: var(--gpa-white) !important;
}



@media (max-width: 767px) {
    .gpd-quantity-and-cart-section {
        gap: 4px !important;
    }
    
    .gpd-quantity-row {
        gap: 4px !important;
        align-items: center !important;
    }
    
    .gpd-quantity-input-container {
        min-width: 55px !important;
        flex: 1.2 !important;
    }
    
    .gpd-quantity-input,
    input.gpd-quantity-input,
    input[type="number"].gpd-quantity-input {
        min-width: 50px !important;
        width: 100% !important;
        font-size: 12px !important;
    }
    
    .gpd-quantity-controls .gpd-qty-plus,
    .gpd-quantity-controls .gpd-qty-minus {
        width: 30px !important;
        min-width: 30px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }
    
    .gpd-btn-icon,
    .gpd-add-to-cart.gpd-btn-icon {
        width: 40px !important;
        min-width: 40px !important;
        flex-shrink: 0 !important;
    }
}


@media (max-width: 767px) and (min-width: 600px) {
    .gpd-quantity-and-cart-section {
        gap: clamp(2px, 1vw, 6px) !important;
        min-height: clamp(36px, 6vw, 48px) !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }
    
    .gpd-quantity-row {
        gap: clamp(2px, 0.5vw, 4px) !important;
        height: clamp(36px, 6vw, 48px) !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .gpd-quantity-input-container {
        flex: 1.2 !important;
        min-width: clamp(45px, 8vw, 75px) !important;
        max-width: clamp(60px, 12vw, 90px) !important;
        height: clamp(44px, 6vw, 48px) !important;
    }
    
    .gpd-quantity-input,
    input.gpd-quantity-input,
    input[type="number"].gpd-quantity-input {
        width: 100% !important;
        height: clamp(36px, 6vw, 48px) !important;
        font-size: clamp(11px, 1.8vw, 14px) !important;
        padding: clamp(2px, 0.5vw, 6px) clamp(2px, 0.8vw, 5px) !important;
        border-radius: clamp(6px, 1.0vw, 10px) !important;
    }
    
    .gpd-quantity-and-cart-section .gpd-quantity-controls,
    .gpd-quantity-row .gpd-quantity-controls {
        gap: clamp(1px, 0.3vw, 3px) !important;
        height: clamp(36px, 6vw, 48px) !important;
        flex-shrink: 0 !important;
    }
    
    
    .elementor-widget-container .gpd-qty-plus,
    .elementor-widget-container .gpd-qty-minus,
    .elementor-element .gpd-qty-plus,
    .elementor-element .gpd-qty-minus,
    .elementor .gpd-qty-plus,
    .elementor .gpd-qty-minus,
    div .gpd-qty-plus,
    div .gpd-qty-minus,
    .gpd-quantity-controls .gpd-qty-plus,
    .gpd-quantity-controls .gpd-qty-minus {
        
        width: clamp(24px, 4.5vw, 38px) !important;
        height: clamp(36px, 6vw, 48px) !important;
        min-width: clamp(24px, 4.5vw, 38px) !important;
        max-width: clamp(24px, 4.5vw, 38px) !important;
        min-height: clamp(36px, 6vw, 48px) !important;
        max-height: clamp(36px, 6vw, 48px) !important;
        
        
        font-size: clamp(10px, 1.8vw, 16px) !important;
        
        
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        
        
        border-radius: clamp(6px, 1.2vw, 12px) !important;
        border-width: clamp(1px, 0.2vw, 2px) !important;
    }
    
    
    .gpd-btn-icon,
    .gpd-add-to-cart.gpd-btn-icon {
        width: clamp(36px, 6.5vw, 50px) !important;
        height: clamp(36px, 6vw, 48px) !important;
        min-width: clamp(36px, 6.5vw, 50px) !important;
        max-width: clamp(36px, 6.5vw, 50px) !important;
        min-height: clamp(36px, 6vw, 48px) !important;
        max-height: clamp(36px, 6vw, 48px) !important;
        flex-shrink: 0 !important;
        border-radius: clamp(8px, 1.5vw, 14px) !important;
        border-width: clamp(1px, 0.3vw, 2px) !important;
    }
    
    .gpd-btn-icon .gpd-cart-icon,
    .gpd-add-to-cart.gpd-btn-icon .gpd-cart-icon {
        width: clamp(14px, 2.5vw, 22px) !important;
        height: clamp(14px, 2.5vw, 22px) !important;
    }
    
    
    .gpd-quantity-and-cart-section,
    .gpd-quantity-row {
        overflow: visible !important;
        box-sizing: border-box !important;
    }
}


@media (max-width: 650px) and (min-width: 600px) {
    .gpd-quantity-and-cart-section {
        gap: 3px !important;
    }
    
    .gpd-quantity-row {
        gap: 3px !important;
    }
    
    .gpd-quantity-input-container {
        min-width: 45px !important;
        max-width: 65px !important;
        flex: 1.5 !important;
    }
    
    .gpd-quantity-input,
    input.gpd-quantity-input,
    input[type="number"].gpd-quantity-input {
        min-width: 40px !important;
        max-width: 60px !important;
        width: 100% !important;
        font-size: 11px !important;
        padding: 3px 2px !important;
    }
    
    .gpd-quantity-controls .gpd-qty-plus,
    .gpd-quantity-controls .gpd-qty-minus {
        width: 26px !important;
        min-width: 26px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
    
    .gpd-btn-icon,
    .gpd-add-to-cart.gpd-btn-icon {
        width: 36px !important;
        min-width: 36px !important;
        flex-shrink: 0 !important;
    }
}


@media (max-width: 768px) {
    .gpd-quantity-and-cart-section {
        gap: 6px;
        min-height: 44px;
    }
    
    .gpd-quantity-row {
        height: 44px;
    }
    
    .gpd-quantity-input-container {
        height: 44px;
        flex: 1.2; 
    }
    
    .gpd-quantity-and-cart-section .gpd-quantity-controls,
    .gpd-quantity-row .gpd-quantity-controls {
        gap: 2px !important;
        height: 44px !important;
    }
    
    .gpd-btn-icon,
    .gpd-add-to-cart.gpd-btn-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }
    
    .elementor-widget-container .gpd-qty-plus,
    .elementor-widget-container .gpd-qty-minus,
    .elementor-element .gpd-qty-plus,
    .elementor-element .gpd-qty-minus,
    .elementor .gpd-qty-plus,
    .elementor .gpd-qty-minus,
    div .gpd-qty-plus,
    div .gpd-qty-minus,
    .gpd-quantity-controls .gpd-qty-plus,
    .gpd-quantity-controls .gpd-qty-minus {
        width: 36px !important;
        height: 44px !important;
        min-height: 40px !important;
        max-height: 44px !important;
        font-size: 14px !important;
    }
}


@media (max-width: 530px) {
    .gpd-quantity-and-cart-section {
        gap: 3px; 
        min-height: 40px; 
        flex-wrap: nowrap; 
        overflow: hidden; 
    }
    
    .gpd-quantity-row {
        height: 40px;
    }
    
    .gpd-quantity-input-container {
        height: 40px;
        flex: 1.5; 
        min-width: 60px; 
        max-width: 95px; 
    }
    
    .gpd-quantity-and-cart-section .gpd-quantity-controls,
    .gpd-quantity-row .gpd-quantity-controls {
        gap: 1px !important; 
        height: 40px !important;
        flex-shrink: 0 !important; 
    }
    
    .gpd-btn-icon,
    .gpd-add-to-cart.gpd-btn-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }
    
    .elementor-widget-container .gpd-qty-plus,
    .elementor-widget-container .gpd-qty-minus,
    .elementor-element .gpd-qty-plus,
    .elementor-element .gpd-qty-minus,
    .elementor .gpd-qty-plus,
    .elementor .gpd-qty-minus,
    div .gpd-qty-plus,
    div .gpd-qty-minus,
    .gpd-quantity-controls .gpd-qty-plus,
    .gpd-quantity-controls .gpd-qty-minus {
        width: 26px !important;
        height: 40px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
    }
}


@media (max-width: 480px) {
    .gpd-quantity-and-cart-section {
        gap: 4px;
        min-height: 40px;
    }
    
    .gpd-quantity-row {
        height: 40px;
    }
    
    .gpd-quantity-input-container {
        height: 40px;
        flex: 1.3; 
    }
    
    .gpd-quantity-and-cart-section .gpd-quantity-controls,
    .gpd-quantity-row .gpd-quantity-controls {
        gap: 1px !important;
        height: 40px !important;
    }
    
    .gpd-btn-icon,
    .gpd-add-to-cart.gpd-btn-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }
    
    .elementor-widget-container .gpd-qty-plus,
    .elementor-widget-container .gpd-qty-minus,
    .elementor-element .gpd-qty-plus,
    .elementor-element .gpd-qty-minus,
    .elementor .gpd-qty-plus,
    .elementor .gpd-qty-minus,
    div .gpd-qty-plus,
    div .gpd-qty-minus,
    .gpd-quantity-controls .gpd-qty-plus,
    .gpd-quantity-controls .gpd-qty-minus {
        width: 28px !important;
        height: 40px !important;
        font-size: 12px !important;
        padding: 0 !important;
    }
}


@media (max-width: 467px) {
    .gpd-quantity-and-cart-section {
        gap: 3px !important;
        height: 36px !important; 
        flex-wrap: nowrap;
        overflow: visible !important; 
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }
    
    .gpd-quantity-row {
        gap: 3px !important;
        height: 36px !important; 
        flex-shrink: 0;
        display: flex !important;
        align-items: center !important; 
        flex-direction: row !important; 
        position: relative !important;
        justify-content: space-between;
    }
    
    .gpd-quantity-input-container {
        height: 36px !important;
        flex: 1.4 !important;
        min-width: 50px !important;
        max-width: 80px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .gpd-quantity-and-cart-section .gpd-quantity-controls,
    .gpd-quantity-row .gpd-quantity-controls {
        gap: 2px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: auto !important;
        min-width: 60px !important;
    }
    
    
    .gpd-quantity-feedback {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: 2px !important;
        z-index: 10 !important;
    }
    
    .gpd-btn-icon,
    .gpd-add-to-cart.gpd-btn-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        border-width: 1px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }
    
    .elementor-widget-container .gpd-qty-plus,
    .elementor-widget-container .gpd-qty-minus,
    .elementor-element .gpd-qty-plus,
    .elementor-element .gpd-qty-minus,
    .elementor .gpd-qty-plus,
    .elementor .gpd-qty-minus,
    div .gpd-qty-plus,
    div .gpd-qty-minus,
    .gpd-quantity-controls .gpd-qty-plus,
    .gpd-quantity-controls .gpd-qty-minus {
        width: 28px !important; 
        height: 36px !important; 
        min-width: 28px !important;
        max-width: 28px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        font-size: 11px !important;
        border-width: 1px !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
        border-radius: 4px !important;
    }
    
    .gpd-quantity-input,
    input.gpd-quantity-input,
    input[type="number"].gpd-quantity-input {
        height: 36px !important;
        font-size: 11px !important;
        min-width: 45px !important;
        max-width: 65px !important;
        padding: 4px 3px !important;
        border-width: 1px !important;
    }
}


@media (max-width: 360px) {
    .gpd-quantity-and-cart-section {
        gap: 4px !important;
        height: 42px !important; 
        flex-wrap: nowrap;
        overflow: visible !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important; 
        width: 100% !important;
        padding: 2px !important;
    }
    
    .gpd-quantity-row {
        gap: 4px !important;
        height: 42px !important; 
        flex-shrink: 0;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important; 
        width: 100% !important;
        flex-direction: row !important; 
        position: relative !important;
    }
    
    .gpd-quantity-input-container {
        height: 42px !important;
        flex: 1.3 !important;
        min-width: 50px !important;
        max-width: none !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .gpd-quantity-and-cart-section .gpd-quantity-controls,
    .gpd-quantity-row .gpd-quantity-controls {
        gap: 2px !important;
        height: 42px !important;
        flex-shrink: 0 !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: auto !important;
        min-width: 60px !important;
    }
    
    .gpd-btn-icon,
    .gpd-add-to-cart.gpd-btn-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        box-sizing: border-box !important;
        border-width: 1px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important; 
        margin: 0 !important;
    }
    
    
    .gpd-quantity-feedback {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: 2px !important;
        z-index: 10 !important;
        font-size: 9px !important;
    }
    
    .gpd-btn-icon .gpd-cart-icon,
    .gpd-add-to-cart.gpd-btn-icon .gpd-cart-icon {
        width: 16px !important;
        height: 16px !important;
    }
    
    .elementor-widget-container .gpd-qty-plus,
    .elementor-widget-container .gpd-qty-minus,
    .elementor-element .gpd-qty-plus,
    .elementor-element .gpd-qty-minus,
    .elementor .gpd-qty-plus,
    .elementor .gpd-qty-minus,
    div .gpd-qty-plus,
    div .gpd-qty-minus,
    .gpd-quantity-controls .gpd-qty-plus,
    .gpd-quantity-controls .gpd-qty-minus {
        width: 28px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        font-size: 16px !important;
        border-width: 1px !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .gpd-quantity-input,
    input.gpd-quantity-input,
    input[type="number"].gpd-quantity-input {
        height: 42px !important;
        font-size: 14px !important;
        min-width: 45px !important;
        max-width: none !important;
        padding: 8px 4px !important;
        border-width: 1px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    
    .gpd-price-tiers-compact {
        width: 100% !important;
        gap: 2px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        overflow-x: visible !important;
    }
    
    .gpd-price-tier-compact {
        flex: 1 1 0 !important; 
        min-width: 0 !important;
        padding: 4px 6px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        min-height: 28px !important;
    }
    
    .gpd-tier-quantity-compact {
        font-size: 12px !important;
    }
    
    .gpd-tier-price-compact {
        font-size: 10px !important;
    }
}



.gpd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gpd-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.gpd-modal-content {
    background: var(--gpd-white);
    border-radius: var(--gpd-radius);
    box-shadow: var(--gpa-shadow-hover);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.gpd-modal-overlay.show .gpd-modal-content {
    transform: scale(1) translateY(0);
}

.gpd-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--gpa-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gpd-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--gpd-primary);
    font-family: var(--gpd-font-family);
}

.gpd-modal-overlay .gpd-modal-close,
#gpd-availability-modal .gpd-modal-close,
.gpd-modal-content .gpd-modal-close {
    background: var(--gpd-primary) !important;
    border: 1px solid var(--gpd-primary) !important;
    font-size: 20px !important;
    color: var(--gpd-white) !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 5px !important;
    transition: var(--gpd-transition) !important;
    line-height: 1 !important;
}

.gpd-modal-overlay .gpd-modal-close:hover,
#gpd-availability-modal .gpd-modal-close:hover,
.gpd-modal-content .gpd-modal-close:hover {
    background: var(--gpd-primary-hover) !important;
    color: var(--gpd-white) !important;
    border-color: var(--gpd-primary-hover) !important;
    transform: translateY(-1px) !important;
}

.gpd-modal-body {
    padding: 24px;
}

.gpd-modal-body p {
    margin: 0 0 20px;
    color: var(--gpd-primary);
    font-family: var(--gpd-font-family);
}

.gpd-form-group {
    margin-bottom: 20px;
}

.gpd-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gpd-primary);
    font-family: var(--gpd-font-family);
}

.gpd-form-group input,
.gpd-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gpa-border-color);
    border-radius: var(--gpa-border-radius-small);
    font-family: var(--gpd-font-family);
    font-size: 14px;
    color: var(--gpd-primary);
    transition: var(--gpd-transition);
    box-sizing: border-box;
}

.gpd-form-group input:focus,
.gpd-form-group textarea:focus {
    outline: none;
    border-color: var(--gpd-primary);
    box-shadow: 0 0 0 3px rgba(23, 73, 130, 0.1);
}

.gpd-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.gpd-btn-inquiry {
    background: var(--gpd-primary) !important;
    color: var(--gpd-white) !important;
    border: 1px solid var(--gpd-primary) !important;
    padding: 12px 24px !important;
    border-radius: var(--gpa-border-radius-small) !important;
    font-family: var(--gpd-font-family) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: var(--gpd-transition) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
}

.gpd-btn-inquiry:hover {
    background: var(--gpd-primary-hover) !important;
    color: var(--gpd-white) !important;
    border-color: var(--gpd-primary-hover) !important;
    transform: translateY(-1px) !important;
}

.gpd-modal-message {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: var(--gpa-border-radius-small);
    font-family: var(--gpd-font-family);
    font-size: 14px;
}

.gpd-modal-message-error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #fed7d7;
}

.gpd-modal-message-success {
    background: #f0fff4;
    color: #2f855a;
    border: 1px solid #c6f6d5;
}


@media (max-width: 768px) {
    .gpd-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
        max-height: calc(100vh - 40px);
    }

    .gpd-modal-header,
    .gpd-modal-body {
        padding: 20px;
    }

    .gpd-form-actions .gpd-btn {
        width: 100%;
        max-width: 300px;
        margin: 0;
        min-width: auto;
    }
}





.gpd-btn-loading {
    opacity: 0.8 !important;
    pointer-events: none !important;
    position: relative !important;
    color: transparent !important; 
}

.gpd-btn-loading::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin-top: -10px !important;
    margin-left: -10px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-top: 2px solid white !important;
    border-radius: 50% !important;
    animation: gpd-spin 1s linear infinite !important;
}

@keyframes gpd-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}





.gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image {
    position: relative !important;
    overflow: hidden !important;
}

.gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    z-index: 10 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    pointer-events: none !important;
    align-items: flex-end !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 2px !important;
}


@media (max-width: 1024px) {
    .gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges {
        bottom: 14px !important;
        right: 14px !important;
        gap: 6px !important;
    }
}

@media (max-width: 768px) {
    .gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges {
        bottom: 12px !important;
        right: 12px !important;
        gap: 5px !important;
    }
}

@media (max-width: 576px) {
    .gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges {
        bottom: 10px !important;
        right: 10px !important;
        gap: 4px !important;
    }
}

.gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges .gpd-mechanical-badge {
    background: var(--gpd-primary, #174982) !important;
    color: var(--gpd-white, #ffffff) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
    padding: 4px 7px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 20px !important;
    height: auto !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 11 !important;
    margin: 0 !important;
    position: static !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
    text-overflow: visible !important;
    overflow: visible !important;
}

.gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges .gpd-ect-badge {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%) !important;
}

.gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges .gpd-mullen-badge {
    background: linear-gradient(135deg, #1565C0 0%, #2196F3 100%) !important;
}


@media (max-width: 576px) {
    .gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges {
        max-width: calc(100% - 20px) !important;
        flex-wrap: wrap !important;
        row-gap: 3px !important;
        align-content: flex-end !important;
        justify-content: flex-end !important;
    }

    .gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges .gpd-mechanical-badge {
        font-size: 8px !important;
        padding: 2px 4px !important;
        min-height: 16px !important;
        letter-spacing: 0 !important;
    }
}

@media (max-width: 420px) {
    .gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges {
        right: 8px !important;
        max-width: calc(100% - 16px) !important;
    }

    .gpd-products-slider .gpd-related-slide .gpd-product-card .gpd-product-image .gpd-mechanical-badges .gpd-mechanical-badge {
        font-size: 7.5px !important;
        padding: 2px 3px !important;
    }
}




@media (max-width: 1024px) {
    .gpd-quantity-and-tiers {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .gpd-add-to-cart-btn {
        width: 100% !important;
        min-width: auto !important;
        order: 1;
        margin-bottom: 12px;
    }

    .gpd-quantity-controls {
        width: 100%;
        order: 2;
        margin-bottom: 12px;
    }

    .gpd-price-tiers-inline {
        order: 3;
        justify-content: center;
        width: 100%;
    }
}


@media (max-width: 768px) {
    .gpd-quantity-and-tiers {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .gpd-add-to-cart-btn {
        width: 100% !important;
        min-width: auto !important;
        order: 1;
        margin-bottom: 10px;
        font-size: 15px;
        padding: 12px 16px;
    }

    .gpd-quantity-controls {
        width: 100%;
        order: 2;
        margin-bottom: 10px;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .gpd-quantity-input {
        font-size: 15px;
        padding: 8px;
    }

    .gpd-price-tiers-inline {
        order: 3;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .gpd-price-tier {
        min-width: 80px;
        min-height: 50px;
        padding: 8px 12px;
    }
}


@media (max-width: 480px) {
    .gpd-quantity-and-tiers {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .gpd-add-to-cart-btn {
        width: 100% !important;
        min-width: auto !important;
        order: 1;
        font-size: 14px;
        padding: 10px 12px;
        min-height: 44px;
    }

    .gpd-quantity-controls {
        order: 2;
        margin: 0 auto;
        width: auto;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        background: var(--gpd-white);
        border: 1px solid var(--gpd-border);
        border-radius: var(--gpd-radius-small);
        min-width: 0;
        padding: 0;
        overflow: hidden;
    }

    .gpd-qty-minus,
    .gpd-qty-plus {
        width: 34px !important;
        min-width: 34px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .gpd-quantity-input {
        font-size: 14px;
        padding: 6px;
        width: 70px !important;
        min-width: 70px !important;
    }

    .gpd-price-tiers-inline {
        order: 3;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    
    .gpd-price-tier {
        min-width: 0;
        min-height: 42px;
        padding: 6px 10px;
        flex: 1 1 0%;
        white-space: normal;
    }

    .gpd-tier-quantity {
        font-size: 11px;
    }

    .gpd-tier-price {
        font-size: 12px;
    }
}


@media (max-width: 360px) {
    .gpd-related-products,
    .gpd-products-slider {
        --gpd-slider-columns: 1;
        --gpd-slider-gap: 0px;
    }
    .gpd-quantity-and-tiers {
        gap: 6px;
    }

    .gpd-add-to-cart-btn {
        font-size: 13px;
        padding: 8px 10px;
        min-height: 40px;
    }

    .gpd-quantity-controls {
        max-width: 160px;
    }

    .gpd-quantity-input {
        font-size: 13px;
        padding: 4px;
    }

    .gpd-price-tier {
        min-width: 0;
        min-height: 40px;
        padding: 4px 8px;
        flex: 1 1 0%;
        white-space: normal;
    }

    .gpd-tier-quantity {
        font-size: 10px;
    }

    .gpd-tier-price {
        font-size: 11px;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    .gpd-quantity-and-tiers {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        align-items: flex-start;
    }

    .gpd-add-to-cart-btn {
        width: 100% !important;
        order: 1;
        flex: 1 1 100%;
        margin-bottom: 8px;
    }

    .gpd-quantity-controls {
        width: auto;
        order: 2;
        flex: 0 0 auto;
        margin: 0;
    }

    .gpd-price-tiers-inline {
        order: 3;
        flex: 1 1 auto;
        justify-content: flex-start;
        margin-left: 8px;
    }

    .gpd-price-tier {
        flex: 0 0 auto;
    }
}

/* ==========================================================================
   10. JS Helpers & Animations
   ========================================================================== */

.gpd-quantity-controls,
.gpd-quantity-wrapper {
    position: relative;
}

.gpd-quantity-input {
    -moz-appearance: textfield;
}

.gpd-quantity-input::-webkit-outer-spin-button,
.gpd-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gpd-quantity-error {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    min-width: 240px;
    max-width: 360px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #d63031;
    background: rgba(214, 48, 49, 0.1);
    border: 2px solid #d63031;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(214, 48, 49, 0.2);
    display: none;
    z-index: 25;
    animation: gpd-error-appear 0.35s ease-out;
}

.gpd-quantity-changed {
    animation: gpd-quantity-pulse 0.3s ease;
}

@keyframes gpd-quantity-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes gpd-error-appear {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gpd-slide-down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .gpd-quantity-error {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 90px;
        top: auto;
        max-width: none;
        min-width: auto;
        text-align: center;
        box-shadow: 0 18px 36px rgba(214, 48, 49, 0.25);
    }
}

.gpd-zoomable {
    cursor: zoom-in;
}

.gpd-zoom-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10000;
}

.gpd-zoom-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gpd-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.gpd-zoom-container {
    position: relative;
    width: min(92vw, 1200px);
    height: min(92vh, 820px);
    background: #000;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.gpd-zoom-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.gpd-zoom-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gpd-zoom-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.gpd-zoom-close:focus,
.gpd-zoom-close:active {
    outline: none;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.05);
}

.gpd-zoom-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
    z-index: 2;
}

.gpd-zoom-prev,
.gpd-zoom-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: rgb(255, 255, 255) !important;
    color: var(--gpd-primary) !important;
    font-size: 30px;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 600;
}

.gpd-zoom-prev:hover,
.gpd-zoom-next:hover {
    background: var(--gpd-white);
    color: var(--gpd-primary) !important;
    transform: scale(1.08);
    border: 2px solid var(--gpd-primary);
}

.gpd-zoom-prev:focus,
.gpd-zoom-next:focus,
.gpd-zoom-prev:active,
.gpd-zoom-next:active {
    outline: none;
    color: var(--gpd-primary) !important;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--gpd-primary);
}

@media (max-width: 991px) {
    .gpd-zoom-container {
        width: 95vw;
        height: auto;
        max-height: 80vh;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .gpd-zoom-container {
        padding: 16px;
        border-radius: 12px;
    }

    .gpd-zoom-prev,
    .gpd-zoom-next {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    .gpd-zoom-close {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .gpd-zoom-container {
        width: 100vw;
        min-height: 65vh;
        border-radius: 0;
        padding: 12px;
    }

    .gpd-zoom-prev,
    .gpd-zoom-next {
        width: 42px;
        height: 42px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--gpd-primary);
        color: var(--gpd-primary) !important;
    }

    .gpd-zoom-close {
        width: 42px;
        height: 42px;
        top: 12px;
        right: 12px;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--gpd-primary);
        color: var(--gpd-primary);
    }

    .gpd-zoom-image {
        max-width: 95%;
        max-height: 85%;
    }
}

@media (max-width: 360px) {
    .gpd-zoom-prev,
    .gpd-zoom-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .gpd-zoom-close {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .gpd-zoom-nav {
        padding: 0 12px;
    }
}

@media (max-width: 400px) {
    .gpd-products-slider .gpd-quantity-and-cart-section {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .gpd-products-slider .gpd-add-to-cart.gpd-btn-icon {
        order: 0 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 44px !important;
    }

    .gpd-products-slider .gpd-quantity-section {
        order: 1 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .gpd-products-slider .gpd-quantity-row {
        gap: 6px !important;
        justify-content: flex-start !important;
        height: 44px !important;
        flex: 1 1 auto !important;
    }

    .gpd-products-slider .gpd-quantity-input-container {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 44px !important;
        max-width: unset !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .gpd-products-slider .gpd-quantity-input {
        width: 100% !important;
        min-width: 0 !important;
        height: 100% !important;
        font-size: 14px !important;
    }

    .gpd-products-slider .gpd-quantity-controls {
        flex: 0 0 72px !important;
        gap: 2px !important;
        height: 44px !important;
        justify-content: flex-end !important;
        align-items: stretch !important;
    }

    .gpd-products-slider .gpd-qty-minus,
    .gpd-products-slider .gpd-qty-plus {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.gpd-products-slider .gpd-add-to-cart.gpd-btn-icon.success,
.gpd-products-slider .gpd-add-to-cart.gpd-btn-icon.success .gpd-cart-icon {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    color: #ffffff !important;
}

.gpd-products-slider .gpd-add-to-cart.gpd-btn-icon.error,
.gpd-products-slider .gpd-add-to-cart.gpd-btn-icon.error .gpd-cart-icon {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: #ffffff !important;
}
