/* ===== RESET & VARIABLES ===== */
* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}


:root {
  --leather-dark:#283a32;
  --leather-medium:#4e6858;
  --leather-light:#b6c3b2;
  --leather-cream:#f6f5ef;
  --accent:#78927b;
  --price-ink:#171a18;
  --text-dark:#242723;
  --text-light:#5f6961;
  --white:#fff;
  --shadow:0 12px 28px rgba(0,0,0,.06),0 4px 12px rgba(0,0,0,.02);
  --shadow-hover:0 24px 48px -8px rgba(0,0,0,.18);
  --transition:all .35s cubic-bezier(.25,.46,.45,.94);
  --radius:18px;
}


body {
  font-family:'Inter',sans-serif;
  background:var(--leather-cream);
  color:var(--text-dark);
  line-height:1.5;
  overflow-x:hidden;
}


a {
  text-decoration:none;
  color:inherit;
}


button {
  cursor:pointer;
  font-family:inherit;
  border:none;
  background:none;
}


img {
  max-width:100%;
  display:block;
}


.container {
  max-width:1280px;
  margin:0 auto;
  padding:0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  background:#fff;
  box-shadow:0 2px 12px rgba(0,0,0,.03);
  padding:16px 0;
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid #e3e9e1;
}


.nav-container {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}


.logo a {
  font-size:1.7rem;
  font-weight:700;
  letter-spacing:-.5px;
  color:var(--leather-dark);
  cursor:pointer;
}


.logo span {
  color:var(--accent);
}

.nav-links {
  display:flex;
  gap:26px;
  align-items:center;
  font-weight:500;
  color:var(--text-light);
  flex-wrap:wrap;
}


.nav-links a {
  transition:var(--transition);
  cursor:pointer;
}


.nav-links a:hover {
  color:var(--leather-dark);
}

.nav-icons {
  display:flex;
  gap:22px;
  align-items:center;
}


.nav-icons i {
  font-size:1.2rem;
  color:var(--leather-dark);
  cursor:pointer;
  transition:var(--transition);
}


.nav-icons i:hover {
  color:var(--accent);
  transform:scale(1.08);
}


.search-bar {
  display:flex;
  align-items:center;
  background:#e9eee8;
  border-radius:40px;
  padding:8px 16px;
  gap:8px;
}


.search-bar input {
  border:none;
  background:transparent;
  outline:none;
  font-size:.9rem;
  width:150px;
}


.cart-icon {
  position:relative;
}


.cart-count {
  position:absolute;
  top:-8px;
  right:-12px;
  background:var(--accent);
  color:#fff;
  font-size:.7rem;
  font-weight:600;
  padding:2px 6px;
  border-radius:30px;
}

.login-button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 16px;
  border:1px solid #d6ded5;
  border-radius:40px;
  color:var(--leather-dark);
  font-size:.9rem;
  font-weight:600;
  transition:var(--transition);
}

.login-button:hover {
  border-color:var(--leather-dark);
  background:var(--leather-dark);
  color:#fff;
}

.account-menu-container {
  position:relative;
}

.login-button .account-chevron {
  margin-left:2px;
  font-size:.7rem;
  transition:transform .2s ease;
}

.login-button[aria-expanded="true"] .account-chevron {
  transform:rotate(180deg);
}

.account-menu {
  position:absolute;
  z-index:120;
  top:calc(100% + 12px);
  right:0;
  width:min(280px,calc(100vw - 32px));
  padding:10px;
  border:1px solid #e3e9e1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 45px rgba(30,45,36,.16);
  animation:account-menu-in .16s ease-out;
}

.account-menu[hidden] {
  display:none;
}

.account-menu-heading {
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 10px 14px;
  border-bottom:1px solid #edf0eb;
  margin-bottom:6px;
}

.account-avatar {
  display:grid;
  flex:0 0 42px;
  width:42px;
  height:42px;
  place-items:center;
  border-radius:50%;
  background:#e9eee8;
  color:var(--leather-dark);
  font-size:1rem;
  font-weight:700;
}

.account-menu-identity {
  display:grid;
  min-width:0;
  gap:2px;
}

.account-menu-identity strong,
.account-menu-identity span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.account-menu-identity strong {
  color:var(--leather-dark);
  font-size:.92rem;
}

.account-menu-identity span {
  color:var(--text-light);
  font-size:.78rem;
}

.account-menu-item {
  display:flex;
  width:100%;
  align-items:center;
  gap:11px;
  padding:11px 10px;
  border-radius:11px;
  color:var(--text-dark);
  font-size:.9rem;
  text-align:left;
  transition:background .18s ease,color .18s ease;
}

.account-menu-item i {
  width:18px;
  color:var(--text-light);
  text-align:center;
}

.account-menu-item:hover,
.account-menu-item:focus-visible {
  background:#f1f4ef;
  color:var(--leather-dark);
  outline:none;
}

.account-menu-signout:hover,
.account-menu-signout:focus-visible {
  background:#fbefec;
  color:#a33b2d;
}

.account-menu-signout:hover i,
.account-menu-signout:focus-visible i {
  color:#a33b2d;
}

@keyframes account-menu-in {
  from { opacity:0; transform:translateY(-5px); }
  to { opacity:1; transform:translateY(0); }
}


/* ===== HERO ===== */
.home-container {
  max-width:1480px;
}


.hero {
  background:linear-gradient(135deg,#f1f3ed 0%,#e2e9e0 100%);
  border-radius:0 0 48px 48px;
  padding:60px 0 80px;
  margin-bottom:64px;
}


.hero-content {
  display:flex;
  align-items:center;
  gap:48px;
  flex-wrap:wrap;
}


.hero-text {
  flex:1 1 300px;
}


.hero-text h1 {
  font-size:3.2rem;
  font-weight:700;
  line-height:1.2;
  color:var(--leather-dark);
  margin-bottom:20px;
  letter-spacing:-1px;
}

.hero-text p {
  font-size:1.2rem;
  color:var(--text-light);
  max-width:500px;
  margin-bottom:32px;
}


.hero-buttons {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}


.btn {
  display:inline-block;
  padding:14px 32px;
  border-radius:60px;
  font-weight:600;
  font-size:1rem;
  transition:var(--transition);
  border:1px solid transparent;
}


.btn-primary {
  background:var(--leather-dark);
  color:#fff;
}


.btn-primary:hover {
  background:#1d2b25;
  transform:translateY(-3px);
  box-shadow:0 12px 20px -8px rgba(40,58,50,.3);
}


.btn-outline {
  background:transparent;
  border:1px solid var(--leather-dark);
  color:var(--leather-dark);
}


.btn-outline:hover {
  background:var(--leather-dark);
  color:#fff;
  transform:translateY(-3px);
}



/* ===== HOME CONTENT ===== */
.home-benefits {
  padding:0 0 72px;
}


.home-benefits-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}


.home-benefit {
  background:#fff;
  border:1px solid #e4e9e1;
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}


.home-benefit-icon {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e9eee8;
  color:var(--accent);
  font-size:1.2rem;
  margin-bottom:18px;
}


.home-benefit h2 {
  font-size:1.1rem;
  color:var(--leather-dark);
  margin-bottom:8px;
}


.home-benefit p {
  color:var(--text-light);
  font-size:.95rem;
}


/* ===== FEATURED LEATHER BAGS ===== */
.home-collection {
  padding-bottom:72px;
}

.home-collection-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px;
}

.home-collection-eyebrow {
  margin-bottom:8px;
  color:var(--accent);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.home-collection-heading h2 {
  max-width:700px;
  color:var(--leather-dark);
  font-size:clamp(1.8rem,3vw,2.6rem);
  line-height:1.2;
}

.home-collection-heading > p {
  max-width:300px;
  color:var(--text-light);
}

.home-collection-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.home-collection-card {
  position:relative;
  min-height:390px;
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--leather-medium);
  box-shadow:var(--shadow);
  isolation:isolate;
}

.home-collection-card::after {
  position:absolute;
  z-index:0;
  inset:35% 0 0;
  background:linear-gradient(transparent,rgba(28,44,37,.82));
  content:"";
}

.home-collection-card img {
  position:absolute;
  z-index:-1;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}

.home-collection-card:hover img {
  transform:scale(1.05);
}

.home-collection-card-content {
  position:absolute;
  z-index:1;
  right:24px;
  bottom:24px;
  left:24px;
  color:#fff;
}

.home-collection-card-content > span {
  display:block;
  margin-bottom:8px;
  color:#dbe5d8;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.home-collection-card h3 {
  margin-bottom:12px;
  font-size:1.5rem;
}

.home-collection-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-size:.9rem;
  font-weight:600;
}

.home-collection-link i {
  transition:transform .25s ease;
}

.home-collection-link:hover i {
  transform:translateX(4px);
}

.home-story {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
  background:#e4e9e1;
  border-radius:32px;
  padding:48px;
  margin-bottom:72px;
}


.home-story h2 {
  font-size:2rem;
  line-height:1.25;
  color:var(--leather-dark);
  margin-bottom:16px;
}


.home-story p {
  color:var(--text-light);
  max-width:640px;
  margin-bottom:24px;
}


.home-story-note {
  display:flex;
  align-items:center;
  gap:16px;
  color:var(--leather-dark);
  font-weight:600;
}


.home-story-note i {
  color:var(--accent);
  font-size:1.6rem;
}



/* ===== SECTIONS ===== */
.section-title {
  font-size:2rem;
  font-weight:600;
  color:var(--leather-dark);
  margin-bottom:12px;
}


.section-sub {
  color:var(--text-light);
  margin-bottom:32px;
}



/* ===== CATEGORIES ===== */
.categories-grid {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:48px;
}


.category-pill {
  background:#fff;
  padding:10px 24px;
  border-radius:60px;
  font-weight:500;
  color:var(--leather-dark);
  border:1px solid #dce4da;
  transition:var(--transition);
  cursor:pointer;
  font-size:.95rem;
}


.category-pill:hover,.category-pill.active {
  background:var(--leather-dark);
  color:#fff;
  border-color:var(--leather-dark);
}



/* ===== FILTERS ===== */
.filters {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:36px;
  align-items:center;
  background:#fff;
  padding:20px 24px;
  border-radius:60px;
  box-shadow:0 4px 12px rgba(0,0,0,.02);
}


.filter-group {
  display:flex;
  align-items:center;
  gap:8px;
}


.filter-group label {
  font-size:.9rem;
  font-weight:500;
  color:var(--text-light);
}


.filter-group select,.filter-group input {
  padding:8px 12px;
  border-radius:30px;
  border:1px solid #d6ded5;
  background:#fff;
  font-family:inherit;
  font-size:.9rem;
  outline:none;
  color:var(--text-dark);
}


.filter-group select:focus,.filter-group input:focus {
  border-color:var(--accent);
}


.btn-filter {
  background:var(--leather-dark);
  color:#fff;
  padding:8px 24px;
  border-radius:40px;
  font-weight:500;
  font-size:.9rem;
}



/* ===== PRODUCT GRID ===== */
.products-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:30px;
  margin-bottom:64px;
}


.product-card {
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:var(--transition);
  display:flex;
  flex-direction:column;
  position:relative;
  cursor:pointer;
}


.product-card:hover {
  transform:translateY(-8px);
  box-shadow:var(--shadow-hover);
}


.product-image {
  height:240px;
  background:#edf0ea;
  overflow:hidden;
  position:relative;
}


.product-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}


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


.product-badge {
  position:absolute;
  top:12px;
  left:12px;
  background:var(--accent);
  color:#fff;
  padding:4px 12px;
  border-radius:40px;
  font-size:.7rem;
  font-weight:600;
  z-index:2;
}



/* HOVER OVERLAY – shows preview */
.product-overlay {
  position:absolute;
  inset:0;
  background:rgba(28,44,37,.9);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:20px;
  opacity:0;
  transition:opacity .4s ease;
  pointer-events:none;
  text-align:center;
  backdrop-filter:blur(2px);
  z-index:3;
}


.product-card:hover .product-overlay {
  opacity:1;
  pointer-events:auto;
}


.product-overlay h4 {
  font-size:1.15rem;
  font-weight:600;
  margin-bottom:6px;
}


.product-overlay .overlay-price {
  font-size:1.35rem;
  font-weight:700;
  color:var(--price-ink);
  background:var(--leather-cream);
  padding:3px 12px;
  border-radius:30px;
  margin-bottom:10px;
}


.product-overlay .overlay-desc {
  font-size:.78rem;
  opacity:.92;
  margin-bottom:12px;
  max-width:220px;
  line-height:1.4;
}


.product-overlay .overlay-meta {
  font-size:.72rem;
  opacity:.8;
  margin-bottom:14px;
}


.product-overlay .overlay-btn {
  background:var(--accent);
  color:#fff;
  padding:10px 26px;
  border-radius:40px;
  font-weight:600;
  font-size:.85rem;
  transition:var(--transition);
  border:none;
  cursor:pointer;
}


.product-overlay .overlay-btn:hover {
  background:#5e7862;
  transform:scale(1.05);
}



.product-info {
  padding:20px 18px 18px;
  display:flex;
  flex-direction:column;
  flex:1;
}


.product-name {
  font-size:1.1rem;
  font-weight:600;
  margin-bottom:6px;
  color:var(--leather-dark);
}


.product-price {
  font-size:1.3rem;
  font-weight:700;
  color:var(--price-ink);
  margin-bottom:12px;
}


.product-meta {
  font-size:.8rem;
  color:var(--text-light);
  margin-bottom:4px;
}


.product-actions {
  display:flex;
  gap:10px;
  margin-top:auto;
  padding-top:16px;
}


.btn-small {
  flex:1;
  padding:10px 0;
  border-radius:40px;
  font-weight:600;
  font-size:.8rem;
  text-align:center;
  transition:var(--transition);
}


.btn-cart {
  background:#e9eee8;
  color:var(--leather-dark);
}


.btn-cart:hover {
  background:var(--leather-dark);
  color:#fff;
}


.btn-buy {
  background:var(--leather-dark);
  color:#fff;
}


.btn-buy:hover {
  background:#1d2b25;
}



/* ===== PRODUCT DETAIL PAGE (full screen view) ===== */
.detail-page {
  position:fixed;
  inset:0;
  background:var(--leather-cream);
  z-index:500;
  overflow-y:auto;
  display:none;
}


.detail-page.open {
  display:block;
  animation:fadeIn .4s ease;
}


.detail-header {
  background:#fff;
  padding:16px 0;
  border-bottom:1px solid #e3e9e1;
  position:sticky;
  top:0;
  z-index:10;
}


.detail-header .container {
  display:flex;
  justify-content:space-between;
  align-items:center;
}


.back-btn {
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  color:var(--leather-dark);
  cursor:pointer;
  font-size:1rem;
}


.back-btn:hover {
  color:var(--accent);
}


.detail-content {
  padding:48px 0 80px;
}


.detail-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
}


.detail-gallery {
  display:flex;
  flex-direction:column;
  gap:16px;
}


.detail-main-img {
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  height:480px;
}


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


.detail-thumbs {
  display:flex;
  gap:12px;
}


.detail-thumbs img {
  width:80px;
  height:80px;
  border-radius:12px;
  object-fit:cover;
  cursor:pointer;
  border:2px solid transparent;
  transition:var(--transition);
}


.detail-thumbs img:hover,.detail-thumbs img.active {
  border-color:var(--accent);
}


.detail-info h1 {
  font-size:2.2rem;
  font-weight:700;
  color:var(--leather-dark);
  margin-bottom:8px;
}


.detail-price {
  font-size:2rem;
  font-weight:700;
  color:var(--price-ink);
  margin-bottom:20px;
}


.detail-desc {
  color:var(--text-light);
  margin-bottom:24px;
  line-height:1.7;
}


.detail-specs {
  background:#fff;
  border-radius:20px;
  padding:24px;
  margin-bottom:24px;
  box-shadow:var(--shadow);
}


.spec-row {
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid #e8ece6;
  font-size:.95rem;
}


.spec-row:last-child {
  border-bottom:none;
}


.spec-label {
  color:var(--text-light);
  font-weight:500;
}


.spec-value {
  font-weight:600;
  color:var(--leather-dark);
}


.color-options {
  display:flex;
  gap:10px;
  margin:16px 0;
  flex-wrap:wrap;
}


.color-swatch {
  padding:8px 18px;
  border-radius:40px;
  border:1px solid #d6ded5;
  font-size:.85rem;
  font-weight:500;
  cursor:pointer;
  transition:var(--transition);
  background:#fff;
}


.color-swatch:hover,.color-swatch.active {
  background:var(--leather-dark);
  color:#fff;
  border-color:var(--leather-dark);
}


.qty-selector {
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0;
}


.qty-selector button {
  width:40px;
  height:40px;
  border-radius:50%;
  background:#e9eee8;
  font-size:1.2rem;
  font-weight:600;
  transition:var(--transition);
}


.qty-selector button:hover {
  background:var(--leather-dark);
  color:#fff;
}


.qty-selector span {
  font-size:1.2rem;
  font-weight:600;
  min-width:40px;
  text-align:center;
}


.detail-actions {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}


.detail-actions .btn {
  flex:1;
  min-width:180px;
}



/* ===== CART DRAWER ===== */
.cart-drawer {
  position:fixed;
  top:0;
  right:-420px;
  width:100%;
  max-width:400px;
  height:100vh;
  background:#fff;
  box-shadow:-12px 0 40px rgba(0,0,0,.08);
  transition:right .4s ease;
  z-index:600;
  display:flex;
  flex-direction:column;
  padding:24px 20px;
}


.cart-drawer.open {
  right:0;
}


.cart-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  font-size:1.3rem;
  font-weight:600;
  color:var(--leather-dark);
}


.cart-header i {
  cursor:pointer;
  font-size:1.4rem;
}


.cart-items {
  flex:1;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding-right:4px;
}


.cart-item {
  display:flex;
  gap:12px;
  border-bottom:1px solid #e5eae3;
  padding-bottom:14px;
}


.cart-item-img {
  width:64px;
  height:64px;
  background:#edf0ea;
  border-radius:12px;
  overflow:hidden;
  flex-shrink:0;
}


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


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


.cart-item-name {
  font-weight:600;
  font-size:.95rem;
}


.cart-item-price {
  color:var(--price-ink);
  font-weight:600;
  font-size:.95rem;
}


.cart-item-qty {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
}


.cart-item-qty button {
  width:26px;
  height:26px;
  border-radius:50%;
  background:#e9eee8;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
}


.cart-item-remove {
  color:#b33a3a;
  font-size:.8rem;
  cursor:pointer;
  margin-left:auto;
}


.cart-summary {
  margin-top:16px;
  border-top:1px solid #d6ded5;
  padding-top:16px;
}


.summary-row {
  display:flex;
  justify-content:space-between;
  margin-bottom:8px;
  font-size:.95rem;
}


.summary-total {
  font-weight:700;
  font-size:1.2rem;
  color:var(--leather-dark);
  margin:12px 0;
}

.summary-total span:last-child {
  color:var(--price-ink);
}


.btn-checkout {
  width:100%;
  background:var(--leather-dark);
  color:#fff;
  padding:16px;
  border-radius:60px;
  font-weight:600;
  font-size:1rem;
  margin-top:12px;
  transition:var(--transition);
}


.btn-checkout:hover {
  background:#1d2b25;
}



/* ===== MODAL ===== */
.modal-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.3);
  backdrop-filter:blur(4px);
  z-index:700;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}


.modal-overlay.active {
  display:flex;
}


.checkout-modal {
  background:#fff;
  max-width:600px;
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  border-radius:32px;
  padding:32px;
  box-shadow:0 40px 70px rgba(0,0,0,.2);
}


.checkout-modal h2 {
  margin-bottom:24px;
  color:var(--leather-dark);
}

.login-modal {
  position:relative;
  max-width:420px;
  padding:36px;
}

.login-modal h2 {
  margin-bottom:8px;
}

.login-intro,
.login-note {
  color:var(--text-light);
}

.login-intro {
  margin-bottom:24px;
}

.google-login-button {
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:12px 16px;
  border:1px solid #d6ded5;
  border-radius:40px;
  color:var(--text-dark);
  font-weight:600;
  transition:var(--transition);
}

.google-login-button:hover {
  background:#f5f6f2;
  border-color:var(--leather-medium);
}

.google-login-button .google-brand-icon {
  background:conic-gradient(from -45deg,#4285f4 0deg 90deg,#34a853 90deg 180deg,#fbbc05 180deg 270deg,#ea4335 270deg 360deg);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  font-size:1.1rem;
}

.google-login-button:disabled,
.login-submit:disabled {
  cursor:wait;
  opacity:.65;
}

.login-divider {
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0;
  color:var(--text-light);
  font-size:.8rem;
}

.login-divider::before,
.login-divider::after {
  height:1px;
  flex:1;
  background:#e4e9e1;
  content:"";
}

.login-close {
  position:absolute;
  top:20px;
  right:20px;
  color:var(--text-light);
  font-size:1.1rem;
}

.login-submit {
  width:100%;
}

.login-mode-switch {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:5px;
  margin-top:18px;
  color:var(--text-light);
  font-size:.88rem;
}

.login-mode-toggle {
  color:var(--leather-medium);
  font-weight:700;
}

.login-mode-toggle:hover {
  text-decoration:underline;
}

.login-mode-toggle:disabled {
  cursor:wait;
  opacity:.65;
}

.login-note {
  margin-top:14px;
  font-size:.82rem;
  text-align:center;
}

.login-note:empty {
  display:none;
}

.login-note.login-error {
  color:#b33a3a;
}


.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}


.form-group {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:16px;
}


.form-group.full-width {
  grid-column:span 2;
}


.form-group label {
  font-size:.9rem;
  font-weight:500;
  color:var(--text-light);
}


.form-group input,.form-group select {
  padding:12px 16px;
  border-radius:40px;
  border:1px solid #d6ded5;
  font-family:inherit;
  font-size:1rem;
  outline:none;
  background:#f5f6f2;
}


.form-group input:focus,.form-group select:focus {
  border-color:var(--accent);
}


.checkout-actions {
  display:flex;
  gap:12px;
  margin-top:24px;
}



/* ===== TOAST ===== */
.toast {
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translateX(-50%) translateY(100px);
  background:var(--leather-dark);
  color:#fff;
  padding:14px 28px;
  border-radius:60px;
  font-weight:500;
  box-shadow:0 12px 30px rgba(0,0,0,.2);
  z-index:900;
  opacity:0;
  transition:all .4s ease;
}


.toast.show {
  transform:translateX(-50%) translateY(0);
  opacity:1;
}



/* ===== ADMIN PANEL ===== */
.admin-panel {
  background:#1d2b25;
  color:#eee;
  padding:16px;
  border-radius:20px;
  margin:40px 0;
  display:none;
}


.admin-panel.visible {
  display:block;
}


.admin-panel input,.admin-panel select,.admin-panel button {
  padding:8px 12px;
  border-radius:30px;
  border:none;
  margin:4px;
  font-family:inherit;
}


.admin-panel button {
  background:var(--accent);
  color:#fff;
  font-weight:600;
  cursor:pointer;
}



/* ===== FOOTER ===== */
.footer {
  background:#1d2b25;
  color:#d1d8d0;
  padding:48px 0 24px;
  border-radius:48px 48px 0 0;
  margin-top:48px;
}


.footer-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:32px;
  margin-bottom:32px;
}

.footer h4 {
  color:#fff;
  margin-bottom:16px;
  font-weight:600;
}


.footer a {
  display:block;
  margin-bottom:8px;
  color:#aebdb2;
  transition:var(--transition);
}


.footer a:hover {
  color:#fff;
}


.social-icons {
  display:flex;
  gap:16px;
  font-size:1.4rem;
  margin-top:12px;
}


.footer-bottom {
  border-top:1px solid #35483e;
  padding-top:24px;
  text-align:center;
  font-size:.9rem;
}



/* ===== RESPONSIVE ===== */
@media(max-width:900px) {
  .home-collection-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

 .home-collection-card:last-child {
  grid-column:1/-1;
}

  .detail-grid {
  grid-template-columns:1fr;
  gap:32px;
}

 .detail-main-img {
  height:360px;
}


}


@media(max-width:768px) {
  .home-collection-heading {
  align-items:flex-start;
  flex-direction:column;
}

  .hero {
  padding:60px 0 72px;
}


  .hero-text h1 {
  font-size:2.4rem;
}


  .home-benefits-grid {
  grid-template-columns:1fr;
}


  .home-story {
  grid-template-columns:1fr;
  padding:32px;
}


  .nav-links {
  order:3;
  width:100%;
  flex-wrap:nowrap;
  gap:20px;
  overflow-x:auto;
  padding-bottom:4px;
  white-space:nowrap;
}


  .search-bar input {
  width:100px;
}


  .form-grid {
  grid-template-columns:1fr;
}


  .form-group.full-width {
  grid-column:span 1;
}


  .filters {
  border-radius:24px;
  flex-direction:column;
  align-items:stretch;
}


}


@media(max-width:480px) {
  .home-collection-grid {
  grid-template-columns:1fr;
}

 .home-collection-card:last-child {
  grid-column:auto;
}

 .home-collection-card {
  min-height:340px;
}

  .hero-text h1 {
  font-size:2rem;
}


  .home-story {
  padding:24px;
}


  .home-story h2 {
  font-size:1.6rem;
}


  .hero-buttons .btn {
  width:100%;
  text-align:center;
}


  .cart-drawer {
  max-width:100%;
}


  .detail-info h1 {
  font-size:1.6rem;
}


}



@keyframes fadeIn {
  from {
  opacity:0;
  transform:translateY(10px);
}

 to {
  opacity:1;
  transform:translateY(0);
}


}


.hidden {
  display:none !important;
}
