/*
Theme Name: bicpromo
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

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

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

:root {
  --primary: #F7941D;
  --primary2: #F7941D;
  --dark: #c27517;
  --black: #333;
  --pt: 60px;
  --pb: 60px;
}

@media (max-width: 500px) {
  :root {
    --pt: 30px;
    --pb: 30px;
  }
}


body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: var(--black);
  font-size: 20px;
}

body.ovh {
  overflow: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 15px;
}

h2 {
  font-size: 2.8em;
}

h3 {
  font-size: 2.2em;
}

h4 {
  font-size: 1.8em;
}

h5 {
  font-size: 1.4em;
}

p {
  margin-bottom: 10px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark);
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: bold;
  border: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--dark);
  color: #ffffff;
}

.btn-secondary {
  display: inline-block;
  background-color: #6c757d;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.9em;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #5a6268;
  color: #ffffff;
}

.scroll-load {
  display: none!important;
}

.scroll-load.loaded {
  display: flex !important;
}

header {
  position: relative;
  display: flex;
  background-color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
}

.logo a {
  display: flex;
}

.logo img {
  height: 60px;
  width: auto;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

header nav ul li {
  margin-left: 40px;
}

header nav ul li a {
  color: var(--black);
  font-weight: 600;
  padding: 5px 0;
  display: block;
}

header nav ul li a:hover {
  color: var(--primary);
}

.header__menu-burger {
  display: none;
  padding: 15px;
  padding-right: 0;
}

.header__menu-burger-img {
  width: 24px;
}

.header__menu-burger.active path {
  fill: var(--primary);
}

.mob-menu {
  display: none;
  position: fixed;
  flex-direction: column;
  top: 90px;
  left: 0;
  width: 100%;
  height: calc(100% - 90px);
  background: #fff;
}

.mob-menu.active {
  display: flex;
}

.mob-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 0;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/wp-content/themes/bicpromo/assets/images/hero-banner.png') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 120px 0;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section h2 {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-section p {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.categories-section {
  padding: 80px 0;
  text-align: center;
}

.categories-section h3 {
  margin-bottom: 50px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.category-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.category-item a {
  margin: auto;
  margin-bottom: 20px;
}

.category-item h4 {
  font-size: 1.8em;
  color: var(--primary);
  margin-top: auto;
  margin-bottom: 10px;
}

.features-section {
  padding: 80px 0;
  text-align: center;
}

.features-section h3 {
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.feature-item img {
  height: 60px;
  width: 60px;
  margin-bottom: 15px;
}

.feature-item h5 {
  color: #495057;
  margin-top: 0;
  margin-bottom: 10px;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.info-section {
  padding: 60px 0;
  text-align: center;
}

.info-section h3 {
  margin-bottom: 30px;
}

.info-section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.alternate-bg {
  background-color: #e9ecef;
}

.form-field.error {
  border: 1px solid #da3434;
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1em;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: auto;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}

.contact-form__message {
  display: none;
  color: #1fb91f;
  margin-top: 10px;
}

.contact-form__message.active {
  display: flex;
  justify-content: center;
}

footer {
  background-color: #343a40;
  color: #fff;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9em;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links a, .social-icons a {
  color: #adb5bd;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover, .social-icons a:hover {
  color: #fff;
}

.footer-links {
  margin: 15px 0;
}

.social-icons img {
  height: 30px;
  width: 30px;
  vertical-align: middle;
  border-radius: 50%;
}

.social-icons a:hover path {
  fill: var(--primary);
}

@media (max-width: 991px) {
  header nav ul li {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.4em;
  }

  h3 {
    font-size: 1.2em;
  }

  h4 {
    font-size: 1em;
  }

  h5 {
    font-size: .8em;
  }

  li {
    font-size: .8em;
  }

  header .container {
    display: flex;
    text-align: center;
  }

  header nav {
    display: none;
  }

  header nav ul {
    margin-top: 15px;
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin: 8px 0;
  }

  .header__menu-burger {
    display: flex;
  }

  .hero-section h2 {
    font-size: 1.6em;
  }

  .hero-section p {
    font-size: 1.2em;
  }

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

  .category-item, .feature-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section h2 {
    font-size: 1.4em;
  }

  .hero-section p {
    font-size: 1em;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}


.category-hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://via.placeholder.com/1500x300/3498db/ffffff?text=Фон+категорії+ручок') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.category-hero-section h1 {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.category-hero-section p {
  font-size: 1.3em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  margin: 0 auto;
}

.category-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 0;
}

.sidebar {
  flex: 0 0 250px;
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  align-self: flex-start;
}

.sidebar h3 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #2c3e50;
  font-size: 1.6em;
}

.filter-group {
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-group h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #495057;
  font-size: 1.2em;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95em;
  cursor: pointer;
}

.filter-group input[type="checkbox"] {
  margin-right: 8px;
}

.btn-filter {
  display: block;
  width: 100%;
  padding: 10px 15px;
  background-color: var(--primary2);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-filter:hover {
  background-color: var(--dark);
}

.product-listing {
  flex: 1;
  min-width: 0;
}

.sort-options {
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-options label {
  font-weight: 600;
}

.sort-options select {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #f8f9fa;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.product-item img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 5px;
}

.product-item h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #34495e;
}

.product-item .product-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 15px;
  min-height: 40px;
}

.product-item .product-price {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary2);
  margin-top: auto;
  margin-bottom: 20px;
}

.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination a {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  color: var(--primary2);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
  background-color: var(--primary2);
  color: #fff;
  border-color: var(--primary2);
}


@media (max-width: 992px) {
  .category-content {
    flex-direction: column;
  }

  .sidebar {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .category-hero-section h1 {
    font-size: 2.5em;
  }

  .category-hero-section p {
    font-size: 1.1em;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .sort-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-item {
    padding: 15px;
  }
}

.product-details-section {
  padding: 40px 0;
  background-color: #f8f9fa;
}

.breadcrumb {
  font-size: 0.9em;
  margin-bottom: 20px;
  color: #6c757d;
}

.breadcrumb a {
  color: #6c757d;
}

.breadcrumb a:hover {
  color: var(--primary2);
}

.product-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-height: 100vh;
}

.product-image-gallery {
  position: relative;
  flex: 1 1 500px;
  max-width: 600px;
  text-align: center;
}

.product-image-gallery-inner {
  position: sticky;
  top: 20px;
}

.product-image-gallery .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.product-image-gallery .swiper-button-next,
.product-image-gallery .swiper-button-prev {
  color: var(--primary);
}

.product-slide-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
}

.main-product-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #eee;
}

.thumbnail-gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding-top: 30px;
  max-width: 100%;
}

.thumbnail-gallery img {
  display: flex;
  width: 90px;
  height: 70px;
  object-fit: contain;
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.thumbnail-gallery img:hover,
.thumbnail-gallery .swiper-slide-thumb-active img {
  border-color: var(--primary2);
  transform: translateY(-3px);
}

.product-info {
  flex: 1 1 400px;
  padding-left: 20px;
}

.product-info h1 {
  font-size: 2.5em;
  margin-top: 0;
  margin-bottom: 10px;
  color: #2c3e50;
}

.product-info h2 {
  font-size: 2.3em;
  margin-top: 0;
  margin-bottom: 10px;
  color: #2c3e50;
}

.product-availability {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #555;
}

.product-availability .in-stock {
  color: #28a745;
  font-weight: bold;
}

.product-price {
  font-size: 2.2em;
  color: var(--primary2);
  font-weight: bold;
  margin-bottom: 25px;
}

.product-affiliate-link {
  display: flex;
  align-items: center;
  color: #28a745;
  gap: 10px;
  font-weight: 600;
  font-size: 22px;
  text-decoration: underline;
}

.product-affiliate-link:hover {
  color: #18722e;
}

.product-options {
  margin-bottom: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.option-group {
  margin-bottom: 15px;
}

.option-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.option-group select,
.option-group input[type="number"] {
  padding: 10px 15px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 1em;
  background-color: #fff;
  width: auto;
  min-width: 150px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 15px 0;
  font-size: 1.2em;
  border: none;
  cursor: pointer;
}

.product-short-description {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #eee;
}

.product-short-description h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #34495e;
}

.product-short-description ul {
  list-style: disc;
  margin-left: 25px;
  padding: 0;
}

.product-short-description ul li {
  margin-bottom: 8px;
}

.product-full-description {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
}

.product-full-description h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #2c3e50;
}


.product-full-description-specifications {
  overflow: auto;
}

.product-video {
  display: flex;
  flex-direction: column;
}

.product-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.product-full-description table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.product-full-description th,
.product-full-description td {
  border: 1px solid #dee2e6;
  padding: 12px 15px;
  text-align: left;
  min-width: 200px;
}

.product-full-description th {
  background-color: #f2f2f2;
  font-weight: 600;
  width: 30%;
}

.related-products {
  background-color: #e9ecef;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
}

.related-products h3 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #2c3e50;
}

.related-products .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

@media (max-width: 1200px) {
  .product-layout {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .product-layout {
    flex-direction: column;
  }

  .product-image-gallery,
  .product-info {
    max-width: 100%;
    padding-left: 0;
  }

  .product-image-gallery {
    order: 1;
    flex: auto;
  }

  .product-info {
    order: 2;
  }

  .main-product-image {
    max-height: 350px;
  }
}

@media (max-width: 768px) {
  .product-details-section {
    padding: 30px 0;
  }

  .product-layout {
    padding: 20px;
    gap: 20px;
  }

  .product-info h1 {
    font-size: 2em;
  }

  .product-info h2 {
    font-size: 1.6em;
  }

  .product-price {
    font-size: 1.8em;
  }

  .add-to-cart-btn {
    font-size: 1em;
    padding: 12px 0;
  }

  .product-full-description {
    padding: 20px;
  }

  .product-full-description h3 {
    font-size: 1.2em;
  }

  .related-products h3 {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .product-info h1 {
    font-size: 1.8em;
  }

  .product-info h2 {
    font-size: 1.4em;
  }

  .product-price {
    font-size: 1.6em;
  }

  .product-item img {
    height: 150px;
  }
}

.post-hero-section {
  background-color: #f2f2f2;
  padding: 30px 0;
  text-align: center;
}

.post-hero-section .breadcrumb {
  text-align: left;
  margin-bottom: 20px;
}

.post-hero-section h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #2c3e50;
}

.post-meta-top {
  font-size: 1em;
  color: #777;
  margin-bottom: 30px;
}

.post-main-image-wrap {
  display: flex;
  justify-content: center;
  background: #ffffff;
  width: 100%;
  object-fit: contain;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-main-image-wrap {
  display: flex;
  padding: 20px;
}

.post-main-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.post-content-section {
  padding: 40px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.post-content-section .container {
  display: flex;
  gap: 20px;
}

.post-article-wrapper {
  flex: 1 1 70%;
  min-width: 0;
  background-color: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.blog-article h2 {
  font-size: 2.2em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #34495e;
}

.blog-article p {
  margin-bottom: 1em;
  line-height: 1.7;
  font-size: 1.05em;
  color: #444;
}

.blog-article ul {
  list-style: disc;
  margin-left: 25px;
  padding: 0;
  margin-bottom: 1.5em;
}

.blog-article ul li {
  margin-bottom: 0.5em;
  color: #444;
}

.content-image-right {
  float: right;
  margin: 0 0 20px 30px;
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-article::after {
  content: "";
  display: table;
  clear: both;
}

.post-tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 0.9em;
  color: #777;
}

.post-tags a {
  background-color: #e9ecef;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 10px;
  color: #555;
  transition: background-color 0.3s ease;
}

.post-tags a:hover {
  background-color: var(--primary2);
  color: #fff;
}

.comments-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.comments-section h3 {
  font-size: 1.8em;
  margin-bottom: 25px;
  color: #2c3e50;
}

.comment-form {
  background-color: #fcfcfc;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  margin-bottom: 40px;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1em;
}

.comment-form p {
  margin: 0;
}

.comment-form textarea {
  resize: vertical;
}

.comment-form button {
  width: auto;
  cursor: pointer;
}

.comment-form .btn {
  width: auto;
  cursor: pointer;
}

.comment-form-cookies-consent {
  display: none;
}

.existing-comments .comment-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
}

.comment-item .comment-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 8px;
  font-weight: 600;
}

.comment-item .comment-text {
  font-size: 1em;
  color: #444;
  margin-bottom: 0;
}

.blog-sidebar {
  flex: 0 0 280px;
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  align-self: flex-start;
}

.blog-sidebar h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 1.6em;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.blog-sidebar ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.blog-sidebar ul li {
  margin-bottom: 10px;
}

.blog-sidebar ul li a {
  color: #555;
  font-size: 1em;
}

.blog-sidebar ul li a:hover {
  color: var(--primary2);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .post-content-section .container {
    flex-direction: column;
  }

  .post-content-section {
    flex-direction: column;
  }

  .post-article-wrapper {
    order: 2;
    padding: 25px;
  }

  .blog-sidebar {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 30px;
    order: 2;
  }

  .content-image-right {
    float: none;
    margin: 20px auto;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .post-hero-section h1 {
    font-size: 2.5em;
  }

  .post-main-image {
    max-height: 300px;
  }

  .post-article-wrapper {
    padding: 20px;
  }

  .blog-article h2 {
    font-size: 1.4em;
  }

  .blog-article p {
    font-size: 0.95em;
  }

  .comments-section {
    margin-top: 30px;
    padding-top: 20px;
  }

  .comments-section h3 {
    font-size: 1.2em;
  }

  .comment-form {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .post-hero-section h1 {
    font-size: 2em;
  }

  .post-main-image {
    max-height: 200px;
  }

  .post-article-wrapper {
    padding: 15px;
  }

  .content-image-right {
    max-width: 100%;
    margin: 15px 0;
  }
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.promo-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-card h3 {
  color: var(--primary2);
  margin-top: 0;
  margin-bottom: 10px;
}

.promo-card .brand {
  font-weight: bold;
  color: #555;
  margin-bottom: 5px;
}

.promo-card .code-display {
  background-color: #e9e9e9;
  padding: 10px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 1.1em;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
  color: #d9534f;
  font-weight: bold;
  word-break: break-all;
}

.promo-card .description {
  font-size: 0.95em;
  line-height: 1.4;
  margin-bottom: 10px;
}

.promo-card .expiry {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 10px;
}

.promo-card .action-button {
  display: block;
  width: 100%;
  padding: 10px 15px;
  background-color: var(--primary2);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.promo-card .action-button:hover {
  background-color: var(--dark);
}

.blog-hero-section {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/wp-content/themes/bicpromo/assets/images/blog-bg.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.blog-hero-section h1 {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.blog-hero-section p {
  font-size: 1.3em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.blog-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
}

.blog-content .container {
  display: flex;
  gap: 20px;
}

.blog-posts-list {
  flex: 1 1 70%;
  min-width: 0;
}

.blog-post-preview {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  gap: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.post-image {
  flex: 0 0 350px;
  max-width: 100%;
}

.post-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.post-info {
  flex: 1 1 auto;/
  min-width: 0;
}

.post-title {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 10px;
}

.post-title a {
  color: #2c3e50;
  text-decoration: none;
}

.post-title a:hover {
  color: var(--primary2);
}

.post-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

.post-excerpt {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
}

/*
.blog-sidebar {
  flex: 0 0 280px;
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  align-self: flex-start;
}

.blog-sidebar h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 1.6em;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.blog-sidebar ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.blog-sidebar ul li {
  margin-bottom: 10px;
}

.blog-sidebar ul li a {
  color: #555;
  font-size: 1em;
}

.blog-sidebar ul li a:hover {
  color: var(--primary2);
  text-decoration: underline;
}
*/

.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination a {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  color: var(--primary2);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
  background-color: var(--primary2);
  color: #fff;
  border-color: var(--primary2);
}


@media (max-width: 992px) {
  .blog-content {
    flex-direction: column;
  }

  .blog-content .container {
    flex-direction: column;
  }

  .blog-posts-list {
    display: flex;
    flex-direction: column;
    order: 2;
    min-width: initial;
  }

 /* .blog-sidebar {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 30px;
    order: 1;
  }*/

  .blog-post-preview {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .post-image {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .post-info {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .blog-hero-section h1 {
    font-size: 2.5em;
  }

  .blog-hero-section p {
    font-size: 1.1em;
  }

  .blog-post-preview {
    padding: 20px;
  }

  .post-image img {
    height: 180px;
  }

  .post-title {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .post-image img {
    height: auto;
  }

  .blog-post-preview {
    gap: 15px;
  }
}

.wp-block-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.wp-block-table th,
.wp-block-table td{
  min-width: 200px;
}

.not-found__inner {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  padding: 100px 0;
}

.not-found__title {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.not-found__icon {
  display: flex;
  width: 100px;
  margin-bottom: 40px;
}

.not-found__subtitle {
  font-size: 1.2em;
  gap: 5px;
}