/* Royal Gulf Container Rental Main Styles */

/* Reset and Base Styles */
.rg-container-category-page,
.rg-product-page,
.rg-checkout-page {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Button Styles */
.rg-btn-primary {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.rg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
    color: white;
}

.rg-btn-secondary {
    background: white;
    color: #333;
    padding: 12px 25px;
    border: 2px solid #007cba;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rg-btn-secondary:hover {
    background: #007cba;
    color: white;
}

/* Card Hover Effects */
.rg-container-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.rg-container-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Form Enhancements */
.rg-form-control {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.rg-form-control:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rg-container-card {
    animation: fadeInUp 0.6s ease-out;
}

.rg-container-card:nth-child(2) {
    animation-delay: 0.1s;
}

.rg-container-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Loading States */
.rg-loading {
    opacity: 0.7;
    pointer-events: none;
}

.rg-loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {

    .rg-container-category-page,
    .rg-product-page,
    .rg-checkout-page {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .rg-category-header h1 {
        font-size: 2em;
    }

    .rg-product-layout,
    .rg-checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .rg-container-actions {
        flex-direction: column;
    }

    .rg-container-price {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .rg-category-header {
        padding: 20px 15px !important;
    }

    .rg-category-header h1 {
        font-size: 1.5em;
    }

    .rg-containers-grid {
        gap: 20px !important;
    }
}

/* Utility Classes */
.rg-text-center {
    text-align: center;
}

.rg-mt-20 {
    margin-top: 20px;
}

.rg-mb-20 {
    margin-bottom: 20px;
}

.rg-p-20 {
    padding: 20px;
}

.rg-shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rg-border-radius {
    border-radius: 10px;
}

/* Success States */
.rg-success {
    border-left: 4px solid #28a745;
    background: #f8fff9;
}

.rg-warning {
    border-left: 4px solid #ffc107;
    background: #fffef0;
}

.rg-error {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
}

/****************************/
/* Royal Gulf Container Rental Main Styles */
.rg-container-category-page,
.rg-product-page,
.rg-checkout-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

/* Category Page Styles */
.rg-category-header {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 10px;
}

.rg-category-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.rg-category-header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.rg-containers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.rg-container-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rg-container-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.rg-container-image {
    height: 200px;
    overflow: hidden;
}

.rg-container-content {
    padding: 25px;
}

.rg-container-content h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.rg-product-excerpt {
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.rg-container-price {
    font-size: 1.8em;
    color: #007cba;
    font-weight: bold;
    margin: 15px 0;
}

.rg-container-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Product Page Styles */
.rg-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.rg-product-gallery {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rg-product-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.rg-product-details {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rg-product-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.rg-product-price {
    font-size: 2.2em;
    color: #007cba;
    font-weight: bold;
    margin-bottom: 20px;
}

.rg-product-description {
    margin: 25px 0;
    line-height: 1.8;
    color: #555;
}

/* Rental Calculator */
.rg-rental-calculator {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.rg-calculator-result {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #28a745;
}

/* Checkout Page Styles */
.rg-checkout-page h1 {
    text-align: center;
    color: #007cba;
    margin-bottom: 30px;
}

/* Form Elements */
.rg-form-group {
    margin-bottom: 20px;
}

.rg-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.rg-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.rg-form-control:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

/* Buttons */
.rg-btn-primary {
    background: #007cba;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s ease;
    cursor: pointer;
}

.rg-btn-primary:hover {
    background: #005a87;
    color: white;
}

.rg-btn-secondary {
    background: #f8f9fa;
    color: #333;
    padding: 12px 25px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.rg-btn-secondary:hover {
    background: #e9ecef;
    color: #333;
}

/* Summary Items */
.rg-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.rg-summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #007cba;
    font-weight: bold;
    font-size: 16px;
    color: #007cba;
}

/* Services Checkboxes */
.services-checkboxes {
    margin-top: 10px;
}

.service-checkbox {
    display: block;
    margin-bottom: 10px;
    padding: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
}

.service-checkbox:hover {
    background: #f8f9fa;
}

.service-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rg-product-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rg-containers-grid {
        grid-template-columns: 1fr;
    }

    .rg-container-actions {
        flex-direction: column;
    }

    .rg-category-header h1 {
        font-size: 2em;
    }

    .rg-product-title {
        font-size: 1.5em;
    }

    .rg-product-price {
        font-size: 1.8em;
    }
}

/**********cart Css***********/
/* Additional cart styles if needed */
.rg-container-cart .woocommerce {
    max-width: 100% !important;
}

.rg-container-cart .woocommerce-cart-form {
    margin-bottom: 0 !important;
}

/**********shop Css***********/
/* Additional shop styles if needed */
.rg-container-shop .woocommerce-products-header {
    display: none;
}

.rg-container-shop .woocommerce-result-count,
.rg-container-shop .woocommerce-ordering {
    display: none;
}