/* Το Κοπίδι · Online παραγγελίες (extends style.css) */

.cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 3px; background: var(--ox); color: var(--cream); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn span { display: none; }
.cart-btn b { min-width: 22px; height: 22px; border-radius: 11px; background: var(--brass); color: var(--char); display: grid; place-items: center; font-size: .78rem; }

/* hero strip */
.shop-hero { position: relative; isolation: isolate; color: var(--cream); overflow: hidden; }
.shop-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.shop-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 27, 24, .94), rgba(30, 27, 24, .78)); }
.shop-hero__inner { max-width: 1240px; margin: 0 auto; padding: 34px 20px 30px; }
.crumbs { font-size: .82rem; color: rgba(244, 237, 225, .7); margin-bottom: 10px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.shop-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 800; max-width: 22ch; }
.shop-hero h1 span { color: var(--brass); display: block; }
.perks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: .92rem; color: rgba(244, 237, 225, .9); }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks svg { width: 20px; height: 20px; fill: none; stroke: var(--brass); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* layout */
.shop { max-width: 1240px; margin: 0 auto; padding: 22px 20px 56px; display: grid; gap: 22px; }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 8px 14px; border: 1.5px solid rgba(30, 27, 24, .18); border-radius: 3px; font-weight: 500; font-size: .92rem; }
.cats a.is-on { background: var(--char); border-color: var(--char); color: var(--cream); }

/* products */
.products { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.product { position: relative; background: #FBF7F0; border: 1px solid rgba(30, 27, 24, .12); border-radius: 4px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.product__img { aspect-ratio: 4 / 3; border-radius: 3px; background: #EADFCC; display: grid; place-items: center; margin-bottom: 4px; }
.product__img svg { width: 48%; height: auto; fill: none; stroke: var(--ox); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 18px; left: 18px; background: var(--ox); color: var(--cream); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.product h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.2; }
.product__price { font-family: 'Roboto Slab', serif; font-weight: 800; color: var(--ox); font-size: 1.1rem; }
.product__price small { font-family: 'Fira Sans', sans-serif; font-weight: 400; font-size: .75rem; color: #6b625a; }
.qty { display: flex; flex-wrap: wrap; gap: 4px; }
.qty span { font-size: .75rem; padding: 4px 7px; border: 1px solid rgba(30, 27, 24, .2); border-radius: 2px; }
.qty .is-on { background: var(--char); color: var(--cream); border-color: var(--char); }
.product__cut { font-size: .78rem; color: #6b625a; }
.product__cut b { color: var(--char); font-weight: 500; }
.add { margin-top: auto; text-align: center; padding: 9px; border-radius: 3px; background: var(--brass); color: var(--char); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.add:hover { background: #c39f68; }

/* cart */
.cart { background: #fff; border: 1px solid rgba(30, 27, 24, .12); border-top: 4px solid var(--ox); border-radius: 4px; padding: 20px; align-self: start; }
.cart h2 { font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.cart h2 span { font-family: 'Fira Sans', sans-serif; font-size: .78rem; background: var(--brass); color: var(--char); border-radius: 11px; min-width: 22px; height: 22px; display: grid; place-items: center; }
.cart__items { list-style: none; padding: 0; margin: 14px 0 6px; }
.cart__items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(30, 27, 24, .18); font-size: .92rem; }
.cart__items b { display: block; font-weight: 600; }
.cart__items small { color: #6b625a; font-size: .78rem; }
.cart__items > li > span { font-family: 'Roboto Slab', serif; font-weight: 700; white-space: nowrap; }
.cart__block { margin-top: 14px; }
.cart__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b625a; margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--cream); border-radius: 4px; }
.seg span { text-align: center; padding: 8px 6px; border-radius: 3px; font-size: .8rem; font-weight: 500; line-height: 1.25; }
.seg .is-on { background: var(--char); color: var(--cream); }
.cart__select { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid rgba(30, 27, 24, .2); border-radius: 3px; font-size: .9rem; }
.cart__select svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--char); }
.cart__total b { font-family: 'Roboto Slab', serif; font-weight: 800; font-size: 1.6rem; color: var(--ox); }
.cart__go { width: 100%; margin-top: 14px; padding: 14px; font-size: .88rem; }
.cart__note { margin-top: 10px; font-size: .8rem; color: #6b625a; text-align: center; }

/* mobile cart bar (replaces the Viber button on this page) */
.cartbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--ox); color: var(--cream); border: 2px solid var(--brass); border-radius: 3px; box-shadow: 0 10px 30px -8px rgba(30, 27, 24, .55); font-size: .92rem; }
.cartbar b { margin-right: 8px; }
.cartbar__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
.cartbar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 720px) {
  .cart-btn span { display: inline; }
  .shop-hero__inner { padding: 44px 40px 40px; }
  .shop { padding: 30px 40px 72px; }
  .cats { margin: 0; padding: 0; flex-wrap: wrap; }
  .products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (min-width: 1024px) {
  .shop { grid-template-columns: 190px minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
  .cats { flex-direction: column; gap: 4px; position: sticky; top: 24px; }
  .cats a { border: 0; padding: 10px 12px; }
  .cats a:not(.is-on):hover { background: #EFE5D5; }
  .cart { position: sticky; top: 24px; }
  .cartbar { display: none; }
}
