/* css/style.css */

body {
    /* font-family: 'Georgia', serif;       */
    /* font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; */
        /* font-family: "Futura", "Trebuchet MS", Arial, sans-serif;         */
    /* font-family: 'Arial', sans-serif; */
    /* font-family: 'Times New Roman', serif; */
    background: #ffffff;
}
    @media (max-width: 480px) {
p{
font-size: 3.5vw;
}

.your{
    font-size: 6.5vw; 
}
}

h1, h2 {
  letter-spacing: 1px;
  /* font-size: 6vw; */
}
.full-screen {
    /* min-height: 100vh; */
    padding: 30px 20px;
}

.section-img {
    width: 90%;
    max-width: 100vh;
    height: auto;
    object-fit: cover;
    border-radius: 28px;
    transition: transform 0.3s ease;
    margin: 0 auto;
    display: block;
}

/* .card { */
    /* transition: transform 0.3s ease; */
/* } */

h2.titlex {
    /* background-color: #693c35 !important; */
    color: White !important;
    padding: 7px;
}

/* .card:hover { */
    /* transform: scale(1.03); */
/* } */

/* .bg-brownx was moved to navbar.css */

.cardximg {
    max-width: 50% !important;
    display: inline;
}

.btnxbg {
    /* background-color: #693c35 !important; */
    color: rgb(255, 255, 255) !important;
    padding: 1vh 2vh 1vh 2vh;
    border-radius: 0%;
    border:2px solid #693c35 !important;
}

/* The 'rad0' class seems to be directly applied to btn-dark in your HTML,
   so its styling should be within the .navbar-nav .btn.btn-dark rule in navbar.css
   or if it's a global utility, keep it here: */
/* .rad0 {
    border-radius: 0 !important;
} */





/* body {
  background: #ffffff;
  font-family: 'Georgia', serif;
  color: #222;
} */

h1, h2 {
  letter-spacing: 1px;
}

.btn-dark {
  background-color: #000;
  border: none;
  border-radius: 0% !important;
  transition: transform 0.3s ease;
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.btn-dark:hover {
  transform: scale(0.99);
  background-color: #111;
}

.btn-dark .btn-text {
  display: inline-block;
  transform: scale(1); /* prevent scaling */
  transition: none;
}




.card {
  border-radius: 0px;
  border-color: white !important;
  --bs-card-border-color: white !important;
}

.cardx {
  border-radius: 0px;
  /* background-color: black; */
  color: black;
   border: 2px solid black !important;
  padding:15px;
}

input.form-control {
  border-radius: 0;
  border: 1px solid #ccc;
  box-shadow: none;
}

input.form-control:focus {
  border-color: #000;
  box-shadow: none;
}

.rad0{
   border-radius: 0!important;
}






/* css/navbar.css */

/* ...existing code... */










.bgnice {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0000 18.75%, #2b2b2b 0 31.25%, #0000 0),
    linear-gradient(45deg,  #0000 18.75%,  #2b2b2b 0 31.25%, #0000 0),
    linear-gradient(135deg, #0000 18.75%, #2b2b2b 0 31.25%, #0000 0),
    linear-gradient(45deg,  #0000 18.75%,  #2b2b2b 0 31.25%, #0000 0);
  background-size: 60px 60px;
  background-position:
    0 0,
    0 0,
    30px 30px,
    30px 30px;
  animation: slide 4s linear infinite;
}

@keyframes slide {
  to {
    background-position:
      60px 0,
      60px 0,
      90px 30px,
      90px 30px;
  }
}












      .ipad-swiper-container {
        width: 100%;
        padding: 60px 0;
        /* display: flex; */
        justify-content: center;
        background: #f5f5f7;
      }

      .ipad-swiper-wrapper {
        padding: 20px 0;
        display: flex;
      }

      .ipad-slide {
        background: #000;
        border-radius: 20px;
        overflow: hidden;
        width: 250px;
        height: 500px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }

      .swiper-slide {
        transition: transform 0.5s ease, box-shadow 0.5s ease;
        will-change: transform;
      }
      .swiper-slide:hover {
        transform: scale(1.02) perspective(1000px) rotateX(2deg) rotateY(-2deg) translateZ(20px);
        z-index: 2;
      }
      .ipad-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
      }

      .ipad-text {
        position: relative;
        z-index: 2;
        color: white;
        text-align: left;
        padding: 20px;
        font-weight: bold;
      }

      .ipad-text h3 {
        margin: 0 0 10px;
        font-size: 1.2rem;
      }

      .ipad-text p {
        margin: 0;
        font-size: 0.95rem;
      }

      .ipad-btn-prev,
      .ipad-btn-next {
        color: #000;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .ipad-btn-prev { left: 10px; }
      .ipad-btn-next { right: 10px; }

     @media (max-width: 768px) {
      .swiper-slide {
        width: 55%;
        height: 400px;
      }
    }

    @media (max-width: 480px) {
      .swiper-slide {
        width: 55%;
        height: 350px;
      }
    }

        .ipad-text h3 {
          font-size: 1rem;
        }

        .ipad-text p {
          font-size: 0.85rem;
        }

   
















    /* Styles for the Cart Slider */
    .cart-slider {
        position: fixed;
        top: 0;
        right: -400px; /* Hidden by default */
        width: 100%; /* Full width on small screens */
        max-width: 400px; /* Max width on larger screens */
        height: 100%;
        background-color: #f8f9fa; /* Light background */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease-in-out; /* Smooth slide animation */
        z-index: 1050; /* Above Bootstrap modals if any */
        display: flex;
        flex-direction: column;
        border-left: 1px solid #dee2e6;
    }

    .cart-slider.open {
        right: 0; /* Slide in */
    }

    .cart-slider-header {
        padding: 15px 20px;
        background-color: #693c35; /* Brown header */
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0; /* Prevent header from shrinking */
    }

    .cart-slider-header h2 {
        margin: 0;
        font-size: 1.5rem;
    }

    .cart-slider .close-btn {
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        padding: 0;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .cart-slider .close-btn:hover {
        transform: rotate(90deg);
    }

    .cart-slider-body {
        flex-grow: 1; /* Allows body to take remaining space */
        padding: 20px;
        overflow-y: auto; /* Enable scrolling for cart items */
    }

    .cart-slider-footer {
        padding: 15px 20px;
        background-color: #f1f1f1;
        border-top: 1px solid #dee2e6;
        flex-shrink: 0; /* Prevent footer from shrinking */
    }

    .cart-total {
        display: flex;
        justify-content: space-between;
        font-size: 1.3rem;
        font-weight: bold;
        color: #333;
    }

    /* Cart Item Styling */
    .cart-item {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }

    .cart-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        margin-right: 15px;
        border: 1px solid #ddd;
    }

    .cart-item-details {
        flex-grow: 1;
    }

    .cart-item-details h5 {
        margin: 0 0 5px 0;
        font-size: 1rem;
        color: #333;
    }

    .cart-item-details p {
        margin: 0;
        font-size: 0.85rem;
        color: #6c757d;
    }

    .cart-item-price {
        font-weight: bold;
        color: #693c35;
        font-size: 1rem;
        margin-top: 5px;
    }

    .cart-item-actions {
        display: flex;
        align-items: center;
        margin-top: 10px;
    }

    .cart-item-actions button {
        background-color: #e9ecef;
        border: 1px solid #ced4da;
        padding: 4px 8px;
        font-size: 0.9rem;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.2s;
    }

    .cart-item-actions button:hover {
        background-color: #d8dee3;
    }

    .cart-item-actions input {
        width: 40px;
        text-align: center;
        border: 1px solid #ced4da;
        margin: 0 5px;
        padding: 4px 0;
        border-radius: 4px;
    }

    .cart-item-remove {
        background: none;
        border: none;
        color: #dc3545;
        font-size: 1.2rem;
        margin-left: 10px;
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .cart-item-remove:hover {
        color: #c82333;
    }

    /* Overlay for when cart slider is open */
    .cart-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040; /* Below slider, above page content */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .cart-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .cart-slider {
            max-width: 100%; /* Full width on smaller screens */
            right: -100%; /* Adjust for full width */
        }
        .cart-slider.open {
            right: 0;
        }
    }

    /* Added for optimistic update visual feedback */
    .cart-item.updating {
        opacity: 0.7; /* Make it slightly transparent */
        pointer-events: none; /* Disable clicks during update */
    }























/* Custom styles for the dropdown list scrollbar (optional, for better aesthetics) */
        .overflow-y-auto::-webkit-scrollbar {
            width: 8px;
        }
        .overflow-y-auto::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        .overflow-y-auto::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 10px;
        }
        .overflow-y-auto::-webkit-scrollbar-thumb:hover {
            background: #555;
        }


















        /* =================================================== */
/* MODERN ADDRESS MODAL STYLES                         */
/* =================================================== */

/* Style for the modal itself */
#addressModal .modal-content {
    border-radius: 12px; /* Softer corners */
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#addressModal .modal-header {
    background-color: #f8f9fa; /* Lighter header */
    color: #343a40;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

#addressModal .modal-title {
    font-weight: 600;
}

#addressModal .modal-body {
    padding: 1.5rem;
}

/* Make the address list scrollable on smaller heights */
#addressListContainer {
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 10px; /* Space for scrollbar */
    margin-right: -10px;
}

/* Style each address as a selectable card */
#addressListContainer .list-group-item {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

#addressListContainer .list-group-item:hover {
    border-color: #693c35;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Style for the selected address card */
#addressListContainer .list-group-item:has(.form-check-input:checked) {
    background-color: #f4efe9;
    border-color: #693c35;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#addressListContainer .list-group-item .form-check-input {
    margin-top: 0.3rem; /* Better alignment */
}

/* Hide the default radio button */
#addressListContainer .form-check-input {
    display: none;
}

#addressListContainer .list-group-item div {
    margin-left: 0; /* Remove margin since we hid the radio */
}

/* Modern "Add New Address" form styles */
#addAddressForm {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

#addNewAddressLink {
    font-weight: bold;
    transition: color 0.2s ease;
}

#addNewAddressLink:hover {
    color: #552e28 !important;
}

#addAddressForm .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

#addAddressForm .form-control:focus {
    border-color: #693c35;
    box-shadow: 0 0 0 3px rgba(105, 60, 53, 0.15);
}

/* Modal footer styling */
#addressModal .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

#addressModal .modal-footer .btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
}

#addressModal #proceedToPaymentBtn:disabled {
    background-color: #ced4da;
    border-color: #ced4da;
    cursor: not-allowed;
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    #addressModal .modal-dialog {
        margin: 0.5rem;
    }
    #addressModal .modal-content {
        height: calc(100% - 1rem);
    }
    #addressModal .modal-body {
        padding: 1rem;
    }
    #addAddressForm {
        padding: 1rem;
    }
    #addressModal .modal-footer {
        padding: 0.75rem 1rem;
    }
}



















