/*
GEOSHOPPER — Warm Stone
სრული styles.css
*/

:root {
    color-scheme: light;

    --green: #805b38;
    --green-bright: #735032;
    --green-deep: #60442f;
    --green-dark: #493323;

    --red: #8f493e;
    --red-bright: #8f493e;
    --gold: #916d35;

    --bg-black: #f3ede5;
    --bg-dark: #fbf8f3;
    --bg-card: #fffdf9;
    --bg-elevated: #f2e9dd;
    --bg-highlight: #e9dccb;

    --text-primary: #30271f;
    --text-secondary: #625446;
    --text-muted: #756554;
    --text-dim: #7b6c5e;

    --border: #dfd2c2;
    --border-green: #b89a79;
    --glow-green: none;
}

/* ძირითადი პარამეტრები */

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont,
        'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--bg-dark);
    box-shadow: none;
}

/* Header და Footer */

header,
.site-footer {
    background: #f0e6d9;
    padding: 24px 20px;
    text-align: center;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

header {
    border-radius: 8px;
}

.site-footer {
    border-top: 3px solid #b89a79;
    margin-top: 30px;
    border-radius: 8px;
}

header h2 {
    margin: 0 0 10px;
    letter-spacing: 1px;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-primary);
    text-transform: uppercase;
}

header p,
.site-footer p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 5px 0;
    letter-spacing: 0.2px;
    font-weight: 400;
}

.site-footer h2 {
    color: #805b38 !important;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: none;
}

.footer-link {
    color: var(--green-bright);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--green);
    text-shadow: none;
}

.site-footer .copyright {
    font-size: 12px;
    margin-top: 16px;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

/* პროდუქტის განლაგება */

.product-main-container {
    margin-top: 24px;
}

.product-photo-section img,
.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(73, 51, 35, 0.07);
    display: block;
}

.product-overview {
    padding: 0;
    background-color: transparent;
    text-align: left;
}

.product-overview h1 {
    font-size: 26px;
    font-weight: 800;
    margin: 14px 0;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

.alert {
    font-size: 14px;
    color: #78513b;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: #f1e6db;
    border-left: 3px solid #aa8060;
    padding: 10px 14px;
    border-radius: 4px;
}

.subheadline {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.65;
}

.rating {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 14px 0;
    color: var(--text-secondary);
}

.stars {
    color: var(--gold);
    font-size: 16px;
    margin-right: 6px;
    letter-spacing: 1px;
    text-shadow: none;
}

.rating-value,
.review-count {
    color: var(--green);
    font-weight: 700;
    margin-left: 5px;
}

/* უპირატესობები */

.benefits-list {
    list-style-type: none;
    padding: 0;
    margin: 18px 0;
    font-size: 14px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "✓";
    margin-right: 12px;
    color: #725034;
    background: #eadfce;
    font-weight: 800;
    font-size: 13px;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: none;
}

.benefits-list .icon {
    margin-right: 10px;
}

.benefits-list .icon + * {
    color: var(--text-primary);
    font-weight: 400;
}

.benefits-list .highlight {
    color: var(--green);
    font-weight: 700;
}

/* რაოდენობის არჩევა */

.options-section,
.size-section {
    text-align: left;
    padding: 18px 0;
}

.options-section h2,
.size-section h2 {
    font-size: 19px;
    color: var(--text-primary);
    margin-bottom: 22px;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 14px;
}

.options-section h2::after,
.size-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #b89a79;
    border-radius: 2px;
    box-shadow: none;
}

.options-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.option {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 16px 12px;
    flex: 1;
    max-width: 140px;
    text-align: center;
    background: #fffdf9;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    font-size: 14px;
    box-shadow: none;
}

.option:hover {
    border-color: var(--green);
    box-shadow: 0 3px 10px rgba(73, 51, 35, 0.08);
    transform: translateY(-2px);
}

.option.active {
    border-color: #805b38;
    background: #eee0cd;
    box-shadow: 0 0 0 1px #805b38;
}

.option strong {
    color: var(--text-primary);
}

.recommended,
.best-value {
    border-color: #c9af8f;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px;
    font-size: 11px;
    color: var(--bg-black);
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none;
}

.badge.red {
    background: #805b38;
    color: #fffaf3;
}

.badge.blue {
    background: #514136;
    color: #fffaf3;
}

.small-text {
    font-size: 0.8em;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

/* ფერების არჩევა */

.color-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.color-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex: 1;
    max-width: 180px;
    min-width: 0;
    transition: transform 0.2s ease;
}

.color-btn:hover {
    transform: translateY(-3px);
}

.color-image {
    width: 100%;
    height: auto;
    border: 3px solid transparent;
    border-radius: 8px;
    background: #fffdf9;
    transition: all 0.25s ease;
}

.color-btn.active .color-image {
    border-color: var(--green);
    box-shadow: 0 0 0 1px #805b38;
}

.color-btn img[style*="rgb(255, 173, 30)"],
.color-btn img[style*="#ffad1e"] {
    border-color: #805b38 !important;
}

.color-btn:focus-visible {
    outline: 2px solid #805b38;
    outline-offset: 4px;
    border-radius: 8px;
}

.color-label {
    display: block;
    margin-top: 6px;
    font: 600 12px/1.5 "Noto Sans Georgian", sans-serif;
    color: var(--text-primary);
    overflow-wrap: anywhere;
}

.color-note {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.6;
    margin: 6px 0 12px;
}

.form-group label {
    font-size: 17px;
    color: var(--text-primary);
    letter-spacing: 0.2px;
    font-weight: 800;
}

/* ზომების არჩევა */

.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.size-chart-link {
    font-size: 13px;
    color: var(--green-bright);
    text-decoration: none;
    letter-spacing: 0.2px;
    border-bottom: 1px solid var(--border-green);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.size-chart-link:hover {
    color: var(--green);
    border-bottom-color: var(--green);
}

.size-options {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.size-option {
    flex: 1;
    max-width: 80px;
    min-width: 50px;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background-color: var(--bg-card);
    transition: all 0.25s ease;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.size-option:hover {
    border-color: var(--green);
    box-shadow: 0 3px 10px rgba(73, 51, 35, 0.08);
}

.size-option.active {
    border-color: #805b38;
    background: #eee0cd;
    box-shadow: 0 0 0 1px #805b38;
}

.size-section {
    display: none;
}

/* ფასები და შეკვეთის ფორმა */

.pricing-section {
    padding: 26px;
    background: #fffaf2;
    border: 1px solid #dfccb3;
    border-radius: 12px;
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(73, 51, 35, 0.05);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #cfb795;
}

.pricing-section h2 {
    font-size: 19px;
    margin-top: 20px;
    margin-bottom: 14px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

.regular-price {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0 0 4px;
}

.regular-price span {
    text-decoration: line-through;
}

.discounted-price {
    font-size: 32px;
    color: var(--text-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    margin: 6px 0 12px;
    letter-spacing: 0.3px;
    flex-wrap: wrap;
    gap: 12px;
}

.discounted-price strong {
    color: #60442f;
    text-shadow: none;
}

.discount-badge {
    background: #eadcc8;
    color: #60442f;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-left: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: none;
}

.stock-info {
    font-size: 14px;
    margin: 14px 0;
    line-height: 1.7;
    color: var(--text-secondary);
}

.in-stock {
    color: #486246;
    font-weight: 700;
}

#countdown {
    font-weight: 800;
    color: var(--red-bright);
    font-variant-numeric: tabular-nums;
}

.delivery-date {
    font-weight: 700;
    color: var(--text-primary);
}

.stock-remaining {
    color: var(--red-bright);
    font-weight: 800;
    margin: 0 5px;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0;
}

.order-form label {
    font-size: 12px;
    color: #625446;
    margin-bottom: -10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.order-form input[type="text"],
.order-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1.5px solid #cbbba7;
    border-radius: 8px;
    background: #fffefd;
    color: #30271f;
    font-family: inherit;
    transition: all 0.2s ease;
}

.order-form input::placeholder {
    color: var(--text-dim);
}

.order-form input:focus {
    border-color: #805b38;
    outline: none;
    box-shadow: 0 0 0 3px rgba(128, 91, 56, 0.13);
    background: #ffffff;
}

/* ღილაკები */

.order-button,
.my-custom-scroll-button {
    width: 100%;
    padding: 17px;
    font-size: 15px;
    color: #fffaf3;
    background: #60442f;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-align: center;
    margin: 14px auto;
    box-shadow: 0 4px 12px rgba(73, 51, 35, 0.14);
    transition: all 0.25s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.order-button::before,
.my-custom-scroll-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: none;
    transition: left 0.6s ease;
}

.order-button:hover::before,
.my-custom-scroll-button:hover::before {
    left: 100%;
}

.order-button:hover,
.my-custom-scroll-button:hover {
    background: #493323;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(73, 51, 35, 0.18);
}

.order-button:active,
.my-custom-scroll-button:active {
    transform: translateY(0);
}

.order-button:disabled {
    background: #e9dccb;
    color: #756554;
    box-shadow: none;
}

.cart-icon {
    margin-right: 10px;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

/* გარანტია და სურათები */

.money-back-section {
    display: flex;
    align-items: center;
    background: #fffaf2;
    border: 1px solid #dfccb3;
    padding: 18px;
    border-radius: 10px;
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(73, 51, 35, 0.05);
}

.badge-icon {
    width: 50px;
    height: auto;
    margin-right: 16px;
    filter: none;
}

.money-back-content p {
    margin: 0;
}

.money-back-content p:first-child {
    font-weight: 800;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.money-back-content p:last-child {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 0;
}

/* მიწოდების ტაიმერი */

.shipping-timer {
    text-align: center;
    background: #fffaf2;
    border: 1px solid #dfccb3;
    padding: 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    margin: 24px 0;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(73, 51, 35, 0.05);
}

.shipping-timer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #cfb795;
}

#shippingCountdown {
    font-size: 24px;
    color: var(--green);
    font-weight: 800;
    display: inline-block;
    margin: 0 4px;
    text-shadow: none;
    font-variant-numeric: tabular-nums;
}

/* დამატებითი უპირატესობების Header */

.features-header {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
    background: #f0e6d9;
    padding: 26px 20px 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.features-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #cfb795;
}

.feature-badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.feature-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e9dbc8;
    border: 1.5px solid #d6c1a5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #805b38;
    margin-bottom: 10px;
    box-shadow: none;
}

.feature-icon-circle svg {
    width: 24px;
    height: 24px;
    filter: none;
}

.feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.feature-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
}

/* ზედა საინფორმაციო ბლოკი */

.trust-badges {
    background: #f0e6d9;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.trust-badges::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #cfb795;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.trust-badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e9dbc8;
    border: 1.5px solid #d6c1a5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #805b38;
    box-shadow: none;
}

.trust-badge-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px;
    max-height: 22px;
    display: block;
    filter: none;
}

.trust-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.trust-badge-text strong {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 3px;
}

.trust-badge-text span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* საინფორმაციო სექციები */

.info-section {
    background: #fffaf2;
    border: 1px solid #dfccb3;
    border-radius: 12px;
    padding: 28px 24px;
    margin-top: 26px;
    box-shadow: 0 4px 16px rgba(73, 51, 35, 0.05);
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #cfb795;
}

.info-section h1 {
    text-align: center;
    margin-top: 0;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    position: relative;
}

.info-section h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #b89a79;
    border-radius: 2px;
    box-shadow: none;
}

#how-to-buy .benefits-list {
    counter-reset: steps-counter;
    list-style-type: none;
}

#how-to-buy .benefits-list li::before {
    counter-increment: steps-counter;
    content: counter(steps-counter);
    background: #eadfce;
    color: #725034;
    font-weight: 800;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 15px;
    margin-top: 0;
    box-shadow: none;
}

/* მადლობის გვერდი */

.thank-you-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.thank-you-card {
    background: #fffaf2;
    max-width: 500px;
    width: 100%;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(73, 51, 35, 0.05);
    text-align: center;
    border-top: 6px solid #b89a79;
}

.thank-you-card .icon {
    font-size: 50px;
    color: var(--green);
    margin-bottom: 15px;
    text-shadow: none;
}

.thank-you-card h1 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.thank-you-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.thank-you-card .home-btn {
    display: inline-block;
    padding: 13px 32px;
    background: #60442f;
    color: #fffaf3;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(73, 51, 35, 0.14);
    transition: all 0.2s ease;
}

.thank-you-card .home-btn:hover {
    background: #493323;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(73, 51, 35, 0.18);
}

/* ძველი inline ფერების მორგება ღია დიზაინზე */

.site-container [style*="color: #ffffff"],
.site-container [style*="color:#ffffff"] {
    color: #30271f !important;
}

.site-container [style*="color: #d2d6dd"],
.site-container [style*="color: #aab0bc"] {
    color: #756554 !important;
}

.site-container [style*="color: #ff6b7a"],
.site-container [style*="color: #d32f2f"] {
    color: #8f493e !important;
}

.site-container [style*="color: #4da6e8"],
.site-container [style*="color:#1976d2"] {
    color: #805b38 !important;
}

.info-section[style*="border: 2px dashed"] {
    border-color: #b89a79 !important;
}

/* მობილური და კომპიუტერი */

.desktop-features {
    display: none;
}

@media (min-width: 800px) {
    .desktop-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
    }

    .mobile-features {
        display: none;
    }

    .product-main-container {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    .product-image-column {
        flex: 1;
        position: sticky;
        top: 20px;
    }

    .product-details-column {
        flex: 1;
    }

    .product-overview h1 {
        font-size: 30px;
    }
}

@media (max-width: 799px) {
    .site-container {
        padding: 12px;
    }

    .mobile-features {
        grid-template-columns: 1fr;
    }

    .product-overview h1 {
        font-size: 22px;
    }

    .discounted-price {
        font-size: 28px;
    }

    header h2 {
        font-size: 20px;
    }

    .trust-badges {
        padding: 16px 12px;
        gap: 8px;
    }

    .trust-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        align-items: center;
    }

    .trust-badge-icon {
        width: 40px;
        height: 40px;
    }

    .trust-badge-icon svg {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px;
        max-height: 18px;
    }

    .trust-badge-text {
        align-items: center;
    }

    .trust-badge-text strong {
        font-size: 12.5px;
        line-height: 1.25;
    }

    .trust-badge-text span {
        font-size: 11px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .features-header {
        padding: 18px 8px 14px;
        gap: 4px;
    }

    .feature-icon-circle {
        width: 44px;
        height: 44px;
    }

    .feature-icon-circle svg {
        width: 20px;
        height: 20px;
    }

    .feature-title {
        font-size: 13px;
    }

    .feature-sub {
        font-size: 10px;
    }

    .color-options {
        gap: 8px;
    }

    .color-label {
        font-size: 11px;
    }
}