/**
 * DealKart WooCommerce UI Stylesheet
 * Path: assets/css/woocommerce.css
 */

/* 1. Product Deal Cards */
.dk-deal-card {
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dk-deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  border-color: var(--dk-gray-300);
}

.dk-deal-card-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
}
.dk-badges-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dk-badge-discount {
  background: var(--dk-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.dk-badge-featured {
  background: #4338ca;
}
.dk-badge-hot {
  background: #f59e0b;
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.dk-wishlist-toggle {
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dk-gray-400);
  box-shadow: var(--dk-shadow-sm);
  transition: all 0.15s ease;
  padding: 0;
}
.dk-wishlist-toggle:hover {
  color: var(--dk-danger);
  transform: scale(1.1);
}
.dk-wishlist-toggle.active {
  color: var(--dk-danger);
  border-color: rgba(239, 68, 68, 0.3);
}

.dk-deal-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  overflow: hidden;
  padding: 12px;
  text-align: center;
  text-decoration: none;
}
.dk-deal-img-wrapper {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--dk-radius-sm);
  background: #ffffff;
  position: relative;
}
.dk-deal-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.dk-deal-card:hover .dk-deal-img {
  transform: scale(1.05);
}

.dk-deal-content {
  padding: 14px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--dk-gray-100);
}
.dk-deal-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.dk-deal-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dk-gray-500);
  letter-spacing: 0.5px;
}
.dk-stock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.dk-stock-badge.in-stock {
  background: #dcfce7;
  color: #166534;
}
.dk-stock-badge.out-of-stock {
  background: #fee2e2;
  color: #991b1b;
}

.dk-deal-title {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.dk-deal-title a {
  color: var(--dk-gray-900);
  text-decoration: none;
}
.dk-deal-title a:hover {
  color: var(--dk-primary);
}

.dk-rating-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.dk-rating-strip .star-rating {
  font-size: 12px;
  color: #f59e0b;
}
.dk-rating-count {
  font-size: 11px;
  color: var(--dk-gray-500);
}

.dk-deal-pricing {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dk-current-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--dk-primary);
}
.dk-current-price del {
  color: var(--dk-gray-400);
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
}
.dk-current-price ins {
  text-decoration: none;
}
.dk-save-pill {
  background: #dcfce7;
  color: #166534;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.dk-deal-actions {
  display: flex;
  gap: 8px;
}
.dk-btn-deal-cart {
  flex: 1;
  background: var(--dk-primary);
  color: #ffffff !important;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--dk-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--dk-font-sans);
}
.dk-btn-deal-cart:hover {
  background: var(--dk-primary-hover);
  transform: translateY(-1px);
}
.dk-btn-select-options {
  background: var(--dk-gray-900);
}
.dk-btn-select-options:hover {
  background: #000000;
}
.dk-btn-quickview {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--dk-gray-100);
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-sm);
  color: var(--dk-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dk-btn-quickview:hover {
  background: var(--dk-gray-200);
  color: var(--dk-gray-900);
}

/* 2. Single Product Layout */
.dk-single-product-main {
  padding: 20px 0 40px 0;
}
.dk-sp-breadcrumb-wrap {
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--dk-gray-500);
}
.dk-bc-sep {
  color: var(--dk-gray-300);
  margin: 0 4px;
}
.dk-sp-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  margin-bottom: 48px;
}

.dk-sp-gallery {
  position: relative;
  max-width: 650px;
  width: 100%;
}
.dk-sp-main-img-box {
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.dk-sp-main-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.dk-badge-sp-top {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 13px;
  padding: 4px 10px;
}
.dk-sp-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.dk-sp-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-sm);
  padding: 4px;
  cursor: pointer;
  background: #ffffff;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}
.dk-sp-thumb.active, .dk-sp-thumb:hover {
  border-color: var(--dk-primary);
}
.dk-sp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dk-sp-details {
  display: flex;
  flex-direction: column;
}
.dk-sp-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13px;
}
.dk-sp-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.dk-sp-stock.in-stock { color: var(--dk-success); }
.dk-sp-stock.out-of-stock { color: var(--dk-danger); }
.dk-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dk-success);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.dk-sp-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px 0;
  line-height: 1.25;
}
.dk-sp-ratings-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.dk-sp-stars .star-rating {
  color: #f59e0b;
}
.dk-sp-review-count {
  font-size: 13px;
  color: var(--dk-gray-500);
}
.dk-sp-verified-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--dk-success);
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 4px;
}

.dk-sp-price-box {
  background: var(--dk-gray-100);
  border-radius: var(--dk-radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.dk-sp-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.dk-sp-current-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--dk-primary);
}
.dk-sp-current-price del {
  color: var(--dk-gray-400);
  font-size: 18px;
  font-weight: 500;
}
.dk-sp-current-price ins {
  text-decoration: none;
}
.dk-sp-discount-pill {
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}
.dk-sp-tax-note {
  font-size: 12px;
  color: var(--dk-gray-500);
}

.dk-sp-short-desc {
  font-size: 14px;
  color: var(--dk-gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Pincode checker */
.dk-pincode-checker-box {
  background: var(--dk-gray-50, #f8fafc);
  border: 1px solid var(--dk-gray-200, #e2e8f0);
  border-radius: var(--dk-radius-md, 10px);
  padding: 14px 18px;
  margin-bottom: 22px;
}
.dk-pincode-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dk-gray-800, #1e293b);
  margin-bottom: 10px;
}
.dk-pincode-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}
.dk-pincode-input {
  border: 1.5px solid var(--dk-gray-300, #cbd5e1);
  border-radius: var(--dk-radius-md, 8px);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  width: 220px;
  outline: none;
  background: #ffffff;
  color: var(--dk-gray-900, #0f172a);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dk-pincode-input:focus {
  border-color: var(--dk-primary, #ff385c);
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.15);
}
.dk-btn-pincode-check {
  background: var(--dk-gray-900, #0f172a);
  color: #ffffff;
  border: none;
  border-radius: var(--dk-radius-md, 8px);
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dk-btn-pincode-check:hover {
  background: var(--dk-primary, #ff385c);
  transform: translateY(-1px);
}
.dk-pincode-result {
  margin-top: 8px;
  font-size: 12px;
}
.dk-pin-success {
  color: #166534;
  font-weight: 600;
}

/* -------------------------------------------------------------
 * SINGLE PRODUCT PURCHASE FORM & VARIATIONS (1-ROW LAYOUT)
 * ------------------------------------------------------------- */
.dk-sp-form-wrap {
  margin-bottom: 20px;
}
.dk-sp-form-wrap form.cart:not(.variations_form) {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin-bottom: 16px !important;
}

/* Variable Products Form - Align Color, Count & Add to Cart in 1 Row */
.dk-sp-form-wrap form.variations_form {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  gap: 12px !important;
  width: 100% !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
}

.dk-sp-form-wrap table.variations {
  width: auto !important;
  flex: 1 1 200px !important;
  min-width: 180px !important;
  border-collapse: collapse !important;
  border: none !important;
  margin: 0 !important;
  background: transparent !important;
}
.dk-sp-form-wrap table.variations tbody,
.dk-sp-form-wrap table.variations tr {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.dk-sp-form-wrap table.variations th.label {
  padding: 0 !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--dk-gray-800, #1e293b) !important;
  text-align: left !important;
  line-height: 1 !important;
}
.dk-sp-form-wrap table.variations th.label label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--dk-gray-800, #1e293b) !important;
  margin: 0 !important;
}
.dk-sp-form-wrap table.variations td.value {
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}
.dk-sp-form-wrap table.variations select {
  width: 100% !important;
  height: 48px !important;
  padding: 0 32px 0 14px !important;
  border: 1.5px solid var(--dk-gray-300, #cbd5e1) !important;
  border-radius: var(--dk-radius-md, 8px) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--dk-gray-800, #1e293b) !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.dk-sp-form-wrap table.variations select:focus {
  border-color: var(--dk-primary, #ff385c) !important;
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.15) !important;
}
.dk-sp-form-wrap .reset_variations {
  position: absolute !important;
  right: 0 !important;
  top: -18px !important;
  font-size: 11px !important;
  color: var(--dk-primary, #ff385c) !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

/* Single Variation Wrapper & Add to Cart Area */
.dk-sp-form-wrap .single_variation_wrap {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.dk-sp-form-wrap .woocommerce-variation {
  width: 100% !important;
}
.dk-sp-form-wrap .woocommerce-variation:not(:empty) {
  margin-bottom: 8px !important;
}
.dk-sp-form-wrap .woocommerce-variation-price {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--dk-primary, #ff385c) !important;
}
.dk-sp-form-wrap .woocommerce-variation-availability {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #16a34a !important;
}

.dk-sp-form-wrap .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
}

/* Quantity Input */
.dk-sp-form-wrap .quantity {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.dk-sp-form-wrap .quantity input.qty {
  width: 54px !important;
  height: 44px !important;
  text-align: center !important;
  border: 1.5px solid var(--dk-gray-300, #cbd5e1) !important;
  border-radius: var(--dk-radius-md, 8px) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--dk-gray-900, #0f172a) !important;
  background: #ffffff !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.dk-sp-form-wrap .quantity input.qty:focus {
  border-color: var(--dk-primary, #ff385c) !important;
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.15) !important;
}

/* Single Add to Cart Button (Compact style like Check button) */
.dk-sp-form-wrap .single_add_to_cart_button {
  flex: 0 0 auto !important;
  width: auto !important;
  height: 44px !important;
  padding: 0 24px !important;
  background: var(--dk-primary, #ff385c) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--dk-radius-md, 8px) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: var(--dk-font-sans) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 3px 10px rgba(255, 56, 92, 0.2) !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
}
.dk-sp-form-wrap .single_add_to_cart_button:hover:not(:disabled) {
  background: var(--dk-primary-hover, #e02447) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(255, 56, 92, 0.3) !important;
}
.dk-sp-form-wrap .single_add_to_cart_button.disabled,
.dk-sp-form-wrap .single_add_to_cart_button:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  background: var(--dk-primary, #ff385c) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Secondary Actions: Buy Now & Wishlist */
.dk-sp-secondary-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dk-btn-buynow {
  flex: 1;
  min-width: 220px;
  height: 46px;
  background: #f59e0b !important;
  color: #000000 !important;
  font-size: 14px;
  font-weight: 800;
  padding: 0 20px;
  border-radius: var(--dk-radius-md, 8px);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.dk-btn-buynow:hover {
  background: #d97706 !important;
  transform: translateY(-1px);
}
.dk-btn-sp-wishlist {
  width: auto !important;
  height: 46px !important;
  border-radius: var(--dk-radius-md, 8px) !important;
  padding: 0 20px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--dk-gray-300, #cbd5e1) !important;
  color: var(--dk-gray-700, #334155) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: var(--dk-font-sans) !important;
  box-shadow: var(--dk-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05)) !important;
}
.dk-btn-sp-wishlist:hover {
  border-color: var(--dk-primary, #ff385c) !important;
  color: var(--dk-primary, #ff385c) !important;
  background: #fef2f2 !important;
  transform: translateY(-1px) !important;
}
.dk-btn-sp-wishlist.active {
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  background: #fef2f2 !important;
}

.dk-sp-shipping-box {
  background: var(--dk-gray-50);
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dk-sp-ship-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}
.dk-ship-icon {
  font-size: 16px;
}
.dk-sp-ship-item strong {
  color: var(--dk-gray-900);
}
.dk-sp-ship-item span {
  color: var(--dk-gray-500);
  display: block;
}

/* Product Tabs */
.dk-sp-tabs-wrap {
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}
.dk-sp-tab-nav {
  display: flex;
  background: var(--dk-gray-100);
  border-bottom: 1px solid var(--dk-gray-200);
  overflow-x: auto;
}
.dk-tab-btn {
  background: transparent;
  border: none;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dk-gray-600);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-family: var(--dk-font-sans);
}
.dk-tab-btn.active {
  color: var(--dk-primary);
  border-bottom-color: var(--dk-primary);
  background: #ffffff;
}
.dk-tab-content-box {
  padding: 28px;
}
.dk-tab-panel {
  display: none;
}
.dk-tab-panel.active {
  display: block;
}
.dk-tab-heading {
  font-size: 18px;
  margin: 0 0 16px 0;
}
.dk-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.dk-specs-table th, .dk-specs-table td {
  padding: 10px 14px;
  border: 1px solid var(--dk-gray-200);
  font-size: 13px;
  text-align: left;
}
.dk-specs-table th {
  background: var(--dk-gray-50);
  color: var(--dk-gray-700);
  width: 30%;
}

.dk-reviews-header-breakdown {
  display: flex;
  gap: 36px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--dk-gray-200);
}
.dk-rh-score {
  text-align: center;
  flex-shrink: 0;
}
.dk-rh-big-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--dk-gray-900);
  line-height: 1;
}
.dk-rh-total {
  font-size: 12px;
  color: var(--dk-gray-500);
  display: block;
  margin-top: 4px;
}
.dk-rh-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.dk-rh-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--dk-gray-600);
}
.dk-rh-track {
  flex: 1;
  height: 8px;
  background: var(--dk-gray-200);
  border-radius: 999px;
  overflow: hidden;
}
.dk-rh-fill {
  background: #f59e0b;
  height: 100%;
  border-radius: 999px;
}

.dk-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dk-faq-item {
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-sm);
  padding: 14px 18px;
  background: var(--dk-gray-50);
}
.dk-faq-item h4 {
  font-size: 14px;
  margin: 0 0 6px 0;
  color: var(--dk-gray-900);
}
.dk-faq-item p {
  font-size: 13px;
  margin: 0;
  color: var(--dk-gray-600);
}

.dk-mobile-sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--dk-gray-200);
  padding: 10px 16px;
  z-index: 9998;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}
.dk-msb-thumb {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--dk-gray-200);
}
.dk-msb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dk-msb-info {
  flex: 1;
}
.dk-msb-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--dk-primary);
}
.dk-msb-save {
  font-size: 10px;
  font-weight: 800;
  color: var(--dk-success);
  margin-left: 6px;
}
/* 3. Shop & Archive Page Layout */
.dk-shop-container {
  padding: 20px 0 40px 0;
}
.dk-shop-header {
  margin-bottom: 20px;
}
.dk-shop-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px 0;
}
.dk-shop-subtitle {
  font-size: 14px;
  color: var(--dk-gray-500);
  margin: 0;
}

.dk-shop-cat-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.dk-cat-pill {
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  padding: 8px 16px;
  border-radius: var(--dk-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--dk-gray-700);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dk-cat-pill:hover, .dk-cat-pill.active {
  background: var(--dk-primary);
  color: #ffffff !important;
  border-color: var(--dk-primary);
}
.dk-pill-count {
  font-size: 11px;
  opacity: 0.8;
}

.dk-shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.dk-shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dk-sidebar-mobile-header {
  display: none;
}
.dk-sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-md);
  padding: 18px 20px;
}
.dk-widget-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--dk-gray-100);
}
.dk-widget-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dk-widget-cat-list li {
  margin-bottom: 8px;
}
.dk-widget-cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dk-gray-700);
  font-size: 13px;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.dk-widget-cat-list li a:hover, .dk-widget-cat-list li.active a {
  color: var(--dk-primary);
  font-weight: 700;
}
.dk-cat-badge {
  background: var(--dk-gray-100);
  color: var(--dk-gray-500);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
}

.dk-sidebar-trust-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--dk-radius-md);
  padding: 18px 20px;
}
.dk-sidebar-trust-card h4 {
  font-size: 14px;
  margin: 0 0 10px 0;
  color: #92400e;
}
.dk-sidebar-trust-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dk-sidebar-trust-card li {
  font-size: 12px;
  color: #78350f;
  margin-bottom: 6px;
}

.dk-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-md);
  padding: 12px 18px;
}
.dk-toolbar-count {
  font-size: 13px;
  color: var(--dk-gray-600);
}
.dk-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dk-btn-mobile-filter {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--dk-gray-100);
  border: 1px solid var(--dk-gray-300);
  border-radius: var(--dk-radius-sm);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.dk-toolbar-ordering select {
  border: 1px solid var(--dk-gray-300);
  border-radius: var(--dk-radius-sm);
  padding: 6px 10px;
  font-size: 13px;
  color: var(--dk-gray-700);
  outline: none;
  background: #ffffff;
}

/* 4. Cart Page Layout */
.dk-cart-page-wrapper {
  padding: 20px 0 50px 0;
}
.dk-cart-progress-box {
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.dk-cart-progress-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}
.dk-cart-progress-icon {
  font-size: 20px;
}
.dk-cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 36px;
  align-items: start;
}

.dk-cart-table-wrap {
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.dk-cart-table {
  width: 100%;
  border-collapse: collapse;
}
.dk-cart-table th {
  background: var(--dk-gray-100);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dk-gray-700);
  text-align: left;
}
.dk-cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--dk-gray-100);
  vertical-align: middle;
}
.dk-cart-table .product-thumbnail {
  width: 70px;
}
.dk-cart-table .product-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--dk-radius-sm);
  border: 1px solid var(--dk-gray-200);
}
.dk-cart-item-title-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dk-cart-item-title-link {
  font-weight: 700;
  color: var(--dk-gray-900);
  font-size: 14px;
}
.dk-cart-sale-pill {
  font-size: 10px;
  font-weight: 800;
  color: var(--dk-primary);
}
.dk-cart-unit-price {
  font-weight: 600;
  font-size: 14px;
}
.dk-qty-stepper-wrap .quantity input.qty {
  width: 48px;
  height: 36px;
  text-align: center;
  border: 1px solid var(--dk-gray-300);
  border-radius: 4px;
  font-weight: 700;
}
.dk-cart-line-total {
  font-weight: 800;
  font-size: 15px;
  color: var(--dk-primary);
}
.dk-cart-remove-btn {
  color: var(--dk-gray-400);
  font-size: 20px;
  padding: 6px;
  text-decoration: none;
}
.dk-cart-remove-btn:hover {
  color: var(--dk-danger);
}

.dk-cart-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-lg);
  padding: 20px;
}
.dk-coupon-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.dk-coupon-field {
  border: 1px solid var(--dk-gray-300);
  border-radius: var(--dk-radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  width: 220px;
  outline: none;
}
.dk-coupon-field:focus {
  border-color: var(--dk-primary);
}
.dk-btn-coupon {
  background: var(--dk-gray-900);
  color: #ffffff;
  border: none;
  border-radius: var(--dk-radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.dk-quick-coupons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dk-qc-label {
  font-size: 12px;
  color: var(--dk-gray-500);
}
.dk-qc-chip {
  background: #fff7ed;
  border: 1px dashed #ea580c;
  color: #ea580c;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.dk-cart-update-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dk-btn-update-cart {
  padding: 8px 16px;
}
.dk-btn-text {
  color: var(--dk-gray-600) !important;
  font-size: 13px;
}

.dk-order-summary-card {
  background: #ffffff;
  border: 1px solid var(--dk-gray-200);
  border-radius: var(--dk-radius-lg);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.dk-summary-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 18px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dk-gray-200);
}
.dk-summary-trust-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--dk-gray-200);
}
.dk-st-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}
.dk-st-item strong {
  display: block;
  color: var(--dk-gray-900);
}
.dk-st-item p {
  margin: 0;
  color: var(--dk-gray-500);
}

/* 5. Checkout Page Layout */
.dk-checkout-page-wrapper {
  padding: 20px 0 60px 0;
}
.dk-checkout-security-bar {
  display: flex;
  justify-content: space-around;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--dk-radius-md);
  padding: 12px 20px;
  margin-bottom: 28px;
}
.dk-csb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #065f46;
}

.dk-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 36px;
  align-items: start;
}

.dk-checkout-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.dk-card-header-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.dk-step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dk-primary, #ff385c) 0%, #e11d48 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 56, 92, 0.35);
  margin-top: 2px;
}

.dk-card-header-text {
  flex: 1;
}

.dk-step-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.dk-step-sub {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* Hide duplicate WooCommerce default h3 headings */
.dk-billing-card .woocommerce-billing-fields > h3,
.woocommerce-billing-fields > h3,
.dk-shipping-card .woocommerce-shipping-fields > h3:not(#ship-to-different-address) {
  display: none !important;
}

/* 2-Column Responsive CSS Grid for Form Fields */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 16px;
}

.woocommerce-checkout .form-row {
  margin: 0 0 2px 0;
  padding: 0;
  float: none !important;
  width: 100% !important;
  clear: none !important;
  display: flex;
  flex-direction: column;
}

/* Grid Column Spans */
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-additional-fields__field-wrapper .form-row-wide,
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_email_field,
#billing_company_field,
#shipping_country_field,
#shipping_address_1_field,
#shipping_address_2_field,
#shipping_company_field,
#order_comments_field {
  grid-column: span 2;
}

#billing_first_name_field,
#billing_last_name_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#billing_phone_field,
#shipping_first_name_field,
#shipping_last_name_field,
#shipping_city_field,
#shipping_state_field,
#shipping_postcode_field {
  grid-column: span 1;
}

/* Form Field Labels */
.woocommerce-checkout .form-row label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.woocommerce-checkout .form-row label .required {
  color: #ef4444;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.woocommerce-checkout .form-row label .optional {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}

/* Modern Input, Select & Textarea Styling */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row .woocommerce-input-wrapper input[type="text"],
.woocommerce-checkout .form-row .woocommerce-input-wrapper input[type="email"],
.woocommerce-checkout .form-row .woocommerce-input-wrapper input[type="tel"] {
  width: 100%;
  height: 48px;
  padding: 11px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.woocommerce-checkout .form-row textarea {
  min-height: 90px;
  height: auto;
  resize: vertical;
}

.woocommerce-checkout .form-row input.input-text:hover,
.woocommerce-checkout .form-row select:hover,
.woocommerce-checkout .form-row textarea:hover {
  border-color: #cbd5e1;
  background-color: #ffffff;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row .woocommerce-input-wrapper input:focus {
  border-color: var(--dk-primary, #ff385c);
  background-color: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(255, 56, 92, 0.12);
}

/* Custom dropdown arrow for native selects */
.woocommerce-checkout .form-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Select2 dropdown enhancements for Country / State */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 48px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.woocommerce-checkout .select2-container--default .select2-selection--single:hover {
  border-color: #cbd5e1;
  background-color: #ffffff;
}
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--dk-primary, #ff385c);
  background-color: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(255, 56, 92, 0.12);
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding-left: 16px;
  padding-right: 40px;
  color: #0f172a;
  font-size: 14.5px;
  font-weight: 500;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 12px;
  width: 20px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #64748b transparent transparent transparent;
}
.woocommerce-checkout .select2-dropdown {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-top: 4px;
}
.woocommerce-checkout .select2-results__option--highlighted[aria-selected] {
  background-color: var(--dk-primary, #ff385c);
  color: #ffffff;
}

/* Step 2: Delivery Speed Pill */
.dk-delivery-speed-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.dk-dsp-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dk-dsp-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}

.dk-dsp-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.dk-dsp-title-row strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #14532d;
}

.dk-dsp-badge {
  background: #16a34a;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.dk-dsp-info p {
  margin: 0;
  font-size: 13px;
  color: #166534;
  line-height: 1.4;
}

/* Ship to different address toggle */
.dk-ship-different-toggle-wrap {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dk-ship-different-toggle-wrap:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.dk-custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin: 0 !important;
}

.dk-custom-checkbox-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin-top: 3px !important;
  accent-color: var(--dk-primary, #ff385c);
  cursor: pointer;
}

.dk-checkbox-text strong {
  display: block;
  font-size: 14px;
  color: #1e293b;
  font-weight: 700;
}

.dk-checkbox-text small {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 1px;
}

/* Order notes section */
.dk-order-notes-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.dk-notes-heading {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dk-checkout-sticky-summary {
  position: sticky;
  top: 90px;
}
.dk-checkout-guarantees {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--dk-gray-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dk-cg-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}
.dk-cg-item strong {
  display: block;
  color: var(--dk-gray-900);
}
.dk-cg-item p {
  margin: 0;
  color: var(--dk-gray-500);
}
.dk-checkout-cards-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--dk-gray-200);
  font-size: 11px;
  color: var(--dk-gray-500);
}
/* ============================================================
   THANK YOU / ORDER RECEIVED PAGE
   ============================================================ */
.dk-thankyou-page {
  padding: 10px 0 60px 0;
  max-width: 1140px;
  margin: 0 auto;
}

/* 1. Hero Card */
.dk-thankyou-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid #bbf7d0;
  border-radius: 16px;
  padding: 36px 30px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dk-ty-icon-wrap {
  margin-bottom: 16px;
}

.dk-ty-check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  border: 3px solid #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  animation: dkScaleIn 0.4s ease-out;
}

@keyframes dkScaleIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.dk-ty-badge {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.dk-ty-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.dk-ty-sub {
  font-size: 15px;
  color: #475569;
  max-width: 600px;
  margin: 0 0 24px 0;
  line-height: 1.55;
}

.dk-ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.dk-btn-ty-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dk-primary, #ff385c);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.25);
  transition: all 0.2s ease;
}

.dk-btn-ty-primary:hover {
  background: #e11d48;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 56, 92, 0.35);
}

.dk-btn-ty-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dk-btn-ty-outline:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.dk-btn-ty-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dk-btn-ty-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* 2. Order Overview 4-Stat Grid */
.dk-order-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dk-oog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
}

.dk-oog-icon {
  font-size: 24px;
}

.dk-oog-content {
  display: flex;
  flex-direction: column;
}

.dk-oog-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.dk-oog-val {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.dk-oog-total {
  color: var(--dk-primary, #ff385c);
}

/* 3. Live Order Stepper */
.dk-order-stepper-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.dk-stepper-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.dk-stepper-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.dk-stepper-status-badge {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.dk-stepper-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dk-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dk-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
}

.dk-step-item.completed .dk-step-dot {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.dk-step-item.active .dk-step-dot {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.dk-step-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.dk-step-info span {
  font-size: 12px;
  color: #64748b;
}

.dk-step-line {
  flex: 1;
  height: 3px;
  background: #e2e8f0;
  margin: 0 12px;
  border-radius: 999px;
}

.dk-step-line.active {
  background: #10b981;
}

/* 4. Main Two Column Grid */
.dk-order-details-grid-wrapper {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Left: Order Items Card */
.dk-thankyou-items-card {
  padding: 24px 28px;
}

.dk-thankyou-table {
  width: 100%;
  border-collapse: collapse;
}

.dk-thankyou-table thead tr th {
  padding: 12px 16px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.dk-thankyou-table thead tr th.product-total {
  text-align: right;
}

.dk-thankyou-item-row td {
  padding: 16px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.dk-ty-prod-flex {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dk-ty-prod-thumb {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dk-ty-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dk-ty-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
}

.dk-ty-item-title:hover {
  color: var(--dk-primary, #ff385c);
}

.dk-ty-qty-tag {
  display: inline-block;
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

.dk-ty-item-total {
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

/* Totals rows */
.dk-thankyou-tfoot tr th,
.dk-thankyou-tfoot tr td {
  padding: 12px 16px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #f8fafc;
}

.dk-thankyou-tfoot tr th {
  text-align: left;
  font-weight: 600;
}

.dk-thankyou-tfoot tr td {
  text-align: right;
  font-weight: 700;
}

.dk-grand-total-row th,
.dk-grand-total-row td {
  padding: 16px;
  border-top: 2px solid #e2e8f0;
  border-bottom: none !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  background: #f8fafc;
  border-radius: 8px;
}

.dk-grand-total-row td {
  color: var(--dk-primary, #ff385c) !important;
}

.dk-order-note-row th,
.dk-order-note-row td {
  font-size: 13px;
  color: #64748b;
  background: #fffbeb;
  border-radius: 6px;
}

/* Right Side: Customer Details & Support */
.dk-cust-detail-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.dk-cdb-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dk-badge-contact {
  color: #2563eb;
}

.dk-cdb-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: #1e293b;
}

.dk-cdb-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dk-cdb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}

/* Support Box */
.dk-thankyou-support-card {
  padding: 22px;
  background: #fafafa;
}

.dk-support-title {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.dk-thankyou-support-card p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px 0;
  line-height: 1.45;
}

.dk-support-actions {
  display: flex;
  gap: 10px;
}

.dk-support-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dk-support-btn:hover {
  border-color: var(--dk-primary, #ff385c);
  color: var(--dk-primary, #ff385c);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .dk-shop-layout {
    grid-template-columns: 1fr;
  }
  .dk-shop-sidebar {
    display: none;
  }
  .dk-btn-mobile-filter {
    display: inline-flex;
  }
  .dk-cart-layout-grid,
  .dk-checkout-grid,
  .dk-order-details-grid-wrapper {
    grid-template-columns: 1fr;
  }
  .dk-order-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dk-sp-top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dk-mobile-sticky-buy-bar {
    display: flex;
  }
  .dk-checkout-security-bar {
    flex-direction: column;
    gap: 6px;
  }
  .dk-reviews-header-breakdown {
    flex-direction: column;
    gap: 16px;
  }
  .dk-cart-bottom-actions {
    flex-direction: column;
  }
  .dk-coupon-field {
    width: 100%;
  }
  .dk-thankyou-hero-card {
    padding: 24px 16px;
  }
  .dk-ty-title {
    font-size: 20px;
  }
  .dk-stepper-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .dk-step-line {
    width: 2px;
    height: 20px;
    margin: -4px 0 -4px 15px;
  }
  .dk-support-actions {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .dk-checkout-card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .dk-order-overview-grid {
    grid-template-columns: 1fr;
  }
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper,
  .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .woocommerce-billing-fields__field-wrapper .form-row,
  .woocommerce-shipping-fields__field-wrapper .form-row,
  .woocommerce-additional-fields__field-wrapper .form-row,
  #billing_first_name_field,
  #billing_last_name_field,
  #billing_city_field,
  #billing_state_field,
  #billing_postcode_field,
  #billing_phone_field {
    grid-column: span 1 !important;
  }
}
