/* Drum custom WooCommerce layouts + auth modal */
:root {
  --drum-primary: var(--ast-global-color-0, #1e73be);
  --drum-primary-dark: var(--ast-global-color-1, #155d96);
  --drum-accent: #ff6a3d;
  --drum-ink: #1d2327;
  --drum-muted: #6b7280;
  --drum-card: #ffffff;
  --drum-line: rgba(20, 23, 28, 0.08);
  --drum-shadow: 0 12px 36px rgba(18, 20, 24, 0.12);
}

/* Shop */
.post-type-archive-product .ast-container,
.tax-product_cat .ast-container,
.tax-product_tag .ast-container,
body[class*="tax-pa_"] .ast-container {
  margin-left: auto;
  margin-right: auto;
  max-width: none !important;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.post-type-archive-product.ast-separate-container .ast-woocommerce-container,
.tax-product_cat.ast-separate-container .ast-woocommerce-container,
.tax-product_tag.ast-separate-container .ast-woocommerce-container,
body[class*="tax-pa_"].ast-separate-container .ast-woocommerce-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 !important;
  background: transparent;
}
.drum-shop-page {
  width: 100%;
  margin: 0;
}
.drum-shop-page .drum-shop-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.drum-shop-page .banner-archive {
  padding: 38px 0 26px;
  background: linear-gradient(180deg, #f8f9fb, #ffffff 70%);
  border-bottom: 1px solid var(--drum-line);
}
.drum-shop-banner.has-banner {
  background: var(--drum-shop-banner) center/cover no-repeat;
  position: relative;
}
.drum-shop-banner.has-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}
.drum-shop-banner.has-banner .container {
  position: relative;
  z-index: 1;
}
.drum-shop-banner.has-banner .archive-title,
.drum-shop-banner.has-banner .archive-desc {
  color: #fff;
}
.drum-shop-banner.has-banner .archive-desc {
  opacity: 0.9;
}
.drum-shop-banner.has-banner .archive-title,
.drum-shop-banner.has-banner .archive-desc {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.drum-shop-page .archive-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--drum-ink);
  margin: 0 0 6px;
}
.post-type-archive-product .main-header-menu a,
.tax-product_cat .main-header-menu a,
.tax-product_tag .main-header-menu a,
.woocommerce-shop .main-header-menu a {
  color: #111 !important;
}
.post-type-archive-product .ast-primary-header-bar,
.tax-product_cat .ast-primary-header-bar,
.tax-product_tag .ast-primary-header-bar,
.woocommerce-shop .ast-primary-header-bar {
  background: #fff !important;
}
.post-type-archive-product .main-header-menu a:hover,
.tax-product_cat .main-header-menu a:hover,
.tax-product_tag .main-header-menu a:hover,
.woocommerce-shop .main-header-menu a:hover {
  color: #e53935 !important;
}
.drum-shop-page .archive-desc {
  color: var(--drum-muted);
  margin: 0;
}
.drum-shop-page .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 24px 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--drum-line);
  border-radius: 14px;
  background: #fff;
}
.drum-shop-page .filter-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.drum-shop-page .filter-item > span {
  font-weight: 600;
  color: var(--drum-ink);
  letter-spacing: 0.02em;
}
.drum-shop-page .filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.drum-shop-page .filter a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(229, 57, 53, 0.08);
  color: #b71c1c;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
}
.drum-shop-page .filter a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.25);
  background: rgba(229, 57, 53, 0.18);
}
.drum-shop-page .filter a.active {
  background: #e53935;
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 57, 53, 0.35);
}
.drum-shop-page .filter a.is-hidden {
  display: none;
}
.drum-shop-page .filter-item-order {
  flex-basis: 100%;
}
.drum-shop-page .filter-item-reset .filter a {
  background: #fff3cd;
  color: #8a5a00;
  border-color: rgba(138, 90, 0, 0.2);
}
.drum-shop-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 30px;
}
.drum-shop-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px;
  background: var(--drum-card);
  border: 1px solid var(--drum-line);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.drum-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--drum-shadow);
  border-color: rgba(30, 115, 190, 0.35);
}
.drum-shop-card .img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #f2f4f8;
}
.drum-shop-card .img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.drum-shop-card:hover .img img {
  transform: scale(1.03);
}
.drum-shop-card .cat {
  display: inline-flex;
  font-size: 12px;
  color: var(--drum-primary);
  margin-bottom: 6px;
}
.drum-shop-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--drum-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.drum-shop-card__price {
  margin-top: 0;
  padding-top: 0;
  font-weight: 700;
  color: var(--drum-primary-dark);
}
.drum-shop-card__footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.drum-shop-card__cart {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.drum-shop-card__cart .button,
.drum-shop-card__cart a.button,
.drum-shop-card__cart .added_to_cart {
  margin: 0 !important;
  white-space: nowrap;
  border-radius: 10px !important;
  padding: 7px 10px !important;
  line-height: 1.2 !important;
  font-size: 12px !important;
}
.drum-shop-card__cart .button.loading::after {
  top: 50%;
  transform: translateY(-50%);
}
.drum-shop-page.is-loading .filters,
.drum-shop-page.is-loading #posts,
.drum-shop-page.is-loading .drum-pagination {
  opacity: 0.55;
  pointer-events: none;
}
.drum-pagination {
  margin: 16px 0 34px;
  display: flex;
  justify-content: center;
}
.drum-pagination .woocommerce-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}
.drum-pagination .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 0;
}
.drum-pagination .woocommerce-pagination ul li {
  margin: 0;
  border: 0;
  padding: 0;
}
.drum-pagination .woocommerce-pagination a,
.drum-pagination .woocommerce-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(229, 57, 53, 0.25);
  color: #b71c1c;
  background: #fffdfd;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.drum-pagination .woocommerce-pagination a:hover {
  transform: translateY(-1px);
  background: #fff3f3;
  box-shadow: 0 8px 18px rgba(229, 57, 53, 0.22);
}
.drum-pagination .woocommerce-pagination .current {
  background: #e53935;
  color: #fff;
  border-color: #e53935;
  box-shadow: 0 8px 18px rgba(229, 57, 53, 0.28);
}

/* Single product */
.drum-product {
  margin: 20px 0 60px;
}
.drum-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
}
.drum-product__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.drum-share-btn {
  border: 1px solid rgba(30, 115, 190, 0.3);
  background: #fff;
  color: var(--drum-primary-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.drum-share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(30, 115, 190, 0.16);
}
.drum-product__title h1 {
  font-size: 28px;
  margin: 0 0 6px;
}
.drum-product__subtitle {
  color: var(--drum-muted);
  font-size: 14px;
}
.drum-product__meta {
  display: flex;
  gap: 12px;
  color: var(--drum-muted);
  font-size: 13px;
  margin: 8px 0 16px;
}
.drum-preview {
  border-radius: 16px;
  border: 1px solid var(--drum-line);
  overflow: hidden;
  background: #f8f9fb;
  position: relative;
}
.drum-preview__track {
  display: flex;
  gap: 12px;
  padding: 12px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.drum-preview__item {
  flex: 0 0 100%;
  display: none;
  position: relative;
}
.drum-preview__item.is-active {
  display: block;
}
.drum-preview__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #fff;
}
.drum-preview__overlay {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  color: var(--drum-ink);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.drum-preview__nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.drum-preview__btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.95);
  color: #1d2327;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(18, 22, 28, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.drum-preview__btn:hover {
  transform: translateY(-50%) scale(1.06);
  background: #fff;
  color: var(--drum-primary-dark);
  border-color: rgba(30, 115, 190, 0.4);
  box-shadow: 0 14px 28px rgba(30, 115, 190, 0.22);
}
.drum-preview__btn:active {
  transform: translateY(-50%) scale(0.98);
}
.drum-preview__btn.is-disabled {
  opacity: 0.65;
  color: #9ba3af;
  background: rgba(245, 247, 251, 0.95);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: none;
  cursor: not-allowed;
}
.drum-preview__btn--prev { left: 12px; }
.drum-preview__btn--next { right: 12px; }
.drum-preview__indicator {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
}
.drum-preview-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}
.drum-preview-modal.is-open {
  display: flex;
}
.drum-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 28, 0.75);
}
.drum-preview-panel {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}
.drum-preview-panel img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  background: #fff;
  display: block;
}
.drum-preview-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--drum-ink);
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}
.drum-video {
  margin: 18px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--drum-line);
  background: #000;
}
.drum-video iframe,
.drum-video video {
  width: 100%;
  height: 420px;
  display: block;
}
.drum-pdf-preview {
  margin: 18px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--drum-line);
  background: #f6f7fb;
  position: relative;
}
.drum-pdf-preview iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
  background: #fff;
}
.drum-pdf-preview.is-locked iframe {
  filter: none;
  pointer-events: none;
}
.drum-pdf-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.52));
  backdrop-filter: saturate(0.95);
}
.drum-info {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--drum-line);
  border-radius: 16px;
  background: #fff;
}
.drum-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.drum-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f5f7fb;
  font-size: 13px;
  color: var(--drum-ink);
}
.drum-badge__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--drum-primary), var(--drum-accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.drum-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 20px;
}
.drum-info-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(20, 23, 28, 0.08);
}
.drum-info-item span:first-child {
  color: var(--drum-muted);
}
.drum-product__sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(20, 23, 28, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fafbfd);
  box-shadow: 0 16px 32px rgba(18, 22, 28, 0.08);
}
.drum-purchase-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--drum-primary-dark);
  margin-bottom: 14px;
}
.drum-purchase-category {
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--drum-muted);
  line-height: 1.4;
}
.drum-purchase-category a {
  color: inherit;
  text-decoration: none;
}
.drum-purchase-category a:hover {
  color: var(--drum-primary-dark);
  text-decoration: underline;
}
.drum-purchase-action {
  --drum-purchase-btn-height: 35px;
  --drum-qty-height: 40px;
  display: flex;
  flex-direction: column;
  /* gap: 12px; */
}
.drum-purchase-action form.cart {
  width: 100%;
  margin: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  /* gap: 10px; */
  order: 1;
}
.drum-purchase-action .quantity {
  width: 100%;
  max-width: none;
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: stretch;
  border: 1px solid rgba(20, 23, 28, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 4px 12px rgba(18, 22, 28, 0.06);
  order: 1;
}
.drum-purchase-action .quantity::before,
.drum-purchase-action .quantity::after {
  content: none !important;
  display: none !important;
}
.drum-purchase-action .quantity .minus,
.drum-purchase-action .quantity .plus {
  width: 50px;
  height: var(--drum-qty-height);
  border: none;
  background: linear-gradient(180deg, #f8f9fb, #eef1f5);
  color: #2b3138;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.drum-purchase-action .quantity .minus {
  grid-column: 1;
}
.drum-purchase-action .quantity .plus {
  grid-column: 3;
}
.drum-purchase-action .quantity .minus:hover,
.drum-purchase-action .quantity .plus:hover {
  background: linear-gradient(180deg, #eef2f7, #e5eaf1);
  color: #111;
}
.drum-purchase-action .quantity .minus:active,
.drum-purchase-action .quantity .plus:active {
  transform: scale(0.98);
}
.drum-purchase-action .quantity .qty {
  grid-column: 2;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--drum-qty-height);
  min-height: var(--drum-qty-height);
  max-height: var(--drum-qty-height);
  border: none;
  border-left: 1px solid rgba(20, 23, 28, 0.1);
  border-right: 1px solid rgba(20, 23, 28, 0.1);
  text-align: center !important;
  text-indent: 0 !important;
  font-size: 17px;
  font-weight: 700;
  color: #1f2933 !important;
  -webkit-text-fill-color: #1f2933 !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #fff;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0 !important;
  line-height: var(--drum-qty-height) !important;
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.drum-purchase-action .quantity input.input-text.qty.text {
  grid-column: 2;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
.drum-purchase-action .quantity .screen-reader-text,
.drum-purchase-action .quantity input[type="hidden"] {
  display: none !important;
}
.drum-purchase-action .quantity .qty:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(30, 115, 190, 0.2);
}
.drum-purchase-action .quantity .qty::-webkit-outer-spin-button,
.drum-purchase-action .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.drum-purchase-action .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  min-height: var(--drum-purchase-btn-height);
  height: var(--drum-purchase-btn-height);
  border-radius: 10px !important;
  padding: 0 14px !important;
  font-weight: 700;
  line-height: var(--drum-purchase-btn-height);
  margin-top: 0;
  order: 2;
}
.drum-purchase-action .drum-pdf-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--drum-purchase-btn-height);
  height: var(--drum-purchase-btn-height);
  margin-top: 10px;
  border: 1px solid rgba(30, 115, 190, 0.26);
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  color: var(--drum-primary-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: var(--drum-purchase-btn-height);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  order: 4;
}
.drum-purchase-action .drum-pdf-download-btn:hover {
  background: linear-gradient(180deg, #f1f8ff, #e7f2ff);
  box-shadow: 0 8px 18px rgba(30, 115, 190, 0.16);
  transform: translateY(-1px);
}
.drum-purchase-action .drum-pdf-download-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.drum-purchase-action .ppc-button-wrapper,
.drum-purchase-action .woocommerce-paypal-payments-button__container,
.drum-purchase-action .wc-stripe-product-checkout-container {
  margin-top: 0;
  order: 3;
}
.drum-purchase-action .woocommerce-paypal-payments-button__container,
.drum-purchase-action .ppc-button-wrapper,
.drum-purchase-action .paypal-buttons,
.drum-purchase-action .paypal-buttons-context-iframe,
.drum-purchase-action .paypal-button-container,
.drum-purchase-action .paypal-button-row {
  width: 100% !important;
  max-width: 100% !important;
  order: 3;
}
.drum-purchase-action .ppc-button-wrapper,
.drum-purchase-action .woocommerce-paypal-payments-button__container {
  border-radius: 10px;
  overflow: hidden;
}
.drum-purchase-action .ppc-button-wrapper iframe,
.drum-purchase-action .woocommerce-paypal-payments-button__container iframe {
  width: 100% !important;
  min-height: var(--drum-purchase-btn-height) !important;
  height: var(--drum-purchase-btn-height) !important;
}
.drum-purchase-action .ppcp-messages,
.drum-purchase-action .ppcp-messages-container,
.drum-purchase-action .woocommerce-paypal-payments-message {
  display: none !important;
}
.drum-purchase-action .ppcp-recaptcha-v2-container .grecaptcha-badge,
.drum-purchase-action .ppcp-recaptcha-v2-container iframe[src*="recaptcha"],
.drum-purchase-action .ppcp-recaptcha-v2-container iframe[title*="reCAPTCHA"],
.drum-purchase-action .ppcp-recaptcha-v2-container iframe[title*="recaptcha"] {
  display: none !important;
}

/* Auth button + modal */
.drum-header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.drum-header-product-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(340px, 42vw);
  border: 1px solid rgba(229, 57, 53, 0.24);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(229, 57, 53, 0.08);
  overflow: hidden;
}
.drum-header-product-search__field {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  color: var(--drum-ink);
  font-size: 13px;
}
.drum-header-product-search__field::placeholder {
  color: #8b97a8;
}
.drum-header-product-search__field:focus {
  outline: none;
}
.drum-header-product-search:focus-within {
  border-color: #e53935;
  box-shadow: 0 10px 22px rgba(229, 57, 53, 0.18);
}
.drum-header-product-search__submit {
  border: 0;
  border-left: 1px solid rgba(229, 57, 53, 0.2);
  padding: 8px 14px;
  background: linear-gradient(180deg, #ff6c6a, #e53935);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.drum-header-product-search__submit:hover {
  filter: brightness(0.97);
}
.drum-header-tools .drum-auth-trigger,
.drum-header-tools .drum-auth-link {
  margin-left: 0;
}
.drum-auth-trigger,
.drum-auth-link {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(30, 115, 190, 0.3);
  background: #fff;
  color: var(--drum-primary-dark);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.drum-auth-trigger::before,
.drum-auth-link::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(30, 115, 190, 0.45), rgba(255, 106, 61, 0.45));
  opacity: 0;
  z-index: 0;
  transition: opacity 0.2s ease;
}
.drum-auth-trigger span,
.drum-auth-link span {
  position: relative;
  z-index: 1;
}
.drum-auth-trigger:hover,
.drum-auth-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(30, 115, 190, 0.18);
}
.drum-auth-trigger:hover::before,
.drum-auth-link:hover::before {
  opacity: 1;
}
.drum-auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
body.drum-auth-open {
  overflow: hidden;
}
.drum-auth-modal.is-open {
  display: flex;
}
.drum-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 24, 0.5);
}
.drum-auth-panel {
  position: relative;
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--drum-shadow);
  z-index: 1;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.2s ease;
}
.drum-auth-modal.is-open .drum-auth-panel {
  transform: translateY(0) scale(1);
}
.drum-auth-panel::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(30, 115, 190, 0.25), rgba(255, 106, 61, 0.25));
  z-index: -1;
  opacity: 0.45;
}
.drum-auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.drum-auth-tabs {
  display: flex;
  gap: 8px;
}
.drum-auth-tab {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(30, 115, 190, 0.08);
  color: var(--drum-primary-dark);
  cursor: pointer;
  font-weight: 600;
}
.drum-auth-tab.is-active {
  background: var(--drum-primary);
  color: #fff;
}
.drum-auth-close {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--drum-muted);
}
.drum-auth-form {
  display: none;
  gap: 12px;
}
.drum-auth-form.is-active {
  display: grid;
}
.drum-auth-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--drum-muted);
}
.drum-auth-field input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--drum-line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.drum-auth-field input:focus {
  outline: none;
  border-color: rgba(30, 115, 190, 0.6);
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.15);
}
.drum-auth-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.drum-auth-submit {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  background: var(--drum-primary);
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.drum-auth-submit::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.drum-auth-submit:hover::before {
  opacity: 1;
}
.drum-auth-message {
  font-size: 13px;
  color: var(--drum-muted);
  min-height: 18px;
}

/* Footer WCML currency switcher */
.wcml-dropdown.footer-widget-1.wcml_currency_switcher,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher *,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher a,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher span,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher .wcml-cs-item-toggle,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher .wcml-cs-submenu,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher .wcml-cs-submenu a,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher select,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher option,
.footer-widget-1 .wcml_currency_switcher,
.footer-widget-1 .wcml_currency_switcher *,
.footer-widget-1 .wcml_currency_switcher a,
.footer-widget-1 .wcml_currency_switcher span,
.footer-widget-1 .wcml_currency_switcher .wcml-cs-item-toggle,
.footer-widget-1 .wcml_currency_switcher .wcml-cs-submenu,
.footer-widget-1 .wcml_currency_switcher .wcml-cs-submenu a,
.footer-widget-1 .wcml_currency_switcher select,
.footer-widget-1 .wcml_currency_switcher option {
  color: #111 !important;
}
.wcml-dropdown.footer-widget-1.wcml_currency_switcher .wcml-cs-item-toggle,
.footer-widget-1 .wcml_currency_switcher .wcml-cs-item-toggle {
  position: relative;
  padding-right: 28px !important;
}
.wcml-dropdown.footer-widget-1.wcml_currency_switcher .wcml-cs-item-toggle:before,
.footer-widget-1 .wcml_currency_switcher .wcml-cs-item-toggle:before {
  content: none !important;
  display: none !important;
}
.wcml-dropdown.footer-widget-1.wcml_currency_switcher .wcml-cs-item-toggle:after,
.footer-widget-1 .wcml_currency_switcher .wcml-cs-item-toggle:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 11px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translateY(-62%) rotate(45deg);
  background: transparent !important;
  box-shadow: none !important;
}
.wcml-dropdown.footer-widget-1.wcml_currency_switcher svg,
.wcml-dropdown.footer-widget-1.wcml_currency_switcher svg *,
.footer-widget-1 .wcml_currency_switcher svg,
.footer-widget-1 .wcml_currency_switcher svg * {
  fill: #111 !important;
  stroke: #111 !important;
}

@media (max-width: 980px) {
  .drum-product__grid {
    grid-template-columns: 1fr;
  }
  .drum-product__main {
    order: 2;
  }
  .drum-product__sidebar {
    position: static;
    order: 1;
    margin-bottom: 14px;
  }
  .drum-shop-card .img img {
    height: 160px;
  }
  .drum-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .drum-header-tools {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }
  .drum-header-product-search {
    width: min(320px, 82vw);
  }
}

@media (max-width: 600px) {
  .drum-shop-page .drum-shop-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .drum-auth-panel {
    padding: 18px;
  }
  .drum-auth-tabs {
    flex-wrap: wrap;
  }
  .drum-video iframe,
  .drum-video video {
    height: 240px;
  }
  .drum-pdf-preview iframe {
    height: 360px;
  }
  .drum-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .drum-header-product-search {
    width: min(300px, 90vw);
  }
  .drum-header-product-search__field {
    padding: 8px 12px;
  }
  .drum-header-product-search__submit {
    padding: 8px 12px;
  }
}
