:root {
    --primary: #ff4b4b;
    --secondary: #ff7676;
    --light-bg: #fafafa;
    --dark: #1a1a1a;
    --white: #fff;
    --radius: 24px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 18px 40px rgba(255, 75, 75, 0.25);
    --transition: all 0.4s ease;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    flex: 1; /* This pushes the footer to the bottom */
}

footer {
    position: relative;
    background-color: #fe3940;
    vertical-align: middle;
    min-height: 150px;
    border-radius: 150px 150px 0 0;
    color: #fff;
    text-align: center;
    /*padding: 30px 20px;*/
}

@media (max-width: 992px) {
    footer {
       border-radius: 100px 100px 0 0;
    }
  }


/*.header-logo {*/
/*    width: 60%;*/
/*    margin-top: -17px;*/
/*}*/
.header-logo {
    width: 140px;         /* base size for desktops */
    max-width: 100%;       /* never overflow container */
    height: auto;          /* keep original aspect ratio */
    margin-top: -10px;     /* small vertical tweak */
    transition: all 0.3s ease; /* smooth resize transition */
}

/* Large tablets / small laptops (≤ 1024px) */
@media (max-width: 1024px) {
    .header-logo {
        width: 95%;
        margin-top: -8px;
    }
}

/* Tablets (≤ 768px, landscape/portrait) */
@media (max-width: 992px) {
    .header-logo {
        width: 80%;
        margin-top: -12px;
    }
}

/* Mobile phones (≤ 576px) */
@media (max-width: 576px) {
    .header-logo {
        width: 70%;
        margin-top: -16px;
    }
}

/* ========================================= GLASS MODALS ========================================= */
.glass-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-strong);
}

.modal-header {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
}

.modal-content {
    border-radius: var(--radius) !important;
    overflow: hidden;
    transition: var(--transition);
}

.modal-content:focus-within {
    transform: scale(1.02);
}

/* =========================================
   FORM INPUTS — Apple Pro Red Edition
========================================= */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1.8px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.35s ease;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
    outline: none;
    backdrop-filter: blur(6px);
}

input::placeholder,
textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 400;
    transition: color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 18px rgba(255, 75, 75, 0.25);
    transform: translateY(-2px) scale(1.01);
}

input:focus::placeholder,
textarea:focus::placeholder {
    color: rgba(255, 75, 75, 0.5);
}

/* Validation States */
input.is-invalid,
textarea.is-invalid,
select.is-invalid {
    border-color: #ff4b4b;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.2);
}

input.is-valid,
textarea.is-valid,
select.is-valid {
    border-color: #5cd36e;
    box-shadow: 0 0 10px rgba(92, 211, 110, 0.2);
}

/* Labels */
label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    display: inline-block;
}

@media (max-width: 767px) {
    .how-step {
        max-width: 100%;
        margin-bottom: 25px;
    }
}


/* =========================================
   SHOP ENTRY SECTION — Apple Pro Red Edition
========================================= */
.shop-entry-section {
    background: linear-gradient(180deg, #fff, #f9fafc);
}

.shop-entry-section h2 {
    font-size: 2rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.shop-entry-section p {
    font-size: 1.05rem;
    color: #666;
}

.shop-card {
    border: 2px solid rgba(255, 75, 75, 0.25);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    overflow: hidden;
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 75, 75, 0.25);
    border-color: var(--primary);
}

.shop-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-card:hover img {
    transform: scale(1.08);
}

.shop-card .shop-title {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 600;
    padding: 14px;
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.4px;
}

.shop-card a {
    text-decoration: none;
    display: block;
    color: inherit;
}

.page-content-without-hero {
    background-color: #fe3940 !important;
    border-radius: 0px 0px 25px 25px;
    height: 138px!important;
    position: fixed!important;
    top: 0!important;
    left: 0;
    right: 0;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    transition: all .5s ease 0s;
}


@media (max-width:576px) {
    .page-content-without-hero{
       height: 110px !important;
    }
  }


.parent-shop-section {
    background-color: #fff;
    position: relative;
}

/* Card Styling */
.parent-card {
    border-radius: 1.5rem;
    transition: all 0.35s ease;
    background-color: #fff;
}

.parent-card-img-container {
    /*background-color: #f8f9fa;*/
    padding: 1.2rem;
}

.parent-card img {
    object-fit: contain;
    width: 100%;
    height: 220px;
    transition: transform 0.4s ease;
}

/* Hover Effects */
.parent-hover-zoom:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.parent-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Fade-up Animation */
@keyframes parent-fadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.parent-animate-fade-up {
    animation: parent-fadeUp 0.8s ease both;
}

/* Responsive */
@media (max-width: 768px) {
    .parent-card img {
        height: 180px;
    }
    h1 {
        font-size: 1.7rem;
    }
}

/* Button Styling */
.btn-danger {
    background-color: #dc3545;
    border: none;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #b92c3a;
    box-shadow: 0 0.5rem 1rem rgba(220, 53, 69, 0.3);
}


/* ====== Parent Theme Pagination Override ====== */
.pagination {
    justify-content: center;
    align-items: center;
}

.page-item.disabled .page-link {
    color: #aaa !important;
    background-color: #f8f9fa !important;
    border-color: #ddd !important;
}

.page-item.active .page-link {
    background-color: #dc3545 !important; /* Parent red */
    border-color: #dc3545 !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 0.3rem 0.8rem rgba(220, 53, 69, 0.3);
}

.page-link {
    color: #dc3545 !important;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem !important;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
    box-shadow: 0 0.3rem 0.8rem rgba(220, 53, 69, 0.3);
}

.page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Optional: text above pagination */
.pagination-summary {
    color: #6c757d;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.parent-store-section {
    background-color: #fff;
}
.parent-sidebar {
    border-radius: 1rem;
}
.list-group-item {
    border: none;
    border-radius: .5rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}
.list-group-item:hover {
    background-color: #dc3545;
    color: #fff;
}
.list-group-item.active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}
.parent-product {
    border-radius: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}
.parent-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.8rem 1.5rem rgba(0,0,0,0.1);
}

.parent-cart-section { background-color: #fff; }
thead th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cart-img-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-img { width: 70px; height: 70px; object-fit: contain; }
.cart-row:hover { background-color: #fff5f5; transition: 0.3s; }
.btn-outline-danger:hover { background-color: #dc3545; color: #fff; }
.update-minus, .update-plus { width: 28px; height: 28px; line-height: 1; }
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pt-7 {
  padding-top: 4rem !important;
}

.header-para{
    font-size: 16px;
}
.gap-40-md{
    gap: 0px;
}
@media (max-width:992px) {
    .gap-40-md{
       gap: 60px
    }
  }
  .mt-services{
    margin-top: 120px !important;
  }
.bg-pink{
    background-color: #b92c3a !important;
    border: 2px solid #000;
 }
 .ml-2{
    margin-left: 12px !important;
 }

/* =========================
   SVG Apple Loader
========================= */

#page-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, #ffffff 0%, #f8f9fa 70%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-loader {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.apple-svg {
    width: 80px;
    height: 80px;
    animation: applePulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 10px 18px rgba(220,53,69,0.35));
}

.apple-text {
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #dc3545;
    font-family: 'Poppins', sans-serif;
}

/* Animations */
@keyframes applePulse {
    0% {
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(0.95);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade out */
#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
