#gksoft-delivery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
#gksoft-delivery-modal.is-open {
  display: flex;
}
.gksoft-delivery-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 460px;
  width: calc(100% - 32px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
}
.gksoft-delivery-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
}
.gksoft-delivery-desc {
  font-size: 14px;
  color: #666;
  margin: 0 0 18px;
}
.gksoft-delivery-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gksoft-delivery-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #111;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}
.gksoft-delivery-option:hover {
  border-color: #111;
  transform: translateY(-1px);
}
.gksoft-delivery-switcher {
  position: relative;
  z-index: 20;
  background: #e9e3dc;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  max-width: 420px;
  width: calc(100% - 32px);
  margin: 12px auto 16px;
}
.gksoft-delivery-switcher {
    margin-bottom: 0 !important;
}

.widget_shopping_cart_content .gksoft-delivery-switcher,
#secondary .gksoft-delivery-switcher {
    margin-bottom: 0 !important;
    padding-bottom: 6px;
}
.gksoft-delivery-switcher-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.gksoft-delivery-switcher-option {
  appearance: none;
  border: none;
  background: transparent;
  color: #2e2a27;
  border-radius: 18px;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.gksoft-delivery-switcher-option:hover {
  transform: translateY(-1px);
}
.gksoft-delivery-switcher-option.is-active {
  background: #fff;
  color: #1f1b18;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.gksoft-delivery-switcher-option-icon {
  font-size: 15px;
  line-height: 1;
}
.gksoft-delivery-switcher-option-label {
  line-height: 1;
}
.gksoft-dynamic-price {
  display: inline-block;
  margin-left: 8px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .gksoft-delivery-switcher {
    width: calc(100% - 20px);
    max-width: 100%;
    margin: 10px auto 14px;
    border-radius: 20px;
    padding: 5px;
  }

  .gksoft-delivery-switcher-option {
    min-height: 40px;
    padding: 0 12px;
    gap: 8px;
    font-size: 14px;
  }
}

body.woocommerce-cart .gksoft-delivery-switcher,
body.woocommerce-checkout .gksoft-delivery-switcher {
  display: none !important;
}

.gksoft-switcher-cart-slot {
  width: 100%;
}

@media (min-width: 769px) {
  .gksoft-delivery-switcher.gksoft-switcher-mounted-cart {
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
    box-sizing: border-box;
  }
}
