.intro {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-style: italic;
    font-size: 18px;
}

#collection {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: bold;
}

.menu-toggle {
  display: none;
}

.navbar-premium {
  position: sticky;
  top: 0;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 70px;

  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 15px 35px rgba(0,0,0,0.05);
}

.nav-brand h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #111;
  position: relative;
}

.nav-brand h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;

  width: 40%;
  height: 2px;

  background: linear-gradient(90deg, #111, transparent);
  opacity: 0.5;
  border-radius: 10px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;

  list-style: none;
  margin: 0;
  padding: 0;

  position: relative;
}

.nav-links::before {
  position: absolute;
  left: -24px;

  width: 1px;
  height: 26px;

  background: rgba(0,0,0,0.08);
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  position: relative;
  display: inline-block;

  text-decoration: none;

  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;

  color: #444;

  padding: 10px 4px;

  transition: all 0.35s cubic-bezier(0.25, 1, 0.3, 1);
}

.nav-links li a::before {
  content: "";
  position: absolute;

  left: -12px;
  right: -12px;
  top: 50%;

  height: 0%;
  transform: translateY(-50%);

  background: rgba(0,0,0,0.04);

  border-radius: 10px;

  transition: all 0.35s ease;
  z-index: -1;
}

.nav-links li a::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: 5px;

  width: 0%;
  height: 2px;

  background: linear-gradient(90deg, #111, #666);

  border-radius: 10px;

  transition: all 0.35s ease;
}

.nav-links li a:hover {
  color: #111;
  transform: translateY(-1px);
  letter-spacing: 0.6px;
}

.nav-links li a:hover::before {
  height: 120%;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a.active {
  color: #111;
  font-weight: 600;
}

.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active::before {
  height: 120%;
  background: rgba(0,0,0,0.06);
}

.nav-links li a:active {
  transform: scale(0.97);
}

.nav-cart i {
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
  color: #333;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nav-cart:hover .cart-icon {
  transform: scale(1.18);
  color: #111;
}

.cart-badge {
  position: absolute;

  top: -6px;
  right: -6px;

  width: 18px;
  height: 18px;

  font-size: 10px;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: #111;

  border-radius: 50%;

  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.auth-buttons a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.3, 1);
}

.btn-login {
  color: #333;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
}

.btn-login:hover {
  color: #111;
  border-color: rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.04);
  transform: translateY(-0.5px);
}

.btn-register {
  color: #fff;
  background: #111;
  border: 1px solid #111;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.btn-register:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.btn-login:active,
.btn-register:active {
  transform: scale(0.96);
}

/* WRAPPER */
.avatar-container {
    position: relative;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* GRADIENT RING PREMIUM */
.avatar-ring {
    width: 100%;
    height: 100%;
    padding: 2.5px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #111827,
        #2563eb,
        #60a5fa,
        #111827
    );
    background-size: 300% 300%;
    animation: ringMove 6s ease infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* INNER CIRCLE */
.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #0f172a;
    border: 2px solid rgba(255,255,255,0.08);
}

.avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

/* STATUS DOT */
.avatar-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 11px;
    height: 11px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #0f172a;
    box-shadow: 0 0 10px rgba(34,197,94,0.6);
}

/* HOVER EFFECT */
.avatar-container:hover .avatar-ring {
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(37,99,235,0.35);
}

.avatar-container:hover img {
    transform: scale(1.08);
}

/* ANIMATION GRADIENT RING */
@keyframes ringMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* OPTIONAL: SOFT GLOW BACKDROP */
.avatar-container::before {
    content: "";
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(37,99,235,0.25),
        transparent 70%
    );
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.avatar-container:hover::before {
    opacity: 1;
}


/* =========================
   VIEW MODAL BASE
========================= */
.view-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* =========================
   VIEW BOX (PORTRAIT)
========================= */
.view-box {
    width: 380px;
    max-width: 92%;
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* =========================
   HEADER
========================= */
.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.view-header h4 {
    font-size: 17px;
    font-weight: 600;
}

.view-header span {
    font-size: 22px;
    cursor: pointer;
    color: #888;
    transition: 0.2s ease;
}

.view-header span:hover {
    color: #000;
}

/* =========================
   AVATAR (CIRCLE + HOVER)
========================= */
.view-left {
    display: flex;
    justify-content: center;
    margin: 10px 0 16px;
}

.view-image {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #2f6fed;
    background: #f3f4f6;
    position: relative;
    cursor: pointer;
    transition: 0.25s ease;
}

/* IMAGE */
.view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.25s ease;
}

/* HOVER EFFECT (ZOOM + GLOW) */
.view-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(47,111,237,0.25);
    border-color: #1e55c9;
}

/* overlay halus */
.view-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(47,111,237,0);
    transition: 0.25s ease;
}

.view-image:hover::after {
    background: rgba(47,111,237,0.08);
}

/* =========================
   DATA LIST (COMPACT & CLEAN)
========================= */
.view-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ROW */
.view-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f3f3f3;
}

/* LABEL */
.view-label {
    font-size: 12px;
    color: #777;
    min-width: 95px;
}

/* VALUE (NATURAL, TIDAK RATA KANAN) */
.view-value {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    flex: 1;
    text-align: left;
    word-break: break-word;
}

/* =========================
   ACTION BUTTONS
========================= */
.view-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* EDIT BUTTON */
.btn-view-edit {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    background: #2f6fed;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: 0.25s ease;
}

.btn-view-edit:hover {
    background: #1e55c9;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(47,111,237,0.25);
}

/* LOGOUT BUTTON */
.btn-view-logout {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    transition: 0.25s ease;
}

.btn-view-logout:hover {
    background: #ff4d4d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255,77,77,0.25);
}


/* =========================
   EDIT MODAL BASE
========================= */
.edit-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

/* =========================
   BOX
========================= */
.edit-box {
    width: 720px;
    max-width: 95%;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* =========================
   HEADER
========================= */
.edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 18px;
}

.edit-header h4 {
    font-size: 18px;
    font-weight: 600;
}

.edit-header span {
    font-size: 22px;
    cursor: pointer;
    color: #888;
    transition: 0.2s;
}

.edit-header span:hover {
    color: #000;
}

/* =========================
   CONTENT LAYOUT
========================= */
.edit-content {
    display: flex;
    gap: 28px;
}

/* =========================
   LEFT (AVATAR)
========================= */
.edit-left {
    width: 32%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* CLICKABLE AVATAR */
.edit-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid #2f6fed;
    transition: 0.25s ease;
    display: block;
}

/* IMAGE */
.edit-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.25s ease;
}

/* HOVER EFFECT */
.edit-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(47,111,237,0.25);
    border-color: #1e55c9;
}

/* CAMERA OVERLAY */
.avatar-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: #fff;
    opacity: 0;
    transition: 0.25s ease;
    background: rgba(0,0,0,0);
}

.edit-avatar:hover .avatar-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.25);
}

/* DELETE BUTTON */
.btn-delete-photo {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ff4d4d;
    background: transparent;
    color: #ff4d4d;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-delete-photo:hover {
    background: #ff4d4d;
    color: #fff;
}

/* =========================
   RIGHT (FORM)
========================= */
.edit-right {
    width: 68%;
}

.edit-right form {
    display: flex;
    flex-direction: column;
}

/* ROW */
.edit-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

/* LABEL */
.edit-row label {
    width: 30%;
    font-size: 13px;
    color: #666;
}

/* INPUT */
.edit-row input,
.edit-row textarea {
    width: 70%;
    padding: 9px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: 0.2s;
}

/* focus */
.edit-row input:focus,
.edit-row textarea:focus {
    border-color: #2f6fed;
}

/* =========================
   SAVE BUTTON
========================= */
.btn-edit-save {
    align-self: flex-end;
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #2f6fed;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: 0.25s ease;
}

/* hover button */
.btn-edit-save:hover {
    background: #1e55c9;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(47,111,237,0.25);
}

.storeTittle {
    padding: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: bold;
    color: whitesmoke;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.search-container {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 25px;
}

.search-container input {
    width: 300px;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    color: #333;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.search-container input::placeholder {
    color: #999;
}

.search-container input:focus {
    background: #fff;
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#categoryFilter {
    margin-top: 10px;
}

.filter-btn {
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 13px;
    color: #555;
    border: 1px solid #ddd;
    background: #fff;
    transition: 0.2s ease;
}

.filter-btn:hover {
    background: #f3f3f3;
    border-color: #ccc;
}

.filter-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.filter-btn:focus {
    box-shadow: none;
}

.product-wrapper {
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color: #9aa7b2 transparent;
}

.product-wrapper::-webkit-scrollbar {
    width: 8px;
}

.product-wrapper::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.product-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cfd9df, #9aa7b2);
    border-radius: 20px;
    border: 2px solid #fff;
}

.product-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b0bcc7, #7f8b96);
}

.product-scroll {
    padding: 16px;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.product-card {
    display: flex;
    justify-content: center;
}

.product-card .card {
    width: 100%;
    max-width: 380px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    transition: 0.25s ease;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card-img-top {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 14px 16px;
    background: #ffffff;
}

.card-text {
    font-weight: 500;
    font-size: 16px;
    text-align: left;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

.card-footer {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 8px 14px;
    display: flex;
    align-items: center;
}

.btnDetail {
    background: #0d6efd;
    color: #fff;
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
}

.btnDetail:hover {
    background: #0b5ed7;
}

.harga {
    margin-left: auto;
    font-size: 16px;
    font-weight: 700;
    color: #dc3545;
}

.modal-header .btn-close {
filter: brightness(0.4) grayscale(1);
opacity: 0.8;
transition: 0.2s;
}

.modal-header .btn-close:hover {
opacity: 1;
filter: brightness(0.2) grayscale(1);
}

.modal-dialog.modal-xl {
max-width: 900px;
}

.modal-content {
border-radius: 12px;
border: none;
overflow: hidden;
}

.modal-header {
background: #f8f9fa;
border-bottom: 1px solid #eee;
padding: 12px 18px;
}

.modal-title {
font-weight: 600;
font-size: 18px;
}

.modal-body {
padding: 14px;
}

.modalImage img {
width: 100%;
height: 260px;
object-fit: cover;
border-radius: 10px;
}

.product-description {
max-width: 100%;
padding: 0;
background: none;
box-shadow: none;
font-family: 'Poppins', sans-serif;
}

.product-title {
font-size: 20px;
font-weight: 600;
margin-bottom: 10px;
}

.product-text {
font-size: 14px;
line-height: 1.7;
margin-bottom: 15px;
color: #555;
text-align: justify;
}

.product-specs {
background: #fafafa;
padding: 14px;
border-radius: 10px;
}

.product-specs h4 {
font-size: 14px;
margin-bottom: 10px;
font-weight: 600;
}

.specs-grid {
display: grid;
grid-template-columns: 130px 1fr;
row-gap: 8px;
}

.spec-label {
font-weight: 500;
color: #333;
font-size: 13px;
position: relative;
}

.spec-label::after {
content: ":";
position: absolute;
right: 8px;
}

.spec-value {
color: #555;
font-size: 13px;
}

#ukuranSepatu,
#metodePembayaran {
border-radius: 8px;
font-size: 13px;
padding: 7px 10px;
}

.price-box {
text-align: left;
margin: 10px 0;
}

.modalHarga {
font-size: 18px;
font-weight: 700;
color: #dc3545;
}

.btnCheckout {
font-weight: 500;
padding: 9px;
border-radius: 8px;
font-size: 14px;
}

.btnBeli {
text-align: center;
width: 70px;
height: 35px;
}

.modal-body .col-md-6 {
padding: 10px 14px;
}

.order-list {
max-height: 350px;
overflow-y: auto;
overflow-x: hidden;
padding: 0;
}

.order-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 6px;
border-bottom: 1px solid #f1f1f1;
}

.order-item:last-child {
border-bottom: none;
}

.order-name {
font-size: 14px;
font-weight: 600;
}

.order-sub {
font-size: 12px;
color: #777;
}

.order-status {
font-size: 11px;
color: #0d6efd;
}

.order-price {
font-size: 13px;
font-weight: 600;
color: #dc3545;
}

/* ================= SUCCESS MODAL CARD ================= */
.success-card {
    border-radius: 16px;
    border: none;
    padding: 26px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
}

/* ================= ICON ================= */
.success-icon {
    font-size: 56px;
    color: #22c55e;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
    animation: popIn 0.4s ease;
}

/* animasi halus */
@keyframes popIn {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================= TITLE ================= */
.success-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

/* ================= LABEL ================= */
.success-card p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

/* ================= ORDER NUMBER ================= */
#successOrderNumber {
    font-weight: 700;
    font-size: 16px;
    color: #111;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* ================= SUCCESS MESSAGE (BANK / COD) ================= */
#successMessage {
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.5;
}

/* ================= BUTTON ================= */
.success-card .btn {
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 14px;
    transition: all 0.2s ease;
}

/* hover button */
.success-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* ================= PAYMENT BOX ================= */
.payment-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
}

/* Label payment biar konsisten */
.payment-box .form-label {
    font-size: 13px;
    margin-bottom: 6px;
}

/* Select bank biar sama dengan input lain */
#bankSelect {
    border-radius: 8px;
    font-size: 13px;
    padding: 7px 10px;
}

/* BANK INFO CARD */
.bank-info {
    border-radius: 10px;
    border: 1px solid #e9e9e9;
    background: #ffffff !important;
    padding: 10px 12px;
}

.bank-info .fw-semibold {
    font-size: 14px;
}

.bank-info .small {
    font-size: 12px;
}

/* COD BOX biar konsisten juga */
#codContainer .alert {
    border-radius: 10px;
    font-size: 13px;
    padding: 10px 12px;
}

/* Hover effect ringan biar modern */
.payment-box select:focus {
    box-shadow: none;
    border-color: #dc3545;
}