/* Hero */
.carousel-item {
    height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, #e0f0e9d5, #53535305);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-custom {
    background: #81141d;
    padding: 8px 14px;
    font-size: 14px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #0f0f0f;
}
.headbutton{
    border: none;
    background: linear-gradient(135deg, #ca9745 0%, #ca9745 100%);
    color: #1a0f0a;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
}
/* Responsive Top Bar */
@media (max-width: 768px) {

    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .top-bar a {
        margin-left: 10px;
        margin-right: 10px;
        display: inline-block;
    }
}
@media (max-width: 768px) {

    .logo-nav .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar-brand {
        font-size: 24px;
    }

}
/* Mobile Responsive */
@media (max-width: 768px) {

    .top-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .top-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-right a {
        margin: 0;
        font-size: 13px;
    }

    .top-left span {
        font-size: 13px;
    }
}
.promo-card {
    position: relative;
    height: 400px;
  
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 50px;
    background-size: cover;
    background-position: center;
}

.promo-left {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url('../pictures/home/sale1.jpg');
    background-size: cover;
    background-position: center;
}

.promo-right {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url('../pictures/home/sale2.jpg');
    background-size: cover;
    background-position: center;
}

.promo-content {
    max-width: 320px;
}

.small-text {
    font-size: 14px;
    letter-spacing: 1px;
}

.promo-title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    margin: 15px 0;
}

.promo-sub {
    margin-bottom: 20px;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 991px) {
    .promo-card {
        height: 300px;
        padding: 30px;
    }

    .promo-title {
        font-size: 32px;
    }
}

.prod-card {
    width: 100% !important;
    border: 1px solid var(--border-color, #d9ddd8);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: var(--bg-card, #fff);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100% !important;
    flex: 1 1 100% !important;
}
.circle-icon-btn, .btn.circle-icon-btn, .prod-grid-btn, .action-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.prod-img {
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prod-info {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.prod-info h3 {
    font-size: 1.1rem;
    margin: 10px 0 8px;
    color: var(--text-primary, #333);
    height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-weight: 700;
}

.prod-price {
    font-size: 1rem;
    color: var(--accent-bronze, #ca9745);
    margin-bottom: 15px;
    font-weight: bold;
    white-space: nowrap;
}

.section-title {
      font-weight: 700;
      font-size: 1.75rem;
      color: #111;
    }

/* Premium Sale Section */
.sale-section {
    background: linear-gradient(135deg, rgba(205, 154, 72, 0.08) 0%, rgba(202, 151, 69, 0.06) 100%);
    border-top: 2px solid rgba(205, 154, 72, 0.15);
    border-bottom: 2px solid rgba(205, 154, 72, 0.15);
}

.sale-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a0f0a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.sale-section h2 a {
    color: #1a0f0a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sale-section h2 a:hover {
    color: #ca9745;
}

.contbut {
    margin: 2rem 0;
}

.headbutton {
    border: none;
    background: linear-gradient(135deg, #ca9745 0%, #ca9745 100%);
    color: #1a0f0a;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(205, 154, 72, 0.25);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.headbutton:hover {
    background: linear-gradient(135deg, #ca9745 0%, #ca9745 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(205, 154, 72, 0.35);
}

/* Features Strip Enhancement */
.features-strip {
    background: linear-gradient(180deg, #1a0f0a 0%, #2d1a13 100%);
    color: #fff;
    border-top: 3px solid #ca9745;
    border-bottom: 3px solid #ca9745;
}

.features-strip .row > div {
    padding: 2rem 1rem;
}

.features-strip i {
    color: #ca9745 !important;
    font-size: 3rem !important;
    transition: transform 0.3s ease, color 0.3s ease;
}

.features-strip i:hover {
    transform: scale(1.15);
    color: #ca9745 !important;
}

.features-strip p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f8f8f8;
    margin-top: 1rem;
    letter-spacing: 0.02em;
}

    .category-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      cursor: pointer;
      text-decoration: none;
    }

    .category-circle {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: #ebebeb;
      
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .category-circle img {
      width: 75%;
      height: 75%;
      object-fit: contain;
    }

    .category-circle.active {
      background: #ca9745;
    }

    .category-circle.active img {

        width: 30%;
    }

    .category-item:hover .category-circle {
      transform: translateY(-6px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }

    .category-label {
      font-weight: 600;
      font-size: 0.95rem;
      color: #111;
      text-align: center;
    }

    /* Responsive circle sizes */
    @media (max-width: 768px) {
      .category-circle {
        width: 100px;
        height: 100px;
      }
      .section-title {
        font-size: 1.4rem;
      }
    }

    @media (max-width: 480px) {
      .category-circle {
        width: 80px;
        height: 80px;
      }
    }


     /* ── Banner wrapper ── */

  .brand-card {
    width: 100%;
    border: 1px solid var(--border-color, #d9ddd8);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-card, #fff);
}
.brand-card img{
    width:75%;
}

.newsletter{
    background: var(--bg-gradient, linear-gradient(135deg, #1a0f0a 0%, #2d1a12 100%));
    border: 1px solid var(--border-color, rgba(202, 151, 69,0.2));
    border-radius: 12px;
}
.form input{
    width: 60%;
    height: 35px;
    border-radius: 25px;
    background-color: transparent;
    border:2px solid var(--border-color, #d9ddd8);
    margin-right: 30px;
    color: var(--text-primary, #fff);
}
.form input::placeholder{
    color: var(--border-color, #d9ddd8);
    opacity: 0.8;
    padding-left: 8px;
}
.form button{
    width: 15%;
    height: 35px;
    border-radius: 25px;
    background-color: var(--accent-bronze, #0f0f0f);
    border:none;
    color: var(--bg-dark, #d9ddd8) !important;
    font-weight: 700;
}
 .form button:hover {
      background: var(--text-primary, #ca9745);
      color: var(--bg-dark, #1a0f0a) !important;
    }
.form label{
    color: var(--text-primary, #fff);
}

/* ── Banner ── */
    .help-banner {
      display: flex;
      min-height: 300px;
      overflow: hidden;
      position: relative;
    }

    /* ── Left: black text side ── */
    .help-text-side {
      position: relative;
      flex: 0 0 48%;
      max-width: 48%;
      background: #000;
      display: flex;
      align-items: center;
      padding: 50px 48px 50px 60px;
      z-index: 2;
    }

    /* Diagonal clip on right edge */
    .help-text-side::after {
      content: '';
      position: absolute;
      top: 0;
      right: -80px;
      width: 160px;
      height: 100%;
      background: #000;
      clip-path: polygon(0 0, 40% 0, 100% 100%, 0 100%);
      z-index: 1;
    }

    .help-text-side .inner {
      position: relative;
      z-index: 2;
    }

    .help-text-side h2 {
      font-size: 1.9rem;
      font-weight: 700;
      color: #fff;
      line-height: 1.3;
      margin-bottom: 16px;
    }

    .help-text-side p {
      font-size: 0.92rem;
      color: #ccc;
      line-height: 1.7;
      margin-bottom: 32px;
    }

    .btn-help {
      display: inline-block;
      border: 2px solid #fff;
      color: #fff;
      background: transparent;
      border-radius: 50px;
      padding: 11px 32px;
      font-size: 0.9rem;
      font-weight: 600;
      font-family: 'Sora', sans-serif;
      text-decoration: none;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .btn-help:hover {
      background: #ca9745;
      border-color: #ca9745;
      color: #1a0f0a;
    }

    /* ── Right: image side ── */
    .help-image-side {
      flex: 1;
      position: relative;
      overflow: hidden;
    }

    .help-image-side img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* ── Responsive ── */
    @media (max-width: 768px) {
      .help-banner {
        flex-direction: column;
      }

      .help-text-side {
        flex: none;
        max-width: 100%;
        padding: 44px 28px;
        clip-path: none;
      }

      .help-text-side::after {
        display: none;
      }

      .help-text-side h2 {
        font-size: 1.5rem;
      }

      .help-image-side {
        min-height: 220px;
      }
    }

    @media (max-width: 480px) {
      .help-text-side h2 {
        font-size: 1.25rem;
      }

      .help-image-side {
        min-height: 180px;
      }
    }

/* Global responsive improvements */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    max-width: 100%;
}

.carousel-item {
    min-height: 320px;
    height: clamp(320px, 60vh, 620px);
}

.premium-badge,
.luxury-price {
    color: #1a0f0a;
}

.premium-badge {
    background: var(--luxury-bronze, #ca9745);
}

.luxury-price {
    color: #ca9745;
}

.sale-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.sale-link:hover {
    color: #ca9745;
}

.feature-icon {
    color: #ca9745;
}

.cart-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
}

.cart-table-wrap table {
    min-width: 700px;
}

.cart-item-title {
    color: var(--text-main, #3d241c);
    font-size: 1.05rem;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.cart-item-meta .badge {
    display: inline-flex;
    align-items: center;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-actions > a,
.cart-actions > .btn {
    min-width: 160px;
}

.login-wrapper .card {
    border-radius: 18px;
}

.login-wrapper .form-control,
.login-wrapper .checkout-btn {
    width: 100%;
}

.login-wrapper .auth-nav .nav-item {
    flex: 1 1 0;
}

.login-wrapper .auth-nav .nav-link {
    border-radius: 999px;
    white-space: nowrap;
}

.error-404-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.error-404-shell h1 {
    font-size: clamp(3rem, 18vw, 6rem);
    line-height: 1;
}

@media (max-width: 768px) {
    .carousel-item {
        height: clamp(280px, 50vh, 500px);
    }

    .sale-section h2 {
        font-size: 2rem;
    }

    .features-strip p {
        font-size: 0.95rem;
    }

    .features-strip .display-5 {
        font-size: 2rem;
    }

    .newsletter .form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter .form input,
    .newsletter .form button {
        width: 100%;
        margin-right: 0;
        max-width: 100%;
    }

    .cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-actions > a,
    .cart-actions > .btn {
        width: 100%;
        min-width: 0;
    }

    .login-wrapper .d-flex.justify-content-between {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .login-wrapper .checkout-btn {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .cart-table-wrap table {
        min-width: 620px;
    }

    .login-wrapper .auth-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .login-wrapper .auth-nav .nav-item {
        flex: 1 1 100%;
    }
}
    }

/* =========================================================
   PREMIUM DYNAMIC ANIMATIONS & INTERACTION SYSTEM
   ========================================================= */

/* 1. Cinematic Page Load Transition */
@keyframes pageFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body, .main, main {
  animation: pageFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 2. Global Tactile Click Feedback */
a, button, .btn, .prod-card, .category-luxury-item, .luxury-hero-card, .brand-card, .nav-link, .suggest-item {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a:active, button:active, .btn:active, .prod-card:active, .category-luxury-item:active, .luxury-hero-card:active, .brand-card:active, .nav-link:active, .suggest-item:active {
  transform: scale(0.96) !important;
  transition: all 0.1s ease-out !important;
}

/* 3. Micro-Hover Premium Scales & Shadows */
.prod-card, .featured-card {
  border: none !important;
  border-radius: 20px !important;
  padding: 0 !important;
  box-shadow: 0 0 0 1.5px var(--accent-bronze, #ca9745) !important;
}

.prod-card:hover, .featured-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(202, 151, 69, 0.15), 0 0 0 1.5px var(--accent-bronze, #ca9745) !important;
}

.btn-luxury-primary:hover, .btn-luxury-outline:hover, .headbutton:hover, .form button:hover, .btn-dark:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 12px 24px rgba(202, 151, 69, 0.25) !important;
}

.category-luxury-item:hover {
  transform: scale(1.05) translateY(-4px) !important;
}

.nav-link:hover {
  color: var(--accent-bronze, #ca9745) !important;
  text-shadow: 0 0 8px rgba(202, 151, 69, 0.3);
}

.logo-nav .navbar-brand:hover {
  transform: scale(1.03) !important;
  text-shadow: 0 0 15px rgba(202, 151, 69, 0.4);
}