/*
Theme Name: PS Tea Industries
Theme URI: https://example.com/ps-tea-industries
Author: Developer
Author URI: https://example.com
Description: A fully custom WordPress theme for Tea Industries - featuring modern design, BEM methodology, and full responsiveness.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ps-tea-industries
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS ROOT VARIABLES
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #DA251C;
    --color-secondary: #000000;
    --color-grey-light: #F7F7F7;
    --color-border-gray: #DFDFDF;
    --color-off-white: #FFF8F8;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-overlay: rgba(0, 0, 0, 0.5);
    --color-off-red:#FFF4F4;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-size-base: 16px;
    --font-size-xs: 14px;
    --font-size-sm: 18px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 42px;
    --font-size-4xl: 54px;
    --font-size-5xl: 64px;
	--font-size-6xl: 84px;

    /* Spacing */
    --spacing-xs: 12px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 15px;

    /* Effects */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
    --transition-default: all 0.3s ease;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('/wp-content/themes/ps-tea-industries/assets/images/Pattern.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5; /* Adjust this value for desired opacity */
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-default);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.inline-block{
    display: inline-block;
}

.mt-xl{
    margin-top: var(--spacing-xl);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.bg-primary{
    background-color: var(--color-primary);
}

.bg-secondary{
    background-color: var(--color-secondary);
}

.bg-grey-light{
    background-color: var(--color-grey-light);
}

.bg-white{
    background-color: var(--color-white);
}
.pt-0{
    padding-top: 0 !important;
}
.pb-0{
    padding-bottom: 0 !important;
}
.mt-0{
    margin-top: 0 !important;
}
.mb-0{
    margin-bottom: 0 !important;
}
/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition-default);
    cursor: pointer;
    text-align: center;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: #b91c14;
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn--white:hover {
    background-color: var(--color-grey-light);
}

.btn__icon {
    margin-left: var(--spacing-xs);
}

.btn__rounded{
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.relative{
    position: relative;
}   

.absolute{
    position: absolute;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: var(--box-shadow);
}

/* Top Bar */
.header__topbar {
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-xs);
    color: var(--color-white);
    border-bottom: 1px solid var(--color-border-gray);
}

.header__topbar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.header__topbar-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    position: relative;
    padding-right: var(--spacing-md);
}

.header__topbar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: var(--color-white);
}

/* Main Navigation */
.header__nav {
    padding: var(--spacing-sm) 0;
}

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

.header__menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header__menu--left,
.header__menu--right {
    flex: 1;
}

.header__menu--left {
    justify-content: flex-start;
    padding-right: var(--spacing-xl);
}

.header__menu--right {
    justify-content: flex-end;
    padding-left: var(--spacing-xl);
}

.header__menu-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-secondary);
    padding: var(--spacing-xs) 0;
    position: relative;
}

.header__menu-link:hover,
.header__menu-link.active {
    color: var(--color-primary);
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-default);
}

.header__menu-link:hover::after {
    width: 100%;
}

/* Submenu Dropdown */
.header__menu-item--has-children {
    position: relative;
}

.header__menu-link .header__menu-arrow {
    margin-left: 8px;
    transition: var(--transition-default);
    vertical-align: middle;
    display: inline-block;
}

.header__menu-item--has-children:hover .header__menu-arrow {
    transform: rotate(180deg);
}

.header__submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 200px;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    margin-top: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.header__submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-white);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

.header__menu-item--has-children:hover .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    margin-top: 8px;
}

.header__submenu-item {
    display: block;
    position: relative;
}

.header__submenu-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.header__submenu-link {
    display: block;
    padding: 8px 15px;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.header__submenu-link:hover {
    background-color: var(--color-off-red);
    color: var(--color-primary);
    padding-left: var(--spacing-lg);
}

.header__submenu-link:hover::before {
    transform: scaleY(1);
}

/* Logo */
.header__logo {
    flex-shrink: 0;
}

.header__logo-img {
    max-height: 60px;
    width: auto;
}

/* Mobile Toggle */
.header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.header__toggle-bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-default);
    margin: 3px 0;
}

.header__toggle--active .header__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle--active .header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.header__toggle--active .header__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.header__mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition-default);
    z-index: 1000;
    padding: var(--spacing-xl) var(--spacing-md);
    overflow-y: auto;
}

.header__mobile-menu--open {
    left: 0;
}

.header__mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-default);
    z-index: 999;
}

.header__mobile-overlay--visible {
    opacity: 1;
    visibility: visible;
}

.header__mobile-logo {
    margin-bottom: var(--spacing-lg);
}

.header__mobile-nav {
    margin-top: var(--spacing-lg);
}

.header__mobile-list {
    display: flex;
    flex-direction: column;
}

.header__mobile-link {
    display: block;
    padding: var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-border-gray);
}

.header__mobile-link:hover {
    color: var(--color-primary);
}

/* Mobile Submenu */
.header__mobile-item--has-children .header__mobile-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__mobile-arrow {
    margin-left: 8px;
    transition: var(--transition-default);
    vertical-align: middle;
    display: inline-block;
}

.header__mobile-item--has-children.open .header__mobile-arrow {
    transform: rotate(180deg);
}

.header__mobile-submenu {
    display: none;
    padding-left: var(--spacing-md);
    margin-top: var(--spacing-xs);
    background-color: rgba(0, 0, 0, 0.02);
    border-left: 2px solid var(--color-primary);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.header__mobile-item--has-children.open .header__mobile-submenu {
    display: block;
    max-height: 500px;
    opacity: 1;
    padding-top: var(--spacing-xs);
    padding-bottom: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.header__mobile-submenu-item {
    margin-bottom: 0;
    position: relative;
}

.header__mobile-submenu-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.header__mobile-submenu-link {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.2s ease;
    position: relative;
}

.header__mobile-submenu-link::before {
    content: '→';
    position: absolute;
    left: var(--spacing-xs);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
    color: var(--color-primary);
    font-weight: 600;
}

.header__mobile-submenu-link:hover {
    color: var(--color-primary);
    padding-left: var(--spacing-lg);
    background-color: rgba(218, 37, 28, 0.05);
}

.header__mobile-submenu-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: -20px;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero__content {
    max-width: 820px;
    background: #ffffff72;
    padding: 30px;
    border-radius: 16px;
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.hero__title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero__title span {
    display: block;
}

.hero__description {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 400px;
}

.hero__cta {
    display: inline-flex;
    margin-top: 40px;
}

.hero__image {
    position: relative;
    z-index: 2;
}

.hero__image img {
    max-height: 500px;
    width: auto;
}

/* ==========================================================================
   FEATURES BAR SECTION
   ========================================================================== */

.features__container {
    background-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-sm);
    -webkit-border-radius: var(--border-radius-sm);
    -moz-border-radius: var(--border-radius-sm);
    -ms-border-radius: var(--border-radius-sm);
    -o-border-radius: var(--border-radius-sm);
}

.features__grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.features__item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    position: relative;
    flex: 1;
    justify-content: center;
}

.features__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background-color: var(--color-border-gray);
}

.features__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.features__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.features__text {
    display: flex;
    flex-direction: column;
}

.features__title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
}

.features__subtitle {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    font-weight: 400;
}

/* ==========================================================================
   ABOUT / FRESHNESS SECTION
   ========================================================================== */

.about {
    position: relative;
    padding: var(--spacing-3xl) 0;
}

.about__container {
    display: flex;
    position: relative;
}

.about__sidebar {
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 50%;
    padding: var(--spacing-xl) var(--spacing-xl);
    gap: 10px;
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    -webkit-border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    -moz-border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    -ms-border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    -o-border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    z-index: 100;
}

.about__vertical-text {
    color: var(--color-white);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    line-height: 1.3;
    text-align: center;
    text-align: left;
    width: 100%;
}

.about__vertical-subtext {
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: 400;
    white-space: nowrap;
    font-style: italic;
    text-transform: uppercase;
    text-align: left;
    width: 100%;
}

.about__image img {
    width: 100%;
    height: calc(100% + 0px);
    object-fit: cover;
    display: block;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.about__content {
    flex: 1;
    padding: var(--spacing-xl) var(--spacing-2xl);
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    width: 50%;
    padding-left: 130px;
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    -webkit-border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    -moz-border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    -ms-border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    -o-border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    background-color: var(--color-grey-light);
    z-index: 1;
}

.about__container::before {
    content: '';
    left: -34px;
    width: 80px;
    height: 10%;
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/leaf.svg');
    z-index: 5;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: 250px;
    transform: translateY(20%);
    -webkit-transform: translateY(28%);
    -moz-transform: translateY(20%);
    -ms-transform: translateY(20%);
    -o-transform: translateY(20%);
    rotate: 290deg;
}

.about__container::after{
    content: '';
    top: -50px;
    left: 25%;
    transform: translateX(-50%);
    width: 200px;
    height: 100%;
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/leaf.svg');
    z-index: 5;
    position: absolute;
    background-repeat: no-repeat;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.about__label {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.about__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.about__description {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.about__description p {
    margin-bottom: var(--spacing-sm);
}

.about__description p:last-child {
    margin-bottom: 0;
}

.about__cta {
    display: inline-flex;
    align-self: flex-start;
}


.about__container.quality {
    flex-direction: row-reverse;
}

.about__container.quality .about__sidebar {
    flex-direction: column;
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    -webkit-border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    -moz-border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    -ms-border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    -o-border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    background-color: var(--color-grey-light);
}

.about__container.quality .about__vertical-text,
.about__container.quality .about__vertical-subtext {
    color: var(--color-secondary);
    text-align: right;
    width: 100%;
}

.about__container.quality .about__content {
    background-color: var(--color-primary);
    padding: var(--spacing-2xl) var(--spacing-2xl);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    -webkit-border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    -moz-border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    -ms-border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    -o-border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    color: var(--color-white);
}

.about__container.quality .about__label {
    color: var(--color-white);
}

.about__container.quality .about__title {
    color: var(--color-white);
}

.about__container.quality .about__description {
    color: var(--color-white);
}

.about__container.quality .about__cta {
    color: var(--color-white);
    background-color: var(--color-white);
    color: var(--color-primary);
}

.about__container.quality::after {
    content: '';
    top: -50px;
    left: auto;
}

.about__container::before {
    content: '';
    left: auto;
    right: -40px;
    width: 80px;
    rotate: 103deg;
}


/* ==========================================================================
   PRODUCTS COLLECTION SECTION
   ========================================================================== */

.products {
    padding: var(--spacing-3xl) 0;
}

.products__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.products__label {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.products__title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-secondary);
}

.products__slider-wrapper {
    position: relative;
    padding: var(--spacing-md) 0 0;
}

.products__slider {
    position: relative;
    overflow: hidden;
}

.products__slider .swiper-wrapper {
    align-items: stretch;
}

.products__slider .swiper-slide {
    height: auto;
}

.products__card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-default);
    display: flex;
    flex-direction: column;
    min-height: 400px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

.products__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* Tea Card - Blue Background */

.products__card--tea .products__card-title {
    color: var(--color-white);
}

/* Coffee Card - Black Background */
.products__card--coffee {
    background-color: var(--color-secondary);
}

.products__card--coffee .products__card-title {
    color: var(--color-white);
}

/* Paper Sacks Card - Yellow Background */
.products__card--paper-sacks,
.products__card--paper-sack,
.products__card--sacks {
    background-color: #FFD700;
}

.products__card--paper-sacks .products__card-title,
.products__card--paper-sack .products__card-title,
.products__card--sacks .products__card-title {
    color: var(--color-secondary);
}

.products__card-content {
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.products__card-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
}

.products__card-btn {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: none;
    margin-bottom: var(--spacing-md);
    align-items: center;
}

/* Swiper Navigation & Pagination */
.products__slider-wrapper .swiper-button-next,
.products__slider-wrapper .swiper-button-prev {
    color: var(--color-primary);
    background-color: var(--color-white);
    width: 44px;
    height: 40px;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
    z-index: 10;
}

.products__slider-wrapper .swiper-button-prev {
    left: -22px;
    top: calc(var(--spacing-md) + 215px);
    transform: translateY(-50%);
}

.products__slider-wrapper .swiper-button-next {
    right: -22px;
    top: calc(var(--spacing-md) + 215px);
    transform: translateY(-50%);
}

.products__slider-wrapper .swiper-button-next:after,
.products__slider-wrapper .swiper-button-prev:after {
    content: '';
    width: 16px;
    height: 9px;
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/arrow-right-primary.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.products__slider-wrapper .swiper-button-prev:after {
    transform: scaleX(-1);
}

.products__slider-wrapper .swiper-button-next:hover,
.products__slider-wrapper .swiper-button-prev:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.products__slider-wrapper .swiper-button-next:hover:after,
.products__slider-wrapper .swiper-button-prev:hover:after {
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/arrow-right-white.svg');
}

.products__slider .swiper-pagination {
    position: relative;
    margin-top: var(--spacing-xl);
    bottom: 0;
}

.products__slider .swiper-pagination-bullet {
    background-color: var(--color-primary);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    margin: 0 8px;
    padding: 2px;
    box-sizing: content-box;
    cursor: pointer;
}

.products__slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services {
    padding: var(--spacing-3xl) 0;
}

.services__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.services__label {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.services__title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0;
}

.services__accordion {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.services__item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-default);
}

.services__item-header {
    width: 100%;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--color-grey-light);
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    text-align: left;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border-gray);
}

.services__item--active .services__item-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.services__item-number {
    font-size: var(--font-size-lg);
    font-weight: 700;
    flex-shrink: 0;
}

.services__item-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    flex: 1;
}

.services__item-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-default);
}

.services__item-icon::before,
.services__item-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: var(--transition-default);
}

.services__item-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.services__item-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.services__item--active .services__item-icon::after {
    opacity: 0;
}

.services__item-content {
    display: none;
    background-color: var(--color-off-red);
    padding: var(--spacing-lg);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.services__item--active .services__item-content {
    display: block;
}

.services__item-content p {
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

.services__actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.services__btn {
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   PRINCIPLES SECTION
   ========================================================================== */

.principles {
    padding: var(--spacing-3xl) 0;
}

.principles__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.principles__label {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.principles__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-secondary);
}

.principles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.principles__card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-default);
    position: relative;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}

.principles__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.principles__card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.principles__card-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.principles__card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    flex-shrink: 0;
}

.principles__card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.principles__card-title {
    font-size: var(--font-size-xl);
    color: var(--color-white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.principles__card-text {
    font-size: var(--font-size-base);
    color: var(--color-white);
    line-height: 1.6;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: var(--spacing-xs);
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */

.cta-banner {
    padding: var(--spacing-xl) 0;
    background-color: #FEFCF9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cta-banner__container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.cta-banner__content {
    flex: 1;
}

.cta-banner__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.cta-banner__subtitle {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   INNER BANNER SECTION
   ========================================================================== */

.inner-banner {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin: var(--spacing-xl) 0;
    width: 100%;
}

.inner-banner__background {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.inner-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.inner-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.inner-banner__title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.inner-banner__breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-base);
}

.inner-banner__breadcrumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    color: var(--color-white);
}

.inner-banner__breadcrumb-wrapper > * {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Yoast SEO Breadcrumb Styling */
.inner-banner__breadcrumbs a,
.inner-banner__breadcrumbs span[typeof="v:Breadcrumb"] a,
.inner-banner__breadcrumbs [itemprop="itemListElement"] a,
.inner-banner__breadcrumbs .breadcrumb-link {
    color: #F1D685;
    text-decoration: none;
    transition: var(--transition-default);
}

.inner-banner__breadcrumbs a:hover,
.inner-banner__breadcrumbs span[typeof="v:Breadcrumb"] a:hover,
.inner-banner__breadcrumbs [itemprop="itemListElement"] a:hover,
.inner-banner__breadcrumbs .breadcrumb-link:hover {
    color: #E5C870;
    text-decoration: underline;
}

/* Breadcrumb separators */
.inner-banner__breadcrumbs .breadcrumb_sep,
.inner-banner__breadcrumbs span.breadcrumb_sep,
.inner-banner__breadcrumbs > span:not([typeof]):not([itemprop]),
.inner-banner__breadcrumbs [itemprop="position"]::after {
    color: var(--color-white);
    margin: 0 var(--spacing-xs);
}

/* Current page / Last breadcrumb item */
.inner-banner__breadcrumbs .breadcrumb_last,
.inner-banner__breadcrumbs span.breadcrumb_last,
.inner-banner__breadcrumbs span[typeof="v:Breadcrumb"]:last-child span:not([property]),
.inner-banner__breadcrumbs [itemprop="itemListElement"]:last-child [itemprop="name"],
.inner-banner__breadcrumbs [itemprop="itemListElement"]:last-child span:not([itemprop="position"]) {
    color: var(--color-white);
    font-weight: 500;
}

/* Ensure all text in breadcrumbs is white by default, except links */
.inner-banner__breadcrumbs,
.inner-banner__breadcrumbs span:not(a),
.inner-banner__breadcrumbs .breadcrumb_last {
    color: var(--color-white);
}

/* Override for links */
.inner-banner__breadcrumbs a {
    color: #F1D685 !important;
}

/* ==========================================================================
   IMAGE CONTENT SECTION
   ========================================================================== */

.image-content {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.image-content .container {
    position: relative;
    z-index: 1;
}

.image-content__wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.image-content__image {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
}

.image-content__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 500px;
}

.image-content__content {
    flex: 1;
    padding: var(--spacing-3xl) var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-content__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.image-content__heading {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.image-content__description {
    font-size: var(--font-size-xs);
    color: var(--color-text);
    line-height: 1.8;
}

.image-content__description p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.image-content__description p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   MISSION VISION SECTION
   ========================================================================== */

.mission-vision {
    padding: var(--spacing-3xl) 0;
    position: relative;
}


.mission-vision .container {
    position: relative;
    z-index: 1;
}

.mission-vision__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.mission-vision__card {
    background-color: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-default);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius-lg);
    -webkit-border-radius: var(--border-radius-lg);
    -moz-border-radius: var(--border-radius-lg);
    -ms-border-radius: var(--border-radius-lg);
    -o-border-radius: var(--border-radius-lg);
}

.mission-vision__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mission-vision__icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-vision__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mission-vision__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.mission-vision__description {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: center;
}

.mission-vision__description p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

.mission-vision__description p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   OUR CLIENTS SECTION
   ========================================================================== */

.our-clients .container {
    position: relative;
    z-index: 1;
    background-color: var(--color-primary);
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-lg);
    -webkit-border-radius: var(--border-radius-lg);
    -moz-border-radius: var(--border-radius-lg);
    -ms-border-radius: var(--border-radius-lg);
    -o-border-radius: var(--border-radius-lg);
}

.our-clients__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.our-clients__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
}

.our-clients__title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
}

/* Grid Layout for Desktop - 2 rows, 5 columns */
.our-clients__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

/* Slider Wrapper - Hidden on Desktop */
.our-clients__slider-wrapper {
    position: relative;
    padding: var(--spacing-md) 0 0;
    display: none;
}

.our-clients__slider {
    position: relative;
    overflow: hidden;
}

.our-clients__slider .swiper-wrapper {
    align-items: stretch;
}

.our-clients__slider .swiper-slide {
    height: auto;
}

.our-clients__card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-default);
    border: 1px solid var(--color-border-gray);
    min-height: 180px;
}

.our-clients__card img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Swiper Navigation for Clients */
.our-clients__slider-wrapper .swiper-button-next,
.our-clients__slider-wrapper .swiper-button-prev {
    color: var(--color-white);
    background-color: var(--color-primary);
    width: 44px;
    height: 40px;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    margin-top: 0;
    top: calc(var(--spacing-md) + 125px);
    transform: translateY(-50%);
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
}

.our-clients__slider-wrapper .swiper-button-next:after,
.our-clients__slider-wrapper .swiper-button-prev:after {
    content: '';
    width: 16px;
    height: 9px;
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/arrow-right-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.our-clients__slider-wrapper .swiper-button-prev:after {
    transform: scaleX(-1);
}

.our-clients__slider-wrapper .swiper-button-next:hover,
.our-clients__slider-wrapper .swiper-button-prev:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.our-clients__slider-wrapper .swiper-button-prev {
    left: -22px;
    z-index: 10;
}

.our-clients__slider-wrapper .swiper-button-next {
    right: -22px;
    z-index: 10;
}

/* Swiper Pagination for Clients */
.our-clients__slider .swiper-pagination {
    position: relative;
    margin-top: var(--spacing-sm);
    bottom: 0;
}

.our-clients__slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    opacity: 0.3;
    margin: 0 8px;
    padding: 2px;
    box-sizing: content-box;
    transition: var(--transition-default);
    cursor: pointer;
}

.our-clients__slider .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--color-primary);
}

/* ==========================================================================
   CERTIFICATES SECTION
   ========================================================================== */

.certificates {
    padding: var(--spacing-3xl) 0;
}


.certificates__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.certificates__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
}

.certificates__title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
    line-height: 1.2;
}

.certificates__slider-wrapper {
    position: relative;
    padding: var(--spacing-md) 60px 0;
}

.certificates__slider {
    position: relative;
    overflow: hidden;
}

.certificates__slider .swiper-wrapper {
    align-items: stretch;
}

.certificates__slider .swiper-slide {
    height: auto;
}

.certificates__card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-default);
    border: 1px solid var(--color-border-gray);
    min-height: 200px;
}


.certificates__card img {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Swiper Navigation for Certificates */
.certificates__slider-wrapper .swiper-button-next,
.certificates__slider-wrapper .swiper-button-prev {
    width: 50px;
    height: 45px;
    box-shadow: var(--box-shadow);
    margin-top: 0;
    top: calc(var(--spacing-md) + 100px);
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.certificates__slider-wrapper .swiper-button-prev {
    left: 30px;
    background-color: var(--color-primary);
    color: var(--color-text);
}

.certificates__slider-wrapper .swiper-button-next {
    right: 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.certificates__slider-wrapper .swiper-button-next:after,
.certificates__slider-wrapper .swiper-button-prev:after {
    content: '';
    width: 16px;
    height: 9px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.certificates__slider-wrapper .swiper-button-next:after {
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/arrow-right-white.svg');
}

.certificates__slider-wrapper .swiper-button-prev:after {
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/arrow-right-white.svg');
    transform: scaleX(-1);
}

.certificates__slider-wrapper .swiper-button-next:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.certificates__slider-wrapper .swiper-button-prev:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* Swiper Pagination for Certificates */
.certificates__slider .swiper-pagination {
    position: relative;
    margin-top: var(--spacing-lg);
    bottom: 0;
}

.certificates__slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    opacity: 1;
    margin: 0 6px;
    padding: 2px;
    box-sizing: content-box;
    transition: var(--transition-default);
    cursor: pointer;
}

.certificates__slider .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */

.gallery {
    padding: var(--spacing-3xl) 0;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-default);
}

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-default);
}

.gallery__overlay svg {
    width: 48px;
    height: 48px;
    transform: scale(0.8);
    transition: var(--transition-default);
}

.gallery__item:hover .gallery__image {
    transform: scale(1.1);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__item:hover .gallery__overlay svg {
    transform: scale(1);
}

/* ==========================================================================
   PAGE CONTENT SECTION
   ========================================================================== */

.main-content {
    padding: var(--spacing-3xl) 0;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-content__wrapper {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--color-text);
}

.page-content__wrapper h1,
.page-content__wrapper h2,
.page-content__wrapper h3,
.page-content__wrapper h4,
.page-content__wrapper h5,
.page-content__wrapper h6 {
    color: var(--color-secondary);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.page-content__wrapper h1 {
    font-size: var(--font-size-3xl);
}

.page-content__wrapper h2 {
    font-size: var(--font-size-2xl);
}

.page-content__wrapper h3 {
    font-size: var(--font-size-xl);
}

.page-content__wrapper p {
    margin-bottom: var(--spacing-md);
}

.page-content__wrapper p:last-child {
    margin-bottom: 0;
}

.page-content__wrapper ul,
.page-content__wrapper ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.page-content__wrapper li {
    margin-bottom: var(--spacing-xs);
}

.page-content__wrapper a {
    color: var(--color-primary);
    text-decoration: underline;
}

.page-content__wrapper a:hover {
    color: #b91c14;
}

.page-content__wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) 0;
}

.page-content__wrapper blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--color-text-light);
}

.page-content__wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
}

.page-content__wrapper table th,
.page-content__wrapper table td {
    padding: var(--spacing-sm);
    border: 1px solid var(--color-border-gray);
    text-align: left;
}

.page-content__wrapper table th {
    background-color: var(--color-grey-light);
    font-weight: 600;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer {
    background-color: var(--color-off-red);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/tea-leaves.webp');
    top: 100px;
    left: 0;
    width: 240px;
    height: 250px;
}
.footer::after {
    content: '';
    position: absolute;
    background-image: url('/wp-content/themes/ps-tea-industries/assets/images/tea-leaves.webp');
    top: 100px;
    right: 30px;
    width: 240px;
    height: 250px;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    margin-bottom: var(--spacing-md);
}

.footer__logo img {
    max-height: 100px;
}

.footer__description {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.footer__social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-default);
}

.footer__social-link:hover {
    background-color: var(--color-secondary);
}

.footer__social-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

.footer__column {
    display: flex;
    flex-direction: column;
}

.footer__title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__menu-link {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    transition: var(--transition-default);
}

.footer__menu-link:hover {
    color: var(--color-primary);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    line-height: 1.6;
}

.footer__contact-item a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition-default);
}

.footer__contact-item a:hover {
    color: var(--color-primary);
}

.footer__contact-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__bottom {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border-gray);
    text-align: center;
}

.footer__copyright {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* ==========================================================================
   CONTACT PAGE SECTION
   ========================================================================== */

.contact-info {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.contact-info__header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.contact-info__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.contact-info__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
}

.contact-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.contact-info__card {
    background-color: var(--color-grey-light);
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-default);
}

.contact-info__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-info__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-info__content {
    flex: 1;
    text-align: left;
}

.contact-info__card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
    text-align: left;
}

.contact-info__card-content {
    font-size: var(--font-size-xs);
    color: var(--color-text);
    line-height: 1.8;
    text-align: left;
}

.contact-info__card-content p {
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.contact-info__card-content a:hover {
    color: var(--color-primary);
}

.contact-info__card-content p:last-child {
    margin-bottom: 0;
}

.contact-form-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.contact-form-section__header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.contact-form-section__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.contact-form-section__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
}

.contact-form-section__form-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border-gray);
}

.contact-form-section__form-wrapper .contact-form-section__header {
    margin-bottom: var(--spacing-xl);
    padding-bottom: 0;
}

/* Contact Form 7 Styles */
.contact-form-section__form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-form-section__form-wrapper .wpcf7-form p {
    margin: 0;
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure textarea field wrapper is full width */
.contact-form-section__form-wrapper .wpcf7-form .wpcf7-form-control-wrap.your-message,
.contact-form-section__form-wrapper .wpcf7-form .wpcf7-form-control-wrap:has(textarea) {
    width: 100%;
    grid-column: 1 / -1;
}

.contact-form-section__form-wrapper .wpcf7-form input[type="text"],
.contact-form-section__form-wrapper .wpcf7-form input[type="email"],
.contact-form-section__form-wrapper .wpcf7-form input[type="tel"],
.contact-form-section__form-wrapper .wpcf7-form textarea {
    width: 100%;
    padding: var(--spacing-sm);
    padding-left: 0;
    border: none;
    border-bottom: 1px solid var(--color-border-gray);
    background-color: transparent;
    font-size: var(--font-size-base);
    color: var(--color-text);
    font-family: var(--font-primary);
    transition: var(--transition-default);
}

.contact-form-section__form-wrapper .wpcf7-form input[type="text"]:focus,
.contact-form-section__form-wrapper .wpcf7-form input[type="email"]:focus,
.contact-form-section__form-wrapper .wpcf7-form input[type="tel"]:focus,
.contact-form-section__form-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

.contact-form-section__form-wrapper .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-form-row-full {
    grid-column: 1 / -1;
    width: 100%;
}

/* Ensure textarea wrapper is full width */
.contact-form-section__form-wrapper .wpcf7-form .wpcf7-form-row-full .wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

/* Ensure textarea parent paragraph is full width */
.contact-form-section__form-wrapper .wpcf7-form p {
    width: 100%;
    box-sizing: border-box;
}

/* Textarea specific styles */
.contact-form-section__form-wrapper .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    max-width: 100%;
}

.btn-wrapper{
    text-align: center;
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-response-output {
    margin: var(--spacing-md) 0 0;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-mail-sent-ng,
.contact-form-section__form-wrapper .wpcf7-form .wpcf7-aborted {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-spam {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-validation-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.contact-form-section__form-wrapper .wpcf7-form .wpcf7-not-valid-tip {
    color: var(--color-primary);
    font-size: var(--font-size-xs);
    margin-top: var(--spacing-xs);
    display: block;
}

.contact-map-section__map iframe {
    margin-bottom: -10px;
}

/* ==========================================================================
   STICKY CONTACT BUTTONS
   ========================================================================== */

.sticky-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.sticky-buttons__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 8px;
    text-decoration: none;
    transition: var(--transition-default);
    position: relative;
    min-width: 30px;
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
}

.phone-sticky img {
    transform: scaleX(-1);
}

.sticky-buttons__item img {
    width: 22px;
}

.sticky-buttons__item--call {
    background-color: var(--color-secondary);
}

.sticky-buttons__item--email {
    background-color: var(--color-primary);
}

.sticky-buttons__text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--color-white);
    font-size: var(--font-size-md);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
    white-space: nowrap;
    transform: rotate(180deg);
}

.sticky-buttons__icon {
    color: var(--color-white);
    flex-shrink: 0;
}

/* ==========================================================================
   PRODUCTS ARCHIVE SECTION
   ========================================================================== */

.products-archive {
    padding: var(--spacing-3xl) 0;
}

.products-archive__description {
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
    text-align: center;
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.8;
}

.products-archive__description p {
    margin-bottom: var(--spacing-md);
}

.products-archive__description p:last-child {
    margin-bottom: 0;
}

.products-archive__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.products-archive__item {
    width: 100%;
}

.product-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-default);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-card__wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.product-card__image {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
    background-color: var(--color-grey-light);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: var(--transition-default);
    /* min-height: 400px; */
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    flex: 1;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    position: relative;
}

.product-card__content > * {
    position: relative;
    z-index: 1;
}

.product-card__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.product-card__title a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-default);
}

.product-card__title a:hover {
    color: var(--color-primary);
}

.product-card__rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-md);
}

.product-card__star {
    font-size: var(--font-size-md);
    color: #ddd;
    line-height: 1;
}

.product-card__star--filled {
    color: var(--color-primary);
}

.product-card__stock {
    margin-bottom: var(--spacing-md);
}

.product-card__stock-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.product-card__short-description {
    font-size: var(--font-size-xs);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.product-card__weight, .product-card__vendor {
    margin-bottom: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.product-card__label {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    font-size: var(--font-size-base);
}

.product-card__weight-tags,
.product-card__vendor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.product-card__tag {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid var(--color-border-gray);
    background-color: var(--color-white);
    border-radius: 4px;
    font-size: var(--font-size-xs);
    color: var(--color-text);
    transition: var(--transition-default);
}

.product-card__tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.product-card__description-section {
    margin-top: var(--spacing-lg);
}

.product-card__description-heading {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.product-card__description {
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.8;
}

.product-card__description p {
    margin-bottom: var(--spacing-sm);
}

.product-card__description p:last-child {
    margin-bottom: 0;
}

.products-archive__empty {
    text-align: center;
    padding: var(--spacing-3xl) 0;
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
}

/* ==========================================================================
   PRODUCT DETAIL SECTION
   ========================================================================== */

.product-detail__wrapper {
    width: 100%;
}

.product-detail__card {
    background-color: var(--color-white);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.product-detail__image {
    width: 100%;
    overflow: hidden;
    background-color: var(--color-grey-light);
}

.product-detail__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-default);
    object-fit: cover;
}

.product-detail__content {
    width: 100%;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    position: relative;
}

.product-detail__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.product-detail__rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-md);
}

.product-detail__star {
    font-size: var(--font-size-lg);
    color: #ddd;
    line-height: 1;
}

.product-detail__star--filled {
    color: var(--color-primary);
}

.product-detail__stock {
    margin-bottom: var(--spacing-md);
}

.product-detail__stock-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.product-detail__short-description {
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.product-detail__weight,
.product-detail__vendor {
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.product-detail__label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: var(--font-size-base);
    flex-shrink: 0;
}

.product-detail__weight-tags,
.product-detail__vendor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.product-detail__tag {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--color-border-gray);
    background-color: var(--color-white);
    border-radius: 4px;
    font-size: var(--font-size-xs);
    color: var(--color-text);
    transition: var(--transition-default);
}

.product-detail__tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.product-detail__description-section {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border-gray);
}

.product-detail__description-heading {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.product-detail__description {
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.8;
}

.product-detail__description p {
    margin-bottom: var(--spacing-md);
}

.product-detail__description p:last-child {
    margin-bottom: 0;
}

.product-detail__additional-content {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border-gray);
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.8;
}

.product-detail__additional-content p {
    margin-bottom: var(--spacing-md);
}

.product-detail__additional-content p:last-child {
    margin-bottom: 0;
}

