.nds-store-shell {
  box-sizing: border-box;
  clear: both;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

body.nds-hide-theme-title .post-title,
body.nds-hide-theme-title .entry-title,
body.nds-hide-theme-title .page-title,
body.nds-hide-theme-title .item-title,
body.nds-hide-theme-title .entry h1.title,
body.nds-hide-theme-title .content .post-title,
body.nds-hide-theme-title #content .post-title,
body.nds-hide-theme-title .single-post-title {
  display: none !important;
}

.nds-store-nav {
  align-items: center;
  background: #f3ecff;
  border: 1px solid #dfd0f5;
  border-radius: 999px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 22px;
  padding: 8px;
}

.nds-store-nav a {
  border-radius: 999px;
  color: #4b2b6f;
  font-weight: 700;
  padding: 9px 18px;
  text-decoration: none;
}

.nds-store-nav a:hover,
.nds-store-nav a.nds-active {
  background: #4b2b6f;
  color: #fff;
}

.nds-store-notices,
#nds-checkout-confirmation {
  background: #fff7d6;
  border: 1px solid #f5d76e;
  border-radius: 12px;
  color: #5f4100;
  margin: 0 0 18px;
  padding: 12px 14px;
}

.nds-store-notices p {
  margin: 0;
}

.nds-store-notices p + p {
  margin-top: 8px;
}

#nds-checkout-confirmation a {
  color: #4b2b6f;
  font-weight: 700;
}

.nds-store-shell *,
.nds-store-shell *::before,
.nds-store-shell *::after {
  box-sizing: border-box;
}

.nds-store-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin: 0;
  width: 100%;
}

.nds-product-card,
.nds-cart,
.nds-account,
.nds-order-card {
  background: #fffaf7;
  border: 1px solid #ead8c8;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(52, 28, 75, 0.08);
  padding: 20px;
}

.nds-product-card {
  min-width: 0;
}

.nds-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.nds-product-image {
  border-radius: 14px;
  display: block;
  height: auto;
  width: 100%;
}

.nds-product-placeholder {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f3ecff, #fff2f7);
  color: #4b2b6f;
  display: flex;
  font-weight: 700;
  justify-content: center;
  text-align: center;
}

.nds-single-product .nds-purchase-box {
  margin-top: 20px;
  max-width: 460px;
}

.nds-product-detail {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 420px) 1fr;
}

.nds-product-detail-title {
  color: #2c1740;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.nds-product-detail-image {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(52, 28, 75, 0.08);
  display: block;
  height: auto;
  width: 100%;
}

.nds-product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.nds-product-thumbs img {
  border: 1px solid #ead8c8;
  border-radius: 8px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.nds-product-description {
  margin-bottom: 18px;
}

.nds-price,
.nds-grand-total {
  color: #46245f;
  font-weight: 700;
}

.nds-sale {
  background: #f7c9dc;
  border-radius: 999px;
  color: #4a1731;
  display: inline-block;
  padding: 4px 10px;
}

.nds-stock-note {
  background: #fff7d6;
  border-radius: 10px;
  color: #5f4100;
  padding: 10px 12px;
}

.nds-add-to-cart-form,
#nds-checkout-form {
  display: grid;
  gap: 12px;
}

.nds-add-to-cart-form input,
.nds-add-to-cart-form select,
#nds-checkout-form input {
  border: 1px solid #d8bfd8;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
}

.nds-add-to-cart-form button,
#nds-checkout-form button,
#nds-card-button,
.nds-remove-cart-item {
  background: #4b2b6f;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  padding: 11px 18px;
}

.nds-cart-table {
  border-collapse: collapse;
  margin-bottom: 20px;
  width: 100%;
}

.nds-cart-table th,
.nds-cart-table td {
  border-bottom: 1px solid #ead8c8;
  padding: 10px;
  text-align: left;
}

.nds-total-box {
  background: #f3ecff;
  border-radius: 14px;
  padding: 16px;
}

.nds-hidden {
  display: none;
}

#nds-card-container {
  margin: 18px 0;
}

@media (min-width: 1100px) {
  .nds-store-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 640px) {
  .nds-store-nav {
    border-radius: 14px;
    justify-content: stretch;
  }

  .nds-store-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .nds-store-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .nds-product-detail {
    grid-template-columns: 1fr;
  }

  .nds-cart-table {
    display: block;
    overflow-x: auto;
  }
}
