/* =========================================================================
   ATAN — Магазин (frontend only, no backend, no payment)
   Tokens from the live site: green / yellow / charcoal, Oswald, square
   corners, yellow chips. No gradients, Font Awesome 4 only (local).
   green #0E683C #1F734A #005D3B   yellow #FADB00 #F9DB00
   charcoal #1D2228 #1B242B   thumb #12181d   line #2b333b
   ========================================================================= */

*{ box-sizing:border-box; }

/* ---------------- HEADER ---------------- */
.site-head{ background:#1D2228; border-bottom:solid 3px #FADB00; width:100%; }
.head-inner{ max-width:1280px; margin:0 auto; display:flex; align-items:center; gap:34px; padding:16px 40px; flex-wrap:wrap; }
.head-logo img{ display:block; height:50px; width:auto; }
.head-nav{ display:flex; gap:28px; flex:1; flex-wrap:wrap; }
.head-nav a{ color:#fff; text-transform:uppercase; font-size:17px; font-weight:300; letter-spacing:.3px; cursor:pointer; }
.head-nav a:hover, .head-nav a.active{ color:#FADB00; }

.head-cart{
    position:relative;
    background:#FADB00; color:#0E683C; border:0; cursor:pointer;
    font-family:Oswald,sans-serif; text-transform:uppercase; font-weight:500;
    font-size:18px; letter-spacing:.4px; padding:12px 22px 12px 18px;
}
.head-cart .fa{ font-size:19px; padding-right:8px; }
.head-cart-count{
    display:inline-block; min-width:24px; height:24px; line-height:24px; text-align:center;
    background:#0E683C; color:#FADB00; border-radius:50%; font-size:14px; margin-left:10px; padding:0 6px;
}

/* ---------------- HERO ---------------- */
.vhero{
    background-color:#0E683C; border-top:solid 1px #fff; border-bottom:solid 1px #FADB00;
    background-image:url(../img/common/big_white_logo.png); background-repeat:no-repeat; background-position:96% center; width:100%;
}
.vhero_inner{ max-width:1280px; margin:0 auto; padding:46px 40px; }
.vhero_title{ text-transform:uppercase; font-size:46px; line-height:46px; font-weight:300; }
.vhero_title span{ color:#FADB00; font-weight:500; }
.vhero_sub{ margin-top:16px; font-size:21px; font-weight:200; max-width:820px; line-height:28px; }

/* ---------------- WRAPPER ---------------- */
.main_control{ display:block; width:100%; }
.wrap{ max-width:1280px; margin:0 auto; padding:46px 40px 70px; }
.view-head{ display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-bottom:24px; }
.view-title{ text-transform:uppercase; font-size:34px; font-weight:300; color:#FADB00; }
.view-sub{ font-size:17px; font-weight:200; color:#aab0b6; }
.fade-in{ animation:vfade .22s ease both; }
@keyframes vfade{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }

/* ---------------- CATALOG TOOLBAR ---------------- */
.toolbar{ display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin-bottom:26px; }
.search{ position:relative; flex:1; min-width:240px; }
.search .fa{ position:absolute; left:16px; top:15px; color:#7fae97; font-size:19px; }
.vinput{
    width:100%; background:#fff; border:solid 1px #0F683C; color:#0E683C;
    font-family:Oswald,sans-serif; font-weight:300; font-size:19px; padding:13px 16px; outline:none;
}
.vinput::placeholder{ color:#7fae97; }
.vinput:focus{ border-color:#FADB00; }
.search .vinput{ padding-left:46px; }

.chips{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px; }
.chip{
    background:#1B242B; border:solid 1px #2b333b; color:#cfd3d7;
    text-transform:uppercase; font-family:Oswald,sans-serif; font-weight:300; font-size:15px;
    padding:9px 16px; cursor:pointer; transition:border-color 130ms ease, color 130ms ease;
}
.chip .fa{ padding-right:7px; color:#FADB00; }
.chip:hover{ border-color:#FADB00; }
.chip.on{ background:#FADB00; border-color:#FADB00; color:#0E683C; font-weight:500; }
.chip.on .fa{ color:#0E683C; }

/* ---------------- PRODUCT GRID ---------------- */
.grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.card{
    background:#1B242B; border:solid 1px #2b333b; display:flex; flex-direction:column;
    transition:border-color 150ms ease, transform 150ms ease;
}
.card:hover{ border-color:#FADB00; transform:translateY(-3px); }

/* branded "thumbnail" — no fake photos: category icon + ATAN watermark + volume */
.p-thumb{
    position:relative; height:170px; background-color:#12181d;
    background-image:url(../img/common/big_white_logo.png); background-repeat:no-repeat;
    background-position:center 78%; background-size:120px auto;
    display:flex; align-items:center; justify-content:center; border-bottom:solid 1px #2b333b;
}
.p-thumb .p-ico{ font-size:62px; color:#1F734A; }
.p-thumb .p-vol{
    position:absolute; left:0; bottom:0; background:#FADB00; color:#1F734A;
    font-weight:500; text-transform:uppercase; font-size:15px; padding:4px 11px;
}
.p-tag{
    position:absolute; top:0; right:0; text-transform:uppercase; font-size:12px; font-weight:500;
    padding:4px 10px; letter-spacing:.3px;
}
.p-tag.hit{ background:#FADB00; color:#1B242B; }
.p-tag.new{ background:#1F734A; color:#FADB00; }

.p-body{ padding:16px 18px; flex:1; display:flex; flex-direction:column; }
.p-cat{ text-transform:uppercase; font-size:13px; letter-spacing:.3px; color:#8b9298; }
.p-name{ font-size:20px; font-weight:300; color:#fff; line-height:24px; margin:7px 0 0; }
.p-foot{ padding:0 18px 18px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.p-price{
    display:inline-block; background:#FADB00; color:#1F734A; text-transform:uppercase;
    font-weight:500; font-size:20px; line-height:36px; height:36px; padding:0 14px; white-space:nowrap;
}

/* ---------------- BUTTONS ---------------- */
.btn{
    font-family:Oswald,sans-serif; text-transform:uppercase; font-weight:500; font-size:18px;
    letter-spacing:.4px; padding:11px 26px; border:0; cursor:pointer; border-radius:0;
}
.btn-yellow{ background:#FADB00; color:#0E683C; }
.btn-ghost{ background:transparent; border:solid 1px #FADB00; color:#FADB00; padding:10px 25px; }
.btn-big{ font-size:22px; padding:15px 46px; }
.btn[disabled]{ opacity:.35; cursor:not-allowed; }
.btn-add{ width:100%; }

/* qty stepper */
.stepper{ display:inline-flex; align-items:stretch; border:solid 1px #FADB00; width:100%; }
.stepper button{
    background:transparent; border:0; color:#FADB00; font-size:22px; width:40px; cursor:pointer;
    font-family:Oswald,sans-serif; line-height:1;
}
.stepper button:hover{ background:#FADB00; color:#0E683C; }
.stepper .q{ flex:1; text-align:center; color:#fff; font-size:20px; line-height:38px; }

/* ---------------- EMPTY STATE ---------------- */
.empty{ text-align:center; padding:70px 20px; }
.empty .fa{ font-size:64px; color:#2b333b; }
.empty p{ font-size:22px; font-weight:200; color:#aab0b6; margin:20px 0 26px; }

/* ---------------- CART ---------------- */
.cart-layout{ display:grid; grid-template-columns:1fr 360px; gap:30px; align-items:start; }
.cart-items{ display:flex; flex-direction:column; gap:14px; }
.cart-row{
    display:grid; grid-template-columns:84px 1fr 150px 130px 40px; gap:16px; align-items:center;
    background:#1B242B; border:solid 1px #2b333b; padding:14px 16px;
}
.cart-row .ci-thumb{
    width:84px; height:70px; background:#12181d; display:flex; align-items:center; justify-content:center;
}
.cart-row .ci-thumb .fa{ font-size:30px; color:#1F734A; }
.cart-row .ci-name{ font-size:19px; font-weight:300; color:#fff; }
.cart-row .ci-cat{ font-size:13px; text-transform:uppercase; color:#8b9298; margin-top:3px; }
.cart-row .ci-price{ font-size:18px; color:#FADB00; font-weight:500; text-align:right; }
.cart-row .ci-rm{ background:transparent; border:0; color:#8b9298; font-size:20px; cursor:pointer; }
.cart-row .ci-rm:hover{ color:#FADB00; }
.cart-row .stepper{ width:130px; }
.cart-row .stepper .q{ line-height:34px; font-size:18px; }
.cart-row .stepper button{ width:34px; font-size:20px; }

/* summary panel — green band like footer */
.summary{
    background:#1F734A; background-image:url(../img/common/big_white_logo.png);
    background-repeat:no-repeat; background-position:right bottom; padding:26px 28px;
}
.summary h3{ text-transform:uppercase; font-size:22px; font-weight:500; color:#FADB00; margin:0 0 18px; }
.summary .s-row{ display:flex; justify-content:space-between; align-items:baseline; padding:10px 0; border-bottom:solid 1px rgba(255,255,255,.18); }
.summary .s-row:last-of-type{ border-bottom:0; }
.summary .s-key{ text-transform:uppercase; font-size:15px; color:#cfe6da; }
.summary .s-val{ font-size:19px; font-weight:300; }
.summary .s-row.total .s-key{ color:#FADB00; font-size:18px; }
.summary .s-row.total .s-val{ color:#FADB00; font-size:30px; font-weight:500; }
.summary .btn{ width:100%; margin-top:18px; }
.summary .s-note{ font-size:14px; color:#cfe6da; text-transform:uppercase; margin-top:14px; line-height:19px; }

/* ---------------- CHECKOUT ---------------- */
.checkout-layout{ display:grid; grid-template-columns:1fr 360px; gap:30px; align-items:start; }
.vfield{ margin-bottom:20px; }
.vlabel-top{ display:block; text-transform:uppercase; font-size:14px; letter-spacing:.4px; color:#FADB00; margin-bottom:8px; }
.fields-2{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field-err{ color:#E29C00; font-size:14px; text-transform:uppercase; margin-top:7px; min-height:1px; }
textarea.vinput{ resize:vertical; min-height:80px; }

.delivery{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:8px; }
.radio-card{
    background:#1B242B; border:solid 1px #2b333b; padding:16px 18px; cursor:pointer; transition:border-color 130ms ease;
}
.radio-card:hover{ border-color:#FADB00; }
.radio-card.on{ border:solid 2px #FADB00; padding:15px 17px; }
.radio-card .rc-t{ text-transform:uppercase; font-size:18px; color:#FADB00; }
.radio-card .rc-t .fa{ padding-right:8px; }
.radio-card .rc-d{ font-size:15px; font-weight:300; color:#c2c7cc; margin-top:6px; }

.cart-mini{ display:flex; flex-direction:column; gap:8px; margin-bottom:6px; }
.cart-mini .m-row{ display:flex; justify-content:space-between; font-size:15px; color:#cfe6da; }
.cart-mini .m-row span:first-child{ font-weight:300; }

/* ---------------- ORDER SUCCESS ---------------- */
.order-wrap{ text-align:center; padding:10px 0 20px; }
.order{ display:inline-block; text-align:left; width:600px; max-width:100%; background:#1B242B; border:solid 1px #FADB00; }
.order-head{ background:#FADB00; color:#0E683C; text-transform:uppercase; padding:22px 30px; }
.order-head .o-k{ font-size:18px; }
.order-head .o-t{ font-size:30px; font-weight:500; line-height:32px; }
.order-num{ background:#0E683C; color:#FADB00; text-transform:uppercase; text-align:center; padding:14px; font-size:20px; letter-spacing:2px; }
.order-num .fa{ padding-right:8px; letter-spacing:0; }
.order-body{ padding:20px 30px 8px; }
.order-body .s-row{ display:flex; justify-content:space-between; align-items:baseline; padding:10px 0; border-bottom:solid 1px #2b333b; }
.order-body .s-key{ text-transform:uppercase; font-size:15px; color:#8b9298; }
.order-body .s-val{ font-size:18px; font-weight:300; text-align:right; }
.order-body .s-row.total .s-key{ color:#FADB00; }
.order-body .s-row.total .s-val{ color:#FADB00; font-size:24px; font-weight:500; }
.order-sent{ text-align:center; font-size:18px; font-weight:300; color:#fff; margin:24px 0 6px; }
.order-sent .fa{ color:#1F734A; background:#FADB00; border-radius:50%; width:30px; height:30px; line-height:30px; margin-right:10px; }
.order-actions{ text-align:center; margin-top:22px; }
.order-actions .btn{ margin:0 8px; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width:1100px){
    body{ min-width:100%; }
    .grid{ grid-template-columns:repeat(3,1fr); }
    .cart-layout, .checkout-layout{ grid-template-columns:1fr; }
    .head-inner,.vhero_inner,.wrap{ padding-left:24px; padding-right:24px; }
}
@media (max-width:760px){
    .head-inner{ gap:14px; }
    .head-nav{ order:3; width:100%; gap:18px; font-size:15px; }
    .head-cart-txt{ display:none; }
    .vhero_title{ font-size:32px; line-height:34px; }
    .vhero{ background-image:none; }
    .grid{ grid-template-columns:repeat(2,1fr); }
    .fields-2, .delivery{ grid-template-columns:1fr; }
    .cart-row{ grid-template-columns:64px 1fr 40px; grid-row-gap:10px; }
    .cart-row .ci-thumb{ width:64px; height:56px; }
    .cart-row .stepper{ grid-column:2 / 3; }
    .cart-row .ci-price{ grid-column:1 / 4; text-align:left; }
    .order{ width:100%; }
    .btn-big{ font-size:18px; padding:13px 28px; }
}
@media (max-width:460px){ .grid{ grid-template-columns:1fr; } }

@media print{
    body{ background:#fff !important; min-width:0; }
    .site-head,.footer_holder,.mobile_strip,.vhero{ display:none !important; }
    .order{ border-color:#000; }
}
