/* Reset and Base Styles */

:root {
    --input-border-radius: 18px;
    --color-primary: #109caf;
    --color-secondary: #0198ab;
    --color-warning: #ffa07a;
    --gradient-primary: linear-gradient(135deg, #109caf 0%, #009fc9 100%);
    --gradient-secondary: linear-gradient(135deg, #0198ab 0%, #009cc0 100%); 
    --input-border: 2px solid var(--color-primary);
    --input-control-size: 38px;
    --input-font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: #f8fafc;
}

ul {
  padding: 1em;
}

h2 {
  margin: 1em 1em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between logos */
    cursor: pointer;
    line-height: 1;
}

.logo-icon {
    display: inline-block;
}

.logo-icon img {
    width: 64px;
    height: 64px;
    margin: 16px;
    transition: filter 0.4s ease;
}

.logo-icon img:hover {
    filter: brightness(1.1) saturate(1.1);
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

/* WebKit and Blink */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}


#nav-menu {
    display: flex;
    gap: 24px;
}

#nav-menu button {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#nav-menu button:hover, #nav-menu button.active {
    background: var(--color-primary);
    color: #fff;
}

#nav-order {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    margin-left: 24px;
}

#nav-order:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
#hero-products {
    padding: 140px 0 30px;
    text-align: center;
}

.hero-products-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.product-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(99,102,241,0.08);
    padding: 32px 24px;
    min-width: 180px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-item:hover {
    box-shadow: 0 8px 32px rgba(99,102,241,0.18);
    transform: translateY(-6px) scale(1.04);
    background: #f3f4f6;
}

/* Drug Sections */
.drug-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(99,102,241,0.06);
    margin: 40px auto;
    padding: 40px 24px 24px 24px;
    max-width: 700px;
    position: relative;
}

.drug-section.highlighted {
    background-color: #ECEDFD;
}

.drug-section button {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.drug-section button:hover {
    background: var(--gradient-secondary);
}

.collapsible {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 0px 18px;
    font-size: 16px;
    color: #374151;
    margin: 16px 0px;
}

.collapsible.expanded {
}

/* Order Section */
#order-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(99,102,241,0.06);
    margin: 80px auto;
    padding: 24px 24px 24px 24px;
    max-width: 700px;
}

#order-summary {
    margin-top: 42px;
    margin-bottom: 24px;
    min-height: 40px;
}

#order-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#order-form input {
    padding: 12px 18px;
    margin: 1px 1px;
    border-radius: 10px;
    border: 1px solid #c7d2fe;
    font-size: 16px;
    color: #374151;
    background: #f8fafc;
    transition: border 0.2s margin 0.2s;
}

#order-form input:focus {
    padding: 11px 17px;
    border: 2px solid var(--color-primary);
    outline: none;
}

#order-submit {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 14px 0;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#order-submit:hover {
    background: var(--gradient-secondary);
}

#phone-section {
    background: #f3f4f6;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(99,102,241,0.06);
    margin: 40px auto;
    padding: 40px 24px 24px 24px;
    max-width: 700px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    gap: 20px; /* Space between logos */
    align-items: center;
}

.phone-link {
    display: inline-block;
    /* background: linear-gradient(135deg, #2481cc 0%, #0088cc 100%); */
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    margin: 18px 0 8px 0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.phone-link:hover {
    background: var(--gradient-secondary);
    color: #e0e7ef;
}

/* wds-accent #1DAA61
.x9qntcr:hover:not(:disabled) {
	background-color: rgba(var(--WDS-accent-RGB),.8);
}

my color 42e576
my accent 31da6c
official color: 25d366
   */
.whatsapp-button {
    display: inline-block;
    background: linear-gradient(135deg, #25d366 0%, #1DAA61 100%);
    color: #fff;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    margin: 18px 0 8px 0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.whatsapp-button:hover {  
    background: linear-gradient(135deg, #0bca5e 0%, #1DAA61 100%);
    color: #eaf6eb;
}

.phone-description {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 0;
}

/* Footer */
#footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
    padding: 0 0 24px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0 12px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #8b5cf6;
}

.footer-bottom {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-top: 12px;
}

.footer-disclaimer {
    color: #a0aec0;
    font-size: 13px;
    margin-top: 6px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-products-list {
        flex-direction: column;
        gap: 32px;
    }
    .footer-content {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
    .footer-links {
        gap: 18px;
    }
}

@media (max-width: 600px) {
    #header {
        padding: 0 8px;
    }
    .header-content {
        flex-direction: column;
        gap: 12px;
        padding: 10px 0;
    }
    .logo-text {
        font-size: 20px;
    }
    #nav-menu button {
        font-size: 15px;
        padding: 6px 10px;
    }
    #nav-order {
        padding: 10px 16px;
        font-size: 15px;
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        max-width: 220px;
    }
    #hero-products {
        padding: 160px 0 30px;
    }
    .drug-section, #order-section, #telegram-section {
        padding: 18px 6px 12px 6px;
        margin: 30px 0;
    }
    #order-section {
        padding: 18px 6px 12px 6px;
        margin: 50px 0;
    }
    .footer-content {
        padding: 18px 0 8px 0;
    }
    .product-item {
        min-width: 110px;
        padding: 20px 6px;
        font-size: 15px;
        border-radius: 14px;
        margin: 0 auto;
        width: 100%;
        max-width: 220px;
    }
    .hero-products-list {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 10px 0;
        width: 100%;
        justify-content: space-between;
        padding: 0 20px;
    }
    .footer-links a {
        flex: unset;
        min-width: unset;
        text-align: left;
        padding: 2px 0;
    }
    #footer-link-hero {
        flex-basis: 100%;
        text-align: left;
        margin-bottom: 4px;
    }
    /* Responsive tables: stack rows as cards */
    table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 12px;
        display: block;
    }
    thead {
        display: none;
    }
    tbody {
        display: block;
        width: 100%;
    }
    tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(99,102,241,0.06);
        margin-bottom: 16px;
        padding: 12px 10px 8px 10px;
        width: 100%;
        position: relative;
    }
    td {
        display: flex;
        align-items: center;
        padding: 6px 0;
        border: none;
        font-size: 15px;
        width: 100%;
        min-width: 0;
        word-break: break-word;
    }
    tr td:last-child {
        justify-content: flex-end;
        padding-top: 8px;
        padding-bottom: 0;
    }
    /* For order table: visually group controls and price on last line */
    #order-summary tr td:nth-child(4),
    #order-summary tr td:nth-child(5) {
        justify-content: flex-end;
        padding-top: 8px;
        padding-bottom: 0;
    }
    #order-summary tr td:nth-child(4) {
        font-weight: 600;
        color: var(--color-primary);
        font-size: 16px;
    }
    #order-summary tr td:nth-child(5) {
        margin-left: 8px;
    }
    /* Add spacing between label and value for first columns */
    #order-summary tr td:nth-child(1),
    #order-summary tr td:nth-child(2),
    #order-summary tr td:nth-child(3) {
        font-size: 15px;
        color: #374151;
        font-weight: 500;
        margin-bottom: 2px;
    }
}

/* --- SPA Transitions (updated for default visible) --- */
#hero-products,
#mounjaro-products,
#ozempic-products,
#nad-products,
#order-section,
#telegram-section {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1), background-color 0.4s ease-in-out;
}

/* Hide only when .hidden is added by JS */
#hero-products.hidden,
#mounjaro-products.hidden,
#ozempic-products.hidden,
#nad-products.hidden,
#order-section.hidden,
#telegram-section.hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(30px);
}

#hero-products.visible,
#mounjaro-products.visible,
#ozempic-products.visible,
#nad-products.visible,
#order-section.visible,
#telegram-section.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.4s cubic-bezier(.4,0,.2,1), padding 0.4s cubic-bezier(.4,0,.2,1);
  padding: 0px 18px;
}
.collapsible.expanded {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 1em;
  padding: 18px 18px;
}
#order-summary {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
#telegram-section,
#footer {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
button, .telegram-button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
button:focus, .telegram-button:focus {
  outline: 2px solid var(--color-primary);
}

button[data-item-id] {
  width: var(--input-control-size);
  height: var(--input-control-size);
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--input-border-radius);
  color: var(--color-primary);
  cursor: pointer;
  font-size: var(--input-font-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  padding: 0;
}
button[data-item-id]:hover {
  background: #f3f4f6;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
button[data-item-id]:active {
  background: #e0e7ef;
}
button[data-item-id].in-order {
  background: #f9f5e7;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(99,102,241,0.08);
}
button[data-item-id]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.order-qty-minus {
  width: var(--input-control-size);
  height: var(--input-control-size);
  margin: 0;
  background: #fff;
  border: var(--input-border);
  border-right: none;
  border-radius: var(--input-control-size) 0px 0px var(--input-control-size);
  color: var(--color-primary);
  cursor: pointer;
  font-size: var(--input-font-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.order-qty-plus {
  width: var(--input-control-size);
  height: var(--input-control-size);
  margin: 0;
  background: #fff;
  border: var(--input-border);
  border-left: none;
  border-radius: 0px var(--input-control-size) var(--input-control-size) 0px;
  color: var(--color-primary);
  cursor: pointer;
  font-size: var(--input-font-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.order-qty-input {
  margin: 2px 0px;
  height: var(--input-control-size);
  width: 40px;
  border-top: var(--input-border);
  border-bottom: var(--input-border);
  border-left: none;
  border-right: none;
  border-radius: 0px;
  padding: 0px 0px;
  text-align: center;
  font-size: var(--input-font-size);
  color: #2c3e50;
  background: #fff;
  transition: border-color 0.2s;
}

.order-qty-minus:hover,
.order-qty-plus:hover {
  background: #e3e4e6;
  border-color: var(--color-secondary);
}

.order-qty-minus:active,
.order-qty-plus:active {
  background: #e0e7ef;
}

.order-qty-minus:focus,
.order-qty-plus:focus,
.order-qty-input:focus {
  outline: none;
}

.order-row > .order-remove-cell {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.order-remove {
  width: var(--input-control-size);
  height: var(--input-control-size);
  margin: 0 0 0 8px;
  background: #fff;
  border: 2px solid var(--color-warning);
  border-radius: var(--input-border-radius);
  color: var(--color-warning);
  cursor: pointer;
  font-size: var(--input-font-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  padding: 0;
}
.order-remove:hover {
  background: #fff3f0;
  border-color: #ff7f50;
  color: #ff7f50;
}
.order-remove:active {
  background: #ffe5e0;
  border-color: #ff6347;
  color: #ff6347;
}
.order-remove:focus {
  outline: 2px solid #ffa07a;
  outline-offset: 1px;
}

.product-image-main {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto 12px auto;
  border-radius: 16px;
  background: #fff;
}
.mounjaro-main-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0 0 4px 0;
}
.mounjaro-main-row .product-info {
  font-weight: 600;
  color: #374151;
  flex: 1 1 auto;
  min-width: 180px;
}
.mounjaro-main-row .product-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 18px;
  flex: 0 0 auto;
}
.mounjaro-main-row .product-add {
  flex: 0 0 auto;
  text-align: right;
}
@media (max-width: 600px) {
  .product-image-main {
    max-width: 100%;
    margin-bottom: 10px;
    border-radius: 12px;
  }
  .mounjaro-main-row {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
  }
  .mounjaro-main-row .product-info {
    font-size: 15px;
    min-width: 0;
  }
  .mounjaro-main-row .product-price {
    font-size: 16px;
  }
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: transparent;
  border-radius: 18px;
  /*! box-shadow: 0 2px 12px rgba(99,102,241,0.08); */
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 6px 24px rgba(99,102,241,0.16);
  transform: translateY(-4px) scale(1.02);
}
.product-image-main {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
  border-radius: 14px;
  background: #fff;
}
.product-short-desc {
  font-size: 15px;
  color: #374151;
  font-weight: 500;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.01em;
}
.product-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 18px;
}
@media (max-width: 900px) {
  .product-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-card {
    padding: 20px 10px 16px 10px;
  }
  .product-image-main {
    max-width: 280px;
    margin-bottom: 8px;
  }
}
@media (max-width: 600px) {
  .product-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-card {
    padding: 14px 4px 12px 4px;
    border-radius: 12px;
  }
  .product-image-main {
    max-width: 250px;
    margin-bottom: 6px;
    border-radius: 8px;
  }
  .product-short-desc {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .product-row {
    gap: 6px;
  }
  .product-price {
    font-size: 15px;
  }
}

/* No new styles needed: Ozempic product cards use the same .product-list, .product-card, .product-image-main, .product-short-desc, .product-row, .product-price styles as Mounjaro */

.order-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.order-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(99,102,241,0.08);
  padding: 18px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.order-item-number {
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  background: #eef2ff;
  border-radius: 8px;
  padding: 2px 8px;
  z-index: 1;
}
.order-image {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 8px auto;
  border-radius: 10px;
  background: #fff;
}
.order-short-desc {
  width: 100%;
  text-align: center;
  font-size: 15px;
  color: #374151;
  font-weight: 500;
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.order-single-price {
  font-size: 14px;
  color: #64748b;
  font-weight: 400;
  display: block;
  margin: 8px auto 0 auto;
  text-align: center;
}
.order-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.order-row > span,
.order-row > button {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.order-row > span.order-final-row-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 18px;
  justify-content: center;
}

.order-row > span:not(.order-final-row-price) {
  flex-direction: row;
}
.order-row > button.order-remove {
  justify-content: center;
}
.order-final-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 18px;
}
.order-total-summary {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 18px;
  margin-top: 8px;
  text-align: left;
}
@media (max-width: 600px) {
  .order-card {
    padding: 10px 4px 8px 4px;
    border-radius: 12px;
  }
  .order-image {
    width: 180px;
    border-radius: 6px;
  }
  .order-short-desc {
    font-size: 13px;
    gap: 6px;
  }
  .order-final-price {
    font-size: 15px;
  }
  .order-total-summary {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .order-single-price {
    font-size: 13px;
    margin-top: 6px;
  }
  .order-row > span.order-final-row-price {
    font-size: 15px;
  }
}

.order-row > span {
  display: flex;
  align-items: center;
  gap: 0;
}

