/* Hero Section */
.hero-section {
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(300px, 692px) 1fr;
    gap: 72px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thumbnail-list {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-8);
    justify-content: center;
}

.thumbnail {
    width: 62px;
    height: 62px;
    border: 1px solid var(--text-primary);
    border-radius: var(--radius-4);
    background: var(--text-primary);
    padding: 1px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.thumbnail.active {
    opacity: 1;
    border-color: #FFB829;
    box-shadow: 0px 0px 0px 2px #FFB829;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-4) - 2px);
}

.main-image {
    width: 100%;
    background-color: var(--bg-muted);
    border-radius: var(--radius-8);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 596px;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
}

.product-title {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-700);
    line-height: 38.57px;
    letter-spacing: var(--letter-spacing-neg-1);
    color: var(--text-primary);
    margin: 0 0 24px 0;
}

.product-tag {
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-15);
    font-weight: var(--font-weight-400);
    line-height: var(--line-height-26);
    color: var(--text-muted);
    margin: 0 0 16px 0;
    text-align: center;
    padding: 0 1px;
}

.product-benefits {
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-700);
    line-height: 17.23px;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    padding-top: 16px;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-1);
}

.product-tag-cyan {
    color: var(--color-secondary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars-rating {
    display: flex;
    gap: 4px;
}

.star {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.stars-rating-small {
    display: flex;
    gap: 4px;
}

.star-small {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.reviews-link {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-500);
    color: var(--text-primary);
    text-decoration: none;
}

.reviews-link:hover {
    text-decoration: underline;
}

.divider {
    height: 6px;
    background-color: var(--border);
    margin: 12px 0;
    border: none;
    flex-shrink: 0;
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: var(--font-size-16);
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    max-height: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-description p {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-400);
    line-height: 27.73px;
    color: var(--text-primary);
    height: auto;
    max-height: none;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.benefits-list {
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-400);
    line-height: 27.73px;
    color: var(--text-primary);
    margin: 0;
    padding-bottom: 16px;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Pricing Section */
.pricing-section {
    display: flex;
    flex-direction: column;
    gap: var(--font-size-15);
    margin: 20px 0 24px 0;
    padding: 0;
    flex: 0 0 auto;
}

.pricing-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--font-size-15);
}

.pricing-option {
    border-radius: 32px;
    padding: 1px;
    margin: 0;
}

.subscribe-option {
    background-color: var(--bg-page);
    border: 1px solid var(--text-primary);
    position: relative;
}

.pricing-option-inner {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pricing-option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-8);
    cursor: pointer;
    font-family: var(--font-family-roboto);
    font-weight: var(--font-weight-700);
    font-size: var(--font-size-16);
    line-height: var(--line-height-28);
    color: var(--text-primary);
    margin: 0;
    padding: 20px 0;
    position: relative;
}

.pricing-option-label input[type="radio"] {
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.subscribe-label-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: -83px;
}

.discount-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 83px;
    background-color: var(--color-primary);
    color: var(--bg-surface);
    padding: 2.25px 6px 4.25px;
    border-radius: var(--radius-4);
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-700);
    line-height: 19px;
    text-transform: uppercase;
}

.pricing-details {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5.81px;
    margin: 0;
}

.original-price {
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-body-small);
    font-weight: var(--font-weight-500);
    line-height: 24.96px;
    text-decoration: line-through;
    color: var(--text-muted);
}

.current-price {
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-700);
    line-height: 27.73px;
    color: var(--text-primary);
}

.subscribe-benefits {
    list-style: none;
    margin: 0;
    padding: 12.5px 0 11.5px 5px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4.5px;
}

.subscribe-benefits li {
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-400);
    line-height: 19px;
    margin: 0;
    padding: 0 0 0 17px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.subscribe-benefits li svg {
    flex-shrink: 0;
    width: 13px;
    height: 12px;
}

.delivery-selector {
    padding: 10px 0 0 0;
    margin: 0;
}

.delivery-selector select {
    width: 100%;
    padding: 9px 15px;
    border: 1px solid var(--border);
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-400);
    line-height: 15.5px;
    background-color: var(--bg-muted);
    cursor: pointer;
    height: 34px;
}

.buy-once-option {
    border: 1px solid var(--border);
    height: 50px;
    padding: 10px;
}

.buy-once-option .pricing-option-label {
    height: 100%;
    padding: 0;
    justify-content: center;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.buy-once-option .pricing-option-label span:not(.buy-once-price) {
    margin-right: auto;
}

.buy-once-price {
    margin-left: auto;
    padding-left: 410px;
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-700);
    line-height: 27.73px;
    color: var(--text-primary);
}

/* Quantity Section */
.quantity-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-4);
}

.qty-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: var(--font-size-body-large);
    color: var(--text-primary);
}

.qty-btn:hover {
    background-color: var(--bg-muted);
}

#quantity {
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 8px 16px;
    width: 60px;
    text-align: center;
    font-size: var(--font-size-16);
}

/* CTA Buttons */
.cta-buttons {
    margin: 0 0 24px 0;
    padding: 16px 0 0 0;
}

/* Base Button Styles - Consolidated from styles.css */
.btn {
    padding: 0;
    border: none;
    font-family: var(--font-family-inter);
    font-weight: var(--font-weight-700);
    cursor: pointer;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    opacity: 0.9;
}

/* Primary Button - Rectangle style for all non-hero buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--bg-surface);
    background-image: linear-gradient(var(--btn-gradient-angle), var(--color-primary) 0%, var(--color-primary) 10%, rgba(14, 60, 72, var(--btn-gradient-opacity)) 10%, rgba(14, 60, 72, var(--btn-gradient-opacity)) 100%);
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-standard);
    font-size: var(--btn-font-size-standard);
    font-weight: var(--font-weight-700);
    line-height: var(--line-height-28);
    text-transform: uppercase;
    min-width: var(--btn-min-width);
    width: auto;
}

/* Hero Subscribe button - keeps unique pill-shaped styling */
.btn-subscribe {
    padding: var(--btn-padding-large);
    font-size: var(--btn-font-size-large);
    line-height: var(--btn-font-size-large);
    gap: 6px;
    border-radius: var(--btn-border-radius-hero);
    width: 100%;
}

.strikethrough-price {
    font-family: var(--font-family-roboto);
    text-decoration: line-through;
    font-size: var(--font-size-tiny);
    font-weight: var(--font-weight-700);
    line-height: 52px;
    letter-spacing: 2px;
    color: var(--bg-surface);
    opacity: 1;
    padding-right: 6px;
}

.current-price-cta {
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-15);
    font-weight: var(--font-weight-700);
    line-height: 52px;
    letter-spacing: 2px;
    color: var(--bg-surface);
}

/* Secondary Button - Rectangle style with consistent width */
.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-standard);
    font-size: var(--btn-font-size-standard);
    font-weight: var(--font-weight-700);
    line-height: var(--line-height-28);
    text-transform: uppercase;
    min-width: var(--btn-min-width);
    width: auto;
}

.btn-secondary:hover {
    background-color: #ffb829;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-standard);
    font-size: var(--btn-font-size-standard);
    font-weight: var(--font-weight-700);
    line-height: var(--line-height-28);
    text-transform: uppercase;
    min-width: var(--btn-min-width);
    width: auto;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 0 24px 0;
    padding: 12px 0 5px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-family-roboto);
    font-size: var(--font-size-13);
    font-weight: var(--font-weight-500);
    line-height: 22.53px;
    color: var(--text-primary);
    padding: 0 15px 0 0;
}

.trust-badge:first-child {
    padding-right: 15px;
}

.trust-badge img,
.trust-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Accordions */
.accordions {
    margin: 0;
}

.accordion {
    background-color: var(--bg-surface);
    margin: 0;
}

.accordion:first-child {
    min-height: 46px;
}

.accordion:nth-child(2),
.accordion:nth-child(3) {
    min-height: 47px;
    border-top: 1px solid var(--color-secondary);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    padding-bottom: 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    list-style: none;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion:first-child .accordion-header {
    padding-top: 20px;
}

.accordion:nth-child(2) .accordion-header,
.accordion:nth-child(3) .accordion-header {
    padding-top: 21px;
}

.accordion-header span:first-child {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-700);
    line-height: 19.2px;
    color: var(--text-muted);
}

.accordion:first-child .accordion-header span:first-child,
.accordion:nth-child(2) .accordion-header span:first-child,
.accordion:nth-child(3) .accordion-header span:first-child {
    font-size: var(--font-size-h4);
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-family: var(--font-family-inter);
    font-size: var(--line-height-26);
    font-weight: var(--font-weight-700);
    line-height: var(--line-height-26);
    color: var(--color-secondary);
}

.accordion[open] .accordion-icon {
    content: '−';
}

.accordion:not([open]) .accordion-icon {
    content: '+';
}

.accordion-icon-svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-secondary);
    stroke-width: 2;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon-svg {
    width: 10px;
    height: 10px;
}

.faq-item.active .faq-icon-svg rect:last-child {
    display: none;
}

.accordion-content {
    padding-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.accordion-content p {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow: visible;
}

.accordion-content ul {
    list-style-position: outside;
    padding-left: 20px;
}

.accordion-content ul li {
    margin-bottom: 8px;
}

.accordion-content ol {
    list-style-position: outside;
    padding-left: 20px;
}

.accordion-content ol li {
    margin-bottom: 8px;
}

/* Ingredient Lines with Dot Leaders */
.ingredient-line {
    display: flex;
    align-items: baseline;
    width: 100%;
    gap: 4px;
    margin-bottom: 0;
}

.ingredient-name {
    flex-shrink: 0;
    white-space: nowrap;
}

.ingredient-dots {
    flex: 1;
    min-width: 8px;
    border-bottom: 1px dotted currentColor;
    margin: 0 4px;
    height: 0;
    opacity: 0.5;
    position: relative;
    top: -0.3em;
}

.ingredient-percentage {
    flex-shrink: 0;
    white-space: nowrap;
}

.ingredient-disclaimer {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

