/* ============================================================
   PYKAR — Responsive Stylesheet
   ============================================================ */

/* ─── 1. HEADER RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1200px) {
  .dc-header__inner {
    gap: 15px;
  }

  .pk-hero-banner--main {
    padding: 40px;
  }

  .pk-hero-title {
    font-size: 36px;
  }

}

@media (max-width: 991px) {
  .dc-header__inner {
    height: 70px;
  }

  .dc-logo__name {
    font-size: 22px;
  }

  .dc-header__categories {
    display: none;
  }

  .pk-hero-banner--main {
    min-height: 400px;
  }

  .pk-hero-title {
    font-size: 32px;
  }

  .pk-cat-grid {
    justify-content: flex-start;
    gap: 20px;
  }

  .pk-flash-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .pk-countdown {
    justify-content: center;
  }

  .pk-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pk-promo-banner {
    min-height: 250px;
    padding: 30px;
  }

  .pk-footer {
    padding: 60px 0 0;
  }

  .pk-footer-title {
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .dc-shop-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    margin-bottom: 20px !important;
  }

  .dc-shop-toolbar__right {
    justify-content: space-between !important;
    width: 100% !important;
    gap: 10px !important;
    display: none !important;
    /* Sorting is now in drawer, so hide toolbar right content completely */
  }

  .woocommerce-ordering select {
    width: 100% !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
  }

  .dc-view-toggle {
    display: none !important;
  }

  .dc-result-count,
  .woocommerce-result-count {
    display: none !important;
  }

  .dc-mobile-sorting select {
    width: 100% !important;
    border: 1.5px solid var(--pk-border) !important;
    padding: 10px 16px !important;
    border-radius: var(--pk-radius) !important;
    font-size: 14px !important;
    color: var(--pk-text) !important;
    background-color: var(--pk-white) !important;
    outline: none !important;
    cursor: pointer !important;
    background-position: right 15px center !important;
  }

  .pk-hero-banner--main {
    min-height: 320px !important;
    padding: 40px !important;
  }

  .pk-hero-title {
    font-size: 34px !important;
  }

  .pk-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .dc-shop-page {
    padding: 0 0 60px;
  }

  #dcFilterToggle {
    display: flex !important;
  }

  .dc-blog-index-grid {
    margin-top: 0;
  }

  .blog-hero {
    margin-bottom: 50px;
  }

}

@media (max-width: 767px) {

  .woocommerce-cart-form table.shop_table,
  .woocommerce-checkout table.shop_table,
  .woocommerce-MyAccount-content table.shop_table {
    display: block !important;
    width: 100% !important;
    border: none !important;
    background: none !important;
  }

  .woocommerce-cart-form table.shop_table thead,
  .woocommerce-checkout table.shop_table thead,
  .woocommerce-MyAccount-content table.shop_table thead {
    display: none !important;
  }

  .woocommerce-cart-form table.shop_table tbody,
  .woocommerce-checkout table.shop_table tbody,
  .woocommerce-MyAccount-content table.shop_table tbody,
  .woocommerce-cart-form table.shop_table tr,
  .woocommerce-checkout table.shop_table tr,
  .woocommerce-MyAccount-content table.shop_table tr {
    display: block !important;
    width: 100% !important;
  }

  .woocommerce-cart-form table.shop_table tr,
  .woocommerce-checkout table.shop_table tr,
  .woocommerce-MyAccount-content table.shop_table tr {
    background: var(--pk-white) !important;
    border: 1px solid var(--pk-border) !important;
    border-radius: var(--pk-radius-lg) !important;
    padding: 15px !important;
    margin-bottom: 15px !important;
  }

  .woocommerce-cart-form table.shop_table td,
  .woocommerce-checkout table.shop_table td,
  .woocommerce-MyAccount-content table.shop_table td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border: none !important;
    border-bottom: 1px dashed #f1f3f5 !important;
    text-align: right !important;
  }

  .woocommerce-cart-form table.shop_table td:last-child,
  .woocommerce-checkout table.shop_table td:last-child,
  .woocommerce-MyAccount-content table.shop_table td:last-child {
    border-bottom: none !important;
  }

  .woocommerce-cart-form table.shop_table td::before,
  .woocommerce-checkout table.shop_table td::before,
  .woocommerce-MyAccount-content table.shop_table td::before {
    content: attr(data-title) !important;
    font-weight: 700 !important;
    color: var(--pk-secondary) !important;
    text-align: left !important;
    float: left !important;
  }

  /* Cart actions panel buttons wrapping */
  .woocommerce-cart-form table.shop_table td.actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .woocommerce-cart-form table.shop_table td.actions .coupon {
    float: none !important;
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }

  .woocommerce-cart-form table.shop_table td.actions button {
    width: 100% !important;
  }

  .pk-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
    padding: 15px 0 !important;
    margin-top: 20px !important;
  }

  .pk-footer-bottom img {
    max-width: 100% !important;
    height: auto !important;
  }

  .dc-announce p {
    font-size: 11px !important;
    line-height: 1.4 !important;
    padding: 0 10px !important;
  }

  .pk-promo-banner {
    min-height: 200px !important;
    padding: 24px !important;
  }

  .pk-promo-title {
    font-size: 20px !important;
  }

}


@media (max-width: 576px) {
  .dc-header__inner {
    height: 65px;
  }

  .dc-logo__name {
    font-size: 20px;
  }

  .dc-logo__tagline {
    display: none;
  }

  .custom-logo {
    max-height: 40px;
  }

  .pk-hero-section {
    padding: 15px 0;
  }

  .pk-hero-banner--main {
    min-height: 320px;
    padding: 25px;
  }

  .pk-hero-banner--side {
    min-height: 180px;
    padding: 20px;
  }

  .pk-hero-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .pk-hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .pk-banner-title {
    font-size: 16px;
  }

  .pk-btn-white {
    padding: 10px 20px;
    font-size: 13px;
  }

  .pk-section-padding {
    padding: 40px 0;
  }

  .pk-section-title {
    font-size: 20px;
  }

  .pk-cat-img-wrap {
    width: 80px;
    height: 80px;
  }

  .pk-cat-name {
    font-size: 12px;
  }

  .pk-flash-sale-section {
    padding: 40px 0;
  }

  .pk-flash-title {
    font-size: 28px;
  }

  .pk-cd-num {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .pk-trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pk-promo-banner {
    min-height: 200px;
    padding: 20px;
  }

  .pk-promo-title {
    font-size: 20px;
  }

  .pk-test-text {
    font-size: 13px;
  }

  .pk-footer-nl {
    flex-direction: column;
  }

  .pk-footer-nl button {
    height: 45px;
  }

  .pk-footer-bottom {
    text-align: center;
    margin-top: 40px;
  }

  .blog-hero {
    padding: 50px 0;
  }

  .dc-product-tabs {
    margin: 0px 0;
  }

  .dc-qty-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .dc-qty-row .dc-qty {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .dc-qty-row .single_add_to_cart_button {
    width: 100% !important;
    flex: none !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    justify-content: center !important;
  }

  .pk-quick-contact-row {
    flex-direction: column !important;
    gap: 10px !important;
    margin: 20px 0 !important;
  }

  .pk-quick-contact-row a {
    width: 100% !important;
    flex: none !important;
    justify-content: center !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .dc-prod-trust {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px 0 !important;
    margin-bottom: 0 !important;
  }

  .dc-prod-trust__item {
    font-size: 13px !important;
  }

  .dc-product-grid--shop,
  .dc-product-grid,
  .dc-related-products .dc-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .pk-prod-card,
  .dc-prod-card {
    padding: 10px !important;
  }

  .pk-prod-title,
  .dc-prod-card__title {
    font-size: 13px !important;
    height: 36px !important;
    margin: 8px 0 10px !important;
  }

  .pk-prod-price-row,
  .dc-prod-card__price-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }

  .pk-price,
  .dc-price {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .pk-add-btn,
  .dc-add-btn,
  .dc-prod-card .button {
    width: 100% !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .pk-hero-banner--main {
    min-height: 240px !important;
    padding: 24px 20px !important;
  }

  .pk-hero-title {
    font-size: 26px !important;
  }

  .pk-hero-subtitle {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }

  .pk-hero-banner--side {
    min-height: 160px !important;
  }

  .pk-trust-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .pk-trust-item {
    padding: 16px 15px !important;
  }

  .dc-prod-info__title {
    font-size: 25px;
  }

  .dc-cart-actions {
    flex-wrap: wrap;
    gap: 20px;
  }

}