*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
body{
     font-family: "Zilla Slab", serif;
    font-weight: 400 bold;
    font-style: normal;
    }
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; 
}

.navbar-logo {
  width: 100%;
  padding: 15px 15px;
  display: flex;
  align-items: center;
  gap: 45%;
  z-index: 20; 
  color: black;
  margin-top: 2em;
  margin-bottom: 3em;
  margin-left: 7%;
 
}
.logo img{
  width: clamp(100px, 12vw, 200px);
  height: auto;
  display: block;
}
.navbar-logo .logo a {
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
  color: black;
  
}

.navigation-logo ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin-right: 10em;
  padding: 0;
}

.navigation-logo ul li {
  color: black;
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
}

.navigation-logo ul li:hover {
  color: #ffd700; 
}
.product-page {
    height: 90vh;
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin-left: 2em;
    margin-bottom: 5em;
}
.first-container {
    background-color: white;
    height: 100%;
    width: 17%;
    margin-left: -1.5em;
    
}

.second-container {
   background-color: white;
   height: 100%;
   width: 50%;
   overflow: hidden;
   margin-left: -5%;
}
.sc-img {
    height: 80%;
    width: 80%;
    justify-content: center;
    background-color: white;
}
.third-container {
    background-color: white;
    height: 100%;
    width: 32%;
    margin-left: 2em;
}
.third-container .description {
  padding-top: 2em;
}
.third-container-hr {
  width: 300px;
  justify-content: center;
  align-self: center;
  margin-left: 2px;
  margin-bottom: 15px;
  border: solid #ffd700;
  font-weight: bold;
  margin-top: 5px;
}
.description p {
  margin-bottom: 5px;
}
.description-btn {
  margin-top:3em;
  display: flex;
  gap: 5em;
  justify-content: center;
  margin-bottom: 2em;
}
.description-btn p {
  padding: 5% 5% 5% 5%;
  background-color: #008f4a;
  border-radius: 5%;
  color: white;
  font-weight: bolder;
  transform: 1s;
  cursor: pointer;
  
}
.description-btn .buyNow {
  background-color: #008f4a;
}
.description-btn p:hover {
  transform: scale(1.1);
    z-index: 1;
    transition: 1s;
}
.description-hr {
   width: 300px;
  justify-content: center;
  align-self: center;
  margin: auto;
  margin-bottom: 3px;
  border: solid #ffd700;
  font-weight: bold;
}
.description-icons {
  margin-top: 5em;
  gap: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fa-solid {
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  font-size: 20px;
  padding: 20px 20px 20px 20px;
  background-color: whitesmoke;
  border-radius: 50%;
  color: #ebc90d;
}
    .slider {
  position: relative;
  width: 80%;   /* adjust to your frame size */
  height: 100vh;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  width: 100%;
}
.slides img {
    height: 80%;
    width: 90%;
    margin: 2em 0 5px 0;
    object-fit: contain;
}
.second-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  background: none;
  border: none;
  color: #333;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev {
  left: -15em;
}

.next {
  right: -15em;
}

.slider img {
  width: 100%;
  display: none;
}

.slider img.active {
  display: block;
}

.sc-img {
    height: 90%;
    width: 80%px;
    justify-content: center;
    background-color: white;
}
.sc-img img {
    object-fit: contain;
}
.other-related-items {
  height: auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
 gap: 2em;
 align-items: center;
 justify-content: center;
}
.frame-container {
    background-color: white;
    flex: 1 1 clamp(120px, 45% , 160px);
    height: 70%;
    width: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-top: 2em;
    margin-left: 2em;
}
.frame-container img {
  height: 80%;
  width: 100%;
  max-width: 240px;
  max-height: 300px;
  justify-content: center;
  object-fit: contain;
  background-color: whitesmoke;
  border-radius: 5%;
  width: 80%;

}
.frame-container h4 {
  text-align: center;
  margin-bottom: 2px;
}
.frame-container .price {
  text-align: center;
  font-weight: bold;
  color:rgba(134, 60, 10, 0.829);
}
.price-cart {
  margin-top: 1em;
  display: flex;
  flex-wrap: wrap;
  margin-left: 1.5em;
  gap: 6em;
}
.fa-cart-shopping {
  padding:  7px 7px 7px 7px;
  color:rgba(134, 60, 10, 0.829);
  background-color: rgb(197, 197, 187);
  border-radius: 50%;
  margin-top: -2px;
}
.frame{
  text-align: center;
}
.frame-hr {
  opacity: 0;
  width: 100px;
  margin: auto;
  margin-bottom: 3px;
  border: 2px solid #ffd700;
  transition: opacity 1s ease;
}

.frame-container:hover .frame-hr {
  opacity: 1;
}
.frame-container:hover {
   transform: scale(1.1);
    z-index: 1;
    transition: 1s;
}
.footer{
    margin-top: 2px;
    text-align: center;
    padding: 10px 0 10px 0;
    margin-bottom: 20px;
}
.footer hr {
  width: 1000px;
   margin: auto;
  border: solid #ffd700;

}
.descri-header {
  margin-bottom: 15px;
  margin-top: 15px;
}
.Price {
  text-align: center;
  font-size: 20px;
  margin-top: 1em;
  font-weight: bold ;
  color:rgba(105, 7, 4, 0.781);
}
.price-cart {
  margin-top: 1em;
  display: flex;
  flex-wrap: wrap;
  margin-left: 1.5em;
  gap: 6em;
}
.price-cart .price {
  font: bolder;
}

/* 🛒 CART PANEL */
.cart {
  position: fixed;
  top: 0;
  right: -100%;
  width: 340px;
  height: 95%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  padding: 20px;
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* When active, show the cart */
.cart.active {
  right: 0;
}

/* HEADER */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.cart-header i {
  cursor: pointer;
  font-size: 1.2em;
  color: #333;
  transition: color 0.2s ease;
}

.cart-header i:hover {
  color: crimson;
}

/* CART ITEMS */
.cart-content {
  flex: 1;
  overflow-y: auto;
  margin-top: 13px;
}

.cart-content .cart-box {
  display: flex;
  align-items: center;
  margin: 13px 0;
  gap: 10px;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 7px;
}

.cart-content img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-detail {
  flex: 1;
}

.cart-detail h3 {
  margin: 0;
  font-size: 15px;
  color: #333;
}

.cart-detail p {
  margin: 2px 0;
  font-size: 13px;
  color: white;
}

.cart-footer {
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
}

.cart-footer .total-price {
  font-weight: bold;
  color: white;
  font-size: 16px;
}

.cart-footer button {
  background: rgba(105, 7, 4, 0.781);
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.cart-footer button:hover {
  background: #a00;
}

/* REMOVE BUTTON */
.remove-item {
  background: crimson;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75em;
  transition: background 0.2s ease;
}

.remove-item:hover {
  background: darkred;
}

/* OVERLAY (background dim) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* CART ICON IN NAVBAR */
.cart-count-badge {
  background: red;
  color: white;
  border-radius: 50%;
  padding: 3px 7px;
  font-size: 12px;
  position: absolute;
  top: 30px;
  right: 120px;
}

.cart-icon .fa-cart-shopping {
  color: rgba(105, 7, 4, 0.781);
  background-color: white;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-icon .fa-cart-shopping:hover {
  background: rgba(105, 7, 4, 0.1);
}


 /* --- Dropdown Filter Effect --- */
.filter-sidebar {
    width: 288px;
    background-color: #ffffff;
    border-right: 1px solid #e6dcc9;
    padding: 24px;
    overflow-y: auto;
    height: 100vh;
}
.title-hr {
  justify-content: center;
  align-self: center;
  margin-left: 2px;
  margin-bottom: 15px;
  border: solid #ffd700;
  font-weight: bold;
}
.filter-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    color: black;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion-item {
    border-bottom: 1px solid #e6dcc9;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: black;
    cursor: pointer;
    transition: all 0.2s;
}

.accordion-trigger:hover {
    opacity: 0.8;
}

.chevron {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.accordion-trigger.active .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.open {
    max-height: 500px;
    padding-bottom: 16px;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    font-size: 14px;
    color: #3d2817;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #8b6737;
}

.checkbox-label:hover,
.radio-label:hover {
    opacity: 0.8;
}

/* Custom checkbox styling (optional enhancement) */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid rgb(21, 96, 209);
    border-radius: 3px;
    background-color: white;
    position: relative;
}

input[type="checkbox"]:checked {
    background-color: blue;
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

/* Custom radio styling (optional enhancement) */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #8b6737;
    border-radius: 50%;
    background-color: white;
    position: relative;
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #8b6737;
}
a {
text-decoration: none;
}


 .body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            min-height: 100vh;
            padding: 2rem 1rem;
            color: #1a1a1a;
            background-color: whitesmoke;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .header h1 {
            color: #00A859;
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .header p {
            color: #666;
            font-size: 1rem;
        }

        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 168, 89, 0.1);
            margin-bottom: 2rem;
            border: 1px solid rgba(0, 168, 89, 0.2);
        }

        .card-header {
            background: rgba(0, 168, 89, 0.05);
            padding: 1.5rem;
            border-bottom: 1px solid rgba(0, 168, 89, 0.1);
            border-radius: 12px 12px 0 0;
        }

        .card-title {
            color: #00A859;
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .card-description {
            color: #666;
            font-size: 0.95rem;
        }

        .card-content {
            padding: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: #333;
        }

        input, textarea {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s;
        }

        input:focus, textarea:focus {
            outline: none;
            border-color: #00A859;
            box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.1);
        }

        .help-text {
            font-size: 0.875rem;
            color: #666;
            margin-top: 0.25rem;
        }

        .info-box {
            background: rgba(0, 168, 89, 0.1);
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid rgba(0, 168, 89, 0.2);
            margin: 1rem 0;
        }

        .info-box p {
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .info-box strong {
            color: #00A859;
        }

        .warning-box {
            background: #fff3cd;
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid #ffc107;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .warning-box p {
            color: #856404;
            font-weight: 500;
            margin: 0;
        }

        .error-box {
            background: #fee;
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid #f44336;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .error-box p {
            color: #c62828;
            font-weight: 600;
            margin: 0;
        }

        .btn {
            width: 100%;
            padding: 1rem;
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background: #00A859;
            color: white;
        }

        .btn-primary:hover {
            background: #008f4a;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 168, 89, 0.3);
        }

        .btn-outline {
            background: white;
            color: #00A859;
            border: 2px solid #00A859;
        }

        .btn-outline:hover {
            background: #00A859;
            color: white;
        }

        .rating-stars {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .star {
            cursor: pointer;
            font-size: 2rem;
            color: #ccc;
            transition: all 0.2s;
        }

        .star:hover {
            transform: scale(1.1);
        }

        .star.active {
            color: #00A859;
        }

        /* Toast Notifications */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
        }

        .toast {
            background: white;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            margin-bottom: 0.5rem;
            min-width: 300px;
            animation: slideIn 0.3s ease-out;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            border-left: 4px solid #00A859;
        }

        .toast.error {
            border-left-color: #f44336;
        }

        .toast.success {
            border-left-color: #00A859;
        }

        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(400px);
                opacity: 0;
            }
        }

        .icon {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            body {
                padding: 1rem 0.5rem;
            }

            .header h1 {
                font-size: 2rem;
            }

            .toast-container {
                right: 10px;
                left: 10px;
            }

            .toast {
                min-width: auto;
            }
        }

/* ===== Delivery and Review Sections ===== */
.sections-container {
  max-width: 1200px;
  margin: 8em auto 5em auto;
  padding: 0 2em;
}

.delivery-section,
.review-section {
  margin-bottom: 6em;
  background-color: white;
  padding: 3em;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: rgba(105, 7, 4, 0.781);
}

.section-subtitle {
  color: #666;
  margin-bottom: 2em;
  font-size: 1.1em;
}

.form-container {
  display: block;
}

.form-group {
  margin-bottom: 1.5em;
}

.form-group label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 600;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.8em;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Zilla Slab", serif;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffd700;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note,
.form-warning {
  padding: 1em;
  border-radius: 4px;
  margin-bottom: 1.5em;
  font-size: 0.95em;
}

.form-note {
  background-color: rgba(255, 215, 0, 0.1);
  border-left: 4px solid #ffd700;
}

.form-warning {
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-left: 4px solid #ffc107;
}

.submit-btn,
.reset-btn {
  width: 100%;
  padding: 1em 2em;
  background-color: rgba(82, 4, 4, 0.829);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Zilla Slab", serif;
}

.submit-btn:hover:not(:disabled),
.reset-btn:hover {
  background-color: rgba(105, 7, 4, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 0.5em;
  font-size: 2em;
  margin-top: 0.5em;
}

.star {
  cursor: pointer;
  color: #ddd;
  transition: color 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.star:hover,
.star.active {
  color: #ffd700;
  transform: scale(1.1);
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 3em;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  border: 2px solid #ffd700;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(82, 4, 4, 0.829);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5em auto;
  font-size: 3em;
  font-weight: bold;
}

.success-message h3 {
  font-size: 1.8em;
  margin-bottom: 1em;
  color: rgba(105, 7, 4, 0.781);
}

.success-message p {
  color: #666;
  margin-bottom: 2em;
  line-height: 1.6;
  font-size: 1.05em;
}

.reset-btn {
  width: auto;
  padding: 0.8em 2em;
  background-color: transparent;
  color: rgba(82, 4, 4, 0.829);
  border: 2px solid rgba(82, 4, 4, 0.829);
}

.reset-btn:hover {
  background-color: rgba(82, 4, 4, 0.829);
  color: white;
}
.slides img {
  background-color: whitesmoke;
  border-radius: 5%;
}
.other-related-items {
  margin-left: 0;
}

/* Responsive Design */
@media (max-width:760px) {
  .navbar-logo {
    gap: 25%;
    padding-left: 10px;
    margin-left: -2%;
  }
  .navigation-logo {
    gap: 1%;
  }
  .product-page {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
  }
  .second-container {
    width: 90%;
    height: auto;
    justify-content: center;
    margin-left: -0.1%;
  }
  .sc-img img {
    width: 80%;
    height: auto;
  }
  .btn {
    top: 45%;
  }
  .prev {
    left: -45%;
  }
  .next {
    right: -45%;
  }
  .third-container {
    align-items: center;
    width: 100%;
    justify-content: center;
    border: 2px solid #ffd700;
    padding: 2em 2em 2em 2em;
    border-radius: 5%;
    margin-left: -5%;
  }
}
 @media (min-width:400px) and (max-width:549px){
  .navbar-logo {
    width: auto;
   }
  .navigation-logo {
    display: flex;
    flex-direction: column;
  }
  
  .cart-icon {
    position: relative;
    top: 0;
    right: 10%;
    
  }
 }

 @media (min-width: 761px) and (max-width:1400px) {
   .sidebar {
    width: auto;
   }
   .first-container {
    width: auto;
   }
   .filter-sidebar {
    width: auto;
   }
   .content {
     height: auto;
     width: 80% !important;
   }
   .navbar-logo {
    width: auto;
    gap: 25%;
   }
  .product-page {
    width: auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .second-container{
    width: 100%;
    justify-content: center;
    height: auto;

  }
  .btn {
    top: 45%;
  }
  .prev {
    left: -45%;
  }
  .next {
    right: -45%;
  }
  .sc-img img {
    width: 85%;
    height: auto;
  }
  .third-container {
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 5% 5% 5% 5%;
    border-radius: 5%;
    
  }
  .description-hr {
   width: 300px;
  justify-content: center;
  align-self: center;
  margin: auto;
  margin-bottom: 3px;
  border: solid #ffd700;
  font-weight: bold;
}
.description-icons {
  margin-top: 5em;
  gap: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

 }
 @media (min-width:1401px){
  .slider {
    width: auto;
  }
  .other-related-items {
  height: auto;
  width: 90%;
  display: flex;
  flex-wrap: wrap;
 gap: 2em;
 align-items: center;
 justify-content: center;
}
.frame-container {
    background-color: white;
    height: 70%;
    width: 20%;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-top: 2em;
    margin-left: 2em;
}
.frame-container img {
  height: 80%;
  width: 100%;
  justify-content: center;
  object-fit: contain;
  background-color: whitesmoke;
  border-radius: 5%;
  width: 80%;

}
 }
 a {
  text-decoration: none;
  color: black;
 }
 /* ===== MOBILE VIEW: 320px - 500px ===== */
@media (max-width: 500px) {

  /* --- Navbar --- */
   .navbar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5em 1em;
  }

  .navigation-logo {
    width: 100%;
    order: 2;
  }

  .navigation-logo ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5em 0;
    margin: 0;
  }

  .navbar-logo .logo {
    order: 1;
    margin-bottom: 0.25em;
  }

  .navigation-logo ul li {
    font-size: 16px;
  }

  .cart-count-badge {
    top: auto;
    right: auto;
    position: relative;
    top: -8px;
    right: 0;
  }

  /* --- Product Page Layout --- */
  .product-page {
    flex-direction: column;
    gap: 1em;
    margin-left: 0;
    padding: 0 10px;
    height: auto;
    width: 100%;
  }

  /* --- Image Slider --- */
  .second-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    height: auto;
  }

  .slider {
    width: 100%;
    height: auto;
    min-height: 300px;
  }

  .slides img {
    width: 100%;
    height: auto;
    margin: 1em 0;
    object-fit: contain;
  }

  .btn.prev,
  .btn.next {
    position: absolute;
    top: 50%;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .prev {
    left: 5px;
  }

  .next {
    right: 5px;
  }

  /* --- Product Details --- */
  .third-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 1.5em 1em;
    border: none;
    border-top: 2px solid #ffd700;
    border-radius: 0;
  }

  .third-container h1 {
    font-size: 1.5em;
    text-align: center;
  }

  .third-container-hr {
    width: 80%;
    margin: 8px auto 15px auto;
    background-color: #ffd700;
  }

  .third-container p {
    text-align: center;
    font-size: 0.95em;
  }

  .description {
    padding: 1em 0.5em 0 0.5em;
  }

  .descri-header {
    font-size: 0.95em;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .Price {
    font-size: 1.2em;
    margin-top: 0.8em;
    text-align: center;
  }

  /* --- Buttons --- */
  .description-btn {
    flex-direction: column;
    gap: 1em;
    padding: 0;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    align-items: center;
  }

  .description-btn p {
    width: 90%;
    text-align: center;
    padding: 12px 15px;
    font-size: 0.95em;
    border-radius: 8px;
    margin: 0;
  }

  .description-btn .buyNow {
    padding: 12px 15px;
  }

  /* --- Description HR and Icons --- */
  .description-hr {
    width: 90%;
    margin: 1em auto;
    background-color: #ffd700;
  }

  .description-icons {
    margin-top: 2em;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
  }

  .description-icons div {
    text-align: center;
    flex: 0 0 30%;
  }

  .description-icons .fa-solid {
    font-size: 16px;
    padding: 14px;
    margin-left: 0;
  }

  .description-icons p {
    font-size: 0.75em;
    margin-top: 5px;
  }

  /* --- Cart Panel --- */
  .cart {
    width: 100%;
    max-width: 300px;
  }

  /* --- Sections (Delivery & Reviews) --- */
  .sections-container {
    margin: 3em auto 2em auto;
    padding: 0 10px;
    max-width: 100%;
  }

  .delivery-section,
  .review-section {
    padding: 1.5em 1em;
    margin-bottom: 2em;
    border-radius: 6px;
  }

  .section-title {
    font-size: 1.4em;
  }

  .section-subtitle {
    font-size: 0.95em;
  }

  .star-rating {
    font-size: 1.6em;
    justify-content: center;
  }

  .submit-btn,
  .reset-btn {
    font-size: 0.95em;
    padding: 0.8em 1.5em;
  }

  .success-message {
    padding: 1.5em;
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 2em;
  }

  .success-message h3 {
    font-size: 1.3em;
  }

  /* --- Related Items --- */
  .other-related-items {
    padding: 0 10px;
    gap: 1em;
    justify-content: center;
  }

  .other-related-items h4 {
    width: 100%;
    text-align: center;
    font-size: 18px;
    margin-bottom: 0.5em;
  }

  .frame-container {
    flex: 1 1 calc(50% - 1em);
    max-width: calc(50% - 0.5em);
    margin-left: 0;
    margin-top: 1em;
    padding: 10px;
  }

  .frame-container img {
    width: 100%;
    max-width: 150px;
    max-height: 180px;
  }

  .frame-container h4 {
    font-size: 0.9em;
  }

  .frame-container p {
    font-size: 0.8em;
  }

  .price-cart {
    margin-left: 0;
    gap: 1em;
    justify-content: center;
  }

  .price-cart .price {
    font-size: 0.85em;
  }

  .frame-container:hover {
    transform: scale(1.03);
  }

  /* --- Footer --- */
  .footer {
    padding: 10px;
    font-size: 0.85em;
  }

  .footer hr {
    width: 90%;
    margin: 3em auto 10px auto;
  }

  .footer p {
    font-size: 0.8em;
    line-height: 1.5;
  }
}
