/*
  Vinné sklepy - wine color overrides for the Pintex template.
  Loaded after violet-red-theme.css: redefines the shared theme
  variables so every .btn--theme / .color--theme-2 / etc. component
  picks up our wine palette instead of the template's default violet-red.

  Palette matches the Flutter app (lib/tools/constants.dart):
  kRedWine = #64062A, kRedWineLight = #9B1B47
*/

:root {
  --header-color: #3a0a1c;
  --gray: #6b5850;
  --theme-color: #64062A;
  --theme-color-secondary: #9B1B47;
  --violet-red: #9B1B47;
  --yellow: #857144; /* matches kDarkGold in lib/tools/constants.dart */
  --magnolia: #FBF3E7;
  --lavender: #F8F1E9;
  --snow: #FBF6EF;
  --white-smoke: #F6EFE6;
  --noice: #FAF5EC;
  --tra-violet-red: rgba(155, 27, 71, .1);
}

body {
  color: var(--gray);
}

a,
a:hover {
  color: var(--header-color);
}

.shape-ico.color--theme path,
.shape-ico.color--theme-2 path,
.theme--dark .shape-ico.color--theme path,
.theme--dark .shape-ico.color--theme-2 path {
  fill: rgba(100, 6, 42, .07);
}

/*------------------------------------------*/
/*  LOGO LOCKUP (icon mark + wordmark)
/*------------------------------------------*/

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  vertical-align: middle;
}

.logo-lockup .logo-mark {
  height: 34px;
  width: auto;
  max-height: 34px;
}

.logo-lockup .logo-word {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--theme-color);
}

.logo-white .logo-lockup .logo-word,
.color--white .logo-lockup .logo-word {
  color: var(--white);
}

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

.footer-logo-lockup .logo-mark {
  height: 42px;
  width: auto;
}

.footer-logo-lockup .logo-word {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--theme-color);
}

/*------------------------------------------*/
/*  HERO VISUAL — real app screenshot in a phone frame
/*------------------------------------------*/

.wine-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 40px 0 10px;
}

.phone-mockup {
  position: relative;
  width: 260px;
  aspect-ratio: 1206 / 2622;
  background: linear-gradient(160deg, #2b2b2e, #0c0c0d);
  border-radius: 46px;
  padding: 13px;
  box-shadow:
    0 30px 60px rgba(20, 2, 9, .45),
    0 0 0 2px rgba(255, 255, 255, .06) inset;
}

.phone-mockup .phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background-image: url(../images/app-screenshot.jpg);
  background-size: cover;
  background-position: top center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
}

/*------------------------------------------*/
/*  SCREENSHOTS CAROUSEL
/*------------------------------------------*/

.wine-screens-carousel .item {
  padding-bottom: 10px;
}

.wine-screenshot-card {
  width: 190px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(20, 2, 9, .18),
    0 0 0 1px rgba(20, 2, 9, .06);
}

.wine-screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.wine-screen-caption {
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
  color: var(--header-color);
}

/*------------------------------------------*/
/*  REVIEWS CAROUSEL
/*------------------------------------------*/

.wine-reviews-carousel .item {
  padding-bottom: 10px;
}

.wine-reviews-carousel .review-1 {
  height: 100%;
}

/*------------------------------------------*/
/*  SHARED CAROUSEL NAV ARROWS
/*------------------------------------------*/

.wine-carousel-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}

.wine-carousel-wrap .owl-nav button.owl-prev,
.wine-carousel-wrap .owl-nav button.owl-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--theme-color-secondary), var(--theme-color));
  box-shadow: 0 10px 24px rgba(58, 10, 28, .3);
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.wine-carousel-wrap .owl-nav button.owl-prev:hover,
.wine-carousel-wrap .owl-nav button.owl-next:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 14px 30px rgba(58, 10, 28, .4);
}

.wine-carousel-wrap .owl-nav button.owl-prev {
  left: -56px;
}

.wine-carousel-wrap .owl-nav button.owl-next {
  right: -56px;
}

.wine-carousel-wrap .owl-nav span {
  display: inline-block;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
}

.wine-carousel-wrap .owl-nav .owl-prev span {
  transform: scaleX(-1);
}

@media (max-width: 767px) {
  .wine-carousel-wrap {
    padding: 0 46px;
  }

  .wine-carousel-wrap .owl-nav button.owl-prev {
    left: -42px;
  }

  .wine-carousel-wrap .owl-nav button.owl-next {
    right: -42px;
  }
}

/*------------------------------------------*/
/*  FEATURE ICON BADGES
/*------------------------------------------*/

.wine-fbox-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 34px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--theme-color-secondary), var(--theme-color));
}

.wine-fbox-ico img {
  width: 30px;
  height: 30px;
}

.wine-fbox-ico--lg {
  width: 160px;
  height: 160px;
  margin: 0 auto;
}

.wine-fbox-ico--lg img {
  width: 70px;
  height: 70px;
}

.fbox-wrapper .fbox-1 {
  margin-bottom: 44px;
}

/*------------------------------------------*/
/*  SECTION TINT (replaces stock bg photos)
/*------------------------------------------*/

.wine-section-tint {
  background-color: var(--magnolia);
}

/*------------------------------------------*/
/*  DOWNLOAD BANNER
/*------------------------------------------*/

.wine-banner-overlay {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--theme-color) 0%, #3a0316 100%);
  padding: 70px 40px !important;
}

.wine-banner-overlay::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -60px;
  width: 340px;
  height: 340px;
  transform: translateY(-50%);
  background: url(../images/logo-white.png) center / contain no-repeat;
  opacity: .07;
  pointer-events: none;
}

.wine-banner-overlay .banner-5-txt {
  position: relative;
  z-index: 1;
}

.wine-download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 10px;
}

.wine-download-row .stores-badge {
  margin-top: 0;
}

.wine-qr-block {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.wine-qr-block .wine-qr-frame {
  display: inline-block;
  background: var(--white);
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  line-height: 0;
}

.wine-qr-block img {
  display: block;
  image-rendering: pixelated;
}

.wine-qr-block span {
  font-size: .875rem;
  color: rgba(255, 255, 255, .85);
  max-width: 160px;
  text-align: left;
  line-height: 1.4;
}

/*------------------------------------------*/
/*  HERO SECTION
/*------------------------------------------*/

.wine-hero-section {
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #4a0e24 0%, var(--theme-color) 55%, var(--theme-color-secondary) 100%);
  padding-top: 140px;
  padding-bottom: 40px;
}

.wine-hero-section .wave-shape-bottom {
  z-index: 6;
  /* purely decorative — must never swallow clicks on the content above it
     (e.g. the store badges), even where its bounding box has no ink */
  pointer-events: none;
}

.wine-hero-section .wave-shape-bottom path {
  fill: var(--white);
}

.wine-hero-section .hero-7-txt {
  margin-top: -30px;
}

.wine-hero-section .hero-7-txt h2 {
  font-size: 3.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/*------------------------------------------*/
/*  RATING LINE SPACING (Reviews section)
/*------------------------------------------*/

.star-rating small {
  margin-left: 6px;
}

/*------------------------------------------*/
/*  PRELOADER (wine themed, matches app splash)
/*------------------------------------------*/

#loading {
  background-color: var(--theme-color);
}

#loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.wine-preloader-logo {
  width: 64px;
  height: auto;
  animation: wine-preloader-pulse 1.4s ease-in-out infinite;
}

@keyframes wine-preloader-pulse {
  0%, 100% { opacity: .55; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1); }
}

/*------------------------------------------*/
/*  HEADER ADMIN ICON LINK
/*------------------------------------------*/

.wine-admin-link {
  opacity: .55;
  padding: 0 4px;
}

.wine-admin-link [class*="flaticon-"]:before,
.wine-admin-link [class*="flaticon-"]:after {
  font-size: 1.05rem;
}

.wine-admin-link:hover {
  opacity: 1;
}

/*------------------------------------------*/
/*  COOKIE CONSENT BANNER (readability + reject button)
/*------------------------------------------*/

#cookies p {
  color: rgba(255, 255, 255, .85) !important;
}

#cookies-info {
  color: #e9c46a !important;
}

#cookies-info:hover {
  color: #ffffff !important;
}

#cookies-reject {
  color: rgba(255, 255, 255, .7) !important;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 16px;
}

#cookies-reject:hover {
  color: #ffffff !important;
}

@media (max-width: 767px) {
  #cookies-reject {
    display: inline-block;
    margin-left: 0;
    margin-top: 8px;
  }
}
