/* =====================================
   NAVBAR FIX (ALWAYS VISIBLE)
===================================== */
.navbar {
    background: #ffffff;
    z-index: 1055;
}

/* =====================================
   CART PAGE WRAPPER
===================================== */
.cart-page {
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 120px; /* clears sticky navbar */
}

/* Title */
.cart-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* =====================================
   CART ITEMS
===================================== */
.cart-card {
    border-radius: 18px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #eef1f5;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    object-fit: cover;
}

.cart-item-name {
    font-weight: 600;
}

/* =====================================
   QUANTITY CONTROLS
===================================== */
.qty-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.qty-btn:hover:not(:disabled) {
    background: #f1f5f9;
}

.qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* =====================================
   ORDER SUMMARY
===================================== */
.order-summary {
    border-radius: 20px;
    background: #ffffff;
}

.order-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* =====================================
   CART BADGE ANIMATION
===================================== */
.cart-badge-animate {
    animation: pop 0.3s ease-in-out;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* control image size and visual balance */
.about-story-img {
  max-height: 260px;   /* controls height */
  width: auto;         /* preserves aspect ratio */
  object-fit: cover;   /* fills the box without stretching */
  border-radius: 0.75rem;
}

/* tweak for larger screens if you want a taller image */
@media (min-width: 992px) {
  .about-story-img {
    max-height: 320px;
  }
}

.footer-modern {
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-link {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #facc15;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-social a {
    color: #e5e7eb;
    font-size: 1.2rem;
    margin-left: 0.6rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    color: #facc15;
    transform: translateY(-2px);
}

.store-badge {
    height: 44px;
    transition: transform 0.25s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

.hero-slide {
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-img {
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 1.8rem;
}

@media(min-width: 992px){
    .hero-title {
        font-size: 2.5rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, #2e7d32, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: #4B5563;
}

.hero-buttons .btn-outline-success {
    border: 2px solid #2e7d32;
    color: #2e7d32;
    background-color: #ffffff;
}

.hero-buttons .btn-outline-success:hover {
    background-color: #2e7d32;
    color: #ffffff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100%, 100%;
}

.continue-shopping-btn {
    background-color: #46da69; /* default color (blue) */
    color: #fff;
    border: none;
    transition: 0.2s;
}

.continue-shopping-btn:hover {
    background-color: #28a745; /* green on hover */
    color: #fff;
}
