* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f7f8fa;
  font-family: Arial, sans-serif;
}

.user-header {
  height: 90px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid #ddd;
}

.logo a {
  text-decoration: none;
  color: black;
  font-size: 38px;
  font-weight: 700;
}

.search-box input {
  width: 400px;
  padding: 12px 16px;
  border-radius: 30px;
  border: 1px solid #ccc;
}

/* ===========================
   HEADER
=========================== */

.user-header{

    height:80px;

    background:#fff;

    border-bottom:1px solid #e5e7eb;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 60px;

}

.logo a{

    text-decoration:none;

    color:#111;

    font-size:2.3rem;

    font-weight:800;

    letter-spacing:1px;

}

.main-nav{

    display:flex;

    gap:45px;

}

.main-nav a{

    text-decoration:none;

    color:#333;

    font-weight:600;

    transition:.3s;

    position:relative;

}

.main-nav a:hover{

    color:#000;

}

.main-nav a::after{

    content:"";

    position:absolute;

    bottom:-6px;

    left:0;

    width:0;

    height:2px;

    background:#000;

    transition:.3s;

}

.main-nav a:hover::after{

    width:100%;

}

.header-actions{

    display:flex;

    gap:28px;

    align-items:center;

}

.header-actions a{

    color:#111;

    font-size:1.45rem;

    transition:.3s;

}

.header-actions a:hover{

    transform:translateY(-3px);

}

.main-content {
  min-height: calc(100vh - 160px);
  padding: 30px;
}

.user-footer {
  height: 70px;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.auth-card {
  width: 450px;
  background: white;
  padding: 45px;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 10px;
}

.auth-card h2 {
  text-align: center;
}

.auth-card p {
  text-align: center;
  color: gray;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 18px;
}

.input-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: black;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.switch-auth {
  margin-top: 20px;
}

.switch-auth a {
  color: black;
  font-weight: bold;
}

.auth-error {
  background: #fee2e2;
  color: #b91c1c;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.auth-success {
  background: #dcfce7;
  color: green;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.forgot-link {
  text-align: right;
  margin-bottom: 16px;
}

.forgot-link a {
  text-decoration: none;
  color: black;
  font-size: 14px;
}

.google-btn {
  display: block;
  margin-top: 15px;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  background: #e5e7eb;
  color: black;
  font-weight: bold;
}

.otp-timer {
  margin-top: 20px;
  text-align: center;
}

#resendBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* ==========================================
   HERO
========================================== */

.hero-section {
    max-width: 1400px;
    margin: 0 auto 50px auto; /* Centered with bottom margin */
    padding: 60px 80px;
    background: #eef0f3; /* Slightly darker grey card background */
    border-radius: 28px; /* contained rounded card */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Figma-inspired smooth, organic sweeping decorative background shape */
.hero-section::before {
    content: "";
    position: absolute;
    bottom: -150px;
    right: -50px;
    width: 65%;
    height: 120%;
    background: #e1e3e7; /* Contrast grey inside the card */
    border-radius: 50% 50% 0 50% / 40% 60% 0 40%; /* Sweeping organic wave */
    transform: rotate(-15deg);
    z-index: 0;
    pointer-events: none; /* Never intercept pointer/click events */
}

.hero-content {
    flex: 0 0 45%;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: #ffffff; /* White background pill badge */
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid #d1d5db; /* Thin subtle border */
}

.hero-content h1 {
    font-size: clamp(40px, 4.5vw, 64px); /* Bold, modern, responsive typography scale */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #111827; /* Dark black heading */
}

.hero-content p {
    color: #374151; /* Muted dark blue/grey description */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 420px; /* Controlled line length */
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #111827; /* Dark navy/black background */
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shop-btn:hover {
    background: #1f2937;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shop-btn:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.hero-image {
    flex: 0 0 55%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: -20px; /* Slightly extend to bottom-right edges */
    margin-bottom: -40px;
}

.hero-image img {
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain; /* Do not distort, stretch, or crop */
    display: block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 20px 40px rgba(17, 24, 39, 0.08)); /* Real shadow on device shapes */
}

.hero-image img:hover {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .hero-section {
        padding: 40px 50px;
        gap: 30px;
    }
    .hero-content h1 {
        font-size: clamp(32px, 4vw, 48px);
    }
    .hero-image {
        margin-right: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 30px;
        margin-bottom: 40px;
    }
    .hero-content {
        flex: 0 0 100%;
        width: 100%;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .hero-image {
        flex: 0 0 100%;
        width: 100%;
        justify-content: center;
        margin-right: 0;
        margin-bottom: 0;
    }
    .hero-image img {
        width: 100%;
        max-width: 440px;
    }
    .hero-section::before {
        width: 80%;
        height: 60%;
        bottom: -50px;
        right: 10%;
        border-radius: 50% 50% 0 50% / 40% 60% 0 40%;
    }
}

.categories-section,
.featured-section {
  margin-bottom: 40px;
}

.category-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.category-card,
.product-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
}


.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.edit-actions {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.cancel-btn {
  padding: 14px 20px;
  background: #6b7280;
  color: white;
  text-decoration: none;
  border-radius: 10px;
}

.addresses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.address-card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  position: relative;
}

.address-card p {
  margin-bottom: 8px;
}

.default-badge{

    background:#fff7db;

    color:#c28b00;

    border:1px solid #ffe08a;

    padding:6px 12px;

    border-radius:30px;

    font-size:.78rem;

    font-weight:600;

    display:flex;

    align-items:center;

    gap:6px;

}

.address-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.delete-btn {
  border: none;
  padding: 12px 18px;
  background: red;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

.empty-address {
  text-align: center;
  margin-top: 80px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

/* ===========================
   PROFILE PAGE
=========================== */

.profile-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.profile-header {
  text-align: center;
  margin-bottom: 35px;
}

.profile-header h1 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 8px;
}

.profile-header p {
  color: #777;
  font-size: 15px;
}

/* ===========================
   GRID
=========================== */

.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: flex-start;
}

/* ===========================
   SIDEBAR
=========================== */

.profile-avatar-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: .3s;
}

.profile-avatar-card:hover {
  transform: translateY(-5px);
}

.avatar-label {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.avatar-image,
.avatar-placeholder {
  width: 170px;
  height: 170px;
  border-radius: 50%;
}

.avatar-image {
  object-fit: cover;
  border: 5px solid #f3f3f3;
}

.avatar-placeholder {
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 95px;
  color: #bbb;
}

.avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
  opacity: 0;

  transition: .3s;
}

.avatar-label:hover .avatar-overlay {
  opacity: 1;
}

.avatar-overlay i {
  font-size: 24px;
  margin-bottom: 8px;
}

.profile-avatar-card h2 {
  margin-top: 20px;
  color: #222;
}

.profile-avatar-card p {
  color: #777;
  margin-top: 6px;
}

/* ===========================
   PROFILE SECTION
=========================== */

.profile-section {
  background: white;
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.section-title i {
  font-size: 24px;
  color: #0d6efd;
}

.section-title h3 {
  margin: 0;
  color: #222;
}

/* ===========================
   INFO GRID
=========================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.info-card {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 20px;
  transition: .3s;
}

.info-card:hover {
  background: #eef4ff;
}

.info-card span {
  color: #777;
  font-size: 13px;
}

.info-card h4 {
  margin-top: 8px;
  color: #222;
  font-size: 17px;
}

/* ===========================
   ACTIONS
=========================== */

.action-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.action-card {
  display: flex;
  gap: 18px;
  align-items: center;

  background: #fff;
  border: 2px solid #eee;

  border-radius: 15px;

  padding: 20px;

  text-decoration: none;

  transition: .3s;
}

.action-card:hover {
  border-color: #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(13,110,253,.12);
}

.action-card i {
  font-size: 28px;
  color: #0d6efd;
}

.action-card h4 {
  color: #222;
  margin-bottom: 5px;
}

.action-card p {
  color: #777;
  font-size: 14px;
}

.action-card.disabled {
  cursor: not-allowed;
  opacity: .65;
}

.action-card.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: #eee;
}

/* ===========================
   ALERTS
=========================== */

.auth-error,
.auth-success {
  margin-bottom: 20px;
  border-radius: 10px;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:992px){

.profile-grid{
    grid-template-columns:1fr;
}

.info-grid{
    grid-template-columns:1fr;
}

.action-grid{
    grid-template-columns:1fr;
}

.profile-avatar-card{
    max-width:380px;
    margin:auto;
}

}

@media(max-width:576px){

.profile-page{
    padding:15px;
}

.profile-header h1{
    font-size:1.6rem;
}

.profile-section{
    padding:20px;
}

.avatar-image,
.avatar-placeholder{
    width:140px;
    height:140px;
}

}

.password-group {
  position: relative;
}

.password-group input {
  width: 100%;
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  color: #777;
  font-size: 18px;
  padding: 0;
}

.toggle-password:hover {
  color: #000;
}

/* ==========================================
   EDIT PROFILE
========================================== */

.profile-content form {
  margin-top: 20px;
}

.profile-content .input-group {
  margin-bottom: 22px;
}

.profile-content .input-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.profile-content .input-group label i {
  color: #0d6efd;
  font-size: 18px;
}

.profile-content .input-group input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  transition: all .3s ease;
}

.profile-content .input-group input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13,110,253,.12);
}

.readonly-input {
  background: #f5f5f5 !important;
  color: #666;
  cursor: not-allowed;
}

.edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}

.edit-actions .cancel-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 150px;
  height: 48px;

  border-radius: 12px;

  background: #6c757d;
  color: white;
  text-decoration: none;
  transition: .3s;
}

.edit-actions .cancel-btn:hover {
  background: #5a6268;
}

.edit-actions .auth-btn {
  width: 180px;
  height: 48px;
  transition: .3s;
}

.edit-actions .auth-btn:hover {
  transform: translateY(-2px);
}

.account-card .info-card {
  margin-bottom: 15px;
}

.account-card .info-card:last-child {
  margin-bottom: 0;
}

@media(max-width:768px){

  .edit-actions{
    flex-direction: column-reverse;
  }

  .edit-actions .auth-btn,
  .edit-actions .cancel-btn{
    width:100%;
  }

}

.profile-sidebar{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.profile-avatar-card,
.account-card{
    width:100%;
}

.edit-actions .auth-btn,
.edit-actions .cancel-btn{
    flex:1;
}

.input-group select{
    width:100%;
    height:52px;
    padding:0 18px;
    border:1px solid #ddd;
    border-radius:12px;
    background:#fff;
    font-size:15px;
    cursor:pointer;
    transition:.3s;
}

.input-group select:focus{
    outline:none;
    border-color:#0d6efd;
    box-shadow:0 0 0 4px rgba(13,110,253,.12);
}

/* ==========================
   ADDRESS TYPE
========================== */

.address-type-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-top:10px;
}

.address-type-card{

    background:#fff;

    border:2px solid #ddd;

    border-radius:15px;

    padding:20px;

    text-align:center;

    cursor:pointer;

    transition:.3s;

    user-select:none;

}

.address-type-card:hover{

    border-color:#0d6efd;

    transform:translateY(-3px);

}

.address-type-card input{

    display:none;

}

.address-type-card i{

    font-size:32px;

    color:#0d6efd;

    display:block;

    margin-bottom:12px;

}

.address-type-card span{

    font-weight:600;

    color:#333;

}

.address-type-card.active{

    border-color:#0d6efd;

    background:#eef5ff;

    box-shadow:0 8px 20px rgba(13,110,253,.15);

}

/* ==========================================
   ADDRESS PAGE
========================================== */

.address-icon{
    width:120px;
    height:120px;

    margin:0 auto 20px;

    border-radius:50%;

    background:#eef4ff;

    display:flex;
    align-items:center;
    justify-content:center;
}

.address-icon i{
    font-size:55px;
    color:#0d6efd;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.profile-content .input-group{
    margin-bottom:22px;
}

.profile-content .input-group label{
    display:flex;
    align-items:center;
    gap:10px;

    margin-bottom:10px;

    font-weight:600;

    color:#333;
}

.profile-content .input-group label i{
    color:#0d6efd;
}

.profile-content input{
    width:100%;
    height:52px;

    padding:0 18px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:15px;

    transition:.3s;
}

.profile-content input:focus{
    outline:none;

    border-color:#0d6efd;

    box-shadow:0 0 0 4px rgba(13,110,253,.12);
}

/* ==========================
   ADDRESS TYPE
========================== */

.address-type-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

    margin-top:12px;

}

.address-type-card{

    background:#fff;

    border:2px solid #ddd;

    border-radius:15px;

    padding:20px;

    text-align:center;

    cursor:pointer;

    transition:.3s;

    user-select:none;

}

.address-type-card:hover{

    transform:translateY(-4px);

    border-color:#0d6efd;

}

.address-type-card.active{

    border-color:#0d6efd;

    background:#eef5ff;

    box-shadow:0 8px 20px rgba(13,110,253,.12);

}

.address-type-card input{

    display:none;

}

.address-type-card i{

    font-size:32px;

    color:#0d6efd;

    display:block;

    margin-bottom:12px;

}

.address-type-card span{

    font-weight:600;

}

/* ==========================
   CHECKBOX
========================== */

.checkbox-group{

    display:flex;

    align-items:center;

    gap:12px;

    margin:25px 0;

}

.checkbox-group input{

    width:18px;

    height:18px;

    accent-color:#0d6efd;

}

/* ==========================
   BUTTONS
========================== */

.edit-actions{

    display:flex;

    gap:18px;

    margin-top:30px;

}

.edit-actions .cancel-btn,
.edit-actions .auth-btn{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

}

/* ==========================
   MOBILE
========================== */

@media(max-width:992px){

    .form-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .address-type-grid{

        grid-template-columns:1fr;

    }

    .edit-actions{

        flex-direction:column-reverse;

    }

}

/* ==========================
   ADDRESS LIST
========================== */

.address-card{

    background:#fff;

    border-radius:18px;

    padding:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.address-card:hover{

    transform:translateY(-8px);

    box-shadow:0 24px 45px rgba(0,0,0,.12);

}

.address-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.address-type{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 15px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

}

.home{

    background:#eef5ff;

    color:#0d6efd;

}

.office{

    background:#fff7e8;

    color:#d97706;

}

.other{

    background:#f3f4f6;

    color:#555;

}

.default-badge{

    background:#198754;

    color:white;

    padding:8px 14px;

    border-radius:30px;

    display:flex;

    align-items:center;

    gap:8px;

}

.address-body h3{

    font-size:1.35rem;

    font-weight:700;

    margin-bottom:4px;

    color:#222;

}

.address-body p{

    display:flex;

    align-items:center;

    gap:12px;

    color:#555;

    margin-bottom:12px;

}

.address-body i{

    width:20px;

    color:#0d6efd;

}

.empty-address{

    background:#fff;

    border-radius:20px;

    padding:60px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.empty-address i{

    font-size:70px;

    color:#0d6efd;

    margin-bottom:20px;

}

.empty-address p{

    margin:20px 0 30px;

    color:#666;

}

/* ===========================================
   ADDRESS PAGE
=========================================== */

.addresses-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#fff;

    padding:24px 28px;

    border-radius:18px;

    margin-bottom:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.header-content h1{
    font-size:2rem;
    font-weight:700;
    color:#222;
    margin-bottom:6px;
}

.header-content p{
    color:#6c757d;
    margin:0;
    font-size:.95rem;
}

/* ===========================
   ADD ADDRESS BUTTON
=========================== */

.add-address-btn{

    display:inline-flex;
    align-items:center;
    gap:10px;

    background:#0d6efd;
    color:#fff;

    padding:12px 22px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    transition:.3s ease;

    box-shadow:0 8px 20px rgba(13,110,253,.25);

}

.add-address-btn:hover{

    background:#0b5ed7;

    color:#fff;

    transform:translateY(-2px);

}

/* ===========================
   GRID
=========================== */

.address-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));

    gap:25px;

}

/* ===========================
   CARD
=========================== */

.address-card{

    background:#fff;

    border-radius:18px;

    padding:24px;

    border:1px solid #ececec;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    transition:.35s ease;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.address-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

/* ===========================
   TOP
=========================== */

.address-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

/* ===========================
   ADDRESS TYPE
=========================== */

.address-type{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:7px 14px;

    border-radius:30px;

    font-size:.8rem;

    font-weight:600;

}

.home{

    background:#e7f1ff;

    color:#0d6efd;

}

.office{

    background:#e9f9ef;

    color:#198754;

}

.other{

    background:#f3f4f6;

    color:#6c757d;

}

/* ===========================
   DEFAULT BADGE
=========================== */

.default-badge{

    background:#fff4d6;

    color:#b8860b;

    padding:7px 14px;

    border-radius:30px;

    font-size:.8rem;

    font-weight:600;

    display:flex;

    align-items:center;

    gap:6px;

}

/* ===========================
   BODY
=========================== */

.address-body{

    margin-bottom:20px;

}

.address-body h3{

    font-size:1.2rem;

    margin-bottom:6px;

    color:#222;

}

.phone{

    display:inline-block;

    background:#f8f9fa;

    padding:6px 12px;

    border-radius:20px;

    color:#555;

    font-size:.9rem;

    margin-bottom:18px;

}

.address-location{

    background:#fafafa;

    border-radius:12px;

    padding:16px;

    border:1px solid #efefef;

}

.address-location p{

    margin-bottom:7px;

    color:#444;

    line-height:1.6;

}

/* ===========================
   FOOTER
=========================== */

.address-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:20px;

    padding-top:18px;

    border-top:1px solid #ececec;

}

/* ===========================
   EDIT BUTTON
=========================== */

.edit-btn{

    display:flex;

    align-items:center;

    gap:8px;

    text-decoration:none;

    padding:10px 18px;

    border-radius:10px;

    background:#eef5ff;

    color:#0d6efd;

    font-weight:600;

    transition:.3s;

}

.edit-btn:hover{

    background:#0d6efd;

    color:#fff;

}

/* ===========================
   DELETE BUTTON
=========================== */

.delete-btn{

    display:flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    border:none;

    border-radius:10px;

    background:#fff1f2;

    color:#dc3545;

    font-weight:600;

    transition:.3s;

    cursor:pointer;

}

.delete-btn:hover{

    background:#dc3545;

    color:#fff;

}

/* ===========================
   EMPTY STATE
=========================== */

.empty-address{

    background:#fff;

    border-radius:18px;

    padding:60px 30px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.empty-address i{

    font-size:4rem;

    color:#0d6efd;

    margin-bottom:20px;

}

.empty-address h3{

    margin-bottom:10px;

}

.empty-address p{

    color:#6c757d;

    margin-bottom:25px;

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

    .addresses-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .add-address-btn{

        width:100%;

        justify-content:center;

    }

    .address-grid{

        grid-template-columns:1fr;

    }

}

.address-card{
    position: relative;
    overflow: hidden;
}
.address-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(90deg,#0d6efd,#4f9bff);

}


/* ==========================================
   HEADER NAVIGATION
========================================== */

.main-nav{
    display:flex;
    align-items:center;
    gap:30px;
}

.main-nav a{
    text-decoration:none;
    color:#333;
    font-size:16px;
    font-weight:600;
    transition:.3s;
    position:relative;
}

.main-nav a:hover{
    color:#000;
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#000;
    transition:.3s;
}

.main-nav a:hover::after{
    width:100%;
}

.logo{
    display:flex;
    align-items:center;
}

.search-box{
    flex:1;
    display:flex;
    justify-content:center;
    padding:0 40px;
}

.search-box input{
    width:100%;
    max-width:450px;
}

.header-actions a{
    transition:.3s;
}

.header-actions a:hover{
    transform:translateY(-2px);
}

@media(max-width:992px){

    .user-header{
        flex-wrap:wrap;
        height:auto;
        gap:20px;
        padding:20px;
    }

    .main-nav{
        order:3;
        width:100%;
        justify-content:center;
    }

    .search-box{
        order:2;
        width:100%;
        padding:0;
    }

}


/* ==========================
   SHOP PAGE
========================== */

.product-card{
    position:relative;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    height:100%;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.product-image{
    height:260px;
    overflow:hidden;
    background:#f8f9fa;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:.4s;
}

.product-card:hover img{
    transform:scale(1.08);
}

.product-info{
    padding:20px;
}

.product-brand{
    color:#777;
    font-size:.9rem;
    margin-bottom:6px;
}

.product-title{
    font-size:1.1rem;
    font-weight:700;
    min-height:52px;
    margin-bottom:15px;
}

.price-box{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
}

.sale-price{
    font-size:1.3rem;
    font-weight:700;
}

.regular-price{
    color:#888;
    text-decoration:line-through;
}

.details-btn{
    display:block;
    width:100%;
    padding:12px;
    text-align:center;
    text-decoration:none;
    border-radius:10px;
    background:#111827;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.details-btn:hover{
    background:#000;
    color:#fff;
}

.discount-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#dc3545;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    font-size:.8rem;
    font-weight:600;
    z-index:2;
}

.stock-badge{
    position:absolute;
    top:15px;
    right:15px;
    background:#198754;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    font-size:.8rem;
    z-index:2;
}

.out-stock{
    background:#6c757d;
}

/* ==========================
   SHOP PAGE
========================== */

.shop-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    flex-wrap:wrap;
    gap:20px;
}

.shop-header h2{
    font-size:2rem;
    font-weight:700;
    margin-bottom:5px;
}

.shop-header p{
    color:#777;
}

.shop-search{
    display:flex;
    width:420px;
    max-width:100%;
}

.shop-search input{
    flex:1;
    border:1px solid #ddd;
    border-right:none;
    padding:12px 18px;
    border-radius:10px 0 0 10px;
    outline:none;
}

.shop-search button{
    width:60px;
    border:none;
    background:#111827;
    color:#fff;
    border-radius:0 10px 10px 0;
}

.shop-sidebar{
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:25px;
}

.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    position:relative;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.product-image{
    height:260px;
    background:#f8f9fa;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:.4s;
}

.product-card:hover img{
    transform:scale(1.08);
}

.product-info{
    padding:20px;
}

.product-info small{
    color:#777;
}

.product-info h5{
    margin:8px 0 15px;
    min-height:50px;
}

.price{
    display:flex;
    gap:10px;
    align-items:center;
    margin-bottom:18px;
}

.sale{
    font-size:1.25rem;
    font-weight:700;
}

.regular{
    color:#888;
    text-decoration:line-through;
}

.discount-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#dc3545;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    font-size:.8rem;
    font-weight:600;
}

.details-btn{
    display:block;
    width:100%;
    text-align:center;
    background:#111827;
    color:#fff;
    text-decoration:none;
    padding:12px;
    border-radius:10px;
    transition:.3s;
}

.details-btn:hover{
    background:#000;
    color:#fff;
}

.empty-products{
    grid-column:1/-1;
    background:#fff;
    border-radius:18px;
    padding:80px 20px;
    text-align:center;
}

.empty-products i{
    font-size:4rem;
    color:#999;
}

@media(max-width:992px){

    .shop-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .shop-search{
        width:100%;
    }

}

/* ==========================================
   PROFILE DROPDOWN
========================================== */
.profile-dropdown{
    position: relative;
}

.dropdown-menu{
    position: absolute;
    top: 55px;
    right: 0;

    width: 220px;

    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all .25s ease;

    z-index: 1000;
}

.dropdown-menu.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 18px;
    text-decoration:none;
    color:#333;
    font-size:.95rem;
    transition:.25s;
}

.dropdown-menu a:hover{
    background:#f5f5f5;
}

.dropdown-menu hr{
    border:none;
    border-top:1px solid #eee;
    margin:8px 0;
}

.profile-btn{
    border:none;
    background:transparent;
    cursor:pointer;
    font-size:1.5rem;
    color:#111;
}


.logout-link{

    color:#dc3545 !important;

}

.header-actions a.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #ffffff;
    color: #111827;
    border: 1.5px solid #111827;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.header-actions a.login-btn:hover {
    background: #111827;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.15);
}

.header-actions a.login-btn:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 3px;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:30px;
}

.category-card{

    background:#fff;

    border-radius:18px;

    padding:40px 25px;

    text-align:center;

    border:1px solid #ececec;

    transition:.35s;

    cursor:pointer;

}

.category-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.08);

    border-color:#111;

}

.category-icon{

    width:85px;

    height:85px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    background:#f5f5f5;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.35s;

}

.category-card:hover .category-icon{

    transform:scale(1.1);

    background:#111;

}

.category-icon i{

    font-size:38px;

    color:#111;

    transition:.35s;

}

.category-card:hover .category-icon i{

    color:#fff;

}

.category-card h3{

    font-size:1.2rem;

    color:#222;

}

/* UI/UX Redesign Helpers */
.last-border-none:last-child {
    border-bottom: none !important;
}
.max-vh-40 {
    max-height: 40vh;
}
.max-vh-50 {
    max-height: 50vh;
}

/* Supplementary Spacing & Typography Utility Tokens */
.fs-7 {
    font-size: 0.8rem !important;
}
.fs-8 {
    font-size: 0.72rem !important;
}
.p-2\.5 {
    padding: 0.625rem !important;
}
.p-3\.5 {
    padding: 0.875rem !important;
}
.px-2\.5 {
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
}
.py-2\.5 {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
}
.gap-1\.5 {
    gap: 0.375rem !important;
}
.gap-2\.5 {
    gap: 0.625rem !important;
}
.gap-3\.5 {
    gap: 0.875rem !important;
}
.mb-1\.5 {
    margin-bottom: 0.375rem !important;
}
.mb-2\.5 {
    margin-bottom: 0.625rem !important;
}
.mb-3\.5 {
    margin-bottom: 0.875rem !important;
}
